{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/5116","repository_url":"https://api.github.com/repos/Azure/azure-quickstart-templates","labels_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/5116/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/5116/comments","events_url":"https://api.github.com/repos/Azure/azure-quickstart-templates/issues/5116/events","html_url":"https://github.com/Azure/azure-quickstart-templates/issues/5116","id":352149836,"node_id":"MDU6SXNzdWUzNTIxNDk4MzY=","number":5116,"title":"Azure ARM Template : Java CI/CD using Jenkins and Azure Web Apps: Fails with 'There were unauthenticated packages and -y was used'","user":{"login":"pnatraj","id":7314845,"node_id":"MDQ6VXNlcjczMTQ4NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/7314845?v=4","gravatar_id":"","url":"https://api.github.com/users/pnatraj","html_url":"https://github.com/pnatraj","followers_url":"https://api.github.com/users/pnatraj/followers","following_url":"https://api.github.com/users/pnatraj/following{/other_user}","gists_url":"https://api.github.com/users/pnatraj/gists{/gist_id}","starred_url":"https://api.github.com/users/pnatraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnatraj/subscriptions","organizations_url":"https://api.github.com/users/pnatraj/orgs","repos_url":"https://api.github.com/users/pnatraj/repos","events_url":"https://api.github.com/users/pnatraj/events{/privacy}","received_events_url":"https://api.github.com/users/pnatraj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-20T14:03:20Z","updated_at":"2018-08-20T14:03:20Z","closed_at":null,"author_association":"NONE","body":"Azure ARM Template : Java CI/CD using Jenkins and Azure Web Apps: Fails with 'There were unauthenticated packages and -y was used'\r\n\r\nTemplate Name : Java CI/CD using Jenkins and Azure Web Apps\r\n\r\nTemplate link : https://github.com/Azure/azure-quickstart-templates/tree/master/jenkins-cicd-webapp\r\n\r\n### Issue Details\r\n\r\nResource group (change) redlock-eng-research-east\r\nWorkspace Name nats-rljenkins1\r\nStatus Active\r\nWorkspace Id de1fb765-b359-418e-a7aa-7176a2218fe5\r\nLocation East US\r\nPricing tier OMS\r\nSubscription name(change)\r\nMicrosoft Azure ......\r\nManagement services \r\nOperations logs\r\nSubscription ID\r\n6******2\r\n\r\n\r\nOPERATION IDC66D5E938F1017A2\r\nTRACKING IDef288601-5a05-46c2-b2dc-7ae08ec2d515\r\nSTATUSConflict\r\nPROVISIONING STATEFailed\r\nTIMESTAMP20/08/2018, 19:22:41\r\nDURATION8 minutes 32 seconds\r\nTYPEMicrosoft.Resources/deployments\r\nRESOURCE ID/subscriptions/61c6b47a-8187-4705-a96e-53ac1def83f2/resourceGroups/REDLOCK-ENG-RESEARCH-East/providers/Microsoft.Resources/deployments/jenkinsDeployment\r\nSTATUSMESSAGE{\r\n  \"status\": \"Failed\",\r\n  \"error\": {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n    \"details\": [\r\n      {\r\n        \"code\": \"DeploymentFailed\",\r\n        \"message\": \"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.\",\r\n        \"details\": [\r\n          {\r\n            \"code\": \"Conflict\",\r\n            \"message\": \"{\\r\\n  \\\"status\\\": \\\"Failed\\\",\\r\\n  \\\"error\\\": {\\r\\n    \\\"code\\\": \\\"ResourceDeploymentFailure\\\",\\r\\n    \\\"message\\\": \\\"The resource operation completed with terminal provisioning state 'Failed'.\\\",\\r\\n    \\\"details\\\": [\\r\\n      {\\r\\n        \\\"code\\\": \\\"VMExtensionProvisioningError\\\",\\r\\n        \\\"message\\\": \\\"VM has reported a failure when processing extension 'JenkinsInit'. Error message: \\\\\\\"Enable failed: failed to execute command: command terminated with exit status=100\\\\n[stdout]\\\\ne\\\\n0 upgraded, 6 newly installed, 0 to remove and 2 not upgraded.\\\\nNeed to get 1,350 kB of archives.\\\\nAfter this operation, 4,338 kB of additional disk space will be used.\\\\nGet:1 http://azure.archive.ubuntu.com/ubuntu xenial/main amd64 libvpx3 amd64 1.5.0-2ubuntu1 [732 kB]\\\\nGet:2 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxpm4 amd64 1:3.5.11-1ubuntu0.16.04.1 [33.8 kB]\\\\nGet:3 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgd3 amd64 2.1.1-4ubuntu0.16.04.8 [126 kB]\\\\nGet:4 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nginx-common all 1.10.3-0ubuntu0.16.04.2 [26.6 kB]\\\\nGet:5 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nginx-core amd64 1.10.3-0ubuntu0.16.04.2 [428 kB]\\\\nGet:6 http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nginx all 1.10.3-0ubuntu0.16.04.2 [3,490 B]\\\\nFetched 1,350 kB in 0s (2,633 kB/s)\\\\nSelecting previously unselected package libvpx3:amd64.\\\\r\\\\n(Reading database ... \\\\r(Reading database ... 5%\\\\r(Reading database ... 10%\\\\r(Reading database ... 15%\\\\r(Reading database ... 20%\\\\r(Reading database ... 25%\\\\r(Reading database ... 30%\\\\r(Reading database ... 35%\\\\r(Reading database ... 40%\\\\r(Reading database ... 45%\\\\r(Reading database ... 50%\\\\r(Reading database ... 55%\\\\r(Reading database ... 60%\\\\r(Reading database ... 65%\\\\r(Reading database ... 70%\\\\r(Reading database ... 75%\\\\r(Reading database ... 80%\\\\r(Reading database ... 85%\\\\r(Reading database ... 90%\\\\r(Reading database ... 95%\\\\r(Reading database ... 100%\\\\r(Reading database ... 58112 files and directories currently installed.)\\\\r\\\\nPreparing to unpack .../libvpx3_1.5.0-2ubuntu1_amd64.deb ...\\\\r\\\\nUnpacking libvpx3:amd64 (1.5.0-2ubuntu1) ...\\\\r\\\\nSelecting previously unselected package libxpm4:amd64.\\\\r\\\\nPreparing to unpack .../libxpm4_1%3a3.5.11-1ubuntu0.16.04.1_amd64.deb ...\\\\r\\\\nUnpacking libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...\\\\r\\\\nSelecting previously unselected package libgd3:amd64.\\\\r\\\\nPreparing to unpack .../libgd3_2.1.1-4ubuntu0.16.04.8_amd64.deb ...\\\\r\\\\nUnpacking libgd3:amd64 (2.1.1-4ubuntu0.16.04.8) ...\\\\r\\\\nSelecting previously unselected package nginx-common.\\\\r\\\\nPreparing to unpack .../nginx-common_1.10.3-0ubuntu0.16.04.2_all.deb ...\\\\r\\\\nUnpacking nginx-common (1.10.3-0ubuntu0.16.04.2) ...\\\\r\\\\nSelecting previously unselected package nginx-core.\\\\r\\\\nPreparing to unpack .../nginx-core_1.10.3-0ubuntu0.16.04.2_amd64.deb ...\\\\r\\\\nUnpacking nginx-core (1.10.3-0ubuntu0.16.04.2) ...\\\\r\\\\nSelecting previously unselected package nginx.\\\\r\\\\nPreparing to unpack .../nginx_1.10.3-0ubuntu0.16.04.2_all.deb ...\\\\r\\\\nUnpacking nginx (1.10.3-0ubuntu0.16.04.2) ...\\\\r\\\\nProcessing triggers for libc-bin (2.23-0ubuntu10) ...\\\\r\\\\nProcessing triggers for ureadahead (0.100.0-19) ...\\\\r\\\\nProcessing triggers for ufw (0.35-0ubuntu2) ...\\\\r\\\\nProcessing triggers for systemd (229-4ubuntu21.4) ...\\\\r\\\\nSetting up libvpx3:amd64 (1.5.0-2ubuntu1) ...\\\\r\\\\nSetting up libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...\\\\r\\\\nSetting up libgd3:amd64 (2.1.1-4ubuntu0.16.04.8) ...\\\\r\\\\nSetting up nginx-common (1.10.3-0ubuntu0.16.04.2) ...\\\\r\\\\ndebconf: unable to initialize frontend: Dialog\\\\r\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\r\\\\ndebconf: falling back to frontend: Readline\\\\r\\\\nSetting up nginx-core (1.10.3-0ubuntu0.16.04.2) ...\\\\r\\\\nSetting up nginx (1.10.3-0ubuntu0.16.04.2) ...\\\\r\\\\nProcessing triggers for libc-bin (2.23-0ubuntu10) ...\\\\r\\\\nProcessing triggers for systemd (229-4ubuntu21.4) ...\\\\r\\\\nProcessing triggers for ureadahead (0.100.0-19) ...\\\\r\\\\nProcessing triggers for ufw (0.35-0ubuntu2) ...\\\\r\\\\nReading package lists...\\\\nBuilding dependency tree...\\\\nReading state information...\\\\ngit is already the newest version (1:2.7.4-0ubuntu1.4).\\\\n0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.\\\\nReading package lists...\\\\nBuilding dependency tree...\\\\nReading state information...\\\\nThe following NEW packages will be installed:\\\\n  azure-cli\\\\n0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.\\\\nNeed to get 78.3 MB of archives.\\\\nAfter this operation, 316 MB of additional disk space will be used.\\\\nWARNING: The following packages cannot be authenticated!\\\\n  azure-cli\\\\n\\\\n[stderr]\\\\n  103M 0s\\\\n  1250K .......... .......... .......... .......... .......... 40%  173M 0s\\\\n  1300K .......... .......... .......... .......... .......... 41%  193M 0s\\\\n  1350K .......... .......... .......... .......... .......... 43%  160M 0s\\\\n  1400K .......... .......... .......... .......... .......... 44%  165M 0s\\\\n  1450K .......... .......... .......... .......... .......... 46%  310M 0s\\\\n  1500K .......... .......... .......... .......... .......... 47% 49.1M 0s\\\\n  1550K .......... .......... .......... .......... .......... 49%  139M 0s\\\\n  1600K .......... .......... .......... .......... .......... 50% 14.1M 0s\\\\n  1650K .......... .......... .......... .......... .......... 52%  146M 0s\\\\n  1700K .......... .......... .......... .......... .......... 54%  288M 0s\\\\n  1750K .......... .......... .......... .......... .......... 55%  137M 0s\\\\n  1800K .......... .......... .......... .......... .......... 57%  199M 0s\\\\n  1850K .......... .......... .......... .......... .......... 58%  211M 0s\\\\n  1900K .......... .......... .......... .......... .......... 60%  294M 0s\\\\n  1950K .......... .......... .......... .......... .......... 61% 85.1M 0s\\\\n  2000K .......... .......... .......... .......... .......... 63%  130M 0s\\\\n  2050K .......... .......... .......... .......... .......... 64%  190M 0s\\\\n  2100K .......... .......... .......... .......... .......... 66%  158M 0s\\\\n  2150K .......... .......... .......... .......... .......... 67%  295M 0s\\\\n  2200K .......... .......... .......... .......... .......... 69%  201M 0s\\\\n  2250K .......... .......... .......... .......... .......... 71%  222M 0s\\\\n  2300K .......... .......... .......... .......... .......... 72%  146M 0s\\\\n  2350K .......... .......... .......... .......... .......... 74%  311M 0s\\\\n  2400K .......... .......... .......... .......... .......... 75%  210M 0s\\\\n  2450K .......... .......... .......... .......... .......... 77%  142M 0s\\\\n  2500K .......... .......... .......... .......... .......... 78%  234M 0s\\\\n  2550K .......... .......... .......... .......... .......... 80%  175M 0s\\\\n  2600K .......... .......... .......... .......... .......... 81%  263M 0s\\\\n  2650K .......... .......... .......... .......... .......... 83% 59.6M 0s\\\\n  2700K .......... .......... .......... .......... .......... 84%  282M 0s\\\\n  2750K .......... .......... .......... .......... .......... 86%  154M 0s\\\\n  2800K .......... .......... .......... .......... .......... 88%  160M 0s\\\\n  2850K .......... .......... .......... .......... .......... 89%  182M 0s\\\\n  2900K .......... .......... .......... .......... .......... 91% 9.63M 0s\\\\n  2950K .......... .......... .......... .......... .......... 92%  263M 0s\\\\n  3000K .......... .......... .......... .......... .......... 94%  127M 0s\\\\n  3050K .......... .......... .......... .......... .......... 95%  254M 0s\\\\n  3100K .......... .......... .......... .......... .......... 97%  221M 0s\\\\n  3150K .......... .......... .......... .......... .......... 98%  314M 0s\\\\n  3200K .......... .......... .......... .......              100% 66.8M=0.04s\\\\n\\\\n2018-08-20 13:50:48 (88.8 MB/s) - ‘jenkins-cli.jar’ saved [3315011/3315011]\\\\n\\\\nRunning \\\\\\\"install-plugin azure-vm-agents -deploy\\\\\\\"...\\\\nRunning \\\\\\\"install-plugin windows-azure-storage -deploy\\\\\\\"...\\\\nRunning \\\\\\\"install-plugin matrix-auth -deploy\\\\\\\"...\\\\nRunning \\\\\\\"install-plugin workflow-aggregator -deploy\\\\\\\"...\\\\nRunning \\\\\\\"install-plugin azure-app-service -deploy\\\\\\\"...\\\\nRunning \\\\\\\"install-plugin tfs -deploy\\\\\\\"...\\\\nRunning \\\\\\\"install-plugin azure-acs -deploy\\\\\\\"...\\\\nRunning \\\\\\\"install-plugin azure-container-agents -deploy\\\\\\\"...\\\\ndebconf: unable to initialize frontend: Dialog\\\\ndebconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)\\\\ndebconf: falling back to frontend: Readline\\\\ndebconf: unable to initialize frontend: Readline\\\\ndebconf: (This frontend requires a controlling tty.)\\\\ndebconf: falling back to frontend: Teletype\\\\ndpkg-preconfigure: unable to re-open stdin: \\\\nE: There were unauthenticated packages and -y was used without --allow-unauthenticated\\\\nFailed while executing script 'jenkins/install_jenkins.sh'.\\\\n\\\\\\\".\\\"\\r\\n      }\\r\\n    ]\\r\\n  }\\r\\n}\"\r\n          }\r\n        ]\r\n      }\r\n    ]\r\n  }\r\n}\r\n\r\n\r\n\r\n\r\n### Repro steps (*if necessary, delete otherwise*)\r\n1. \r\n2.\r\n3.\r\n4.\r\n5."}}
{"actor":{"display_login":"pnatraj"}}