Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

master build fails #4973

Closed
markus2330 opened this issue Jul 3, 2023 · 7 comments
Closed

master build fails #4973

markus2330 opened this issue Jul 3, 2023 · 7 comments

Comments

@markus2330
Copy link
Contributor

https://build.libelektra.org/blue/organizations/jenkins/libelektra/detail/master/1072/pipeline

Starting build/hub.libelektra.org/build-elektra-openwrt-sdk:202307-03ce68c0892bdd01df99381d46d1e68062936286e7cfda33ec88dcf8f2e8beb2/ on h1
...
docker build -t "$JD_IMAGE" --pull --build-arg JENKINS_GROUPID=47110 --build-arg JENKINS_USERID=47110 --build-arg PARALLEL=12 --build-arg PIPELINE_TAG=libelektra_master_1072 -f ./scripts/docker/openwrt/sdk/Dockerfile ./scripts/docker/openwrt/sdk
...
#6 [3/5] RUN sudo groupadd     -g 47110     -f     jenkins
#6 0.310 /bin/sh: 1: sudo: not found
#6 ERROR: process "/bin/sh -c sudo groupadd     -g ${JENKINS_GROUPID}     -f     jenkins" did not complete successfully: exit code: 127
@atmaxinger
Copy link
Contributor

Hmm it seems like the openwrt/sdk docker image was updated recently, maybe they don't include sudo by default anymore.

@4ydan
Copy link
Contributor

4ydan commented Jul 3, 2023

Ok so I tried various openwrt/sdk images (pushed 15, 20 days ago or even 2months) and they all fail. I really wonder how the pipeline worked one month ago when it got merged. Could it be something else then?
Also maybe there should be a tag for the target-subtarget atleast, I dont know what :latest is/was building.

@markus2330
Copy link
Contributor Author

@eiskasten do you know something about this?

@atmaxinger
Copy link
Contributor

Can we disable OpenWRT just for this release?

@markus2330
Copy link
Contributor Author

Yes, definitely. We can also permanently disable it, afaik we don't have a OpenWRT maintainer anymore.

Much more interesting than OpenWRT would be a arm/Olimex build... Maybe you can do it manually for this release?

@4ydan 4ydan mentioned this issue Jul 8, 2023
19 tasks
@eiskasten
Copy link
Contributor

No, I do not know anything about this. However, I wonder why this happens. sudo actually gets installed: #5 78.30 Installing package 'sudo' from packages

@4ydan
Copy link
Contributor

4ydan commented Jul 12, 2023

So this can be closed, since the pipeline fixed itself?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants