Closed Bug 1503785 Opened 1 year ago Closed 4 months ago

Bitbar Ubuntu 18.04 images can not run minidump_stackwalk

Categories

(Testing :: General, defect, P3)

defect

Tracking

(firefox71 fixed)

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: bc, Assigned: aerickson)

References

Details

Attachments

(2 files)

While attempting to fix the intermittent dns lookup error downloading from tooltool, I upgraded the Bitbar docker containers to Ubuntu 18.04. Though that alone did not fix the issue, I left the containers at 18.04.

There was a problem with 18.04 and minidump_stackwalk however. minidump_stackwalk requires libcurl3 but that is incompatible with a simultaneous install of libcurl4.

I tried to work around it during the image creation by first installing libcurl3 and copying libcurl3.so to a LD_LIBRARY path in the home directory and setting LD_LIBRARY_PATH to that directory in the .bashrc. However when minidump_stackwalk is invoked it fails to run with an

/builds/worker/workspace/build/linux64-minidump_stackwalk: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /builds/worker/workspace/build/linux64-minidump_stackwalk)

error. I can either downgrade to Ubuntu 16.04 or do something else.

Ted: I was wondering, since you did the work to build minidump_stackwalk in taskcluster, if it were possible to statically link libcurl3 into the binary so I could use minidump_stackwalk on Ubuntu 18.04 without worrying about libcurl3?
Flags: needinfo?(ted)
It might be possible but I don't think I've tried it. FWIW the script I used to build those binaries is here:
https://dxr.mozilla.org/mozilla-central/source/taskcluster/scripts/misc/minidump_stackwalk.sh

The Dockerfile to build the Docker image that it was built in is in this repo:
https://github.com/luser/breakpad-taskcluster
Flags: needinfo?(ted)
Since 18.04 was the release we were looking for, I think I'll revert to 16.04 and move on. Thanks.
ack- this makes it hard to upgrade our linux testers, something to watch out for.
s/Since 18.04 was/Since 18.04 wasn't/

Yeah, but if you upgrade the builders at the same time, it shouldn't be problem.
Assignee: nobody → bob
Status: NEW → ASSIGNED
DOCKER_IMAGE_VERSION=20181101usb
Back to 16.04.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Blocks: 1483695
Depends on: 1582574
Assignee: bob → aerickson
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Priority: -- → P3

testing/config/tooltool-manifests/linux64/releng.manifest is the manifest used by the android-hw tests.

https://searchfox.org/mozilla-central/source/testing/config/tooltool-manifests/linux64/releng.manifest

Use the new minidump_stackwalk that incorporates libcurl3 and libcurl4 compatibility. See https://bugzilla.mozilla.org/show_bug.cgi?id=1582574.

:glandium, will you please review https://bugzilla.mozilla.org/attachment.cgi?id=9096776?

Flags: needinfo?(mh+mozilla)

:bc has approved the phab.

Flags: needinfo?(mh+mozilla)
Keywords: checkin-needed
Status: REOPENED → RESOLVED
Closed: 1 year ago4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.