* Executing task: pwsh -nop .conf/validateDepsRunning.ps1
⚠️ VALIDATING ENVIRONMENT
✅ Environment is valid!
* Terminal will be reused by tasks, press any key to close it.
* Executing task: bash -c [[ ! -z "192.168.31.242" ]] && true || false
* Terminal will be reused by tasks, press any key to close it.
* Executing task: bash -c [[ "aarch64" == "aarch64" ]] && true || false
* Terminal will be reused by tasks, press any key to close it.
* Executing task: sleep 1
* Terminal will be reused by tasks, press any key to close it.
* Executing task: sshpass -p 123 scp -P 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /home/andreriesco/Documents/IDE2.0/apollox/apollox-vscode/IDE2autoTests/autoTests-260-arm64-2024-08-23T17-57-22-177Z/autoTestdotnetAvalonia/docker-compose.yml torizon@192.168.31.242:~/
Warning: Permanently added '192.168.31.242' (ED25519) to the list of known hosts.
* Terminal will be reused by tasks, press any key to close it.
* Executing task: DOCKER_HOST=192.168.31.242:2375 docker image prune -f --filter=dangling=true
Total reclaimed space: 0B
* Terminal will be reused by tasks, press any key to close it.
* Executing task: docker compose -p torizon stop autotests260arm64 autotests260arm64-debug && docker compose -p torizon rm -f autotests260arm64 autotests260arm64-debug
No stopped containers
* Terminal will be reused by tasks, press any key to close it.
* Executing task: pwsh -nop /home/andreriesco/Documents/IDE2.0/apollox/apollox-vscode/IDE2autoTests/autoTests-260-arm64-2024-08-23T17-57-22-177Z/autoTestdotnetAvalonia/.conf/torizonPackages.ps1 aarch64
Applying torizonPackages.json ...
Applying to Dockerfile.debug ...
✅ Dockerfile.debug
Applying to Dockerfile ...
✅ Dockerfile
torizonPackages.json applied
* Terminal will be reused by tasks, press any key to close it.
* Executing task: DOCKER_HOST= docker compose build --pull --build-arg SSHUSERNAME=torizon --build-arg APP_ROOT=/home/torizon/app --build-arg IMAGE_ARCH=arm64 --build-arg GPU=-imx8 autotests260arm64
WARN[0000] The "LOCAL_REGISTRY" variable is not set. Defaulting to a blank string.
WARN[0000] /home/andreriesco/Documents/IDE2.0/apollox/apollox-vscode/IDE2autoTests/autoTests-260-arm64-2024-08-23T17-57-22-177Z/autoTestdotnetAvalonia/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Building 1.1s (11/15) docker-container:sharp_murdock
=> [autotests260arm64 internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.64kB 0.0s
=> [autotests260arm64 internal] load metadata for docker.io/commontorizon/dotnet-x-gtk:3-8.0 0.7s
=> [autotests260arm64 internal] load metadata for mcr.microsoft.com/dotnet/sdk:8.0 0.3s
=> [autotests260arm64 internal] load .dockerignore 0.0s
=> => transferring context: 56B 0.0s
=> [autotests260arm64 internal] load build context 0.0s
=> => transferring context: 29.95kB 0.0s
=> [autotests260arm64 build 1/4] FROM mcr.microsoft.com/dotnet/sdk:8.0@sha256:8c6beed050a602970c3d275756ed3c19065e42ce6ca0809f5a6fcbf5d36fd305 0.0s
=> => resolve mcr.microsoft.com/dotnet/sdk:8.0@sha256:8c6beed050a602970c3d275756ed3c19065e42ce6ca0809f5a6fcbf5d36fd305 0.0s
=> [autotests260arm64 deploy 1/6] FROM docker.io/commontorizon/dotnet-x-gtk:3-8.0@sha256:eb66e851fb02a5a854ef656c40c950c4988965c3638bc7c27e4a837a509725ea 0.3s
=> => resolve docker.io/commontorizon/dotnet-x-gtk:3-8.0@sha256:eb66e851fb02a5a854ef656c40c950c4988965c3638bc7c27e4a837a509725ea 0.0s
=> => sha256:5eab15d82c3178c96e2ebca776a7f730f4712ff3ae213d3a86a3151759826214 0B / 23.83MB 0.3s
=> => sha256:3cd58db08e64883d8b0267098b431d4b1f4e6e4960aaefd2afd03639056339b8 0B / 594B 0.3s
=> => sha256:8f1fab6cfa88f73d7467763cd8af91504633451504d65acc6ef4eaca8bb988e8 0B / 594B 0.3s
=> => sha256:7ab54f5052ee177a46138d885f4327d65f8b7601fc2cd18436fa60022a362b90 0B / 27.05MB 0.3s
=> CACHED [autotests260arm64 build 2/4] COPY . /home/torizon/app 0.0s
=> CACHED [autotests260arm64 build 3/4] WORKDIR /home/torizon/app 0.0s
=> ERROR [autotests260arm64 build 4/4] RUN dotnet restore && dotnet publish -c Release -r linux-arm64 --no-self-contained && if [ "arm64" = "amd64" ]; then 0.2s
=> CANCELED [autotests260arm64 deploy 2/6] RUN sed -i 's/sid/bookworm/g' /etc/apt/sources.list.d/debian.sources 0.0s
------
> [autotests260arm64 build 4/4] RUN dotnet restore && dotnet publish -c Release -r linux-arm64 --no-self-contained && if [ "arm64" = "amd64" ]; then mv ./bin/Release/net8.0/linux-x64 ./bin/Release/net8.0/linux-amd64 ; fi:
0.179 MSBUILD : error MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file.
------
failed to solve: process "/bin/sh -c dotnet restore && dotnet publish -c Release -r linux-${IMAGE_ARCH} --no-self-contained && if [ \"${IMAGE_ARCH}\" = \"amd64\" ]; then mv ./bin/Release/net8.0/linux-x64 ./bin/Release/net8.0/linux-amd64 ; fi" did not complete successfully: exit code: 1
* The terminal process "/usr/bin/bash '-c', 'DOCKER_HOST= docker compose build --pull --build-arg SSHUSERNAME=torizon --build-arg APP_ROOT=/home/torizon/app --build-arg IMAGE_ARCH=arm64 --build-arg GPU=-imx8 autotests260arm64'" terminated with exit code: 17.
* Terminal will be reused by tasks, press any key to close it.
This error seems to be generated by the *.generated.sln file, which is created when loading the workspace on VSCode
The most straightforward solution may be adding this *.generated.sln file to .dockerignore, but not sure if this file is needed for something on the production/release container image
Log:
This error seems to be generated by the
*.generated.sln
file, which is created when loading the workspace on VSCode