Repository navigation
Conversation
vszakats
marked this pull request as draft
May 31, 2024 15:42
Likely due an upstream Ubuntu package update (requiring an apt-get install call beforehand), tests run via autotools started failing with no change in the libssh2 repo: ``` FAIL: test_aa_warmup ==================== Error running command 'docker build --quiet -t libssh2/openssh_server %s' (exit 256): Dockerfile:10 -------------------- 8 | && apt-get clean \ 9 | && rm -rf /var/lib/apt/lists/* 10 | >>> RUN mkdir /var/run/sshd 11 | 12 | # Chmodding because, when building on Windows, files are copied in with -------------------- ERROR: failed to solve: process "/bin/sh -c mkdir /var/run/sshd" did not complete successfully: exit code: 1 Failed to build docker image Cannot stop session - none started Cannot stop container - none started Command: docker build --quiet -t libssh2/openssh_server ../../tests/openssh_server FAIL test_aa_warmup (exit status: 1) ``` Ref: https://github.com/libssh2/libssh2/actions/runs/9322194756/job/25662748095#step:11:390 Fix it by skipping `mkdir` if `/var/run/sshd` already exists. (Why cmake-based jobs aren't affected, I don't know.) Ref: libssh2@50143d5 Closes libssh2#1400
Dockerfile failing after Ubuntu package update
vszakats
force-pushed
the
test-ubuntu-autotools-fallout
branch
from
May 31, 2024 18:09
73b10ce to
e8990fb
Compare
vszakats
marked this pull request as ready for review
May 31, 2024 19:20
agreppin
pushed a commit
to agreppin/libssh2
that referenced
this pull request
Jul 14, 2024
Likely due an upstream Ubuntu package update (requiring an apt-get install call beforehand), tests run via autotools started failing with no change in the libssh2 repo: ``` FAIL: test_aa_warmup ==================== Error running command 'docker build --quiet -t libssh2/openssh_server %s' (exit 256): Dockerfile:10 -------------------- 8 | && apt-get clean \ 9 | && rm -rf /var/lib/apt/lists/* 10 | >>> RUN mkdir /var/run/sshd 11 | 12 | # Chmodding because, when building on Windows, files are copied in with -------------------- ERROR: failed to solve: process "/bin/sh -c mkdir /var/run/sshd" did not complete successfully: exit code: 1 Failed to build docker image Cannot stop session - none started Cannot stop container - none started Command: docker build --quiet -t libssh2/openssh_server ../../tests/openssh_server FAIL test_aa_warmup (exit status: 1) ``` Ref: https://github.com/libssh2/libssh2/actions/runs/9322194756/job/25662748095#step:11:390 Fix it by skipping `mkdir` if `/var/run/sshd` already exists. (Why cmake-based jobs aren't affected, I don't know.) Ref: libssh2@50143d5#commitcomment-142560875 Closes libssh2#1400
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Likely due an upstream Ubuntu package update (requiring an apt-get
install call beforehand), tests run via autotools started failing with
no change in the libssh2 repo:
Ref: https://github.com/libssh2/libssh2/actions/runs/9322194756/job/25662748095#step:11:390
Fix it by skipping
mkdirif/var/run/sshdalready exists.(Why cmake-based jobs aren't affected, I don't know.)
Ref: 50143d5#commitcomment-142560875
Closes #1400