build icon indicating copy to clipboard operation
build copied to clipboard

'file name too long' error on aci's built with v0.4.0

Open kallisti5 opened this issue 7 years ago • 4 comments

Building the image:

	CONTAINER=server-site.aci
	sudo ${ACBUILD} begin .
	sudo ${ACBUILD} set-name aci.somesite.io/${CONTAINER}
	sudo ${ACBUILD} dep add quay.io/coreos/alpine-sh
	sudo ${ACBUILD} label add version "latest"
	sudo ${ACBUILD} run apk update
	sudo ${ACBUILD} run apk add nginx
	sudo ${ACBUILD} port add http tcp 80
	sudo ${ACBUILD} set-exec -- /usr/sbin/nginx -g "daemon off;"
	sudo ${ACBUILD} write --overwrite ${CONTAINER}.aci
	sudo ${ACBUILD} end

Error:

$ sudo rkt --insecure-options=image run ./server-site.aci 
run: lstat /var/lib/rkt/cas/tree/deps-sha512-7190021edd7ca8da6bc65a9a9c5e493473aae4c2739f974fc1830ef4193a25d4/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs: file name too long

kallisti5 avatar Jun 01 '17 03:06 kallisti5

Can you check if this also happens on master?

lucab avatar Jun 01 '17 08:06 lucab

Master errors out during build vs during run.. same error:

$ /usr/local/bin/acbuild begin .
begin: mkdir .acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci/rootfs/.acbuild/currentaci: file name too long

kallisti5 avatar Jun 01 '17 20:06 kallisti5

ah! The '.' after the begin seemed to be the cause. Removing the '.' results in a working image!

kallisti5 avatar Jun 01 '17 20:06 kallisti5

That command was telling acbuild to initialize the build with the current directory, which it would've created things in, causing a loop.

It hadn't occurred to me that this might happen, a check should be added to prevent this. We can leave this issue open until that happens.

cgonyeo avatar Jun 01 '17 20:06 cgonyeo