[CXX-2333] rpm-package-build failing to start mock environment Created: 30/Jul/21  Updated: 29/Mar/23  Resolved: 28/Mar/23

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kevin Albertson Assignee: Roberto Sanchez
Resolution: Won't Do Votes: 0
Labels: bgtrack, failing-on-waterfall, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by CDRIVER-4112 rpm-package-build failing to start mo... Closed
Depends
Epic Link: CXX-2634
Quarter: FY24Q2

 Description   

Example failure logs:

[2021/07/28 23:42:37.745] Fedora rawhide openh264 (From Cisco) - x86_64   0.0  B/s |   0  B     00:00
[2021/07/28 23:42:37.745] Errors during downloading metadata for repository 'fedora-cisco-openh264':
[2021/07/28 23:42:37.745]   - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
[2021/07/28 23:42:37.745] Error: Failed to download metadata for repo 'fedora-cisco-openh264': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
[2021/07/28 23:42:37.749] Fedora - Rawhide - Developmental packages for t 0.0  B/s |   0  B     00:00
[2021/07/28 23:42:37.749] Errors during downloading metadata for repository 'rawhide':
[2021/07/28 23:42:37.749]   - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
[2021/07/28 23:42:37.752] Error: Failed to download metadata for repo 'rawhide': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
[2021/07/28 23:42:37.802] INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide
[2021/07/28 23:42:37.802] ERROR: Command failed:
[2021/07/28 23:42:37.802]  # podman exec 44e9f84db78e2b44a3d8c6da44e7cac5c67b93409fe199dcead23db28172004d /usr/bin/dnf -y install dnf dnf-plugins-core
[2021/07/28 23:42:37.847] exit status 1
[2021/07/28 23:42:37.847] Command failed: command encountered problem: error waiting on process '6126e081-8cbd-4313-8fca-c22fd3b3aa70': exit status 1
[2021/07/28 23:42:37.847] Task completed - FAILURE.



 Comments   
Comment by Roberto Sanchez [ 20/Jan/23 ]

That said, there is no real need to revert the changes. We initially defaulted to using amd64 as the architecture for Linux distro packaging builds, but in truth there is no reason that it must be amd64. Debian, Ubuntu, and Fedora all require that packages also build on arm64 and these days the BUILD team probably has enough arm64 hosts available that we wouldn't realistically experience a resource limitation due to insufficient available hosts. I am fine with reverting the change and I am also fine with just closing this ticket and leaving things as they are.

Comment by Kevin Albertson [ 18/Jan/23 ]

rishabh.bisht@mongodb.com Yes. The changes have not yet been reverted.

Comment by Rishabh Bisht [ 18/Jan/23 ]

Hi roberto.sanchez@mongodb.com kevin.albertson@mongodb.com, is there any action item for this and CDRIVER-4112? Do we just need to revert the changes made with https://github.com/mongodb/mongo-cxx-driver/pull/812 and https://github.com/mongodb/mongo-c-driver/pull/836

Comment by Githook User [ 30/Jul/21 ]

Author:

{'name': 'Roberto C. Sánchez', 'email': 'roberto@connexer.com', 'username': 'rcsanchez97'}

Message: CXX-2333 use arm64 hosts for rpm-package-build
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/2f85f9c5276d5f3eb09ecdd75923faf328b5b2eb

Generated at Wed Feb 07 22:05:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.