yes …:
No specific initial task defined for this template
* Terminal will be reused by tasks, press any key to close it.
* Executing task: xonsh .conf/validate-deps-running.xsh
⚠️ VALIDATING ENVIRONMENT
OS: Linux
OS Version: 6.8.0-90-generic
OS Arch: x86_64
Under WSL: false
VS Code:
1.107.1
994fd12f8d3a5aa16f17d42c041e5809167e845a
x64
TOR Extension: toradex.apollox-vscode@3.2.6
✅ Environment is valid!
* Terminal will be reused by tasks, press any key to close it.
* Executing task: bash -c [[ ! -z "10.100.1.79" ]] && true || false
* Terminal will be reused by tasks, press any key to close it.
* Executing task: bash -c [[ "arm64" == "arm64" ]] && true || false
* Terminal will be reused by tasks, press any key to close it.
* Executing task: sshpass -p 1 scp -P 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PubkeyAuthentication=no /home/carlton/Toradex/_GitLab/test-controller/toradex-hardware/apis/networktracing/NetworkTracingAPI/docker-compose.yml torizon@10.100.1.79:~/
Warning: Permanently added '10.100.1.79' (ED25519) to the list of known hosts.
* Terminal will be reused by tasks, press any key to close it.
* Executing task: /home/carlton/Toradex/_GitLab/test-controller/toradex-hardware/apis/networktracing/NetworkTracingAPI/.conf/remove-dangling-images.xsh 10.100.1.79:2375
Waiting for prune lock on host 10.100.1.79:2375
Pruning dangling images on 10.100.1.79:2375
Total reclaimed space: 0B
* Terminal will be reused by tasks, press any key to close it.
* Executing task: docker compose -p torizon stop networktracingapi networktracingapi-debug && docker compose -p torizon rm -f networktracingapi networktracingapi-debug && sleep 1
No stopped containers
* Terminal will be reused by tasks, press any key to close it.
* Executing task: xonsh /home/carlton/Toradex/_GitLab/test-controller/toradex-hardware/apis/networktracing/NetworkTracingAPI/.conf/torizon-packages.xsh arm64
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 networktracingapi
WARN[0000] The "LOCAL_REGISTRY" variable is not set. Defaulting to a blank string.
Compose can now delegate builds to bake for better performance.
To do so, set COMPOSE_BAKE=true.
[+] Building 1.1s (11/11) FINISHED docker:default
=> [networktracingapi internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.77kB 0.0s
=> [networktracingapi internal] load metadata for docker.io/torizon/aspdotnet8:4 1.1s
=> [networktracingapi auth] torizon/aspdotnet8:pull token for registry-1.docker.io 0.0s
=> [networktracingapi internal] load .dockerignore 0.0s
=> => transferring context: 56B 0.0s
=> [networktracingapi deploy 1/4] FROM docker.io/torizon/aspdotnet8:4@sha256:ba4fccf595657ae3b8f0e08f564d7dd60baf9da0968d42fa9f0737ca3e20d524 0.0s
=> [networktracingapi internal] load build context 0.0s
=> => transferring context: 7.34kB 0.0s
=> CACHED [networktracingapi deploy 2/4] RUN apt-get -y update && apt-get install -y --no-install-recommends tcpdump:arm64 && apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/* 0.0s
=> CACHED [networktracingapi deploy 3/4] COPY ./bin/Release/net8.0/linux-arm64/publish /home/torizon/app 0.0s
=> CACHED [networktracingapi deploy 4/4] WORKDIR /home/torizon/app 0.0s
=> [networktracingapi] exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:b1b0b6989a3f3edb95157a126710424fd7b41716fba5a6a3a77cd0195ce00bc5 0.0s
=> => naming to docker.io/<ourcompany>/networktracingapi:0.0.14 0.0s
=> [networktracingapi] resolving provenance for metadata file 0.0s
[+] Building 1/1
✔ networktracingapi Built 0.0s
* Terminal will be reused by tasks, press any key to close it.
* Executing task: DOCKER_HOST= docker compose push networktracingapi
WARN[0000] The "LOCAL_REGISTRY" variable is not set. Defaulting to a blank string.
[+] Pushing 16/16
✔ Pushing <ourcompany>/networktracingapi:0.0.14: 5f70bf18a086 Layer already exists 0.7s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: ffb33698e36c Layer already exists 0.7s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: 5eb56b501909 Layer already exists 0.7s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: 61b99d9da8dc Layer already exists 0.7s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: 173990295215 Layer already exists 0.7s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: 6c4842fc8138 Layer already exists 1.1s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: 069f2aceffc2 Layer already exists 1.1s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: e44f9e856fee Layer already exists 1.1s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: d3cdb57eca31 Layer already exists 1.1s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: 47e4337358a3 Layer already exists 1.1s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: a89e0e5ff6ca Layer already exists 1.5s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: 2cdd244f6306 Layer already exists 1.5s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: 145a1a68cd48 Layer already exists 1.5s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: 5e735bd5801f Layer already exists 1.5s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: 3a9528cc455e Layer already exists 1.5s
✔ Pushing <ourcompany>/networktracingapi:0.0.14: a213e6585473 Layer already exists 1.8s
* Terminal will be reused by tasks, press any key to close it.
* Executing task: /home/carlton/.local/bin/xonsh /home/carlton/Toradex/_GitLab/test-controller/toradex-hardware/apis/networktracing/NetworkTracingAPI/.conf/spin-up-down-registry.xsh down 1 torizon 10.100.1.79 /home/carlton/Toradex/_GitLab/test-controller/toradex-hardware/apis/networktracing/NetworkTracingAPI
* Terminal will be reused by tasks, press any key to close it.
* Executing task: /home/carlton/.local/bin/xonsh /home/carlton/Toradex/_GitLab/test-controller/toradex-hardware/apis/networktracing/NetworkTracingAPI/.conf/spin-up-down-registry.xsh up 1 torizon 10.100.1.79 /home/carlton/Toradex/_GitLab/test-controller/toradex-hardware/apis/networktracing/NetworkTracingAPI
Container Runtime: docker
Run Arguments: --rm -d --network host torizonextras/ide-port-tunnel:0.0.0 sshpass -p 1 ssh -vv -N -R 5002:localhost:5002 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PubkeyAuthentication=no torizon@10.100.1.79
Container Name: torizon-ide-port-tunnel
Container torizon-ide-port-tunnel already created
Checking if container torizon-ide-port-tunnel is running...
Container torizon-ide-port-tunnel is already running.
* Terminal will be reused by tasks, press any key to close it.
* Executing task: xonsh /home/carlton/Toradex/_GitLab/test-controller/toradex-hardware/apis/networktracing/NetworkTracingAPI/.conf/service-check.xsh registry 1 22 torizon 10.100.1.79 'curl --silent --max-time 5 http://localhost:5002/v2/_catalog'
Registry ready
* Terminal will be reused by tasks, press any key to close it.
* Executing task: sleep 1 && DOCKER_HOST=10.100.1.79:2375 docker pull localhost:5002/networktracingapi:0.0.14
Error response from daemon: manifest for localhost:5002/networktracingapi:0.0.14 not found: manifest unknown: manifest unknown
* The terminal process "/usr/bin/bash '-c', 'sleep 1 && DOCKER_HOST=10.100.1.79:2375 docker pull localhost:5002/networktracingapi:0.0.14'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
the docker-compose:
services:
networktracingapi-debug:
build:
context: .
dockerfile: Dockerfile.debug
image: ${LOCAL_REGISTRY}:5002/networktracingapi-debug:${TAG}
ports:
- ${DEBUG_SSH_PORT}:${DEBUG_SSH_PORT}
- 5035:5035
profiles:
- debug
network_mode: host
logging:
driver: journald
environment:
- ENABLE_PERSISTENT_STORE=true
- MAX_PCAP_STORAGE_MB=50
- MAX_PCAP_CHUNK_SIZE_MB=1
- MAX_PCAP_SESSION_SIZE_MB=2
cap_add:
- NET_ADMIN
- NET_RAW
privileged: true
volumes:
- type: tmpfs
target: /home/torizon/app/pcaps
tmpfs:
size: 268435456 # 256 MB
networktracingapi:
build:
context: .
dockerfile: Dockerfile
image: ${DOCKER_LOGIN}/networktracingapi:${TAG}
# image: ${LOCAL_REGISTRY}:5002/networktracingapi:${TAG}
profiles:
- release
environment:
- ENABLE_PERSISTENT_STORE=false
- MAX_PCAP_STORAGE_MB=50
- MAX_PCAP_CHUNK_SIZE_MB=1
- MAX_PCAP_SESSION_SIZE_MB=2
cap_add:
- NET_ADMIN
- NET_RAW
privileged: true
volumes:
- type: tmpfs
target: /home/torizon/app/pcaps
tmpfs:
size: 268435456 # 256 MB
ports:
- 5035:5035
# command: tail -f /dev/null # keep it alive
