TASK [Ensure Jenkins is installed.] failed
willis7 opened this issue · 1 comments
willis7 commented
Log:
TASK [geerlingguy.jenkins : Ensure Jenkins is installed.] **********************
fatal: [master]: FAILED! => {"cache_update_time": 1524134908, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'jenkins'' failed: E: Sub-process /usr/bin/dpkg returned an error code (1)\n", "rc": 100, "stderr": "E: Sub-process /usr/bin/dpkg returned an error code (1)\n", "stderr_lines": ["E: Sub-process /usr/bin/dpkg returned an error code (1)"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n daemon\nThe following NEW packages will be installed:\n daemon jenkins\n0 upgraded, 2 newly installed, 0 to remove and 33 not upgraded.\nNeed to get 73.7 MB of archives.\nAfter this operation, 75.0 MB of additional disk space will be used.\nGet:1 http://httpredir.debian.org/debian/ jessie/main daemon amd64 0.6.4-1 [97.4 kB]\nGet:2 https://pkg.jenkins.io/debian/ binary/ jenkins 2.117 [73.6 MB]\nFetched 73.7 MB in 49s (1477 kB/s)\nSelecting previously unselected package daemon.\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 ... 33698 files and directories currently installed.)\r\nPreparing to unpack .../daemon_0.6.4-1_amd64.deb ...\r\nUnpacking daemon (0.6.4-1) ...\r\nSelecting previously unselected package jenkins.\r\nPreparing to unpack .../archives/jenkins_2.117_all.deb ...\r\nUnpacking jenkins (2.117) ...\r\nProcessing triggers for man-db (2.7.0.2-5) ...\r\nProcessing triggers for systemd (215-17+deb8u7) ...\r\nSetting up daemon (0.6.4-1) ...\r\nSetting up jenkins (2.117) ...\r\nJob for jenkins.service failed. See 'systemctl status jenkins.service' and 'journalctl -xn' for details.\r\ninvoke-rc.d: initscript jenkins, action \"start\" failed.\r\ndpkg: error processing package jenkins (--configure):\r\n subprocess installed post-installation script returned error exit status 1\r\nProcessing triggers for systemd (215-17+deb8u7) ...\r\nErrors were encountered while processing:\r\n jenkins\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following extra packages will be installed:", " daemon", "The following NEW packages will be installed:", " daemon jenkins", "0 upgraded, 2 newly installed, 0 to remove and 33 not upgraded.", "Need to get 73.7 MB of archives.", "After this operation, 75.0 MB of additional disk space will be used.", "Get:1 http://httpredir.debian.org/debian/ jessie/main daemon amd64 0.6.4-1 [97.4 kB]", "Get:2 https://pkg.jenkins.io/debian/ binary/ jenkins 2.117 [73.6 MB]", "Fetched 73.7 MB in 49s (1477 kB/s)", "Selecting previously unselected package daemon.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 33698 files and directories currently installed.)", "Preparing to unpack .../daemon_0.6.4-1_amd64.deb ...", "Unpacking daemon (0.6.4-1) ...", "Selecting previously unselected package jenkins.", "Preparing to unpack .../archives/jenkins_2.117_all.deb ...", "Unpacking jenkins (2.117) ...", "Processing triggers for man-db (2.7.0.2-5) ...", "Processing triggers for systemd (215-17+deb8u7) ...", "Setting up daemon (0.6.4-1) ...", "Setting up jenkins (2.117) ...", "Job for jenkins.service failed. See 'systemctl status jenkins.service' and 'journalctl -xn' for details.", "invoke-rc.d: initscript jenkins, action \"start\" failed.", "dpkg: error processing package jenkins (--configure):", " subprocess installed post-installation script returned error exit status 1", "Processing triggers for systemd (215-17+deb8u7) ...", "Errors were encountered while processing:", " jenkins"]}
to retry, use: --limit @/Users/sionix/Code/ons/jenkins-docker-slaves/provision/ansible/jenkins-master-playbook.retry
PLAY RECAP *********************************************************************
master : ok=14 changed=6 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
Unfortunately, checking systemctl
and journalctl
adds no value.
$ systemctl status jenkins
jenkins.service - LSB: Start Jenkins at boot time
Loaded: loaded (/etc/init.d/jenkins)
Active: failed (Result: exit-code) since Thu 2018-04-19 10:49:21 GMT; 3min 20s ago
vagrant host: debian/jessie64
willis7 commented
Apologies, I raised this is the wrong project.