hurl
hurl copied to clipboard
Integration tests are failing for 1.7.0 generic linux package on fedora:36 docker image
Steps to reproduce:
- Run integration fedora:36 docker image:
docker run --rm -it fedora:36 bash
- Install prerequisites:
yum install -y python3-devel python3-pip wget git
python3 -m pip install --upgrade pip --quiet
- Git clone hurl
git clone https://github.com/Orange-OpenSource/hurl.git --branch ci/split_generic_and_deb_package_creation
cd hurl
- Install 1.7.0 generic linux package
mkdir -p target/upload
wget --directory-prefix target/upload https://github.com/Orange-OpenSource/hurl/releases/download/1.7.0/hurl-1.7.0-x86_64-linux.tar.gz
bin/release/install_generic_linux_package.sh
export PATH="/tmp/hurl-generic-linux:$PATH"
- Get hurl infos
hurl --version
- Execute integration tests:
bin/test/test_prerequisites.sh
bin/test/test_integ.sh
Results on:
hurl: /lib64/libcurl.so.4: no version information available (required by hurl)
hurl 1.7.0 libcurl/7.82.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 libidn2/2.3.2 libssh/libssh/0.9.6/openssl/zlib nghttp2/1.46.0
hurl tests_error_parser/base64.hurl
>>> error in stderr
actual: <hurl: /lib64/libcurl.so.4: no version information available (required by hurl)
error: Parsing literal
--> tests_error_parser/base64.hurl:2:14
|
2 | base64, aaaaa?
| ^ expecting ';'
|>
expected: <error: Parsing literal
--> tests_error_parser/base64.hurl:2:14
|
2 | base64, aaaaa?
| ^ expecting ';'
|>
We already had this issue on Fedora 34 https://github.com/Orange-OpenSource/hurl/issues/279 that we haven't fixed unfortunately...
I've tried recompiling Hurl on a Fedora 36 :
$ yum install -y pkg-config gcc openssl-devel libxml2-devel
$ cargo install
And the hurl produced binary seems right (no warning message). So maybe the right way of solving it would be to propose an official Hurl install for fedora (through yum or dnf)...
We'll repopen it if tehre is still a problem