{"action":"created","issue":{"url":"https://api.github.com/repos/clong/DetectionLab/issues/76","repository_url":"https://api.github.com/repos/clong/DetectionLab","labels_url":"https://api.github.com/repos/clong/DetectionLab/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/clong/DetectionLab/issues/76/comments","events_url":"https://api.github.com/repos/clong/DetectionLab/issues/76/events","html_url":"https://github.com/clong/DetectionLab/issues/76","id":307291562,"number":76,"title":"Packer error when compiling dotnet assemblies","user":{"login":"qgrosperrin","id":456143,"avatar_url":"https://avatars3.githubusercontent.com/u/456143?v=4","gravatar_id":"","url":"https://api.github.com/users/qgrosperrin","html_url":"https://github.com/qgrosperrin","followers_url":"https://api.github.com/users/qgrosperrin/followers","following_url":"https://api.github.com/users/qgrosperrin/following{/other_user}","gists_url":"https://api.github.com/users/qgrosperrin/gists{/gist_id}","starred_url":"https://api.github.com/users/qgrosperrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgrosperrin/subscriptions","organizations_url":"https://api.github.com/users/qgrosperrin/orgs","repos_url":"https://api.github.com/users/qgrosperrin/repos","events_url":"https://api.github.com/users/qgrosperrin/events{/privacy}","received_events_url":"https://api.github.com/users/qgrosperrin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-21T15:22:12Z","updated_at":"2018-03-22T16:12:04Z","closed_at":"2018-03-22T16:05:05Z","author_association":"NONE","body":"* Operating System Version: Windows 10\r\n* Provider (VirtualBox/VMWare): VirtualBox\r\n* Vagrant Version: 2.0.2\r\n* Packer Version: 1.2.1\r\n* Is the issue reproducible or intermittent? Reproducible\r\n\r\n### Description of the issue:\r\n\r\nError while building Win10 host with Packer\r\n\r\n```\r\n==> virtualbox-iso: Provisioning with shell script: ./scripts/compile-dotnet-assemblies.bat\r\n    virtualbox-iso:\r\n    virtualbox-iso: C:\\Users\\vagrant>if \"AMD64\" == \"AMD64\" goto 64BIT\r\n    virtualbox-iso:\r\n    virtualbox-iso: C:\\Users\\vagrant>C:\\Windows\\microsoft.net\\framework\\v4.0.30319\\ngen.exe update /force /queue\r\n    virtualbox-iso: Microsoft (R) CLR Native Image Generator - Version 4.7.2556.0\r\n    virtualbox-iso: Copyright (c) Microsoft Corporation.  All rights reserved.\r\n    virtualbox-iso:\r\n    virtualbox-iso: C:\\Users\\vagrant>C:\\Windows\\microsoft.net\\framework64\\v4.0.30319\\ngen.exe update /force /queue\r\n    virtualbox-iso: Microsoft (R) CLR Native Image Generator - Version 4.7.2556.0\r\n    virtualbox-iso: Copyright (c) Microsoft Corporation.  All rights reserved.\r\n    virtualbox-iso:\r\n    virtualbox-iso: C:\\Users\\vagrant>C:\\Windows\\microsoft.net\\framework\\v4.0.30319\\ngen.exe executequeueditems\r\n    virtualbox-iso: Microsoft (R) CLR Native Image Generator - Version 4.7.2556.0\r\n\r\n\r\n....\r\n\r\n    virtualbox-iso: 1>    Compiling assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly Microsoft.WindowsAuthenticationProtocols.Commands, Version=10.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=amd64 (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly Microsoft.WSMan.Management, Version=3.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=msil (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly Microsoft.WSMan.Management.Activities, Version=3.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=msil (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly Microsoft.WSMan.Runtime, Version=3.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=msil (CLR v4.0.30319) ...\r\n    virtualbox-iso: 2>    Compiling assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (CLR v4.0.30319) ...\r\n    virtualbox-iso: 2>    Compiling assembly MiguiControls, Version=1.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=msil (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly MMCEx, Version=3.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=msil (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly MMCFxCommon, Version=3.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=msil (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly napinit, Version=10.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=msil (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly SecurityAuditPoliciesSnapIn, Version=10.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=msil (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly SrpUxSnapIn, Version=10.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=msil (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (CLR v4.0.30319) ...\r\n    virtualbox-iso: 1>    Compiling assembly System.Management.Automation, Version=3.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=msil (CLR v4.0.30319) ...\r\n    virtualbox-iso: 2>    Compiling assembly System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (CLR v4.0.30319) ...\r\n    virtualbox-iso: 2>    Compiling assembly TaskScheduler, Version=10.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=msil (CLR v4.0.30319) ...\r\n    virtualbox-iso: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)\r\n==> virtualbox-iso: Deregistering and deleting VM...\r\n==> virtualbox-iso: Deleting output directory...\r\nBuild 'virtualbox-iso' errored: Script exited with non-zero exit status: 4294967295\r\n\r\n==> Some builds didn't complete successfully and had errors:\r\n--> virtualbox-iso: Script exited with non-zero exit status: 4294967295\r\n\r\n==> Builds finished but no artifacts were created.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/clong/DetectionLab/issues/comments/375363970","html_url":"https://github.com/clong/DetectionLab/issues/76#issuecomment-375363970","issue_url":"https://api.github.com/repos/clong/DetectionLab/issues/76","id":375363970,"user":{"login":"qgrosperrin","id":456143,"avatar_url":"https://avatars3.githubusercontent.com/u/456143?v=4","gravatar_id":"","url":"https://api.github.com/users/qgrosperrin","html_url":"https://github.com/qgrosperrin","followers_url":"https://api.github.com/users/qgrosperrin/followers","following_url":"https://api.github.com/users/qgrosperrin/following{/other_user}","gists_url":"https://api.github.com/users/qgrosperrin/gists{/gist_id}","starred_url":"https://api.github.com/users/qgrosperrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgrosperrin/subscriptions","organizations_url":"https://api.github.com/users/qgrosperrin/orgs","repos_url":"https://api.github.com/users/qgrosperrin/repos","events_url":"https://api.github.com/users/qgrosperrin/events{/privacy}","received_events_url":"https://api.github.com/users/qgrosperrin/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T16:12:04Z","updated_at":"2018-03-22T16:12:04Z","author_association":"NONE","body":"Thanks for the quick response and fix !"}}
{"actor":{"display_login":"qgrosperrin"}}