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

build failed for test-runner image #9338

Closed
longwuyuan opened this issue Nov 25, 2022 · 2 comments · Fixed by #9339
Closed

build failed for test-runner image #9338

longwuyuan opened this issue Nov 25, 2022 · 2 comments · Fixed by #9339
Assignees
Labels
area/stabilization Work for increasing stabilization of the ingress-nginx codebase kind/bug Categorizes issue or PR as related to a bug. needs-priority triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@longwuyuan
Copy link
Contributor

  • Build failed for test-runner image with error message
#11 [linux/arm64 stage-2  2/19] RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
#11 ERROR: process "/bin/sh -c [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf" did not complete successfully: exit code: 1

image

RUN set -eux; \
	if [ -e /etc/nsswitch.conf ]; then \
		grep '^hosts: files dns' /etc/nsswitch.conf; \
	else \
		echo 'hosts: files dns' > /etc/nsswitch.conf; \
	fi

/triage accepted
/area stabilization

/assign

@longwuyuan longwuyuan added the kind/bug Categorizes issue or PR as related to a bug. label Nov 25, 2022
@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. area/stabilization Work for increasing stabilization of the ingress-nginx codebase needs-priority labels Nov 25, 2022
@tao12345666333 tao12345666333 added the good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. label Nov 25, 2022
@longwuyuan longwuyuan changed the title remove nsswitch dot conf creation step from test-runner image Dockerfile build failed for test-runner image Nov 25, 2022
@longwuyuan
Copy link
Contributor Author

/remove-good-first-issue

@k8s-ci-robot k8s-ci-robot removed the good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. label Nov 25, 2022
@longwuyuan
Copy link
Contributor Author

Follow-up after #9336

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/stabilization Work for increasing stabilization of the ingress-nginx codebase kind/bug Categorizes issue or PR as related to a bug. needs-priority triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants