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

DLPX-93232 Install fakeroot and awscli on buildservers required by linux-pkg #785

Conversation

palash-gandhi
Copy link
Contributor

@palash-gandhi palash-gandhi commented Jan 24, 2025

Problem

  1. linux-pkg build-package jobs using 24.04 DE-based buildservers fail with:
14:24:10  Running: dpkg-buildpackage -b -us -uc
14:24:10  dpkg-buildpackage: error: fakeroot not found, either install the fakeroot
14:24:10  package, specify a command with the -r option, or run this as root
14:24:10  Error: failed command 'dpkg-buildpackage -b -us -uc'

Example: https://ops-jenkins.eng-tools-prd.aws.delphixcloud.com/job/linux-pkg/job/os-upgrade/job/build-package/job/delphix-go/job/post-push/114/console

  1. After fixing 1, they failed while archiving artifacts:
16:32:29  + aws s3 sync --delete --only-show-errors . s3://snapshot-de-images/builds/jenkins-ops/linux-pkg/os-upgrade/build-package/make-jpkg/post-push/115
16:32:29  /export/home/delphix/jenkins/workspace/linux-pkg/os-upgrade/build-package/make-jpkg/post-push/linux-pkg/workdir/artifacts@tmp/durable-900a6018/script.sh.copy: line 1: aws: command not found

Example: https://ops-jenkins.eng-tools-prd.aws.delphixcloud.com/job/linux-pkg/job/os-upgrade/job/build-package/job/make-jpkg/job/post-push/115/console

Solution

Install fakeroot (via apt) and awscli (via pip).

Testing Done

https://ops-jenkins.eng-tools-prd.aws.delphixcloud.com/job/linux-pkg/job/os-upgrade/job/build-package/job/make-jpkg/job/post-push/116/console

@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/e93af444-21a4-4c3b-97cd-0051fd807808 branch from a266d64 to c9b7e4e Compare January 24, 2025 22:46
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/e93af444-21a4-4c3b-97cd-0051fd807808 branch from c9b7e4e to 1c61df2 Compare January 29, 2025 00:44
@palash-gandhi palash-gandhi changed the title DLPX-93232 Install fakeroot on buildservers required by dpkg-buildpackage DLPX-93232 Install fakeroot and awscli on buildservers required by linux-pkg Jan 29, 2025
@palash-gandhi palash-gandhi marked this pull request as ready for review January 29, 2025 03:16
@palash-gandhi palash-gandhi enabled auto-merge (squash) January 29, 2025 05:51
@palash-gandhi palash-gandhi merged commit f32dfae into os-upgrade Jan 31, 2025
9 of 10 checks passed
@palash-gandhi palash-gandhi deleted the dlpx/pr/palash-gandhi/e93af444-21a4-4c3b-97cd-0051fd807808 branch January 31, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants