Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed with dpkg segfault #323

Open
jgallag88 opened this issue Jun 26, 2019 · 2 comments
Open

Build failed with dpkg segfault #323

jgallag88 opened this issue Jun 26, 2019 · 2 comments

Comments

@jgallag88
Copy link
Contributor

A recent run failed when dpkg segfaulted: http://ops.jenkins.delphix.com/job/devops-gate/job/master/job/appliance-build-stage1/job/master/job/post-push/10408/consoleFull.

23:19:25  TASK [appliance-build.masking-common : apt] ************************************
23:19:25  task path: /opt/appliance-build/live-build/misc/ansible-roles/appliance-build.masking-common/tasks/main.yml:18
23:20:34  fatal: [binary]: FAILED! => {"cache_update_time": 1561443552, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"      install '****-masking'' failed: E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)\n+ case $1 in\n+ ln -s /dev/null /etc/systemd/system/nginx.service\n+ ln -s /dev/null /etc/systemd/system/ntp.service\n+ ln -s /dev/null /etc/systemd/system/postgresql.service\n+ ln -s /dev/null /etc/systemd/system/postgresql@9.4-main.service\n+ exit 0\ndpkg-deb: error: paste subprocess was killed by signal (Broken pipe)\nE: Sub-process /usr/bin/dpkg received a segmentation fault.\n", "rc": 100, "stderr": "E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)\n+ case $1 in\n+ ln -s /dev/null /etc/systemd/system/nginx.service\n+ ln -s /dev/null /etc/systemd/system/ntp.service\n+ ln -s /dev/null /etc/systemd/system/postgresql.service\n+ ln -s /dev/null /etc/systemd/system/postgresql@9.4-main.service\n+ exit 0\ndpkg-deb: error: paste subprocess was killed by signal (Broken pipe)\nE: Sub-process /usr/bin/dpkg received a segmentation fault.\n", "stderr_lines": ["E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)", "+ case $1 in", "+ ln -s /dev/null /etc/systemd/system/nginx.service", "+ ln -s /dev/null /etc/systemd/system/ntp.service", "+ ln -s /dev/null /etc/systemd/system/postgresql.service", "+ ln -s /dev/null /etc/systemd/system/postgresql@9.4-main.service", "+ exit 0", "dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)", "E: Sub-process /usr/bin/dpkg received a segmentation fault."], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n  adoptopenjdk-java8-jdk cifs-utils connstat-util curl ****-sso-app\n  ****-virtualization dmidecode iperf3 java-common krb5-config krb5-user\n  libavahi-client3 libavahi-common-data libavahi-common3 libcrypt-blowfish\n  libcups2 libcurl4 libgd3 libgssrpc4 libiperf0 libjansson4 libkadm5clnt-mit11\n  ...

The errors Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory are normal and don't seem to be relevant. The error which caused the failure seems to be Sub-process /usr/bin/dpkg received a segmentation fault. Other builds have completed without issue since this error occurred.

@shartse
Copy link

shartse commented Jul 8, 2019

We saw this again:
http://ops.jenkins.delphix.com/job/devops-gate/job/master/job/appliance-build-stage1/job/master/job/post-push/11527/consoleFull

task path: /opt/appliance-build/live-build/misc/ansible-roles/appliance-build.masking-common/tasks/main.yml:18
23:21:12  fatal: [binary]: FAILED! => {"cache_update_time": 1562566612, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"      install '****-masking'' failed: E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)\n+ case $1 in\n+ ln -s /dev/null /etc/systemd/system/nginx.service\n+ ln -s /dev/null /etc/systemd/system/ntp.service\n+ ln -s /dev/null /etc/systemd/system/postgresql.service\n+ ln -s /dev/null /etc/systemd/system/postgresql@9.4-main.service\n+ exit 0\ndpkg-deb: error: paste subprocess was killed by signal (Broken pipe)\nE: Sub-process /usr/bin/dpkg received a segmentation fault.\n",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants