Build failed in Jenkins: osv-build #1503

2 views
Skip to first unread message

jen...@scylladb.com

unread,
Aug 15, 2019, 7:04:54 AM8/15/19
to osv...@googlegroups.com
See <https://jenkins.scylladb.com/job/osv-build/1503/display/redirect?page=changes>

Changes:

[jwkozaczuk] Add docker files to help setup OSv build environment for Ubuntu/Fedora

[jwkozaczuk] Upgrade cli, lua and httpserver-api modules to use OpenSSL 1.1 and Lua

------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Injecting as environment variables the properties content
http_proxy=10.0.0.4:3128
PATH=/usr/local/bin:/usr/bin:/usr/sbin

[EnvInject] - Variables injected successfully.
[EnvInject] - Injecting contributions.
Building remotely on muninn (pack-no-dg next-promoter-docker packager pack-no-sif) in workspace <https://jenkins.scylladb.com/job/osv-build/ws/>
No credentials specified
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/cloudius-systems/osv # timeout=10
Fetching upstream changes from https://github.com/cloudius-systems/osv
> git --version # timeout=10
> git fetch --tags --progress https://github.com/cloudius-systems/osv +refs/heads/*:refs/remotes/origin/* # timeout=60
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision ad1eda6acdb404d7e7049d7c5ca01a156c489ee2 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f ad1eda6acdb404d7e7049d7c5ca01a156c489ee2
Commit message: "Upgrade cli, lua and httpserver-api modules to use OpenSSL 1.1 and Lua 5.3"
> git rev-list --no-walk 18df2ad247af81b9eb4c24beda31bb760673af92 # timeout=10
> git remote # timeout=10
> git submodule init # timeout=10
> git submodule sync # timeout=10
> git config --get remote.origin.url # timeout=10
> git submodule init # timeout=10
> git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10
> git config --get submodule.external/x64/openjdk.bin.url # timeout=10
> git config -f .gitmodules --get submodule.external/x64/openjdk.bin.path # timeout=10
> git submodule update --init --recursive external/x64/openjdk.bin # timeout=60
> git config --get submodule.external/x64/gcc.bin.url # timeout=10
> git config -f .gitmodules --get submodule.external/x64/gcc.bin.path # timeout=10
> git submodule update --init --recursive external/x64/gcc.bin # timeout=60
> git config --get submodule.external/x64/glibc.bin.url # timeout=10
> git config -f .gitmodules --get submodule.external/x64/glibc.bin.path # timeout=10
> git submodule update --init --recursive external/x64/glibc.bin # timeout=60
> git config --get submodule.external/x64/glibc-testsuite.url # timeout=10
> git config -f .gitmodules --get submodule.external/x64/glibc-testsuite.path # timeout=10
> git submodule update --init --recursive external/x64/glibc-testsuite # timeout=60
> git config --get submodule.external/x64/acpica.url # timeout=10
> git config -f .gitmodules --get submodule.external/x64/acpica.path # timeout=10
> git submodule update --init --recursive external/x64/acpica # timeout=60
> git config --get submodule.external/x64/misc.bin.url # timeout=10
> git config -f .gitmodules --get submodule.external/x64/misc.bin.path # timeout=10
> git submodule update --init --recursive external/x64/misc.bin # timeout=60
> git config --get submodule.apps.url # timeout=10
> git config -f .gitmodules --get submodule.apps.path # timeout=10
> git submodule update --init --recursive apps # timeout=60
> git config --get submodule.external/aarch64/gcc.bin.url # timeout=10
> git config -f .gitmodules --get submodule.external/aarch64/gcc.bin.path # timeout=10
> git submodule update --init --recursive external/aarch64/gcc.bin # timeout=60
> git config --get submodule.external/aarch64/misc.bin.url # timeout=10
> git config -f .gitmodules --get submodule.external/aarch64/misc.bin.path # timeout=10
> git submodule update --init --recursive external/aarch64/misc.bin # timeout=60
> git config --get submodule.external/aarch64/openjdk.bin.url # timeout=10
> git config -f .gitmodules --get submodule.external/aarch64/openjdk.bin.path # timeout=10
> git submodule update --init --recursive external/aarch64/openjdk.bin # timeout=60
> git config --get submodule.modules/httpserver/swagger-ui.url # timeout=10
> git config -f .gitmodules --get submodule.modules/httpserver/swagger-ui.path # timeout=10
> git submodule update --init --recursive modules/httpserver-html5-gui/swagger-ui # timeout=60
> git config --get submodule.musl.url # timeout=10
> git config -f .gitmodules --get submodule.musl.path # timeout=10
> git submodule update --init --recursive musl # timeout=60
> git config --get submodule.modules/httpserver/osv-gui.url # timeout=10
> git config -f .gitmodules --get submodule.modules/httpserver/osv-gui.path # timeout=10
> git submodule update --init --recursive modules/httpserver-html5-gui/osv-gui # timeout=60
> git config --get submodule.external/fs/libnfs.url # timeout=10
> git config -f .gitmodules --get submodule.external/fs/libnfs.path # timeout=10
> git submodule update --init --recursive external/fs/libnfs # timeout=60
[osv-build] $ /bin/sh -xe /tmp/jenkins4638635215574174557.sh
+ git submodule update --init
[osv-build] $ /bin/sh -xe /tmp/jenkins1150053547087323402.sh
+ sudo ./scripts/setup.py
Installed Packages
compat-openssl10-devel.x86_64 1:1.0.2o-1.fc27 @updates
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
compat-openssl10-devel x86_64 1:1.0.2o-1.fc27 @updates 3.1 M

Transaction Summary
================================================================================
Remove 1 Package

Freed space: 3.1 M
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Erasing : compat-openssl10-devel-1:1.0.2o-1.fc27.x86_64 1/1
Running scriptlet: compat-openssl10-devel-1:1.0.2o-1.fc27.x86_64 1/1
Running as unit: run-rc616487bf4154ca8a4f3d720a04f590b.service
Verifying : compat-openssl10-devel-1:1.0.2o-1.fc27.x86_64 1/1

Removed:
compat-openssl10-devel.x86_64 1:1.0.2o-1.fc27

Complete!
Failed to synchronize cache for repo 'avik-boost', disabling.
Last metadata expiration check: 2:16:37 ago on Thu 15 Aug 2019 11:48:11 AM IDT.
Package ant-1.10.1-7.fc27.noarch is already installed, skipping.
Package autoconf-2.69-25.fc27.noarch is already installed, skipping.
Package automake-1.15.1-2.fc27.noarch is already installed, skipping.
Package bison-3.0.4-8.fc27.x86_64 is already installed, skipping.
Package boost-static-1.64.0-7.1.scylladb.fc27.x86_64 is already installed, skipping.
Package curl-7.55.1-9.fc27.x86_64 is already installed, skipping.
Package flex-2.6.1-5.fc27.x86_64 is already installed, skipping.
Package gcc-c++-7.3.1-5.fc27.x86_64 is already installed, skipping.
Package gcc-c++-aarch64-linux-gnu-7.2.1-1.fc27.x86_64 is already installed, skipping.
Package gdb-8.0.1-36.fc27.x86_64 is already installed, skipping.
Package genromfs-0.5.2-17.fc27.x86_64 is already installed, skipping.
Package git-2.14.3-3.fc27.x86_64 is already installed, skipping.
Package gnutls-utils-3.5.18-2.fc27.x86_64 is already installed, skipping.
Package libedit-devel-3.1-20.20170329cvs.fc27.x86_64 is already installed, skipping.
Package libstdc++-static-7.3.1-5.fc27.x86_64 is already installed, skipping.
Package libtool-2.4.6-20.fc27.x86_64 is already installed, skipping.
Package libvirt-3.7.0-4.fc27.x86_64 is already installed, skipping.
Package maven-1:3.5.0-6.fc27.noarch is already installed, skipping.
Package maven-shade-plugin-3.0.0-3.fc27.noarch is already installed, skipping.
Package ncurses-6.0-13.20170722.fc27.x86_64 is already installed, skipping.
Package ncurses-devel-6.0-13.20170722.fc27.x86_64 is already installed, skipping.
Package openssl-1:1.1.0g-1.fc27.x86_64 is already installed, skipping.
Package openssl-libs-1:1.1.0g-1.fc27.x86_64 is already installed, skipping.
Package p11-kit-0.23.9-2.fc27.x86_64 is already installed, skipping.
Package patch-2.7.6-3.fc27.x86_64 is already installed, skipping.
Package python2-dpkt-1.9.1-1.fc27.noarch is already installed, skipping.
Package qemu-img-2:2.10.1-2.fc27.x86_64 is already installed, skipping.
Package qemu-system-x86-2:2.10.1-2.fc27.x86_64 is already installed, skipping.
Package tcpdump-14:4.9.1-3.fc27.x86_64 is already installed, skipping.
Package unzip-6.0-37.fc27.x86_64 is already installed, skipping.
Package wget-1.19.4-1.fc27.x86_64 is already installed, skipping.
Package yaml-cpp-devel-0.5.3-9.fc27.x86_64 is already installed, skipping.
Package pax-utils-1.2.3-1.fc27.x86_64 is already installed, skipping.
Package java-1.8.0-openjdk-1:1.8.0.161-5.b14.fc27.x86_64 is already installed, skipping.
Package python2-requests-2.18.4-1.fc27.noarch is already installed, skipping.
Package lua-5.3.4-7.fc27.x86_64 is already installed, skipping.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
lua-devel x86_64 5.3.4-7.fc27 updates 28 k
openssl-devel i686 1:1.1.0i-1.fc27 updates 2.0 M
Upgrading:
krb5-devel x86_64 1.15.2-9.fc27 updates 535 k
krb5-libs x86_64 1.15.2-9.fc27 updates 769 k
krb5-workstation x86_64 1.15.2-9.fc27 updates 912 k
libkadm5 x86_64 1.15.2-9.fc27 updates 180 k
pcre2 x86_64 10.32-4.fc27 updates 242 k
pcre2-devel x86_64 10.32-4.fc27 updates 603 k
pcre2-utf16 x86_64 10.32-4.fc27 updates 226 k
pcre2-utf32 x86_64 10.32-4.fc27 updates 217 k
Installing dependencies:
keyutils-libs i686 1.5.10-3.fc27 fedora 32 k
krb5-devel i686 1.15.2-9.fc27 updates 535 k
krb5-libs i686 1.15.2-9.fc27 updates 828 k
libcom_err i686 1.43.5-2.fc27 fedora 46 k
libkadm5 i686 1.15.2-9.fc27 updates 185 k
libselinux i686 2.7-3.fc27 updates 177 k
libsepol i686 2.7-2.fc27 updates 346 k
libverto i686 0.2.6-11.fc27 fedora 21 k
openssl-libs i686 1:1.1.0i-1.fc27 updates 1.3 M
pcre2 i686 10.32-4.fc27 updates 244 k
zlib i686 1.2.11-4.fc27 fedora 102 k
zlib-devel i686 1.2.11-4.fc27 fedora 56 k

Transaction Summary
================================================================================
Install 14 Packages
Upgrade 8 Packages

Total size: 9.4 M
Total download size: 28 k
Downloading Packages:
[SKIPPED] openssl-devel-1.1.0i-1.fc27.i686.rpm: Already downloaded
[SKIPPED] openssl-libs-1.1.0i-1.fc27.i686.rpm: Already downloaded
[SKIPPED] zlib-devel-1.2.11-4.fc27.i686.rpm: Already downloaded
[SKIPPED] zlib-1.2.11-4.fc27.i686.rpm: Already downloaded
[SKIPPED] krb5-devel-1.15.2-9.fc27.i686.rpm: Already downloaded
[SKIPPED] krb5-libs-1.15.2-9.fc27.i686.rpm: Already downloaded
[SKIPPED] libkadm5-1.15.2-9.fc27.i686.rpm: Already downloaded
[SKIPPED] keyutils-libs-1.5.10-3.fc27.i686.rpm: Already downloaded
[SKIPPED] libcom_err-1.43.5-2.fc27.i686.rpm: Already downloaded
[SKIPPED] libverto-0.2.6-11.fc27.i686.rpm: Already downloaded
[SKIPPED] libselinux-2.7-3.fc27.i686.rpm: Already downloaded
[SKIPPED] libsepol-2.7-2.fc27.i686.rpm: Already downloaded
[SKIPPED] pcre2-10.32-4.fc27.i686.rpm: Already downloaded
[SKIPPED] krb5-devel-1.15.2-9.fc27.x86_64.rpm: Already downloaded
[SKIPPED] krb5-libs-1.15.2-9.fc27.x86_64.rpm: Already downloaded
[SKIPPED] libkadm5-1.15.2-9.fc27.x86_64.rpm: Already downloaded
[SKIPPED] krb5-workstation-1.15.2-9.fc27.x86_64.rpm: Already downloaded
[SKIPPED] pcre2-10.32-4.fc27.x86_64.rpm: Already downloaded
[SKIPPED] pcre2-devel-10.32-4.fc27.x86_64.rpm: Already downloaded
[SKIPPED] pcre2-utf16-10.32-4.fc27.x86_64.rpm: Already downloaded
[SKIPPED] pcre2-utf32-10.32-4.fc27.x86_64.rpm: Already downloaded
(22/22): lua-devel-5.3.4-7.fc27.x86_64.rpm 70 kB/s | 28 kB 00:00
--------------------------------------------------------------------------------
Total 43 kB/s | 28 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
file /usr/share/licenses/openssl-libs/LICENSE from install of openssl-libs-1:1.1.0i-1.fc27.i686 conflicts with file from package openssl-libs-1:1.1.0g-1.fc27.x86_64

Error Summary
-------------

Traceback (most recent call last):
File "./scripts/setup.py", line 325, in <module>
subprocess.check_call(distro.install + ' ' + str.join(' ', pkg), shell=True)
File "/usr/lib64/python2.7/subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'yum -y install --allowerasing ant autoconf automake bison boost-static curl flex gcc-c++ gcc-c++-aarch64-linux-gnu gdb genromfs git gnutls-utils libedit-devel libstdc++-static libtool libvirt maven maven-shade-plugin ncurses ncurses-devel openssl openssl-libs p11-kit patch python-dpkt qemu-img qemu-system-x86 tcpdump unzip wget yaml-cpp-devel pax-utils java-1.8.0-openjdk python2-requests openssl-devel lua-5.3.* lua-devel-5.3.*' returned non-zero exit status 1
Build step 'Execute shell' marked build as failure
IRC notifier plugin: Sending notification to: #osv
Not sending mail to user jwkoz...@gmail.com with no permission to view osv-build #1503

Nadav Har'El

unread,
Aug 15, 2019, 7:13:37 AM8/15/19
to jen...@scylladb.com, Osv Dev

On Thu, Aug 15, 2019 at 2:04 PM <jen...@scylladb.com> wrote:
See <https://jenkins.scylladb.com/job/osv-build/1503/display/redirect?page=changes>
+ sudo ./scripts/setup.py
Dependencies resolved.
================================================================================
 Package                    Arch       Version               Repository    Size
================================================================================
Removing:
 compat-openssl10-devel     x86_64     1:1.0.2o-1.fc27       @updates     3.1 M

Good.

  openssl-devel          i686         1:1.1.0i-1.fc27        updates       2.0 M

Still this i686 thing??? I'll look into this. Maybe some misconfiguration on the
Jenkins machine.

Waldek Kozaczuk

unread,
Aug 15, 2019, 7:18:08 AM8/15/19
to OSv Development
As I feared I failed it due to the conflict between i686 and x86_64 version. I did not see it during my tests. Why is it trying to install the i686 version?

Any ideas how to fix it on this machine?

Waldek

PS. I need to start working on Travis or Circle CI build process.

Nadav Har'El

unread,
Aug 15, 2019, 7:35:03 AM8/15/19
to jen...@scylladb.com, Osv Dev
On Thu, Aug 15, 2019 at 2:13 PM Nadav Har'El <n...@scylladb.com> wrote:

On Thu, Aug 15, 2019 at 2:04 PM <jen...@scylladb.com> wrote:
See <https://jenkins.scylladb.com/job/osv-build/1503/display/redirect?page=changes>
+ sudo ./scripts/setup.py
Dependencies resolved.
================================================================================
 Package                    Arch       Version               Repository    Size
================================================================================
Removing:
 compat-openssl10-devel     x86_64     1:1.0.2o-1.fc27       @updates     3.1 M

Good.

  openssl-devel          i686         1:1.1.0i-1.fc27        updates       2.0 M

Still this i686 thing??? I'll look into this. Maybe some misconfiguration on the
Jenkins machine.

Looks to me a bug in Fedora 27, not our script.

If I manually do

sudo yum install openssl-devel

Everything works well - it installs the x86_64 version of openssl-devel.
But if I do (as setup.py does):

sudo yum install openssl-libs openssl-devel

It mistakenly takes a newer version (?!) of the i686 library.

I'll just install openssl-devel manually, and it should fix anything. Setup.py is fine. It cannot magically solve Fedora bugs :-(

Waldek Kozaczuk

unread,
Aug 15, 2019, 7:40:36 AM8/15/19
to Nadav Har'El, jen...@scylladb.com, Osv Dev
It is even more weird. I tested it in Fedora 27 docker container (same fedora version as on the build machine). And I did not see this issue. 

Is there a way to reset/clean the Jenkins machine ?

Sent from my iPhone
--
You received this message because you are subscribed to a topic in the Google Groups "OSv Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osv-dev/9Yrdhsh6Leg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osv-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/CANEVyjt4L%3DteSAfQJ-M2qGLE1LF1cW%2B0h7Y4wWuTPeTcSifMsw%40mail.gmail.com.

jen...@scylladb.com

unread,
Aug 15, 2019, 8:35:49 AM8/15/19
to osv...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages