{"action":"created","issue":{"url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3422","repository_url":"https://api.github.com/repos/Starcounter/Starcounter","labels_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3422/labels{/name}","comments_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3422/comments","events_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3422/events","html_url":"https://github.com/Starcounter/Starcounter/issues/3422","id":138193442,"number":3422,"title":"pnext: PnextDailyWindows doesn't build","user":{"login":"per-samuelsson","id":2902045,"avatar_url":"https://avatars.githubusercontent.com/u/2902045?v=3","gravatar_id":"","url":"https://api.github.com/users/per-samuelsson","html_url":"https://github.com/per-samuelsson","followers_url":"https://api.github.com/users/per-samuelsson/followers","following_url":"https://api.github.com/users/per-samuelsson/following{/other_user}","gists_url":"https://api.github.com/users/per-samuelsson/gists{/gist_id}","starred_url":"https://api.github.com/users/per-samuelsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/per-samuelsson/subscriptions","organizations_url":"https://api.github.com/users/per-samuelsson/orgs","repos_url":"https://api.github.com/users/per-samuelsson/repos","events_url":"https://api.github.com/users/per-samuelsson/events{/privacy}","received_events_url":"https://api.github.com/users/per-samuelsson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Starcounter/Starcounter/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/Starcounter/Starcounter/labels/Build%20System","name":"Build System","color":"fbca04"},{"url":"https://api.github.com/repos/Starcounter/Starcounter/labels/Infrastructure","name":"Infrastructure","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-03T14:31:39Z","updated_at":"2016-03-04T00:34:50Z","closed_at":null,"body":"Seem to be since sometime yesterday, and what I can get from the logs it's the below failing.\r\n\r\nBuild server report this as the first failure:\r\nFirst failure: #2.3.956 \tconst.miyang (2) \t02 Mar 16 14:27\r\n\r\n@miyconst, any ideas? Did you explicitly merge that new thing you pushed yesterday into **pnext** and if so, did you run the personal build first?\r\n\r\n```\r\n[00:20:19][dbmapping_test-bat] -- Running process \"C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions.Tests\\dbmapping_test.bat \"\r\n[00:20:19][dbmapping_test-bat] \r\n[00:20:19][dbmapping_test-bat] C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions.Tests>set DBNAME=DbMappingTestsDb \r\n[00:20:19][dbmapping_test-bat] \r\n[00:20:19][dbmapping_test-bat] C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions.Tests>staradmin start server \r\n[00:20:22][dbmapping_test-bat] \r\n[00:20:22][dbmapping_test-bat] C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions.Tests>staradmin --database=DbMappingTestsDb delete --force db \r\n[00:20:23][dbmapping_test-bat] Database DbMappingTestsDb successfully deleted\r\n[00:20:23][dbmapping_test-bat] \r\n[00:20:23][dbmapping_test-bat] C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions.Tests>IF 0 NEQ 0 GOTO FAILED \r\n[00:20:23][dbmapping_test-bat] \r\n[00:20:23][dbmapping_test-bat] C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions.Tests>star.exe --database=DbMappingTestsDb \"C:\\BuildAgent\\work\\sc-1917\\Level1\\Bin\\Release\\s\\ExtensionsTests\\StarcounterExtensionsTests.exe\" \r\n[00:21:05][dbmapping_test-bat] \r\n[00:21:05][dbmapping_test-bat] [00:20:41, Critical, Starcounter (dbmappingtestsdb)]\r\n[00:21:05][dbmapping_test-bat] Starcounter.DbException: ScErrFailingEntrypoint (SCERR4259): The user code entrypoint method raised an exception. System.TypeInitializationException: The type initializer for 'Starcounter.Extensions.ModificationMapGenerator' threw an exception. ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.\r\n[00:21:05][dbmapping_test-bat]    at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers)\r\n[00:21:05][dbmapping_test-bat]    at System.Type.GetMethod(String name, BindingFlags bindingAttr)\r\n[00:21:05][dbmapping_test-bat]    at Starcounter.Extensions.ModificationMapGenerator..cctor() in C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions\\ModificationMapGenerator.cs:line 19\r\n[00:21:05][dbmapping_test-bat]    --- End of inner exception stack trace ---\r\n[00:21:05][dbmapping_test-bat]    at Starcounter.Extensions.ModificationMapGenerator.Create[TFrom,TTo]() in C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions\\ModificationMapGenerator.cs:line 63\r\n[00:21:05][dbmapping_test-bat]    at Starcounter.Extensions.DbMapping.MapDefault[TFrom,TTo](Boolean twoWay) in C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions\\DatabaseMapping.cs:line 297\r\n[00:21:05][dbmapping_test-bat]    at DbMappingTest.DbMappingTest.Main() in C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions.Tests\\DbMappingTest.cs:line 780\r\n[00:21:05][dbmapping_test-bat] Version: 2.3.959.\r\n[00:21:05][dbmapping_test-bat] Help page: https://github.com/Starcounter/Starcounter/wiki/SCERR4259.\r\n[00:21:05][dbmapping_test-bat]    at Starcounter.Hosting.Package.ExecuteEntryPoint(Application application) in C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Hosting\\Starcounter.Hosting\\Package.cs:line 513\r\n[00:21:05][dbmapping_test-bat]    at Starcounter.Hosting.Package.ProcessWithinCurrentApplication(Application application) in C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Hosting\\Starcounter.Hosting\\Package.cs:line 261\r\n[00:21:05][dbmapping_test-bat]    at Starcounter.Hosting.Package.Process() in C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Hosting\\Starcounter.Hosting\\Package.cs:line 143\r\n[00:21:05][dbmapping_test-bat]    at Starcounter.Hosting.Package.Process(IntPtr hPackage) in C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Hosting\\Starcounter.Hosting\\Package.cs:line 56\r\n[00:21:05][dbmapping_test-bat]    at StarcounterInternal.Hosting.Processor.RunMessageLoop(Void* hsched) in C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Hosting\\Starcounter.Hosting\\Processor.cs:line 86\r\n[00:21:05][dbmapping_test-bat] ErrorCode=4259\r\n[00:21:05][dbmapping_test-bat] HResult=-2146233088\r\n[00:21:05][dbmapping_test-bat] HelpLink=https://github.com/Starcounter/Starcounter/wiki/SCERR4259\r\n[00:21:05][dbmapping_test-bat] ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.\r\n[00:21:05][dbmapping_test-bat]    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)\r\n[00:21:05][dbmapping_test-bat]    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)\r\n[00:21:05][dbmapping_test-bat]    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n[00:21:05][dbmapping_test-bat]    at Starcounter.Hosting.Package.ExecuteEntryPoint(Application application) in C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Hosting\\Starcounter.Hosting\\Package.cs:line 487\r\n[00:21:05][dbmapping_test-bat] HResult=-2146232828\r\n[00:21:05][dbmapping_test-bat] ---> System.TypeInitializationException: The type initializer for 'Starcounter.Extensions.ModificationMapGenerator' threw an exception.\r\n[00:21:05][dbmapping_test-bat]    at Starcounter.Extensions.ModificationMapGenerator.Create[TFrom,TTo]() in C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions\\ModificationMapGenerator.cs:line 63\r\n[00:21:05][dbmapping_test-bat]    at Starcounter.Extensions.DbMapping.MapDefault[TFrom,TTo](Boolean twoWay) in C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions\\DatabaseMapping.cs:line 297\r\n[00:21:05][dbmapping_test-bat]    at DbMappingTest.DbMappingTest.Main() in C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions.Tests\\DbMappingTest.cs:line 780\r\n[00:21:05][dbmapping_test-bat] TypeName=Starcounter.Extensions.ModificationMapGenerator\r\n[00:21:05][dbmapping_test-bat] HResult=-2146233036\r\n[00:21:05][dbmapping_test-bat] ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.\r\n[00:21:05][dbmapping_test-bat]    at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers)\r\n[00:21:05][dbmapping_test-bat]    at System.Type.GetMethod(String name, BindingFlags bindingAttr)\r\n[00:21:05][dbmapping_test-bat]    at Starcounter.Extensions.ModificationMapGenerator..cctor() in C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions\\ModificationMapGenerator.cs:line 19\r\n[00:21:05][dbmapping_test-bat] HResult=-2147475171\r\n[00:21:05][dbmapping_test-bat] \r\n[00:21:05][dbmapping_test-bat] \r\n[00:21:05][dbmapping_test-bat] \r\n[00:21:05][dbmapping_test-bat] C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions.Tests>IF 4259 NEQ 0 GOTO FAILED \r\n[00:21:05][dbmapping_test-bat] \r\n[00:21:05][dbmapping_test-bat] C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions.Tests>ECHO Exiting test with error code ! \r\n[00:21:05][dbmapping_test-bat] Exiting test with error code !\r\n[00:21:05][dbmapping_test-bat] \r\n[00:21:05][dbmapping_test-bat] C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions.Tests>EXIT /b 1 \r\n[00:21:05][dbmapping_test-bat] Test failed: \"dbmapping_test.bat\" at \"C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions.Tests\\dbmapping_test.bat\" with error code 1.\r\n[00:21:05][dbmapping_test-bat] -- Running process \"staradmin kill all\"\r\n[00:21:05][dbmapping_test-bat] System.Exception: Test failed: \"dbmapping_test.bat\" at \"C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Starcounter.Extensions.Tests\\dbmapping_test.bat\" with error code 1.\r\n[00:21:05][dbmapping_test-bat]    at TestRunner.TestRunner.RunTests(String pathToCheckoutDir, TestTypes testType, List`1 testsToSkip, Dictionary`2 longTestsDurationsSeconds, Boolean continueTestsAfterFirstFail) in C:\\BuildAgent\\work\\sc-1917\\BuildSystem\\src\\TestRunner\\TestRunner.cs:line 467\r\n[00:21:05][dbmapping_test-bat] 00:20:42.5953393: process 'scservice' successfully killed!\r\n[00:21:05][dbmapping_test-bat] 00:20:42.5994516: process 'scipcmonitor' successfully killed!\r\n[00:21:05][dbmapping_test-bat] 00:20:42.5994516: process 'scnetworkgateway' successfully killed!\r\n[00:21:05][dbmapping_test-bat] 00:20:42.6004806: process 'scadminserver' successfully killed!\r\n[00:21:05][dbmapping_test-bat] 00:20:42.6015100: process 'sccode' successfully killed!\r\n[00:21:05][dbmapping_test-bat] 00:20:42.6025385: process 'scdata' successfully killed!\r\n[00:21:05][dbmapping_test-bat] 00:20:42.6035813: process 'scdblog' successfully killed!\r\n[00:21:05][dbmapping_test-bat] 00:20:42.6056333: process 'scsqlparser' successfully killed!\r\n[00:21:05][dbmapping_test-bat] 00:20:42.6067179: process 'sctrayicon' successfully killed!\r\n[00:21:05][dbmapping_test-bat] -- Running test \"3LevelSchemaChange_test.bat\" (max duration: 120 s) at \"C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Tests\\3LevelSchemaChange\\3LevelSchemaChange_test.bat\"\r\n[00:21:06][dbmapping_test-bat] 3LevelSchemaChange_test-bat (1m:06s)\r\n[00:21:06][3LevelSchemaChange_test-bat] -- Running process \"C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Tests\\3LevelSchemaChange\\3LevelSchemaChange_test.bat \"\r\n[00:21:06][3LevelSchemaChange_test-bat] Running 3LevelSchemaChange regression test.\r\n[00:21:11][3LevelSchemaChange_test-bat] Database 3LevelSchemaChangeDb successfully deleted\r\n[00:21:11][3LevelSchemaChange_test-bat] Run Step 1 to create initial schema\r\n[00:21:37][3LevelSchemaChange_test-bat] Run Step 2 to update the initial schema with more columns\r\n[00:21:56][3LevelSchemaChange_test-bat] Run Step 1 again to update the schema with less columns\r\n[00:22:13][3LevelSchemaChange_test-bat] Database 3LevelSchemaChangeDb successfully deleted\r\n[00:22:13][3LevelSchemaChange_test-bat] 3LevelSchemaChange regression test succeeded.\r\n[00:22:13][dbmapping_test-bat] -- Running process \"staradmin kill all\"\r\n[00:22:13][dbmapping_test-bat] 00:21:49.9027287: process 'scservice' successfully killed!\r\n[00:22:13][dbmapping_test-bat] 00:21:49.9058060: process 'scipcmonitor' successfully killed!\r\n[00:22:13][dbmapping_test-bat] 00:21:49.9058060: process 'scnetworkgateway' successfully killed!\r\n[00:22:13][dbmapping_test-bat] 00:21:49.9068332: process 'scadminserver' successfully killed!\r\n[00:22:13][dbmapping_test-bat] 00:21:49.9099342: process 'scsqlparser' successfully killed!\r\n[00:22:13][dbmapping_test-bat] 00:21:49.9111397: process 'sctrayicon' successfully killed!\r\n[00:22:13][dbmapping_test-bat] -- Running test \"ClassSchemaChange_test.bat\" (max duration: 60 s) at \"C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Tests\\ClassSchemaChange\\ClassSchemaChange_test.bat\"\r\n[00:22:14][dbmapping_test-bat] ClassSchemaChange_test-bat (49s)\r\n[00:22:14][ClassSchemaChange_test-bat] -- Running process \"C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\Tests\\ClassSchemaChange\\ClassSchemaChange_test.bat \"\r\n[00:22:14][ClassSchemaChange_test-bat] Running TestClassSchemaChange regression test.\r\n[00:22:18][ClassSchemaChange_test-bat] Database ClassSchemaChangeDb successfully deleted\r\n[00:22:18][ClassSchemaChange_test-bat] Run Step 1 to create initial schema\r\n[00:22:44][ClassSchemaChange_test-bat] Run Step 2 to update initial schema with more columns\r\n[00:23:03][ClassSchemaChange_test-bat] Database ClassSchemaChangeDb successfully deleted\r\n[00:23:03][ClassSchemaChange_test-bat] ClassSchemaChange regression test succeeded.\r\n[00:23:04][dbmapping_test-bat] \r\n[00:23:04][dbmapping_test-bat] C:\\BuildAgent\\work\\sc-1917\\Level1\\bin\\Release>IF ERRORLEVEL 1 GOTO FAILED \r\n[00:23:04][dbmapping_test-bat] \r\n[00:23:04][dbmapping_test-bat] C:\\BuildAgent\\work\\sc-1917\\Level1\\bin\\Release>ECHO Generating documentation. \r\n[00:23:04][dbmapping_test-bat] Generating documentation.\r\n[00:23:04][dbmapping_test-bat] \r\n[00:23:04][dbmapping_test-bat] C:\\BuildAgent\\work\\sc-1917\\Level1\\bin\\Release>PUSHD \"C:\\BuildAgent\\work\\sc-1917/Level1/src/BuildSystem/Documentation\" \r\n[00:23:04][dbmapping_test-bat] \r\n[00:23:04][dbmapping_test-bat] C:\\BuildAgent\\work\\sc-1917\\Level1\\src\\BuildSystem\\Documentation>CALL \"C:\\BuildAgent\\work\\sc-1917/Level1/src/BuildSystem/Documentation/generate_all.bat\" \r\n[00:23:04][dbmapping_test-bat] Executing post build tasks.\r\n[00:23:04][dbmapping_test-bat] 00:22:41.8182446: process 'scservice' successfully killed!\r\n[00:23:04][dbmapping_test-bat] 00:22:41.8202984: process 'scipcmonitor' successfully killed!\r\n[00:23:04][dbmapping_test-bat] 00:22:41.8213235: process 'scnetworkgateway' successfully killed!\r\n[00:23:04][dbmapping_test-bat] 00:22:41.8223522: process 'scadminserver' successfully killed!\r\n[00:23:04][dbmapping_test-bat] 00:22:41.8264663: process 'scsqlparser' successfully killed!\r\n[00:23:05][dbmapping_test-bat] 00:22:41.8265007: process 'sctrayicon' successfully killed!\r\n[00:23:05][dbmapping_test-bat] Cleaning output directory using white list...\r\n[00:23:06][dbmapping_test-bat] Generating one-file installer for Starcounter edition.\r\n[00:23:06][dbmapping_test-bat] ---------------------------------------------------------------\r\n[00:23:06][dbmapping_test-bat] Starting tool: 'Starting Starcounter installer generator...'\r\n[00:23:06][dbmapping_test-bat] Skipping generation of a installer...\r\n[00:23:06][dbmapping_test-bat] Copying built Level0 binaries.\r\n[00:23:07][dbmapping_test-bat] ---------------------------------------------------------------\r\n[00:23:07][dbmapping_test-bat] Starting tool: 'Level0 Build'\r\n[00:23:07][dbmapping_test-bat] Uploading Level0 'pnext' build artifacts to mapped FTP directory: 'Z:\\SCBuilds\\Level0\\pnext\\LatestStable'\r\n[00:23:14][dbmapping_test-bat] Updating Error Help Pages on Github wiki.\r\n[00:23:14][dbmapping_test-bat] Skipping updating error pages...\r\n[00:23:14][dbmapping_test-bat] Switching back to build output directory.\r\n[00:23:14][dbmapping_test-bat] Process exited with code 0\r\n[00:23:14][dbmapping_test-bat] ##teamcity[buildStatisticValue key='buildStageDuration:buildStepRUNNER_9' value='1092427.0']\r\n```"},"comment":{"url":"https://api.github.com/repos/Starcounter/Starcounter/issues/comments/192036353","html_url":"https://github.com/Starcounter/Starcounter/issues/3422#issuecomment-192036353","issue_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3422","id":192036353,"user":{"login":"alemoi","id":208134,"avatar_url":"https://avatars.githubusercontent.com/u/208134?v=3","gravatar_id":"","url":"https://api.github.com/users/alemoi","html_url":"https://github.com/alemoi","followers_url":"https://api.github.com/users/alemoi/followers","following_url":"https://api.github.com/users/alemoi/following{/other_user}","gists_url":"https://api.github.com/users/alemoi/gists{/gist_id}","starred_url":"https://api.github.com/users/alemoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alemoi/subscriptions","organizations_url":"https://api.github.com/users/alemoi/orgs","repos_url":"https://api.github.com/users/alemoi/repos","events_url":"https://api.github.com/users/alemoi/events{/privacy}","received_events_url":"https://api.github.com/users/alemoi/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T00:34:50Z","updated_at":"2016-03-04T00:34:50Z","body":"I wasn't familiar with that code @per-samuelsson so I looked at the history and I found that @chrhol wrote it. @chrhol can you please check?"}}