-
Notifications
You must be signed in to change notification settings - Fork 526
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
integration tests_ok/cookie_jar fails #1841
Comments
Can you try with curl?
|
curl looks ok:
|
Have you build Hurl in debug or release mode? I'm not sure how to set up the same environment as yours to reproduce the bug. |
Yes, it was built with Yes, it's an EC2 instance with Arm (t4g.medium) with Amazon Linux 2023. I can provide SSH access to an instance for a few days, if you're not familiar with AWS; you could e-send me an SSH Pubkey to [email protected]. And/or if you have a hunch about where this is happening, I could take a look at the source code myself. Just wanted to finish up the aws-sigv4 PR first. |
ok we can finalize your aws-sigv4 PR first. |
I have some news here: The issue is clearly triggered in libcurl somehow, as curl's debug output already shows the wrong unixtime:
This bug is neither arch- nor OS-dependent. I have reproduced it on x86-64 and on Ubuntu. It turns out that I had not installed libcurl-devel, and rust-curl silently falls back to some bundled libcurl. The bug appears when rust-curl is using that bundled libcurl (alexcrichton/curl-rust#523). When libcurl-devel is present during build, the resulting binary is properly linked against the system-wide libcurl, and the bug does not appear:
A very simple test program using rust-curl can reproduce this, so it's definitely not an issue in Hurl. Might be a good idea though to add a check to Hurl's tests though, to make sure the produced hurl binaries do actually use the system-provided libcurl. Other than that, we could close this issue, I guess. |
Yes, a check is a very good idea. we have already had issues related to this implicit static build. |
What is the current bug behavior?
Steps to reproduce
python3 integration.py
)What is the expected correct behavior?
test passes
Execution context
The only difference between
expected
andactual
is one column, which should be 3409338181 but is actually 2147483647 – which is i32::MAX.The environment is an Arm CPU (Graviton / aarch64) machine running Amazon Linux 2023, with
rustc 1.71.1 (eb26296b5 2023-08-03)
.The text was updated successfully, but these errors were encountered: