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

Tests failed on Ubuntu 22.04, but work on 20.04 #128

Open
molind opened this issue Aug 31, 2023 · 1 comment
Open

Tests failed on Ubuntu 22.04, but work on 20.04 #128

molind opened this issue Aug 31, 2023 · 1 comment
Labels

Comments

@molind
Copy link

molind commented Aug 31, 2023

I'm building prime_server as a valhalla dependency in docker image. Tried to upgrade base docker image to ubuntu:22.04 and it's failed to build.

make[2]: Entering directory '/prime_server'
PASS: test/zmq
./test-driver: line 112: 13924 Segmentation fault      "$@" >> "$log_file" 2>&1
FAIL: test/interrupt
PASS: test/shaping
PASS: test/netstring
PASS: test/http
============================================================================
Testsuite summary for prime_server 0.7.0
============================================================================
# TOTAL: 5
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to https://github.com/kevinkreiser/prime_server/issues
============================================================================
make[2]: *** [Makefile:1334: test-suite.log] Error 1
make[2]: Leaving directory '/prime_server'
make[1]: *** [Makefile:1442: check-TESTS] Error 2
make[1]: Leaving directory '/prime_server'
make: *** [Makefile:1682: check-am] Error 2
root@1e11fa145e70:/prime_server# cat test-suite.log 
==========================================
   prime_server 0.7.0: ./test-suite.log
==========================================

# TOTAL: 5
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test/interrupt
====================

=== Testing interrupt ===
                      test_earlyFAIL test/interrupt (exit status: 139)

There is sample Dockerfile to reproduce failure:

FROM ubuntu:22.04 as builder

RUN apt-get update -y && \
    apt-get install -y \
      software-properties-common

RUN apt-get update -y && \
    apt-get install -y cmake make libtool pkg-config clang curl unzip jq \
                       lcov protobuf-compiler vim-common locales libboost-all-dev \
                       libcurl4-openssl-dev zlib1g-dev liblz4-dev \
                       libprotobuf-dev libsqlite3-dev libsqlite3-mod-spatialite \
                       libspatialite-dev libluajit-5.1-dev liblua5.1-dev libgeos++-dev spatialite-bin \
                       git supervisor

RUN git clone \
  --depth=1 \
  --recurse-submodules \
  --single-branch \
  --branch=master \
  https://github.com/kevinkreiser/prime_server.git prime_server

RUN apt-get install -y libzmq3-dev libczmq-dev

RUN cd prime_server && \
  ./autogen.sh && \
  ./configure && \
  make test -j && \
  make install

It works without issues if you change 22.04 to 20.04 in first line of the Dockerfile

@kevinkreiser
Copy link
Owner

interesting. we should look into it

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

No branches or pull requests

2 participants