dd010101/vyos-jenkins

build vyos-xe-guest-utilities_sagitta broken

Closed this issue ยท 9 comments

asmc commented

CleanShot 2024-12-07 at 14 33 54@2x
CleanShot 2024-12-07 at 14 35 08@2x

Try this solution: #57 (comment)

asmc commented

thanks for reply
I've changed that lib as you can see
CleanShot 2024-12-08 at 15 00 57@2x
but another error happend when I build it alone or from 1-xx to 7-xx.sh
CleanShot 2024-12-08 at 14 59 17@2x

For the Jenkins Global Library I added automated check/fix in step 2 and 6, thus to fix it just rerun step 2 or 6 (introduced in c14506d).

but another error happend when I build it alone or from 1-xx to 7-xx.sh

It complains that sagitta vyos build container isn't available. Try to manually build the vyos-build-container job in Jenkins, for the sagitta branch. This will rebuild the container.

asmc commented

I tried to build vyos-build-container some times, but it also failed
CleanShot 2024-12-08 at 15 56 58@2x

thanks for reply

Yep, fails for me too, looks like recent development. The OPAM package was changed. I cherry picked the vyos/vyos-build#854 and this fixes the issue.

Try to build vyos-build-container again, now it should work. I tried to build the vyos-build-container for both sagitta and equuleus and with the fix both were successful (but both failed before).

asmc commented

I think I opened magic box, lol
CleanShot 2024-12-08 at 17 38 37@2x
CleanShot 2024-12-08 at 17 41 07@2x
CleanShot 2024-12-08 at 17 42 01@2x
netfilter has the same error as before

Both netfilter and vyos-xe-guest-utilities of sagitta work for me just fine.

Did the vyos-build-container of sagitta completed successfully? What does the log of vyos-build-container/sagitta say? I have no idea how could other packages work if you have this error, this seems like no package should be build-able, maybe the other packages were built previously?

asmc commented

thanks for known both working,I will reinstall a vm to build

asmc commented

CleanShot 2024-12-08 at 18 38 49@2x
its just working, I tried to build again, after waiting a few minuts