-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
cypress/included images "text file busy" with node 20 #27707
Comments
Hi @esetnik . Thank you for opening an issue. How are you invoking the docker image? Would you be able to provide a small reproduction for us to reproduce the issue on our end? I ran some of the included images this morning and they worked OK so I am wondering if it is something specific to your project. |
I am using the following custom image based on FROM cypress/included:12.17.4@sha256:102b34b9e4cb9895c44a74293c6931e7282535775045dd8b1c7608667a34c4b6
# renovate: datasource=repology depName=aur/msodbcsql versioning=loose
ARG MSODBCSQL_VERSION="18.1.2.1-1"
# renovate: datasource=repology depName=aur/mssql-tools versioning=loose
ARG MSSQL_TOOLS_VERSION="18.0.1.1-1"
ENV CI=1
RUN apt-get update && \
apt-get install -y \
git \
gnupg \
lsb-release && \
wget -O - https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \
wget -O /etc/apt/sources.list.d/mssql-release.list https://packages.microsoft.com/config/debian/$(lsb_release -rs)/prod.list && \
apt-get update && \
ACCEPT_EULA=Y apt-get install -y --no-install-recommends \
msodbcsql18=${MSODBCSQL_VERSION} \
mssql-tools18=${MSSQL_TOOLS_VERSION} \
locales && \
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen && \
rm -r /var/lib/apt/lists/* && \
ln -s /opt/mssql-tools18/bin/sqlcmd /usr/bin/sqlcmd
RUN mkdir -p /e2e
RUN git config --global --add safe.directory /e2e
WORKDIR /e2e
COPY package.json yarn.lock .npmrc ./
COPY patches ./patches
RUN yarn install --frozen-lockfile --unsafe-perm=true --allow-root
RUN npx cypress verify
COPY . . Then in my docker compose: cypress:
# image: (the image built in previous step)
environment:
PERCY_TOKEN: ${PERCY_TOKEN}
PERCY_BRANCH: ${PERCY_BRANCH}
PERCY_PULL_REQUEST: ${PERCY_PULL_REQUEST}
PERCY_PARALLEL_TOTAL: ${CIRCLE_NODE_TOTAL}
PERCY_PARALLEL_NONCE: ${CIRCLE_BUILD_NUM}
NO_COLOR: 1
command: >
npx percy exec --verbose --parallel -- cypress run
--record
--key redacted
--ci-build-id ${CIRCLE_BUILD_NUM}
--parallel
--group circleci-chrome
--browser chrome The above works on v12.17.3 and below but stops working on v12.17.4 and v13.0.0 |
@esetnik sorry for the delay. I threw together a quick |
@AtofStryker there's something really odd going on. I upgrade my image to |
Still an issue in |
@AtofStryker are you able to publish |
@esetnik Open an issue in the docker-images repo for this. |
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
Current behavior
Cypress crashes with Command failed with exit code 126 "Text file busy" error
Desired behavior
Same behavior as v12.17.3. The tests run correctly when using the cypress/included image.
Test code to reproduce
Unable to provide at this time
Cypress Version
v12.17.4
Node version
v20.5.0
Operating System
docker
Debug Logs
Other
Seems to be related to
nodejs/docker-node#1912 (comment)
The text was updated successfully, but these errors were encountered: