aem-test-samples icon indicating copy to clipboard operation
aem-test-samples copied to clipboard

Error while upgrading cypress version to 13.13.3

Open sachinlala opened this issue 1 year ago • 0 comments

Team - I am trying to upgrade thecypress version from 12.17.0 to 13.13.3. This is based on the latest version available in docker-hub.

Expected Behaviour

The docker image should build fine without any error.

Actual Behaviour

The docker image is not getting built and is giving an error as follows:

ESC[91mW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-stable.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-stable.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
E: Package 'python' has no installation candidate
ESC[0mThe command '/bin/sh -c apt -qqy update     && apt -qqy --no-install-recommends install     python     build-essential' returned a non-zero code: 100
2024/08/19 09:55:38 Container failed during run: build. No retries remaining.
failed to run step ID: build: exit status 100

Reproduce Scenario (including but not limited to)

We are on AEMaaCS and the error is coming in the cloud pipeline, during the build-images step, for the ui.tests module.

Steps to Reproduce

Run the docker build, using the Dockerfile with cypress version set to 13.13.3

Platform and Version

AEMaaCS SDK version: 2024.7.17258.20240726T172406Z

Sample Code that illustrates the problem

https://github.com/adobe/aem-test-samples/blob/aem-cloud/ui-cypress/Dockerfile

Logs taken while reproducing problem

Shared above

sachinlala avatar Aug 19 '24 12:08 sachinlala