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

Latest release broke running in gitlab CI #79

Closed
Ayush1325 opened this issue Nov 26, 2024 · 3 comments
Closed

Latest release broke running in gitlab CI #79

Ayush1325 opened this issue Nov 26, 2024 · 3 comments

Comments

@Ayush1325
Copy link

Ayush1325 commented Nov 26, 2024

Not really sure what happened but the latest appimagetool seems to no longer work in Gitlab CI (with docker runner).
The project in question is bb-imager-rs.

Here is the error I am getting in CI:

sqfs_read_range error: File exists
Failed to extract AppImage

Full CI logs can be found here: https://openbeagle.org/ayush1325/bb-imager-rs/-/jobs/45335

The make rule I am using to generate appimages is as follows:

package-gui-linux-appimage-%: build-gui-%
	$(info "Create GUI Linux Appimage $*")
	mkdir -p ${RELEASE_DIR_LINUX}/$*/AppDir/usr/bin
	cp ${GUI_ASSETS_LINUX}/appimage/AppRun ${RELEASE_DIR_LINUX}/$*/AppDir/AppRun
	cp target/$*/release/bb-imager-gui ${RELEASE_DIR_LINUX}/$*/AppDir/usr/bin/
	cp ${GUI_ASSETS_LINUX}/BeagleBoardImager.desktop ${RELEASE_DIR_LINUX}/$*/AppDir/
	sed -i "s/^X-AppImage-Version=0.0.0/X-AppImage-Version=${VERSION}/" ${RELEASE_DIR_LINUX}/$*/AppDir/BeagleBoardImager.desktop
	cp gui/assets/icons/icon.png ${RELEASE_DIR_LINUX}/$*/AppDir/bb-imager.png
	ARCH=${APPIMAGE_ARCH_$*} $(APPIMAGETOOL) --appimage-extract-and-run ${RELEASE_DIR_LINUX}/$*/AppDir ${RELEASE_DIR_LINUX}/$*/BeagleBoardImager.AppImage
	rm -rf ${RELEASE_DIR_LINUX}/$*/AppDir
@probonopd
Copy link
Member

Thanks for reporting. Do you know when was the last "known good" BeagleBoardImager build run?

@Ayush1325
Copy link
Author

Ayush1325 commented Nov 27, 2024

Thanks for reporting. Do you know when was the last "known good" BeagleBoardImager build run?

Around 3 days ago. Just prior to the new appimagetool release.
I am currently downloading the latest appimagetool in CI. I probably should switch to a custom docker image.

@Ayush1325
Copy link
Author

Seems, it was some problem with the runner.

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

No branches or pull requests

2 participants