Pull request #357 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4755ab541db10572433b487a255c1c9b216bf2ea+60c6d6f4a1dd386522f88229b760e87d58d61eab (50822bbb5034cadf2505227c8ed31d9f1929914c) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5227996198400415167.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6816366088457118604.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6599781344448157937.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2992359505100663857.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2530147540918590198.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6939354444375362932.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22796 in /w/workspace/foundry_device-usb-camera_PR-357 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-357 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 60c6d6f4a1dd386522f88229b760e87d58d61eab into PR head commit 4755ab541db10572433b487a255c1c9b216bf2ea Merge succeeded, producing 4755ab541db10572433b487a255c1c9b216bf2ea Checking out Revision 4755ab541db10572433b487a255c1c9b216bf2ea (PR-357) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4755ab541db10572433b487a255c1c9b216bf2ea # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 60c6d6f4a1dd386522f88229b760e87d58d61eab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4755ab541db10572433b487a255c1c9b216bf2ea # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-14T17:57:29.342Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-14T17:57:29.602Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-14T17:57:29.731Z] ========================================================= [2024-10-14T17:57:29.731Z] EdgeX Global Pipelines Version Info [2024-10-14T17:57:29.731Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-14T17:57:30.506Z] ------------------- [2024-10-14T17:57:30.506Z] stable info: [2024-10-14T17:57:30.506Z] ------------------- [2024-10-14T17:57:30.506Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-14T17:57:30.506Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-14T17:57:30.506Z] Message: update stable to v1.0.265 [2024-10-14T17:57:31.078Z] ------------------- [2024-10-14T17:57:31.078Z] experimental info: [2024-10-14T17:57:31.078Z] ------------------- [2024-10-14T17:57:31.078Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-14T17:57:31.078Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-14T17:57:31.078Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-14T17:57:31.313Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2024-10-14T17:57:31.372Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2024-10-14T17:57:31.441Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-14T17:57:31.503Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-14T17:57:31.566Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-14T17:57:31.628Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-14T17:57:31.687Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-14T17:57:31.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-14T17:57:31.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-14T17:57:31.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-14T17:57:31.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-14T17:57:31.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2024-10-14T17:57:32.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-14T17:57:32.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-14T17:57:32.158Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T17:57:32.223Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T17:57:32.278Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T17:57:32.332Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T17:57:32.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-14T17:57:32.460Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-14T17:57:32.517Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-14T17:57:32.568Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-14T17:57:32.626Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-14T17:57:32.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-14T17:57:32.753Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-14T17:57:32.818Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-14T17:57:32.878Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-14T17:57:32.943Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2024-10-14T17:57:33.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2024-10-14T17:57:33.064Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2024-10-14T17:57:33.126Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4755ab541db10572433b487a255c1c9b216bf2ea [Pipeline] echo [2024-10-14T17:57:33.188Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4755ab5 [Pipeline] echo [2024-10-14T17:57:33.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T17:57:33.413Z] provisioning config files... [2024-10-14T17:57:33.425Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-357@tmp/config1668545545126159027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T17:57:33.821Z] ---> ****-login.sh [2024-10-14T17:57:33.821Z] nexus3.edgexfoundry.org:10001 [2024-10-14T17:57:34.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T17:57:34.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T17:57:34.345Z] Configure a credential helper to remove this warning. See [2024-10-14T17:57:34.345Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T17:57:34.345Z] [2024-10-14T17:57:34.345Z] Login Succeeded [2024-10-14T17:57:34.345Z] nexus3.edgexfoundry.org:10002 [2024-10-14T17:57:34.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T17:57:34.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T17:57:34.346Z] Configure a credential helper to remove this warning. See [2024-10-14T17:57:34.346Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T17:57:34.346Z] [2024-10-14T17:57:34.346Z] Login Succeeded [2024-10-14T17:57:34.346Z] nexus3.edgexfoundry.org:10003 [2024-10-14T17:57:34.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T17:57:34.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T17:57:34.609Z] Configure a credential helper to remove this warning. See [2024-10-14T17:57:34.609Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T17:57:34.609Z] [2024-10-14T17:57:34.609Z] Login Succeeded [2024-10-14T17:57:34.609Z] nexus3.edgexfoundry.org:10004 [2024-10-14T17:57:34.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T17:57:34.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T17:57:34.609Z] Configure a credential helper to remove this warning. See [2024-10-14T17:57:34.609Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T17:57:34.609Z] [2024-10-14T17:57:34.609Z] Login Succeeded [2024-10-14T17:57:34.609Z] ****.io [2024-10-14T17:57:34.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T17:57:34.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T17:57:34.869Z] Configure a credential helper to remove this warning. See [2024-10-14T17:57:34.869Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T17:57:34.869Z] [2024-10-14T17:57:34.869Z] Login Succeeded [2024-10-14T17:57:34.869Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T17:57:34.902Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-14T17:57:35.605Z] + git rev-list -1 --merges 4755ab541db10572433b487a255c1c9b216bf2ea~1..4755ab541db10572433b487a255c1c9b216bf2ea [Pipeline] echo [2024-10-14T17:57:35.654Z] -----------> git rev-list -1 --merges 4755ab541db10572433b487a255c1c9b216bf2ea~1..4755ab541db10572433b487a255c1c9b216bf2ea 4755ab541db10572433b487a255c1c9b216bf2ea [false] [Pipeline] sh [2024-10-14T17:57:35.986Z] + git log --format=format:%s -1 4755ab541db10572433b487a255c1c9b216bf2ea [Pipeline] echo [2024-10-14T17:57:36.028Z] ========================================================= [2024-10-14T17:57:36.028Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-14T17:57:36.028Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T17:57:36.497Z] + git log --format=format:%s -1 4755ab541db10572433b487a255c1c9b216bf2ea [Pipeline] echo [2024-10-14T17:57:36.541Z] [semverPrep] GIT_COMMIT: 4755ab541db10572433b487a255c1c9b216bf2ea, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-14T17:57:36.590Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-14T17:57:37.017Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-14T17:57:37.017Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-14T17:57:37.017Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-14T17:57:37.017Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-14T17:57:37.017Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-14T17:57:37.017Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-14T17:57:37.017Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T17:57:37.561Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T17:57:37.561Z] [2024-10-14T17:57:37.561Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T17:57:37.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T17:57:37.964Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-14T17:57:37.964Z] b85a868b505f: Pulling fs layer [2024-10-14T17:57:37.964Z] e2be974225ed: Pulling fs layer [2024-10-14T17:57:37.964Z] 339a4e72a1f5: Pulling fs layer [2024-10-14T17:57:37.964Z] 988bab9f4d93: Pulling fs layer [2024-10-14T17:57:37.964Z] 1469e6f7b9e6: Pulling fs layer [2024-10-14T17:57:37.964Z] eaf3925da568: Pulling fs layer [2024-10-14T17:57:37.964Z] bab4dde63d76: Pulling fs layer [2024-10-14T17:57:37.964Z] bde34c3a00c8: Pulling fs layer [2024-10-14T17:57:37.964Z] b352a97aabf1: Pulling fs layer [2024-10-14T17:57:37.964Z] 4872d77fe225: Pulling fs layer [2024-10-14T17:57:37.964Z] 5851b861e8e6: Pulling fs layer [2024-10-14T17:57:37.964Z] bab4dde63d76: Waiting [2024-10-14T17:57:37.964Z] bde34c3a00c8: Waiting [2024-10-14T17:57:37.964Z] 988bab9f4d93: Waiting [2024-10-14T17:57:37.964Z] b352a97aabf1: Waiting [2024-10-14T17:57:37.964Z] 1469e6f7b9e6: Waiting [2024-10-14T17:57:37.964Z] eaf3925da568: Waiting [2024-10-14T17:57:37.964Z] 4872d77fe225: Waiting [2024-10-14T17:57:37.964Z] 5851b861e8e6: Waiting [2024-10-14T17:57:37.964Z] e2be974225ed: Verifying Checksum [2024-10-14T17:57:37.964Z] e2be974225ed: Download complete [2024-10-14T17:57:37.964Z] 1469e6f7b9e6: Verifying Checksum [2024-10-14T17:57:37.964Z] 1469e6f7b9e6: Download complete [2024-10-14T17:57:37.964Z] 339a4e72a1f5: Verifying Checksum [2024-10-14T17:57:37.964Z] 339a4e72a1f5: Download complete [2024-10-14T17:57:37.964Z] eaf3925da568: Verifying Checksum [2024-10-14T17:57:37.964Z] eaf3925da568: Download complete [2024-10-14T17:57:37.964Z] bde34c3a00c8: Verifying Checksum [2024-10-14T17:57:37.964Z] bde34c3a00c8: Download complete [2024-10-14T17:57:38.225Z] b352a97aabf1: Verifying Checksum [2024-10-14T17:57:38.225Z] b352a97aabf1: Download complete [2024-10-14T17:57:38.225Z] 5851b861e8e6: Download complete [2024-10-14T17:57:38.225Z] b85a868b505f: Verifying Checksum [2024-10-14T17:57:38.225Z] b85a868b505f: Download complete [2024-10-14T17:57:38.486Z] bab4dde63d76: Verifying Checksum [2024-10-14T17:57:38.486Z] bab4dde63d76: Download complete [2024-10-14T17:57:39.424Z] b85a868b505f: Pull complete [2024-10-14T17:57:39.684Z] e2be974225ed: Pull complete [2024-10-14T17:57:40.252Z] 339a4e72a1f5: Pull complete [2024-10-14T17:57:40.252Z] 988bab9f4d93: Pull complete [2024-10-14T17:57:40.512Z] 1469e6f7b9e6: Pull complete [2024-10-14T17:57:40.512Z] eaf3925da568: Pull complete [2024-10-14T17:57:42.416Z] bab4dde63d76: Pull complete [2024-10-14T17:57:42.416Z] bde34c3a00c8: Pull complete [2024-10-14T17:57:42.416Z] b352a97aabf1: Pull complete [2024-10-14T17:57:42.676Z] 4872d77fe225: Pull complete [2024-10-14T17:57:42.676Z] 5851b861e8e6: Pull complete [2024-10-14T17:57:42.676Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-14T17:57:42.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T17:57:42.676Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T17:57:42.985Z] prd-ubuntu20.04-docker-8c-8g-22796 does not seem to be running inside a container [2024-10-14T17:57:43.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-357 -v /w/workspace/foundry_device-usb-camera_PR-357:/w/workspace/foundry_device-usb-camera_PR-357:rw,z -v /w/workspace/foundry_device-usb-camera_PR-357@tmp:/w/workspace/foundry_device-usb-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-14T17:57:45.801Z] $ docker top cff461f06906b3d3f1756200ff743678ef2a0dcd989319a4eb2e3a82b10c554d -eo pid,comm [2024-10-14T17:57:45.853Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-14T17:57:45.853Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-14T17:57:46.020Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T17:57:46.020Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T17:57:46.139Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T17:57:46.142Z] $ docker exec cff461f06906b3d3f1756200ff743678ef2a0dcd989319a4eb2e3a82b10c554d ssh-agent [2024-10-14T17:57:46.247Z] SSH_AUTH_SOCK=/tmp/ssh-qFPYgb8hpS3t/agent.32 [2024-10-14T17:57:46.247Z] SSH_AGENT_PID=38 [2024-10-14T17:57:46.253Z] Running ssh-add (command line suppressed) [2024-10-14T17:57:46.352Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-357@tmp/private_key_9869946098032503099.key (/w/workspace/foundry_device-usb-camera_PR-357@tmp/private_key_9869946098032503099.key) [2024-10-14T17:57:46.365Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T17:57:46.709Z] + git tag --points-at HEAD [Pipeline] } [2024-10-14T17:57:46.739Z] $ docker exec --env ******** --env ******** cff461f06906b3d3f1756200ff743678ef2a0dcd989319a4eb2e3a82b10c554d ssh-agent -k [2024-10-14T17:57:46.850Z] unset SSH_AUTH_SOCK; [2024-10-14T17:57:46.851Z] unset SSH_AGENT_PID; [2024-10-14T17:57:46.852Z] echo Agent pid 38 killed; [2024-10-14T17:57:46.860Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-14T17:57:46.986Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T17:57:46.986Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T17:57:47.111Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T17:57:47.114Z] $ docker exec cff461f06906b3d3f1756200ff743678ef2a0dcd989319a4eb2e3a82b10c554d ssh-agent [2024-10-14T17:57:47.295Z] SSH_AUTH_SOCK=/tmp/ssh-TbVBzH0bxdBE/agent.71 [2024-10-14T17:57:47.295Z] SSH_AGENT_PID=77 [2024-10-14T17:57:47.299Z] Running ssh-add (command line suppressed) [2024-10-14T17:57:47.385Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-357@tmp/private_key_4071462712269191596.key (/w/workspace/foundry_device-usb-camera_PR-357@tmp/private_key_4071462712269191596.key) [2024-10-14T17:57:47.400Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T17:57:47.748Z] + git semver init [2024-10-14T17:57:48.012Z] 2024-10-14 17:57:47,919 [run_init] DEBUG init version:0.0.0 force:False [2024-10-14T17:57:48.012Z] 2024-10-14 17:57:47,920 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-357/.semver [2024-10-14T17:57:48.012Z] 2024-10-14 17:57:47,920 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-357/.semver [2024-10-14T17:57:48.012Z] 2024-10-14 17:57:47,921 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-357/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-357, universal_newlines=False, shell=None, istream=None) [2024-10-14T17:57:49.925Z] 2024-10-14 17:57:49,581 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-357/.git/info/exclude [2024-10-14T17:57:49.925Z] 2024-10-14 17:57:49,581 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-357/.semver/PR-357 with force:False [2024-10-14T17:57:49.925Z] 2024-10-14 17:57:49,582 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-357/.semver/PR-357 [2024-10-14T17:57:49.925Z] 2024-10-14 17:57:49,586 [execute] INFO git cat-file --batch-check [2024-10-14T17:57:49.925Z] 2024-10-14 17:57:49,587 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-357/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T17:57:49.926Z] 2024-10-14 17:57:49,592 [execute] INFO git cat-file --batch [2024-10-14T17:57:49.926Z] 2024-10-14 17:57:49,592 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-357/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T17:57:49.926Z] 2024-10-14 17:57:49,595 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-357/.semver/PR-357 [2024-10-14T17:57:49.926Z] 0.0.0 [Pipeline] } [2024-10-14T17:57:49.956Z] $ docker exec --env ******** --env ******** cff461f06906b3d3f1756200ff743678ef2a0dcd989319a4eb2e3a82b10c554d ssh-agent -k [2024-10-14T17:57:50.064Z] unset SSH_AUTH_SOCK; [2024-10-14T17:57:50.064Z] unset SSH_AGENT_PID; [2024-10-14T17:57:50.067Z] echo Agent pid 77 killed; [2024-10-14T17:57:50.073Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-14T17:57:50.535Z] + git semver [Pipeline] } [2024-10-14T17:57:50.823Z] $ docker stop --time=1 cff461f06906b3d3f1756200ff743678ef2a0dcd989319a4eb2e3a82b10c554d [2024-10-14T17:57:52.111Z] $ docker rm -f --volumes cff461f06906b3d3f1756200ff743678ef2a0dcd989319a4eb2e3a82b10c554d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T17:57:52.530Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-14T17:57:52.867Z] Stashed 1 file(s) [Pipeline] echo [2024-10-14T17:57:52.894Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T17:57:53.703Z] provisioning config files... [2024-10-14T17:57:53.712Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-357@tmp/config5316764032443540504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T17:57:54.087Z] ---> ****-login.sh [2024-10-14T17:57:54.087Z] nexus3.edgexfoundry.org:10001 [2024-10-14T17:57:54.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T17:57:54.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T17:57:54.087Z] Configure a credential helper to remove this warning. See [2024-10-14T17:57:54.087Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T17:57:54.087Z] [2024-10-14T17:57:54.087Z] Login Succeeded [2024-10-14T17:57:54.087Z] nexus3.edgexfoundry.org:10002 [2024-10-14T17:57:54.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T17:57:54.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T17:57:54.087Z] Configure a credential helper to remove this warning. See [2024-10-14T17:57:54.087Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T17:57:54.087Z] [2024-10-14T17:57:54.087Z] Login Succeeded [2024-10-14T17:57:54.087Z] nexus3.edgexfoundry.org:10003 [2024-10-14T17:57:54.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T17:57:54.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T17:57:54.348Z] Configure a credential helper to remove this warning. See [2024-10-14T17:57:54.348Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T17:57:54.348Z] [2024-10-14T17:57:54.348Z] Login Succeeded [2024-10-14T17:57:54.348Z] nexus3.edgexfoundry.org:10004 [2024-10-14T17:57:54.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T17:57:54.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T17:57:54.348Z] Configure a credential helper to remove this warning. See [2024-10-14T17:57:54.348Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T17:57:54.348Z] [2024-10-14T17:57:54.348Z] Login Succeeded [2024-10-14T17:57:54.348Z] ****.io [2024-10-14T17:57:54.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T17:57:54.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T17:57:54.609Z] Configure a credential helper to remove this warning. See [2024-10-14T17:57:54.609Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T17:57:54.609Z] [2024-10-14T17:57:54.609Z] Login Succeeded [2024-10-14T17:57:54.609Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T17:57:54.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T17:57:54.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T17:57:54.923Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T17:57:54.964Z] ========================================================= [2024-10-14T17:57:54.964Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-14T17:57:54.964Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T17:57:55.461Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-14T17:57:55.461Z] Sending build context to Docker daemon 20.63MB [2024-10-14T17:57:55.461Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T17:57:55.461Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-14T17:57:55.721Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-14T17:57:55.721Z] 43c4264eed91: Pulling fs layer [2024-10-14T17:57:55.721Z] 4cc291be95ef: Pulling fs layer [2024-10-14T17:57:55.721Z] 2ac1f1163629: Pulling fs layer [2024-10-14T17:57:55.721Z] 5c3c966382ef: Pulling fs layer [2024-10-14T17:57:55.721Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T17:57:55.721Z] 5d5c8e513c77: Pulling fs layer [2024-10-14T17:57:55.721Z] 9f66e0745190: Pulling fs layer [2024-10-14T17:57:55.721Z] f49a43e4bbc0: Pulling fs layer [2024-10-14T17:57:55.721Z] 561ebcabdf7f: Pulling fs layer [2024-10-14T17:57:55.721Z] 561ebcabdf7f: Waiting [2024-10-14T17:57:55.721Z] 9f66e0745190: Waiting [2024-10-14T17:57:55.721Z] 5c3c966382ef: Waiting [2024-10-14T17:57:55.721Z] 4f4fb700ef54: Waiting [2024-10-14T17:57:55.721Z] 5d5c8e513c77: Waiting [2024-10-14T17:57:55.721Z] 4cc291be95ef: Verifying Checksum [2024-10-14T17:57:55.721Z] 4cc291be95ef: Download complete [2024-10-14T17:57:55.721Z] 5c3c966382ef: Verifying Checksum [2024-10-14T17:57:55.721Z] 4f4fb700ef54: Download complete [2024-10-14T17:57:55.721Z] 43c4264eed91: Download complete [2024-10-14T17:57:55.721Z] 5d5c8e513c77: Verifying Checksum [2024-10-14T17:57:55.721Z] 5d5c8e513c77: Download complete [2024-10-14T17:57:55.721Z] 9f66e0745190: Verifying Checksum [2024-10-14T17:57:55.721Z] 9f66e0745190: Download complete [2024-10-14T17:57:55.721Z] 43c4264eed91: Pull complete [2024-10-14T17:57:56.036Z] 561ebcabdf7f: Download complete [2024-10-14T17:57:56.036Z] 4cc291be95ef: Pull complete [2024-10-14T17:57:56.294Z] 2ac1f1163629: Verifying Checksum [2024-10-14T17:57:56.294Z] 2ac1f1163629: Download complete [2024-10-14T17:57:56.553Z] f49a43e4bbc0: Verifying Checksum [2024-10-14T17:57:56.553Z] f49a43e4bbc0: Download complete [2024-10-14T17:57:59.835Z] 2ac1f1163629: Pull complete [2024-10-14T17:57:59.835Z] 5c3c966382ef: Pull complete [2024-10-14T17:57:59.835Z] 4f4fb700ef54: Pull complete [2024-10-14T17:57:59.835Z] 5d5c8e513c77: Pull complete [2024-10-14T17:57:59.836Z] 9f66e0745190: Pull complete [2024-10-14T17:58:01.734Z] f49a43e4bbc0: Pull complete [2024-10-14T17:58:02.301Z] 561ebcabdf7f: Pull complete [2024-10-14T17:58:02.301Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-14T17:58:02.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-14T17:58:02.301Z] ---> 3a752c3f9dda [2024-10-14T17:58:02.301Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-14T17:58:07.588Z] ---> Running in 6e30b1d0ff85 [2024-10-14T17:58:07.588Z] Removing intermediate container 6e30b1d0ff85 [2024-10-14T17:58:07.588Z] ---> a17b5423d9d0 [2024-10-14T17:58:07.588Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T17:58:07.588Z] ---> Running in 95284574f327 [2024-10-14T17:58:07.588Z] Removing intermediate container 95284574f327 [2024-10-14T17:58:07.588Z] ---> e88db9c28faa [2024-10-14T17:58:07.588Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-10-14T17:58:07.588Z] ---> Running in 29a9fca165ea [2024-10-14T17:58:07.588Z] Removing intermediate container 29a9fca165ea [2024-10-14T17:58:07.588Z] ---> 1ba313517afe [2024-10-14T17:58:07.588Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-10-14T17:58:07.588Z] ---> Running in 702657ff7624 [2024-10-14T17:58:07.588Z] Removing intermediate container 702657ff7624 [2024-10-14T17:58:07.588Z] ---> 98148b2f2dc1 [2024-10-14T17:58:07.588Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T17:58:07.588Z] ---> Running in d330bcaebcfe [2024-10-14T17:58:07.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T17:58:07.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T17:58:08.157Z] (1/14) Installing libintl (0.22.5-r0) [2024-10-14T17:58:08.157Z] (2/14) Installing eudev-libs (3.2.14-r2) [2024-10-14T17:58:08.157Z] (3/14) Installing libjpeg-turbo (3.0.3-r0) [2024-10-14T17:58:08.157Z] (4/14) Installing v4l-utils-libs (1.24.1-r1) [2024-10-14T17:58:08.157Z] (5/14) Installing v4l-utils (1.24.1-r1) [2024-10-14T17:58:08.489Z] Still waiting to schedule task [2024-10-14T17:58:08.490Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-14T17:58:09.096Z] (6/14) Installing libdvbv5 (1.24.1-r1) [2024-10-14T17:58:09.356Z] (7/14) Installing udev-init-scripts (35-r1) [2024-10-14T17:58:09.356Z] (8/14) Installing libeconf (0.6.3-r0) [2024-10-14T17:58:09.356Z] (9/14) Installing libblkid (2.40.1-r1) [2024-10-14T17:58:09.356Z] (10/14) Installing xz-libs (5.6.2-r0) [2024-10-14T17:58:09.356Z] (11/14) Installing kmod-libs (32-r0) [2024-10-14T17:58:09.356Z] (12/14) Installing eudev (3.2.14-r2) [2024-10-14T17:58:09.356Z] (13/14) Installing eudev-dev (3.2.14-r2) [2024-10-14T17:58:09.356Z] (14/14) Installing v4l-utils-dev (1.24.1-r1) [2024-10-14T17:58:09.356Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T17:58:09.356Z] Executing eudev-3.2.14-r2.trigger [2024-10-14T17:58:09.356Z] OK: 253 MiB in 68 packages [2024-10-14T17:58:09.924Z] Removing intermediate container d330bcaebcfe [2024-10-14T17:58:09.924Z] ---> 4014d5f6d7cb [2024-10-14T17:58:09.924Z] Step 8/13 : WORKDIR /device-usb-camera [2024-10-14T17:58:10.186Z] ---> Running in 1918bfa70ef0 [2024-10-14T17:58:10.186Z] Removing intermediate container 1918bfa70ef0 [2024-10-14T17:58:10.186Z] ---> cf749ab9ea25 [2024-10-14T17:58:10.186Z] Step 9/13 : COPY go.mod vendor* ./ [2024-10-14T17:58:10.186Z] ---> 678a6d97ea54 [2024-10-14T17:58:10.186Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T17:58:10.186Z] ---> Running in 46382d8192e2 [2024-10-14T17:59:17.908Z] Removing intermediate container 46382d8192e2 [2024-10-14T17:59:17.908Z] ---> 22cb4b23853c [2024-10-14T17:59:17.908Z] Step 11/13 : COPY . . [2024-10-14T17:59:17.908Z] ---> c5f6b16cf831 [2024-10-14T17:59:17.908Z] Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-10-14T17:59:17.908Z] ---> Running in 6fa75c8b729e [2024-10-14T17:59:17.908Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T17:59:17.908Z]  Dload Upload Total Spent Left Speed [2024-10-14T17:59:17.908Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 6081  0 --:--:-- --:--:-- --:--:-- 6103 [2024-10-14T17:59:17.908Z] Removing intermediate container 6fa75c8b729e [2024-10-14T17:59:17.908Z] ---> 63d948ea7115 [2024-10-14T17:59:17.908Z] Step 13/13 : RUN ${MAKE} [2024-10-14T17:59:17.908Z] ---> Running in 4fde681d8dfb [2024-10-14T17:59:17.908Z] noop [2024-10-14T17:59:17.908Z] Removing intermediate container 4fde681d8dfb [2024-10-14T17:59:17.908Z] ---> ccc0398f2d5d [2024-10-14T17:59:17.908Z] Successfully built ccc0398f2d5d [2024-10-14T17:59:17.908Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T17:59:18.393Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T17:59:18.393Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T17:59:18.574Z] prd-ubuntu20.04-docker-8c-8g-22796 does not seem to be running inside a container [2024-10-14T17:59:18.609Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-357 -v /w/workspace/foundry_device-usb-camera_PR-357:/w/workspace/foundry_device-usb-camera_PR-357:rw,z -v /w/workspace/foundry_device-usb-camera_PR-357@tmp:/w/workspace/foundry_device-usb-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-14T17:59:18.957Z] $ docker top 3e236a503db24ce2fc66e8469fce96d470419ebb610b605ae781ae46d618a212 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T17:59:19.389Z] + go version [2024-10-14T17:59:19.389Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-14T17:59:19.423Z] $ docker stop --time=1 3e236a503db24ce2fc66e8469fce96d470419ebb610b605ae781ae46d618a212 [2024-10-14T17:59:20.680Z] $ docker rm -f --volumes 3e236a503db24ce2fc66e8469fce96d470419ebb610b605ae781ae46d618a212 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T17:59:21.496Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T17:59:21.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T17:59:21.663Z] prd-ubuntu20.04-docker-8c-8g-22796 does not seem to be running inside a container [2024-10-14T17:59:21.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-357 -v /w/workspace/foundry_device-usb-camera_PR-357:/w/workspace/foundry_device-usb-camera_PR-357:rw,z -v /w/workspace/foundry_device-usb-camera_PR-357@tmp:/w/workspace/foundry_device-usb-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-14T17:59:22.118Z] $ docker top 88eb0b8c85c93fa2308cbe1a6037e2899b5aec1e579f0330dc2a42f2ca885a26 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T17:59:22.530Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-357 [Pipeline] fileExists [Pipeline] sh [2024-10-14T17:59:22.913Z] + make test [2024-10-14T17:59:22.913Z] go test ./... -coverprofile=coverage.out ./... [2024-10-14T17:59:24.815Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2024-10-14T17:59:34.610Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22797 in /w/workspace/foundry_device-usb-camera_PR-357 [Pipeline] { [Pipeline] ws [2024-10-14T17:59:34.692Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2024-10-14T17:59:37.799Z] Selected Git installation does not exist. Using Default [2024-10-14T17:59:37.799Z] The recommended git tool is: NONE [2024-10-14T17:59:42.316Z] using credential edgex-jenkins-ssh [2024-10-14T17:59:42.342Z] Cloning the remote Git repository [2024-10-14T17:59:42.389Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2024-10-14T17:59:42.490Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2024-10-14T17:59:42.632Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2024-10-14T17:59:42.633Z] > git --version # timeout=10 [2024-10-14T17:59:42.658Z] > git --version # 'git version 2.25.1' [2024-10-14T17:59:42.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T17:59:42.934Z] github.com/edgexfoundry/device-usb-camera/cmd coverage: 0.0% of statements [2024-10-14T17:59:42.934Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.011s coverage: 4.4% of statements [2024-10-14T17:59:42.799Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T17:59:45.379Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2024-10-14T17:59:45.399Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T17:59:46.178Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2024-10-14T17:59:46.218Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2024-10-14T17:59:46.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T17:59:46.243Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-14T17:59:46.802Z] Merging remotes/origin/main commit 60c6d6f4a1dd386522f88229b760e87d58d61eab into PR head commit 4755ab541db10572433b487a255c1c9b216bf2ea [2024-10-14T17:59:47.044Z] Merge succeeded, producing 4755ab541db10572433b487a255c1c9b216bf2ea [2024-10-14T17:59:47.045Z] Checking out Revision 4755ab541db10572433b487a255c1c9b216bf2ea (PR-357) [2024-10-14T17:59:47.529Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-14T17:59:47.582Z] > git --version # timeout=10 [2024-10-14T17:59:47.591Z] > git --version # 'git version 2.25.1' [2024-10-14T17:59:47.602Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-14T17:59:46.817Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T17:59:46.870Z] > git checkout -f 4755ab541db10572433b487a255c1c9b216bf2ea # timeout=10 [2024-10-14T17:59:46.953Z] > git remote # timeout=10 [2024-10-14T17:59:46.968Z] > git config --get remote.origin.url # timeout=10 [2024-10-14T17:59:46.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T17:59:47.003Z] > git merge 60c6d6f4a1dd386522f88229b760e87d58d61eab # timeout=10 [2024-10-14T17:59:47.025Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-14T17:59:47.049Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T17:59:47.066Z] > git checkout -f 4755ab541db10572433b487a255c1c9b216bf2ea # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T17:59:52.566Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-14T17:59:52.567Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T17:59:52.567Z] Dload Upload Total Spent Left Speed [2024-10-14T17:59:52.567Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2024-10-14T17:59:52.912Z] go vet ./... [2024-10-14T17:59:52.933Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-14T17:59:53.270Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-14T17:59:53.270Z] + sudo tee /etc/docker/daemon.new [2024-10-14T17:59:53.270Z] { [2024-10-14T17:59:53.270Z] "registry-mirrors": [ [2024-10-14T17:59:53.270Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-14T17:59:53.270Z] ], [2024-10-14T17:59:53.270Z] "bip": "10.250.0.254/24", [2024-10-14T17:59:53.270Z] "hosts": [ [2024-10-14T17:59:53.270Z] "tcp://0.0.0.0:5555", [2024-10-14T17:59:53.270Z] "unix:///var/run/docker.sock" [2024-10-14T17:59:53.270Z] ], [2024-10-14T17:59:53.270Z] "mtu": 1458, [2024-10-14T17:59:53.270Z] "selinux-enabled": true, [2024-10-14T17:59:53.270Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-14T17:59:53.270Z] } [Pipeline] sh [2024-10-14T17:59:53.617Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-14T17:59:53.988Z] + sudo service docker restart [2024-10-14T17:59:58.179Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T17:59:58.179Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T17:59:58.179Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T17:59:58.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T17:59:58.270Z] $ docker stop --time=1 88eb0b8c85c93fa2308cbe1a6037e2899b5aec1e579f0330dc2a42f2ca885a26 [2024-10-14T18:00:05.241Z] $ docker rm -f --volumes 88eb0b8c85c93fa2308cbe1a6037e2899b5aec1e579f0330dc2a42f2ca885a26 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T18:00:05.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T18:00:05.993Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-14T18:00:06.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T18:00:07.896Z] + ls -al . [2024-10-14T18:00:07.896Z] total 300 [2024-10-14T18:00:07.896Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 17:59 . [2024-10-14T18:00:07.896Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 17:57 .. [2024-10-14T18:00:07.896Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 17:59 .git [2024-10-14T18:00:07.896Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 17:57 .github [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 379 Oct 14 17:57 .gitignore [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 203 Oct 14 17:57 .golangci.yml [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 77 Oct 14 17:57 .hadolint.yml [2024-10-14T18:00:07.896Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 17:57 .semver [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 19367 Oct 14 17:57 Attribution.txt [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 16561 Oct 14 17:57 CHANGELOG.md [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 2453 Oct 14 17:57 Dockerfile [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 14 17:57 GOVERNANCE.md [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 659 Oct 14 17:57 Jenkinsfile [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 14 17:57 LICENSE [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 3148 Oct 14 17:57 Makefile [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 14 17:57 OWNERS.md [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 2575 Oct 14 17:57 README.md [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 17:57 VERSION [2024-10-14T18:00:07.896Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 17:57 bin [2024-10-14T18:00:07.896Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 17:57 cmd [2024-10-14T18:00:07.896Z] -rw-r--r-- 1 jenkins jenkins 54772 Oct 14 17:59 coverage.out [2024-10-14T18:00:07.896Z] -rwxrwxr-x 1 jenkins jenkins 84 Oct 14 17:57 docker-entrypoint.sh [2024-10-14T18:00:07.896Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 17:57 docs [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 7182 Oct 14 17:57 go.mod [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 100524 Oct 14 17:57 go.sum [2024-10-14T18:00:07.896Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 17:57 internal [2024-10-14T18:00:07.896Z] -rw-rw-r-- 1 jenkins jenkins 231 Oct 14 17:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:00:08.327Z] + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=4755ab541db10572433b487a255c1c9b216bf2ea --label arch=amd64 --label version=0.0.0 . [2024-10-14T18:00:08.327Z] Sending build context to Docker daemon 20.68MB [2024-10-14T18:00:08.327Z] Step 1/37 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T18:00:08.327Z] Step 2/37 : FROM ${BASE} AS builder [2024-10-14T18:00:08.327Z] ---> ccc0398f2d5d [2024-10-14T18:00:08.327Z] Step 3/37 : ARG ADD_BUILD_TAGS="" [2024-10-14T18:00:08.897Z] ---> Running in c91d054f2a69 [2024-10-14T18:00:08.897Z] Removing intermediate container c91d054f2a69 [2024-10-14T18:00:08.897Z] ---> 9ded3295d7b2 [2024-10-14T18:00:08.897Z] Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T18:00:08.897Z] ---> Running in 02a7499a5115 [2024-10-14T18:00:08.897Z] Removing intermediate container 02a7499a5115 [2024-10-14T18:00:08.897Z] ---> f3d1ccc2ed87 [2024-10-14T18:00:08.897Z] Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-10-14T18:00:08.897Z] ---> Running in 566e1abeb37c [2024-10-14T18:00:08.897Z] Removing intermediate container 566e1abeb37c [2024-10-14T18:00:08.897Z] ---> 5176123de19c [2024-10-14T18:00:08.897Z] Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-10-14T18:00:09.155Z] ---> Running in 286335d09b0b [2024-10-14T18:00:09.155Z] Removing intermediate container 286335d09b0b [2024-10-14T18:00:09.155Z] ---> 372e2c98ae97 [2024-10-14T18:00:09.155Z] Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T18:00:09.155Z] ---> Running in 2af43d87833b [2024-10-14T18:00:09.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T18:00:09.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T18:00:09.674Z] OK: 253 MiB in 68 packages [2024-10-14T18:00:09.933Z] Removing intermediate container 2af43d87833b [2024-10-14T18:00:09.933Z] ---> 933d42ae684d [2024-10-14T18:00:09.933Z] Step 8/37 : WORKDIR /device-usb-camera [2024-10-14T18:00:09.933Z] ---> Running in 6dbff938e2a7 [2024-10-14T18:00:10.192Z] Removing intermediate container 6dbff938e2a7 [2024-10-14T18:00:10.192Z] ---> c4ce77771d8b [2024-10-14T18:00:10.192Z] Step 9/37 : COPY go.mod vendor* ./ [2024-10-14T18:00:10.192Z] ---> 4c656128078d [2024-10-14T18:00:10.192Z] Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T18:00:10.192Z] ---> Running in 7a6b595ebbca [2024-10-14T18:00:10.760Z] Removing intermediate container 7a6b595ebbca [2024-10-14T18:00:10.760Z] ---> 730ce6b04979 [2024-10-14T18:00:10.760Z] Step 11/37 : COPY . . [2024-10-14T18:00:11.696Z] ---> 58bed613d3cd [2024-10-14T18:00:11.696Z] Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-10-14T18:00:11.696Z] ---> Running in fa51a16cbe37 [2024-10-14T18:00:11.696Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T18:00:11.696Z] Dload Upload Total Spent Left Speed [2024-10-14T18:00:11.955Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 40583 0 --:--:-- --:--:-- --:--:-- 42480 [2024-10-14T18:00:12.214Z] Removing intermediate container fa51a16cbe37 [2024-10-14T18:00:12.214Z] ---> 86aa076a313d [2024-10-14T18:00:12.214Z] Step 13/37 : RUN ${MAKE} [2024-10-14T18:00:12.214Z] ---> Running in 43b1764af325 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T18:00:12.374Z] provisioning config files... [2024-10-14T18:00:12.399Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config7872233150789587731tmp [Pipeline] { [Pipeline] libraryResource [2024-10-14T18:00:12.474Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.46" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-usb-camera ./cmd [Pipeline] sh [2024-10-14T18:00:12.895Z] ---> ****-login.sh [2024-10-14T18:00:12.895Z] nexus3.edgexfoundry.org:10001 [2024-10-14T18:00:13.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:00:13.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:00:13.439Z] Configure a credential helper to remove this warning. See [2024-10-14T18:00:13.439Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:00:13.439Z] [2024-10-14T18:00:13.439Z] Login Succeeded [2024-10-14T18:00:13.439Z] nexus3.edgexfoundry.org:10002 [2024-10-14T18:00:13.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:00:13.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:00:13.710Z] Configure a credential helper to remove this warning. See [2024-10-14T18:00:13.710Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:00:13.710Z] [2024-10-14T18:00:13.710Z] Login Succeeded [2024-10-14T18:00:13.710Z] nexus3.edgexfoundry.org:10003 [2024-10-14T18:00:13.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:00:14.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:00:14.259Z] Configure a credential helper to remove this warning. See [2024-10-14T18:00:14.259Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:00:14.259Z] [2024-10-14T18:00:14.259Z] Login Succeeded [2024-10-14T18:00:14.259Z] nexus3.edgexfoundry.org:10004 [2024-10-14T18:00:14.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:00:14.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:00:14.534Z] Configure a credential helper to remove this warning. See [2024-10-14T18:00:14.534Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:00:14.534Z] [2024-10-14T18:00:14.534Z] Login Succeeded [2024-10-14T18:00:14.534Z] ****.io [2024-10-14T18:00:14.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T18:00:15.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T18:00:15.074Z] Configure a credential helper to remove this warning. See [2024-10-14T18:00:15.074Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T18:00:15.074Z] [2024-10-14T18:00:15.074Z] Login Succeeded [2024-10-14T18:00:15.074Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T18:00:15.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T18:00:15.560Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T18:00:15.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T18:00:15.659Z] ========================================================= [2024-10-14T18:00:15.659Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-14T18:00:15.659Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:00:16.230Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-14T18:00:16.824Z] Sending build context to Docker daemon 10.58MB [2024-10-14T18:00:16.824Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T18:00:16.824Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-14T18:00:16.824Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-14T18:00:16.824Z] cf04c63912e1: Pulling fs layer [2024-10-14T18:00:16.824Z] 55b35a11ae5e: Pulling fs layer [2024-10-14T18:00:16.824Z] a37a00ec5f00: Pulling fs layer [2024-10-14T18:00:16.824Z] 50b3750afda1: Pulling fs layer [2024-10-14T18:00:16.824Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T18:00:16.824Z] 80978eb59214: Pulling fs layer [2024-10-14T18:00:16.824Z] c9f46d7d2bd2: Pulling fs layer [2024-10-14T18:00:16.824Z] c5a475d317c9: Pulling fs layer [2024-10-14T18:00:16.824Z] 50b3750afda1: Waiting [2024-10-14T18:00:16.824Z] c9f46d7d2bd2: Waiting [2024-10-14T18:00:16.824Z] 4f4fb700ef54: Waiting [2024-10-14T18:00:16.824Z] 80978eb59214: Waiting [2024-10-14T18:00:16.824Z] c5a475d317c9: Waiting [2024-10-14T18:00:17.096Z] 55b35a11ae5e: Download complete [2024-10-14T18:00:17.096Z] 50b3750afda1: Verifying Checksum [2024-10-14T18:00:17.096Z] 50b3750afda1: Download complete [2024-10-14T18:00:17.096Z] 4f4fb700ef54: Verifying Checksum [2024-10-14T18:00:17.096Z] 4f4fb700ef54: Download complete [2024-10-14T18:00:17.096Z] 80978eb59214: Verifying Checksum [2024-10-14T18:00:17.096Z] 80978eb59214: Download complete [2024-10-14T18:00:17.096Z] cf04c63912e1: Verifying Checksum [2024-10-14T18:00:17.096Z] cf04c63912e1: Download complete [2024-10-14T18:00:17.697Z] c5a475d317c9: Verifying Checksum [2024-10-14T18:00:17.697Z] c5a475d317c9: Download complete [2024-10-14T18:00:17.969Z] cf04c63912e1: Pull complete [2024-10-14T18:00:18.939Z] a37a00ec5f00: Verifying Checksum [2024-10-14T18:00:18.939Z] a37a00ec5f00: Download complete [2024-10-14T18:00:19.899Z] 55b35a11ae5e: Pull complete [2024-10-14T18:00:19.899Z] c9f46d7d2bd2: Verifying Checksum [2024-10-14T18:00:19.899Z] c9f46d7d2bd2: Download complete [2024-10-14T18:00:33.579Z] a37a00ec5f00: Pull complete [2024-10-14T18:00:33.579Z] 50b3750afda1: Pull complete [2024-10-14T18:00:33.579Z] 4f4fb700ef54: Pull complete [2024-10-14T18:00:33.579Z] 80978eb59214: Pull complete [2024-10-14T18:00:39.994Z] c9f46d7d2bd2: Pull complete [2024-10-14T18:00:44.329Z] c5a475d317c9: Pull complete [2024-10-14T18:00:44.329Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-14T18:00:44.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-14T18:00:44.329Z] ---> be29e6b0f0d4 [2024-10-14T18:00:44.329Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-14T18:00:44.329Z] ---> Running in 0e513fefa5c8 [2024-10-14T18:00:44.329Z] Removing intermediate container 0e513fefa5c8 [2024-10-14T18:00:44.329Z] ---> a80cffb12af6 [2024-10-14T18:00:44.329Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T18:00:44.329Z] ---> Running in ac4ffb352ccf [2024-10-14T18:00:44.329Z] Removing intermediate container ac4ffb352ccf [2024-10-14T18:00:44.329Z] ---> 7a35c7e9d5ac [2024-10-14T18:00:44.329Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-10-14T18:00:44.329Z] ---> Running in 8cdd921ea170 [2024-10-14T18:00:44.329Z] Removing intermediate container 8cdd921ea170 [2024-10-14T18:00:44.329Z] ---> 3ecbd2dc0238 [2024-10-14T18:00:44.329Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-10-14T18:00:44.329Z] ---> Running in a1ef555de395 [2024-10-14T18:00:44.598Z] Removing intermediate container a1ef555de395 [2024-10-14T18:00:44.599Z] ---> 403a88c38fe7 [2024-10-14T18:00:44.599Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T18:00:44.867Z] ---> Running in 885e8d177876 [2024-10-14T18:00:45.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T18:00:47.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T18:00:48.646Z] (1/14) Installing libintl (0.22.5-r0) [2024-10-14T18:00:48.646Z] (2/14) Installing eudev-libs (3.2.14-r2) [2024-10-14T18:00:48.646Z] (3/14) Installing libjpeg-turbo (3.0.3-r0) [2024-10-14T18:00:48.646Z] (4/14) Installing v4l-utils-libs (1.24.1-r1) [2024-10-14T18:00:48.646Z] (5/14) Installing v4l-utils (1.24.1-r1) [2024-10-14T18:00:48.646Z] (6/14) Installing libdvbv5 (1.24.1-r1) [2024-10-14T18:00:48.646Z] (7/14) Installing udev-init-scripts (35-r1) [2024-10-14T18:00:48.646Z] (8/14) Installing libeconf (0.6.3-r0) [2024-10-14T18:00:48.646Z] (9/14) Installing libblkid (2.40.1-r1) [2024-10-14T18:00:48.646Z] (10/14) Installing xz-libs (5.6.2-r0) [2024-10-14T18:00:48.646Z] (11/14) Installing kmod-libs (32-r0) [2024-10-14T18:00:48.646Z] (12/14) Installing eudev (3.2.14-r2) [2024-10-14T18:00:48.646Z] (13/14) Installing eudev-dev (3.2.14-r2) [2024-10-14T18:00:48.646Z] (14/14) Installing v4l-utils-dev (1.24.1-r1) [2024-10-14T18:00:48.646Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T18:00:48.646Z] Executing eudev-3.2.14-r2.trigger [2024-10-14T18:00:48.646Z] OK: 246 MiB in 68 packages [2024-10-14T18:00:49.418Z] Removing intermediate container 43b1764af325 [2024-10-14T18:00:49.418Z] ---> 957ca35b0074 [2024-10-14T18:00:49.418Z] Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp [2024-10-14T18:00:49.418Z] 1.8.2: Pulling from bluenviron/mediamtx [2024-10-14T18:00:49.418Z] 8411072a22a5: Pulling fs layer [2024-10-14T18:00:49.418Z] 8411072a22a5: Verifying Checksum [2024-10-14T18:00:49.418Z] 8411072a22a5: Download complete [2024-10-14T18:00:49.418Z] 8411072a22a5: Pull complete [2024-10-14T18:00:49.418Z] Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 [2024-10-14T18:00:49.418Z] Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 [2024-10-14T18:00:49.418Z] ---> 1ac78cb06e13 [2024-10-14T18:00:49.418Z] Step 15/37 : FROM alpine:3.20 [2024-10-14T18:00:49.987Z] 3.20: Pulling from library/alpine [2024-10-14T18:00:49.987Z] 43c4264eed91: Already exists [2024-10-14T18:00:49.987Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T18:00:49.987Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T18:00:49.987Z] ---> 91ef0af61f39 [2024-10-14T18:00:49.987Z] Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-14T18:00:50.055Z] Removing intermediate container 885e8d177876 [2024-10-14T18:00:50.055Z] ---> b17ee6231354 [2024-10-14T18:00:50.055Z] Step 8/13 : WORKDIR /device-usb-camera [2024-10-14T18:00:50.055Z] ---> Running in a24a59b5443a [2024-10-14T18:00:50.321Z] Removing intermediate container a24a59b5443a [2024-10-14T18:00:50.321Z] ---> e9b144a61efc [2024-10-14T18:00:50.321Z] Step 9/13 : COPY go.mod vendor* ./ [2024-10-14T18:00:50.554Z] ---> Running in 024ded48b787 [2024-10-14T18:00:50.554Z] Removing intermediate container 024ded48b787 [2024-10-14T18:00:50.554Z] ---> adcdf20f2485 [2024-10-14T18:00:50.554Z] Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2024-10-14T18:00:50.554Z] ---> Running in a3d71b0250d7 [2024-10-14T18:00:50.588Z] ---> 23eadcc9d30a [2024-10-14T18:00:50.588Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T18:00:50.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T18:00:50.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T18:00:50.854Z] ---> Running in d0944c4fe231 [2024-10-14T18:00:51.073Z] (1/115) Installing dumb-init (1.2.5-r3) [2024-10-14T18:00:51.074Z] (2/115) Installing libSvtAv1Enc (2.0.0-r1) [2024-10-14T18:00:51.074Z] (3/115) Installing aom-libs (3.9.1-r0) [2024-10-14T18:00:51.074Z] (4/115) Installing libxau (1.0.11-r4) [2024-10-14T18:00:51.074Z] (5/115) Installing libmd (1.1.0-r0) [2024-10-14T18:00:51.074Z] (6/115) Installing libbsd (0.12.2-r0) [2024-10-14T18:00:51.074Z] (7/115) Installing libxdmcp (1.1.5-r1) [2024-10-14T18:00:51.074Z] (8/115) Installing libxcb (1.16.1-r0) [2024-10-14T18:00:51.334Z] (9/115) Installing libx11 (1.8.9-r1) [2024-10-14T18:00:51.335Z] (10/115) Installing hwdata-pci (0.382-r0) [2024-10-14T18:00:51.335Z] (11/115) Installing libpciaccess (0.18.1-r0) [2024-10-14T18:00:51.335Z] (12/115) Installing libdrm (2.4.120-r0) [2024-10-14T18:00:51.335Z] (13/115) Installing libxext (1.3.6-r2) [2024-10-14T18:00:51.335Z] (14/115) Installing libxfixes (6.0.1-r4) [2024-10-14T18:00:51.335Z] (15/115) Installing libffi (3.4.6-r0) [2024-10-14T18:00:51.335Z] (16/115) Installing wayland-libs-client (1.22.0-r4) [2024-10-14T18:00:51.335Z] (17/115) Installing libva (2.21.0-r0) [2024-10-14T18:00:51.335Z] (18/115) Installing libvdpau (1.5-r3) [2024-10-14T18:00:51.335Z] (19/115) Installing libgcc (13.2.1_git20240309-r0) [2024-10-14T18:00:51.335Z] (20/115) Installing libstdc++ (13.2.1_git20240309-r0) [2024-10-14T18:00:51.335Z] (21/115) Installing onevpl-libs (2023.3.1-r2) [2024-10-14T18:00:51.335Z] (22/115) Installing ffmpeg-libavutil (6.1.1-r8) [2024-10-14T18:00:51.335Z] (23/115) Installing libdav1d (1.4.2-r0) [2024-10-14T18:00:51.335Z] (24/115) Installing openexr-libiex (3.1.13-r1) [2024-10-14T18:00:51.335Z] (25/115) Installing openexr-libilmthread (3.1.13-r1) [2024-10-14T18:00:51.335Z] (26/115) Installing imath (3.1.12-r0) [2024-10-14T18:00:51.335Z] (27/115) Installing openexr-libopenexr (3.1.13-r1) [2024-10-14T18:00:51.335Z] (28/115) Installing brotli-libs (1.1.0-r2) [2024-10-14T18:00:51.335Z] (29/115) Installing giflib (5.2.2-r0) [2024-10-14T18:00:51.335Z] (30/115) Installing libhwy (1.0.7-r0) [2024-10-14T18:00:51.335Z] (31/115) Installing libjpeg-turbo (3.0.3-r0) [2024-10-14T18:00:51.335Z] (32/115) Installing lcms2 (2.16-r0) [2024-10-14T18:00:51.595Z] (33/115) Installing libpng (1.6.44-r0) [2024-10-14T18:00:51.595Z] (34/115) Installing libjxl (0.10.2-r0) [2024-10-14T18:00:51.595Z] (35/115) Installing lame-libs (3.100-r5) [2024-10-14T18:00:51.595Z] (36/115) Installing opus (1.5.2-r0) [2024-10-14T18:00:51.595Z] (37/115) Installing rav1e-libs (0.7.1-r0) [2024-10-14T18:00:51.595Z] (38/115) Installing libgomp (13.2.1_git20240309-r0) [2024-10-14T18:00:51.595Z] (39/115) Installing soxr (0.1.3-r7) [2024-10-14T18:00:51.595Z] (40/115) Installing ffmpeg-libswresample (6.1.1-r8) [2024-10-14T18:00:51.595Z] (41/115) Installing libogg (1.3.5-r5) [2024-10-14T18:00:51.595Z] (42/115) Installing libtheora (1.1.1-r18) [2024-10-14T18:00:51.595Z] (43/115) Installing libvorbis (1.3.7-r2) [2024-10-14T18:00:51.595Z] (44/115) Installing libvpx (1.14.1-r0) [2024-10-14T18:00:51.595Z] (45/115) Installing libsharpyuv (1.3.2-r0) [2024-10-14T18:00:51.595Z] (46/115) Installing libwebp (1.3.2-r0) [2024-10-14T18:00:51.595Z] (47/115) Installing libwebpmux (1.3.2-r0) [2024-10-14T18:00:51.595Z] (48/115) Installing x264-libs (0.164_git20231001-r0) [2024-10-14T18:00:51.595Z] (49/115) Installing numactl (2.0.18-r0) [2024-10-14T18:00:51.595Z] (50/115) Installing x265-libs (3.6-r0) [2024-10-14T18:00:51.854Z] (51/115) Installing xvidcore (1.3.7-r2) [2024-10-14T18:00:51.854Z] (52/115) Installing ffmpeg-libavcodec (6.1.1-r8) [2024-10-14T18:00:51.854Z] (53/115) Installing sdl2 (2.28.5-r1) [2024-10-14T18:00:51.854Z] (54/115) Installing alsa-lib (1.2.11-r0) [2024-10-14T18:00:51.854Z] (55/115) Installing libexpat (2.6.3-r0) [2024-10-14T18:00:51.854Z] (56/115) Installing libbz2 (1.0.8-r6) [2024-10-14T18:00:51.854Z] (57/115) Installing freetype (2.13.2-r0) [2024-10-14T18:00:51.854Z] (58/115) Installing fontconfig (2.15.0-r1) [2024-10-14T18:00:51.854Z] (59/115) Installing fribidi (1.0.15-r0) [2024-10-14T18:00:51.854Z] (60/115) Installing libintl (0.22.5-r0) [2024-10-14T18:00:51.854Z] (61/115) Installing libeconf (0.6.3-r0) [2024-10-14T18:00:51.854Z] (62/115) Installing libblkid (2.40.1-r1) [2024-10-14T18:00:51.854Z] (63/115) Installing libmount (2.40.1-r1) [2024-10-14T18:00:51.854Z] (64/115) Installing pcre2 (10.43-r0) [2024-10-14T18:00:51.854Z] (65/115) Installing glib (2.80.5-r0) [2024-10-14T18:00:52.115Z] (66/115) Installing graphite2 (1.3.14-r6) [2024-10-14T18:00:52.115Z] (67/115) Installing harfbuzz (8.5.0-r0) [2024-10-14T18:00:52.115Z] (68/115) Installing libunibreak (6.1-r0) [2024-10-14T18:00:52.115Z] (69/115) Installing libass (0.17.2-r0) [2024-10-14T18:00:52.115Z] (70/115) Installing libbluray (1.3.4-r1) [2024-10-14T18:00:52.115Z] (71/115) Installing mpg123-libs (1.32.6-r0) [2024-10-14T18:00:52.115Z] (72/115) Installing libopenmpt (0.7.7-r0) [2024-10-14T18:00:52.115Z] (73/115) Installing cjson (1.7.18-r0) [2024-10-14T18:00:52.115Z] (74/115) Installing mbedtls (3.6.1-r0) [2024-10-14T18:00:52.115Z] (75/115) Installing librist (0.2.10-r1) [2024-10-14T18:00:52.115Z] (76/115) Installing libsrt (1.5.3-r0) [2024-10-14T18:00:52.115Z] (77/115) Installing libssh (0.10.6-r0) [2024-10-14T18:00:52.115Z] (78/115) Installing xz-libs (5.6.2-r0) [2024-10-14T18:00:52.115Z] (79/115) Installing libxml2 (2.12.7-r0) [2024-10-14T18:00:52.115Z] (80/115) Installing libsodium (1.0.19-r0) [2024-10-14T18:00:52.115Z] (81/115) Installing libzmq (4.3.5-r2) [2024-10-14T18:00:52.115Z] (82/115) Installing ffmpeg-libavformat (6.1.1-r8) [2024-10-14T18:00:52.115Z] (83/115) Installing serd-libs (0.32.2-r0) [2024-10-14T18:00:52.115Z] (84/115) Installing zix-libs (0.4.2-r0) [2024-10-14T18:00:52.115Z] (85/115) Installing sord-libs (0.16.16-r0) [2024-10-14T18:00:52.115Z] (86/115) Installing sratom (0.6.16-r0) [2024-10-14T18:00:52.115Z] (87/115) Installing lilv-libs (0.24.24-r1) [2024-10-14T18:00:52.115Z] (88/115) Installing glslang-libs (1.3.261.1-r0) [2024-10-14T18:00:52.375Z] (89/115) Installing libdovi (3.3.0-r0) [2024-10-14T18:00:52.375Z] (90/115) Installing spirv-tools (1.3.261.1-r0) [2024-10-14T18:00:52.375Z] (91/115) Installing shaderc (2024.0-r0) [2024-10-14T18:00:52.375Z] (92/115) Installing vulkan-loader (1.3.261.1-r0) [2024-10-14T18:00:52.375Z] (93/115) Installing libplacebo (6.338.2-r1) [2024-10-14T18:00:52.375Z] (94/115) Installing ffmpeg-libpostproc (6.1.1-r8) [2024-10-14T18:00:52.375Z] (95/115) Installing ffmpeg-libswscale (6.1.1-r8) [2024-10-14T18:00:52.375Z] (96/115) Installing vidstab (1.1.1-r0) [2024-10-14T18:00:52.375Z] (97/115) Installing zimg (3.0.5-r2) [2024-10-14T18:00:52.375Z] (98/115) Installing ffmpeg-libavfilter (6.1.1-r8) [2024-10-14T18:00:52.375Z] (99/115) Installing libasyncns (0.8-r3) [2024-10-14T18:00:52.375Z] (100/115) Installing dbus-libs (1.14.10-r1) [2024-10-14T18:00:52.375Z] (101/115) Installing libltdl (2.4.7-r3) [2024-10-14T18:00:52.375Z] (102/115) Installing orc (0.4.39-r0) [2024-10-14T18:00:52.375Z] (103/115) Installing libflac (1.4.3-r1) [2024-10-14T18:00:52.375Z] (104/115) Installing libsndfile (1.2.2-r0) [2024-10-14T18:00:52.375Z] (105/115) Installing speexdsp (1.2.1-r2) [2024-10-14T18:00:52.375Z] (106/115) Installing tdb-libs (1.4.9-r1) [2024-10-14T18:00:52.375Z] (107/115) Installing libpulse (17.0-r0) [2024-10-14T18:00:52.375Z] (108/115) Installing v4l-utils-libs (1.24.1-r1) [2024-10-14T18:00:52.635Z] (109/115) Installing ffmpeg-libavdevice (6.1.1-r8) [2024-10-14T18:00:52.635Z] (110/115) Installing ffmpeg (6.1.1-r8) [2024-10-14T18:00:52.635Z] (111/115) Installing udev-init-scripts (35-r1) [2024-10-14T18:00:52.635Z] (112/115) Installing eudev-libs (3.2.14-r2) [2024-10-14T18:00:52.635Z] (113/115) Installing zstd-libs (1.5.6-r0) [2024-10-14T18:00:52.635Z] (114/115) Installing kmod-libs (32-r0) [2024-10-14T18:00:52.635Z] (115/115) Installing eudev (3.2.14-r2) [2024-10-14T18:00:52.635Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T18:00:52.635Z] Executing glib-2.80.5-r0.trigger [2024-10-14T18:00:52.635Z] Executing eudev-3.2.14-r2.trigger [2024-10-14T18:00:52.635Z] OK: 134 MiB in 129 packages [2024-10-14T18:00:56.877Z] Removing intermediate container a3d71b0250d7 [2024-10-14T18:00:56.877Z] ---> 474bc8b820b0 [2024-10-14T18:00:56.877Z] Step 18/37 : RUN apk --no-cache upgrade [2024-10-14T18:00:56.877Z] ---> Running in f6fed32291c2 [2024-10-14T18:00:56.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T18:00:56.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T18:00:56.877Z] Upgrading critical system libraries and apk-tools: [2024-10-14T18:00:56.877Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T18:00:56.877Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T18:00:56.877Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T18:00:56.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T18:00:56.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T18:00:57.138Z] OK: 134 MiB in 129 packages [2024-10-14T18:00:57.397Z] Removing intermediate container f6fed32291c2 [2024-10-14T18:00:57.397Z] ---> 4437816a2fc0 [2024-10-14T18:00:57.397Z] Step 19/37 : WORKDIR / [2024-10-14T18:00:57.397Z] ---> Running in a6031503a4b3 [2024-10-14T18:00:57.656Z] Removing intermediate container a6031503a4b3 [2024-10-14T18:00:57.656Z] ---> 81f77a14ee28 [2024-10-14T18:00:57.656Z] Step 20/37 : COPY --from=builder /device-usb-camera/cmd / [2024-10-14T18:00:59.034Z] ---> ad87a365d31e [2024-10-14T18:00:59.034Z] Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / [2024-10-14T18:00:59.034Z] ---> 6cc2e74b0eb6 [2024-10-14T18:00:59.034Z] Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / [2024-10-14T18:00:59.292Z] ---> 424d328eff74 [2024-10-14T18:00:59.292Z] Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / [2024-10-14T18:00:59.292Z] ---> 2bc7bfba457a [2024-10-14T18:00:59.292Z] Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2024-10-14T18:00:59.551Z] ---> 17df2c12d047 [2024-10-14T18:00:59.551Z] Step 25/37 : COPY --from=rtsp /mediamtx.yml / [2024-10-14T18:00:59.551Z] ---> 1505deaffaba [2024-10-14T18:00:59.551Z] Step 26/37 : COPY --from=rtsp /mediamtx / [2024-10-14T18:01:00.488Z] ---> 8be78179f9fb [2024-10-14T18:01:00.488Z] Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml [2024-10-14T18:01:00.488Z] ---> Running in 4c55b597e3a5 [2024-10-14T18:01:00.748Z] Removing intermediate container 4c55b597e3a5 [2024-10-14T18:01:00.748Z] ---> 3fcacda71cdd [2024-10-14T18:01:00.748Z] Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml [2024-10-14T18:01:00.748Z] ---> Running in 2c6f07aac741 [2024-10-14T18:01:01.317Z] Removing intermediate container 2c6f07aac741 [2024-10-14T18:01:01.317Z] ---> 6addfcb5da84 [2024-10-14T18:01:01.317Z] Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml [2024-10-14T18:01:01.317Z] ---> Running in 33f0b5114d66 [2024-10-14T18:01:01.885Z] Removing intermediate container 33f0b5114d66 [2024-10-14T18:01:01.885Z] ---> e95d07ad85ec [2024-10-14T18:01:01.885Z] Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml [2024-10-14T18:01:01.885Z] ---> Running in 4ef655aed2a3 [2024-10-14T18:01:02.455Z] Removing intermediate container 4ef655aed2a3 [2024-10-14T18:01:02.455Z] ---> ab0eece89473 [2024-10-14T18:01:02.455Z] Step 31/37 : EXPOSE 59983 [2024-10-14T18:01:02.455Z] ---> Running in 1b49364426ce [2024-10-14T18:01:02.455Z] Removing intermediate container 1b49364426ce [2024-10-14T18:01:02.455Z] ---> e79d897470f8 [2024-10-14T18:01:02.455Z] Step 32/37 : EXPOSE 8554 [2024-10-14T18:01:02.455Z] ---> Running in b0268810c917 [2024-10-14T18:01:02.717Z] Removing intermediate container b0268810c917 [2024-10-14T18:01:02.717Z] ---> 485796edc9c6 [2024-10-14T18:01:02.717Z] Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] [2024-10-14T18:01:02.717Z] ---> Running in d5c679c188bc [2024-10-14T18:01:02.717Z] Removing intermediate container d5c679c188bc [2024-10-14T18:01:02.717Z] ---> d56b2dfeff17 [2024-10-14T18:01:02.717Z] Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2024-10-14T18:01:02.717Z] ---> Running in 4e419e5da391 [2024-10-14T18:01:02.717Z] Removing intermediate container 4e419e5da391 [2024-10-14T18:01:02.717Z] ---> d6e7284ef003 [2024-10-14T18:01:02.717Z] Step 35/37 : LABEL arch=amd64 [2024-10-14T18:01:02.717Z] ---> Running in c81dbadf8c43 [2024-10-14T18:01:02.984Z] Removing intermediate container c81dbadf8c43 [2024-10-14T18:01:02.984Z] ---> d640154ae808 [2024-10-14T18:01:02.984Z] Step 36/37 : LABEL git_sha=4755ab541db10572433b487a255c1c9b216bf2ea [2024-10-14T18:01:02.984Z] ---> Running in 8727e1fde928 [2024-10-14T18:01:02.984Z] Removing intermediate container 8727e1fde928 [2024-10-14T18:01:02.984Z] ---> 1e308a982f7f [2024-10-14T18:01:02.984Z] Step 37/37 : LABEL version=0.0.0 [2024-10-14T18:01:02.984Z] ---> Running in 9aa62f543780 [2024-10-14T18:01:02.984Z] Removing intermediate container 9aa62f543780 [2024-10-14T18:01:02.984Z] ---> c198f7a2eb48 [2024-10-14T18:01:02.984Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T18:01:02.984Z] Successfully built c198f7a2eb48 [2024-10-14T18:01:02.984Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:01:04.009Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T18:01:04.009Z] [2024-10-14T18:01:04.009Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:01:04.422Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T18:01:04.422Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-14T18:01:04.422Z] 5eb5b503b376: Pulling fs layer [2024-10-14T18:01:04.422Z] 5c69ac0246d0: Pulling fs layer [2024-10-14T18:01:04.422Z] ec43610c2a17: Pulling fs layer [2024-10-14T18:01:04.422Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-14T18:01:04.422Z] 33b1e0a273af: Pulling fs layer [2024-10-14T18:01:04.422Z] 5d3b04190fa2: Pulling fs layer [2024-10-14T18:01:04.422Z] 2f39f015ded8: Pulling fs layer [2024-10-14T18:01:04.422Z] 33b1e0a273af: Waiting [2024-10-14T18:01:04.422Z] 5d3b04190fa2: Waiting [2024-10-14T18:01:04.422Z] 2f39f015ded8: Waiting [2024-10-14T18:01:04.422Z] 5c69ac0246d0: Verifying Checksum [2024-10-14T18:01:04.422Z] 5c69ac0246d0: Download complete [2024-10-14T18:01:04.422Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-14T18:01:04.422Z] 3a2ae6a8a46f: Download complete [2024-10-14T18:01:04.422Z] 33b1e0a273af: Verifying Checksum [2024-10-14T18:01:04.422Z] 33b1e0a273af: Download complete [2024-10-14T18:01:04.422Z] 5d3b04190fa2: Download complete [2024-10-14T18:01:04.422Z] ec43610c2a17: Verifying Checksum [2024-10-14T18:01:04.422Z] ec43610c2a17: Download complete [2024-10-14T18:01:04.681Z] 5eb5b503b376: Verifying Checksum [2024-10-14T18:01:04.681Z] 5eb5b503b376: Download complete [2024-10-14T18:01:05.247Z] 2f39f015ded8: Download complete [2024-10-14T18:01:05.812Z] 5eb5b503b376: Pull complete [2024-10-14T18:01:05.812Z] 5c69ac0246d0: Pull complete [2024-10-14T18:01:06.408Z] ec43610c2a17: Pull complete [2024-10-14T18:01:06.408Z] 3a2ae6a8a46f: Pull complete [2024-10-14T18:01:06.665Z] 33b1e0a273af: Pull complete [2024-10-14T18:01:06.665Z] 5d3b04190fa2: Pull complete [2024-10-14T18:01:10.857Z] 2f39f015ded8: Pull complete [2024-10-14T18:01:10.857Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-14T18:01:10.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T18:01:10.857Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T18:01:11.112Z] prd-ubuntu20.04-docker-8c-8g-22796 does not seem to be running inside a container [2024-10-14T18:01:11.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-357 -v /w/workspace/foundry_device-usb-camera_PR-357:/w/workspace/foundry_device-usb-camera_PR-357:rw,z -v /w/workspace/foundry_device-usb-camera_PR-357@tmp:/w/workspace/foundry_device-usb-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T18:01:16.559Z] $ docker top 851ac1d21027dc085e3e84c8bea9139a73d0a16da19e3f950a846b5aecaf6cad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:01:17.066Z] ---> job-cost.sh [2024-10-14T18:01:17.066Z] lf-activate-venv: SKIPPING [2024-10-14T18:01:17.066Z] INFO: No Stack... [2024-10-14T18:01:17.326Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T18:01:17.586Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T18:01:17.920Z] + cat /w/workspace/foundry_device-usb-camera_PR-357/archives/cost.csv [2024-10-14T18:01:17.920Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T18:01:17.972Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-357-1-stack-cost] [2024-10-14T18:01:17.979Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-357-1-stack-cost] did not exist. Created. [2024-10-14T18:01:17.986Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-357-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T18:01:18.423Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-14T18:01:18.479Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T18:01:18.522Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-357-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T18:01:18.621Z] $ docker stop --time=1 851ac1d21027dc085e3e84c8bea9139a73d0a16da19e3f950a846b5aecaf6cad [2024-10-14T18:01:19.815Z] $ docker rm -f --volumes 851ac1d21027dc085e3e84c8bea9139a73d0a16da19e3f950a846b5aecaf6cad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-14T18:02:42.528Z] Removing intermediate container d0944c4fe231 [2024-10-14T18:02:42.528Z] ---> b9542e540302 [2024-10-14T18:02:42.528Z] Step 11/13 : COPY . . [2024-10-14T18:02:42.528Z] ---> 7037d35ac667 [2024-10-14T18:02:42.528Z] Step 12/13 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-10-14T18:02:42.528Z] ---> Running in 0b263cf6598f [2024-10-14T18:02:42.528Z]  % Total % Received % Xferd Average Speed  Time  Time  Time Current [2024-10-14T18:02:42.528Z]  Dload Upload Total Spent Left Speed [2024-10-14T18:02:42.529Z] 0  0  0 0   0 0   0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062  0 0 9878  0 --:--:-- --:--:-- --:--:-- 10114 [2024-10-14T18:02:42.529Z] Removing intermediate container 0b263cf6598f [2024-10-14T18:02:42.529Z] ---> 73defd68109d [2024-10-14T18:02:42.529Z] Step 13/13 : RUN ${MAKE} [2024-10-14T18:02:42.529Z] ---> Running in 5aa60bb40270 [2024-10-14T18:02:42.529Z] noop [2024-10-14T18:02:42.529Z] Removing intermediate container 5aa60bb40270 [2024-10-14T18:02:42.529Z] ---> 78b10305eeb6 [2024-10-14T18:02:42.529Z] Successfully built 78b10305eeb6 [2024-10-14T18:02:42.529Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:02:43.036Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T18:02:43.036Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T18:02:43.336Z] prd-ubuntu20.04-docker-arm64-4c-16g-22797 does not seem to be running inside a container [2024-10-14T18:02:43.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T18:02:44.672Z] $ docker top 02bd08194d456bc3d7e8e87f83ee4b5a2f64ceaa0ace974880f7889116835c8d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T18:02:45.584Z] + go version [2024-10-14T18:02:45.585Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-14T18:02:45.624Z] $ docker stop --time=1 02bd08194d456bc3d7e8e87f83ee4b5a2f64ceaa0ace974880f7889116835c8d [2024-10-14T18:02:47.765Z] $ docker rm -f --volumes 02bd08194d456bc3d7e8e87f83ee4b5a2f64ceaa0ace974880f7889116835c8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:02:48.707Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T18:02:48.708Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T18:02:49.002Z] prd-ubuntu20.04-docker-arm64-4c-16g-22797 does not seem to be running inside a container [2024-10-14T18:02:49.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T18:02:50.285Z] $ docker top 1b4f756460f54e6751adf7595044649b6b4ae74c702ee04ba80a9f9bf9b1b667 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T18:02:53.422Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-10-14T18:02:57.991Z] + make test [2024-10-14T18:02:58.264Z] go test ./... -coverprofile=coverage.out ./... [2024-10-14T18:03:05.029Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2024-10-14T18:06:43.166Z] github.com/edgexfoundry/device-usb-camera/cmd coverage: 0.0% of statements [2024-10-14T18:06:46.522Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.061s coverage: 4.4% of statements [2024-10-14T18:06:47.483Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-14T18:06:47.483Z] go vet ./... [2024-10-14T18:07:44.033Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T18:07:44.033Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T18:07:44.033Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T18:07:44.086Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T18:07:44.127Z] $ docker stop --time=1 1b4f756460f54e6751adf7595044649b6b4ae74c702ee04ba80a9f9bf9b1b667 [2024-10-14T18:07:46.070Z] $ docker rm -f --volumes 1b4f756460f54e6751adf7595044649b6b4ae74c702ee04ba80a9f9bf9b1b667 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T18:07:47.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T18:07:47.816Z] Warning: overwriting stash ‘coverage-report’ [2024-10-14T18:07:48.364Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T18:07:49.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T18:07:49.366Z] + ls -al . [2024-10-14T18:07:49.366Z] total 296 [2024-10-14T18:07:49.366Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 18:03 . [2024-10-14T18:07:49.366Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 17:59 .. [2024-10-14T18:07:49.366Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 17:59 .git [2024-10-14T18:07:49.366Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 17:59 .github [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 379 Oct 14 17:59 .gitignore [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 203 Oct 14 17:59 .golangci.yml [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 77 Oct 14 17:59 .hadolint.yml [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 19367 Oct 14 17:59 Attribution.txt [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 16561 Oct 14 17:59 CHANGELOG.md [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 2453 Oct 14 17:59 Dockerfile [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 14 17:59 GOVERNANCE.md [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 659 Oct 14 17:59 Jenkinsfile [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 14 17:59 LICENSE [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 3148 Oct 14 17:59 Makefile [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 14 17:59 OWNERS.md [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 2575 Oct 14 17:59 README.md [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 17:57 VERSION [2024-10-14T18:07:49.366Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 17:59 bin [2024-10-14T18:07:49.366Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 17:59 cmd [2024-10-14T18:07:49.366Z] -rw-r--r-- 1 jenkins jenkins 54772 Oct 14 18:06 coverage.out [2024-10-14T18:07:49.366Z] -rwxrwxr-x 1 jenkins jenkins 84 Oct 14 17:59 docker-entrypoint.sh [2024-10-14T18:07:49.366Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 17:59 docs [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 7182 Oct 14 17:59 go.mod [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 100524 Oct 14 17:59 go.sum [2024-10-14T18:07:49.366Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 17:59 internal [2024-10-14T18:07:49.366Z] -rw-rw-r-- 1 jenkins jenkins 231 Oct 14 17:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:07:49.821Z] + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4755ab541db10572433b487a255c1c9b216bf2ea --label arch=arm64 --label version=0.0.0 . [2024-10-14T18:07:50.415Z] Sending build context to Docker daemon 10.64MB [2024-10-14T18:07:50.415Z] Step 1/37 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T18:07:50.415Z] Step 2/37 : FROM ${BASE} AS builder [2024-10-14T18:07:50.415Z] ---> 78b10305eeb6 [2024-10-14T18:07:50.415Z] Step 3/37 : ARG ADD_BUILD_TAGS="" [2024-10-14T18:07:50.415Z] ---> Running in d926573d477e [2024-10-14T18:07:50.680Z] Removing intermediate container d926573d477e [2024-10-14T18:07:50.680Z] ---> d8cd36502fbd [2024-10-14T18:07:50.680Z] Step 4/37 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T18:07:50.948Z] ---> Running in afa706d2cbd8 [2024-10-14T18:07:51.214Z] Removing intermediate container afa706d2cbd8 [2024-10-14T18:07:51.214Z] ---> d72d0e0ea102 [2024-10-14T18:07:51.214Z] Step 5/37 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2024-10-14T18:07:51.214Z] ---> Running in 4a3bb0faa994 [2024-10-14T18:07:51.482Z] Removing intermediate container 4a3bb0faa994 [2024-10-14T18:07:51.483Z] ---> e627fd7b8e26 [2024-10-14T18:07:51.483Z] Step 6/37 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2024-10-14T18:07:51.483Z] ---> Running in 96b1918fedf5 [2024-10-14T18:07:51.755Z] Removing intermediate container 96b1918fedf5 [2024-10-14T18:07:51.755Z] ---> 13cccbd204e4 [2024-10-14T18:07:51.755Z] Step 7/37 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T18:07:52.025Z] ---> Running in 2d81704cc6ce [2024-10-14T18:07:52.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T18:07:53.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T18:07:54.677Z] OK: 246 MiB in 68 packages [2024-10-14T18:07:55.639Z] Removing intermediate container 2d81704cc6ce [2024-10-14T18:07:55.639Z] ---> 6ef0c6aa6a40 [2024-10-14T18:07:55.639Z] Step 8/37 : WORKDIR /device-usb-camera [2024-10-14T18:07:55.904Z] ---> Running in c39eac62d8a2 [2024-10-14T18:07:56.168Z] Removing intermediate container c39eac62d8a2 [2024-10-14T18:07:56.168Z] ---> 59eed19c4fbb [2024-10-14T18:07:56.168Z] Step 9/37 : COPY go.mod vendor* ./ [2024-10-14T18:07:56.749Z] ---> da16332a738f [2024-10-14T18:07:56.749Z] Step 10/37 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T18:07:56.749Z] ---> Running in 476b9ca69c21 [2024-10-14T18:07:59.322Z] Removing intermediate container 476b9ca69c21 [2024-10-14T18:07:59.322Z] ---> 1b7366a04e58 [2024-10-14T18:07:59.322Z] Step 11/37 : COPY . . [2024-10-14T18:08:00.282Z] ---> 7155fc21af92 [2024-10-14T18:08:00.282Z] Step 12/37 : RUN curl -o LICENSE-mediamtx https://raw.githubusercontent.com/bluenviron/mediamtx/main/LICENSE [2024-10-14T18:08:00.282Z] ---> Running in 65a579abbb78 [2024-10-14T18:08:01.238Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T18:08:01.238Z] Dload Upload Total Spent Left Speed [2024-10-14T18:08:01.502Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062 0 0 5027 0 --:--:-- --:--:-- --:--:-- 5081 [2024-10-14T18:08:02.084Z] Removing intermediate container 65a579abbb78 [2024-10-14T18:08:02.084Z] ---> b4d97dc35373 [2024-10-14T18:08:02.084Z] Step 13/37 : RUN ${MAKE} [2024-10-14T18:08:02.084Z] ---> Running in 7d02b732f535 [2024-10-14T18:08:03.039Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.46" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-usb-camera ./cmd [2024-10-14T18:11:55.476Z] Removing intermediate container 7d02b732f535 [2024-10-14T18:11:55.476Z] ---> 22144aa4b751 [2024-10-14T18:11:55.476Z] Step 14/37 : FROM bluenviron/mediamtx:1.8.2 AS rtsp [2024-10-14T18:11:55.476Z] 1.8.2: Pulling from bluenviron/mediamtx [2024-10-14T18:11:55.476Z] da4d7e05a7aa: Pulling fs layer [2024-10-14T18:11:55.476Z] da4d7e05a7aa: Verifying Checksum [2024-10-14T18:11:55.476Z] da4d7e05a7aa: Download complete [2024-10-14T18:11:55.476Z] da4d7e05a7aa: Pull complete [2024-10-14T18:11:55.476Z] Digest: sha256:d8a9834858e28c90eb7bc42154a9321e821463a9457007f50f6329c465b8b387 [2024-10-14T18:11:55.476Z] Status: Downloaded newer image for bluenviron/mediamtx:1.8.2 [2024-10-14T18:11:55.476Z] ---> 62c65ed7ef0d [2024-10-14T18:11:55.476Z] Step 15/37 : FROM alpine:3.20 [2024-10-14T18:11:55.476Z] 3.20: Pulling from library/alpine [2024-10-14T18:11:55.476Z] cf04c63912e1: Already exists [2024-10-14T18:11:55.476Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T18:11:55.476Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T18:11:55.476Z] ---> c157a85ed455 [2024-10-14T18:11:55.476Z] Step 16/37 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-14T18:11:55.476Z] ---> Running in 7e7848e6321e [2024-10-14T18:11:55.476Z] Removing intermediate container 7e7848e6321e [2024-10-14T18:11:55.476Z] ---> a071dc577964 [2024-10-14T18:11:55.476Z] Step 17/37 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2024-10-14T18:11:55.476Z] ---> Running in 4f3f1fc976fe [2024-10-14T18:11:55.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T18:11:55.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T18:11:55.476Z] (1/114) Installing dumb-init (1.2.5-r3) [2024-10-14T18:11:55.476Z] (2/114) Installing libSvtAv1Enc (2.0.0-r1) [2024-10-14T18:11:55.476Z] (3/114) Installing aom-libs (3.9.1-r0) [2024-10-14T18:11:55.476Z] (4/114) Installing libxau (1.0.11-r4) [2024-10-14T18:11:55.476Z] (5/114) Installing libmd (1.1.0-r0) [2024-10-14T18:11:55.476Z] (6/114) Installing libbsd (0.12.2-r0) [2024-10-14T18:11:55.476Z] (7/114) Installing libxdmcp (1.1.5-r1) [2024-10-14T18:11:55.476Z] (8/114) Installing libxcb (1.16.1-r0) [2024-10-14T18:11:55.476Z] (9/114) Installing libx11 (1.8.9-r1) [2024-10-14T18:11:55.476Z] (10/114) Installing hwdata-pci (0.382-r0) [2024-10-14T18:11:55.476Z] (11/114) Installing libpciaccess (0.18.1-r0) [2024-10-14T18:11:55.476Z] (12/114) Installing libdrm (2.4.120-r0) [2024-10-14T18:11:55.476Z] (13/114) Installing libxext (1.3.6-r2) [2024-10-14T18:11:55.476Z] (14/114) Installing libxfixes (6.0.1-r4) [2024-10-14T18:11:55.476Z] (15/114) Installing libffi (3.4.6-r0) [2024-10-14T18:11:55.476Z] (16/114) Installing wayland-libs-client (1.22.0-r4) [2024-10-14T18:11:55.476Z] (17/114) Installing libva (2.21.0-r0) [2024-10-14T18:11:55.476Z] (18/114) Installing libvdpau (1.5-r3) [2024-10-14T18:11:55.476Z] (19/114) Installing ffmpeg-libavutil (6.1.1-r8) [2024-10-14T18:11:55.476Z] (20/114) Installing libdav1d (1.4.2-r0) [2024-10-14T18:11:55.476Z] (21/114) Installing libgcc (13.2.1_git20240309-r0) [2024-10-14T18:11:55.476Z] (22/114) Installing libstdc++ (13.2.1_git20240309-r0) [2024-10-14T18:11:55.476Z] (23/114) Installing openexr-libiex (3.1.13-r1) [2024-10-14T18:11:55.476Z] (24/114) Installing openexr-libilmthread (3.1.13-r1) [2024-10-14T18:11:55.476Z] (25/114) Installing imath (3.1.12-r0) [2024-10-14T18:11:55.476Z] (26/114) Installing openexr-libopenexr (3.1.13-r1) [2024-10-14T18:11:55.476Z] (27/114) Installing brotli-libs (1.1.0-r2) [2024-10-14T18:11:55.476Z] (28/114) Installing giflib (5.2.2-r0) [2024-10-14T18:11:55.476Z] (29/114) Installing libhwy (1.0.7-r0) [2024-10-14T18:11:55.476Z] (30/114) Installing libjpeg-turbo (3.0.3-r0) [2024-10-14T18:11:55.476Z] (31/114) Installing lcms2 (2.16-r0) [2024-10-14T18:11:55.476Z] (32/114) Installing libpng (1.6.44-r0) [2024-10-14T18:11:55.476Z] (33/114) Installing libjxl (0.10.2-r0) [2024-10-14T18:11:55.476Z] (34/114) Installing lame-libs (3.100-r5) [2024-10-14T18:11:55.476Z] (35/114) Installing opus (1.5.2-r0) [2024-10-14T18:11:55.476Z] (36/114) Installing rav1e-libs (0.7.1-r0) [2024-10-14T18:11:55.476Z] (37/114) Installing libgomp (13.2.1_git20240309-r0) [2024-10-14T18:11:55.476Z] (38/114) Installing soxr (0.1.3-r7) [2024-10-14T18:11:55.476Z] (39/114) Installing ffmpeg-libswresample (6.1.1-r8) [2024-10-14T18:11:55.476Z] (40/114) Installing libogg (1.3.5-r5) [2024-10-14T18:11:55.476Z] (41/114) Installing libtheora (1.1.1-r18) [2024-10-14T18:11:55.476Z] (42/114) Installing libvorbis (1.3.7-r2) [2024-10-14T18:11:55.476Z] (43/114) Installing libvpx (1.14.1-r0) [2024-10-14T18:11:55.476Z] (44/114) Installing libsharpyuv (1.3.2-r0) [2024-10-14T18:11:55.476Z] (45/114) Installing libwebp (1.3.2-r0) [2024-10-14T18:11:55.476Z] (46/114) Installing libwebpmux (1.3.2-r0) [2024-10-14T18:11:55.476Z] (47/114) Installing x264-libs (0.164_git20231001-r0) [2024-10-14T18:11:55.476Z] (48/114) Installing numactl (2.0.18-r0) [2024-10-14T18:11:55.476Z] (49/114) Installing x265-libs (3.6-r0) [2024-10-14T18:11:55.476Z] (50/114) Installing xvidcore (1.3.7-r2) [2024-10-14T18:11:55.476Z] (51/114) Installing ffmpeg-libavcodec (6.1.1-r8) [2024-10-14T18:11:55.476Z] (52/114) Installing sdl2 (2.28.5-r1) [2024-10-14T18:11:55.476Z] (53/114) Installing alsa-lib (1.2.11-r0) [2024-10-14T18:11:55.476Z] (54/114) Installing libexpat (2.6.3-r0) [2024-10-14T18:11:55.476Z] (55/114) Installing libbz2 (1.0.8-r6) [2024-10-14T18:11:55.476Z] (56/114) Installing freetype (2.13.2-r0) [2024-10-14T18:11:55.476Z] (57/114) Installing fontconfig (2.15.0-r1) [2024-10-14T18:11:55.476Z] (58/114) Installing fribidi (1.0.15-r0) [2024-10-14T18:11:55.476Z] (59/114) Installing libintl (0.22.5-r0) [2024-10-14T18:11:55.476Z] (60/114) Installing libeconf (0.6.3-r0) [2024-10-14T18:11:55.476Z] (61/114) Installing libblkid (2.40.1-r1) [2024-10-14T18:11:55.476Z] (62/114) Installing libmount (2.40.1-r1) [2024-10-14T18:11:55.476Z] (63/114) Installing pcre2 (10.43-r0) [2024-10-14T18:11:55.476Z] (64/114) Installing glib (2.80.5-r0) [2024-10-14T18:11:55.476Z] (65/114) Installing graphite2 (1.3.14-r6) [2024-10-14T18:11:55.476Z] (66/114) Installing harfbuzz (8.5.0-r0) [2024-10-14T18:11:55.476Z] (67/114) Installing libunibreak (6.1-r0) [2024-10-14T18:11:55.476Z] (68/114) Installing libass (0.17.2-r0) [2024-10-14T18:11:55.476Z] (69/114) Installing libbluray (1.3.4-r1) [2024-10-14T18:11:55.476Z] (70/114) Installing mpg123-libs (1.32.6-r0) [2024-10-14T18:11:55.476Z] (71/114) Installing libopenmpt (0.7.7-r0) [2024-10-14T18:11:55.476Z] (72/114) Installing cjson (1.7.18-r0) [2024-10-14T18:11:55.476Z] (73/114) Installing mbedtls (3.6.1-r0) [2024-10-14T18:11:55.476Z] (74/114) Installing librist (0.2.10-r1) [2024-10-14T18:11:55.476Z] (75/114) Installing libsrt (1.5.3-r0) [2024-10-14T18:11:55.476Z] (76/114) Installing libssh (0.10.6-r0) [2024-10-14T18:11:55.476Z] (77/114) Installing xz-libs (5.6.2-r0) [2024-10-14T18:11:55.476Z] (78/114) Installing libxml2 (2.12.7-r0) [2024-10-14T18:11:55.476Z] (79/114) Installing libsodium (1.0.19-r0) [2024-10-14T18:11:55.476Z] (80/114) Installing libzmq (4.3.5-r2) [2024-10-14T18:11:55.476Z] (81/114) Installing ffmpeg-libavformat (6.1.1-r8) [2024-10-14T18:11:55.476Z] (82/114) Installing serd-libs (0.32.2-r0) [2024-10-14T18:11:55.476Z] (83/114) Installing zix-libs (0.4.2-r0) [2024-10-14T18:11:55.476Z] (84/114) Installing sord-libs (0.16.16-r0) [2024-10-14T18:11:55.476Z] (85/114) Installing sratom (0.6.16-r0) [2024-10-14T18:11:55.476Z] (86/114) Installing lilv-libs (0.24.24-r1) [2024-10-14T18:11:55.476Z] (87/114) Installing glslang-libs (1.3.261.1-r0) [2024-10-14T18:11:55.476Z] (88/114) Installing libdovi (3.3.0-r0) [2024-10-14T18:11:55.476Z] (89/114) Installing spirv-tools (1.3.261.1-r0) [2024-10-14T18:11:55.476Z] (90/114) Installing shaderc (2024.0-r0) [2024-10-14T18:11:55.476Z] (91/114) Installing vulkan-loader (1.3.261.1-r0) [2024-10-14T18:11:55.476Z] (92/114) Installing libplacebo (6.338.2-r1) [2024-10-14T18:11:55.476Z] (93/114) Installing ffmpeg-libpostproc (6.1.1-r8) [2024-10-14T18:11:55.476Z] (94/114) Installing ffmpeg-libswscale (6.1.1-r8) [2024-10-14T18:11:55.476Z] (95/114) Installing vidstab (1.1.1-r0) [2024-10-14T18:11:55.476Z] (96/114) Installing zimg (3.0.5-r2) [2024-10-14T18:11:55.476Z] (97/114) Installing ffmpeg-libavfilter (6.1.1-r8) [2024-10-14T18:11:55.476Z] (98/114) Installing libasyncns (0.8-r3) [2024-10-14T18:11:55.476Z] (99/114) Installing dbus-libs (1.14.10-r1) [2024-10-14T18:11:55.476Z] (100/114) Installing libltdl (2.4.7-r3) [2024-10-14T18:11:55.476Z] (101/114) Installing orc (0.4.39-r0) [2024-10-14T18:11:55.476Z] (102/114) Installing libflac (1.4.3-r1) [2024-10-14T18:11:55.476Z] (103/114) Installing libsndfile (1.2.2-r0) [2024-10-14T18:11:55.476Z] (104/114) Installing speexdsp (1.2.1-r2) [2024-10-14T18:11:55.476Z] (105/114) Installing tdb-libs (1.4.9-r1) [2024-10-14T18:11:55.476Z] (106/114) Installing libpulse (17.0-r0) [2024-10-14T18:11:55.476Z] (107/114) Installing v4l-utils-libs (1.24.1-r1) [2024-10-14T18:11:55.476Z] (108/114) Installing ffmpeg-libavdevice (6.1.1-r8) [2024-10-14T18:11:55.476Z] (109/114) Installing ffmpeg (6.1.1-r8) [2024-10-14T18:11:55.476Z] (110/114) Installing udev-init-scripts (35-r1) [2024-10-14T18:11:55.476Z] (111/114) Installing eudev-libs (3.2.14-r2) [2024-10-14T18:11:55.476Z] (112/114) Installing zstd-libs (1.5.6-r0) [2024-10-14T18:11:55.476Z] (113/114) Installing kmod-libs (32-r0) [2024-10-14T18:11:55.476Z] (114/114) Installing eudev (3.2.14-r2) [2024-10-14T18:11:55.476Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T18:11:55.476Z] Executing glib-2.80.5-r0.trigger [2024-10-14T18:11:55.476Z] Executing eudev-3.2.14-r2.trigger [2024-10-14T18:11:55.476Z] OK: 120 MiB in 128 packages [2024-10-14T18:11:56.881Z] Removing intermediate container 4f3f1fc976fe [2024-10-14T18:11:56.881Z] ---> 0e1069cc0bca [2024-10-14T18:11:56.881Z] Step 18/37 : RUN apk --no-cache upgrade [2024-10-14T18:11:57.146Z] ---> Running in 25ba1826c1ed [2024-10-14T18:11:58.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T18:11:58.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T18:11:59.776Z] Upgrading critical system libraries and apk-tools: [2024-10-14T18:11:59.776Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T18:11:59.776Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T18:11:59.776Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T18:11:59.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T18:12:00.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T18:12:01.444Z] OK: 120 MiB in 128 packages [2024-10-14T18:12:02.410Z] Removing intermediate container 25ba1826c1ed [2024-10-14T18:12:02.410Z] ---> 6bed0925a670 [2024-10-14T18:12:02.410Z] Step 19/37 : WORKDIR / [2024-10-14T18:12:02.410Z] ---> Running in 7ead15f313ba [2024-10-14T18:12:02.679Z] Removing intermediate container 7ead15f313ba [2024-10-14T18:12:02.679Z] ---> 3421feb622c8 [2024-10-14T18:12:02.679Z] Step 20/37 : COPY --from=builder /device-usb-camera/cmd / [2024-10-14T18:12:05.260Z] ---> ec05f334fbcf [2024-10-14T18:12:05.260Z] Step 21/37 : COPY --from=builder /device-usb-camera/LICENSE / [2024-10-14T18:12:05.260Z] ---> 73a37d80e0a5 [2024-10-14T18:12:05.260Z] Step 22/37 : COPY --from=builder /device-usb-camera/LICENSE-mediamtx / [2024-10-14T18:12:05.845Z] ---> dcfc730eb505 [2024-10-14T18:12:05.845Z] Step 23/37 : COPY --from=builder /device-usb-camera/Attribution.txt / [2024-10-14T18:12:07.789Z] ---> 623e3e92cfc8 [2024-10-14T18:12:07.789Z] Step 24/37 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2024-10-14T18:12:08.058Z] ---> 9fbc809ffdf0 [2024-10-14T18:12:08.058Z] Step 25/37 : COPY --from=rtsp /mediamtx.yml / [2024-10-14T18:12:08.645Z] ---> e67d558f61ec [2024-10-14T18:12:08.645Z] Step 26/37 : COPY --from=rtsp /mediamtx / [2024-10-14T18:12:10.058Z] ---> b40831e2d750 [2024-10-14T18:12:10.058Z] Step 27/37 : RUN sed -i 's/rtmp: no/rtmp: yes/g' mediamtx.yml [2024-10-14T18:12:10.346Z] ---> Running in 86e1281464c4 [2024-10-14T18:12:11.763Z] Removing intermediate container 86e1281464c4 [2024-10-14T18:12:11.763Z] ---> 23a1c4f4ad36 [2024-10-14T18:12:11.763Z] Step 28/37 : RUN sed -i 's/hls: no/hls: yes/g' mediamtx.yml [2024-10-14T18:12:12.031Z] ---> Running in eaa741e85d2a [2024-10-14T18:12:13.449Z] Removing intermediate container eaa741e85d2a [2024-10-14T18:12:13.449Z] ---> 8232a1dd4881 [2024-10-14T18:12:13.449Z] Step 29/37 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' mediamtx.yml [2024-10-14T18:12:13.449Z] ---> Running in 1bc502287417 [2024-10-14T18:12:15.389Z] Removing intermediate container 1bc502287417 [2024-10-14T18:12:15.389Z] ---> b63cc3354735 [2024-10-14T18:12:15.389Z] Step 30/37 : RUN sed -i 's,authHTTPAddress:,authHTTPAddress: http://localhost:8000/rtspauth,g' mediamtx.yml [2024-10-14T18:12:15.389Z] ---> Running in 2f89850d891d [2024-10-14T18:12:16.795Z] Removing intermediate container 2f89850d891d [2024-10-14T18:12:16.795Z] ---> 250fbc60e804 [2024-10-14T18:12:16.795Z] Step 31/37 : EXPOSE 59983 [2024-10-14T18:12:16.795Z] ---> Running in d57a356f4208 [2024-10-14T18:12:17.061Z] Removing intermediate container d57a356f4208 [2024-10-14T18:12:17.061Z] ---> 45c0dd031efe [2024-10-14T18:12:17.061Z] Step 32/37 : EXPOSE 8554 [2024-10-14T18:12:17.061Z] ---> Running in 59cc99b84dcd [2024-10-14T18:12:17.333Z] Removing intermediate container 59cc99b84dcd [2024-10-14T18:12:17.333Z] ---> cdf2e8955c6e [2024-10-14T18:12:17.333Z] Step 33/37 : ENTRYPOINT ["/docker-entrypoint.sh"] [2024-10-14T18:12:17.608Z] ---> Running in a321fef6fd74 [2024-10-14T18:12:17.875Z] Removing intermediate container a321fef6fd74 [2024-10-14T18:12:17.875Z] ---> d032bc37eb06 [2024-10-14T18:12:17.875Z] Step 34/37 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2024-10-14T18:12:17.875Z] ---> Running in 0fa12fdd83f1 [2024-10-14T18:12:18.156Z] Removing intermediate container 0fa12fdd83f1 [2024-10-14T18:12:18.156Z] ---> fc73195cabde [2024-10-14T18:12:18.156Z] Step 35/37 : LABEL arch=arm64 [2024-10-14T18:12:18.156Z] ---> Running in 7c90154edc20 [2024-10-14T18:12:18.422Z] Removing intermediate container 7c90154edc20 [2024-10-14T18:12:18.422Z] ---> 7a2e623ead68 [2024-10-14T18:12:18.422Z] Step 36/37 : LABEL git_sha=4755ab541db10572433b487a255c1c9b216bf2ea [2024-10-14T18:12:18.689Z] ---> Running in ee7c480e78e7 [2024-10-14T18:12:18.956Z] Removing intermediate container ee7c480e78e7 [2024-10-14T18:12:18.956Z] ---> dcdd7c255364 [2024-10-14T18:12:18.956Z] Step 37/37 : LABEL version=0.0.0 [2024-10-14T18:12:18.956Z] ---> Running in 37cfb8f767a2 [2024-10-14T18:12:19.220Z] Removing intermediate container 37cfb8f767a2 [2024-10-14T18:12:19.220Z] ---> 5f73db3b1a6e [2024-10-14T18:12:19.220Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T18:12:19.220Z] Successfully built 5f73db3b1a6e [2024-10-14T18:12:19.220Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:12:20.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T18:12:20.149Z] [2024-10-14T18:12:20.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:12:20.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T18:12:20.564Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-14T18:12:20.564Z] 8998bd30e6a1: Pulling fs layer [2024-10-14T18:12:20.564Z] 04944245beec: Pulling fs layer [2024-10-14T18:12:20.564Z] 699f458cf7ca: Pulling fs layer [2024-10-14T18:12:20.564Z] 765212b225bb: Pulling fs layer [2024-10-14T18:12:20.564Z] f23df028b6ca: Pulling fs layer [2024-10-14T18:12:20.564Z] d65c8cfc05b1: Pulling fs layer [2024-10-14T18:12:20.564Z] 2437ff75d9bd: Pulling fs layer [2024-10-14T18:12:20.564Z] 765212b225bb: Waiting [2024-10-14T18:12:20.564Z] f23df028b6ca: Waiting [2024-10-14T18:12:20.564Z] d65c8cfc05b1: Waiting [2024-10-14T18:12:20.564Z] 2437ff75d9bd: Waiting [2024-10-14T18:12:20.830Z] 04944245beec: Verifying Checksum [2024-10-14T18:12:20.830Z] 04944245beec: Download complete [2024-10-14T18:12:20.830Z] 765212b225bb: Verifying Checksum [2024-10-14T18:12:20.830Z] 765212b225bb: Download complete [2024-10-14T18:12:20.830Z] f23df028b6ca: Verifying Checksum [2024-10-14T18:12:20.830Z] f23df028b6ca: Download complete [2024-10-14T18:12:20.830Z] d65c8cfc05b1: Verifying Checksum [2024-10-14T18:12:20.830Z] d65c8cfc05b1: Download complete [2024-10-14T18:12:20.830Z] 699f458cf7ca: Verifying Checksum [2024-10-14T18:12:20.830Z] 699f458cf7ca: Download complete [2024-10-14T18:12:21.415Z] 8998bd30e6a1: Verifying Checksum [2024-10-14T18:12:21.415Z] 8998bd30e6a1: Download complete [2024-10-14T18:12:23.994Z] 2437ff75d9bd: Verifying Checksum [2024-10-14T18:12:23.995Z] 2437ff75d9bd: Download complete [2024-10-14T18:12:25.928Z] 8998bd30e6a1: Pull complete [2024-10-14T18:12:26.509Z] 04944245beec: Pull complete [2024-10-14T18:12:27.911Z] 699f458cf7ca: Pull complete [2024-10-14T18:12:27.911Z] 765212b225bb: Pull complete [2024-10-14T18:12:28.865Z] f23df028b6ca: Pull complete [2024-10-14T18:12:28.866Z] d65c8cfc05b1: Pull complete [2024-10-14T18:12:43.838Z] 2437ff75d9bd: Pull complete [2024-10-14T18:12:43.838Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-14T18:12:43.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T18:12:43.838Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T18:12:44.188Z] prd-ubuntu20.04-docker-arm64-4c-16g-22797 does not seem to be running inside a container [2024-10-14T18:12:44.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-14T18:12:46.725Z] $ docker top e91b8dee1b8b6452df1c533c3bbffd76ad70449d7dad1d057efa14b4086235f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:12:47.621Z] ---> job-cost.sh [2024-10-14T18:12:47.621Z] lf-activate-venv: SKIPPING [2024-10-14T18:12:47.621Z] INFO: No Stack... [2024-10-14T18:12:48.198Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-14T18:12:48.774Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T18:12:49.116Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2024-10-14T18:12:49.117Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T18:12:49.175Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-357-1-stack-cost] [2024-10-14T18:12:49.182Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-357-1-stack-cost] did not exist. Created. [2024-10-14T18:12:49.189Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-usb-camera-PR-357-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T18:12:49.624Z] /w/workspace/device-usb-camera/1@tmp/durable-5386359f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-14T18:12:49.968Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-14T18:12:50.010Z] Warning: overwriting stash ‘stack-cost’ [2024-10-14T18:12:50.051Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T18:12:50.071Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-usb-camera-PR-357-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T18:12:50.165Z] $ docker stop --time=1 e91b8dee1b8b6452df1c533c3bbffd76ad70449d7dad1d057efa14b4086235f2 [2024-10-14T18:12:51.613Z] $ docker rm -f --volumes e91b8dee1b8b6452df1c533c3bbffd76ad70449d7dad1d057efa14b4086235f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-14T18:12:52.774Z] provisioning config files... [2024-10-14T18:12:52.783Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-357@tmp/config12172197466992592389tmp [Pipeline] { [Pipeline] sh [2024-10-14T18:12:53.146Z] + set +x [2024-10-14T18:12:53.146Z] + bash -s -- [2024-10-14T18:12:53.146Z] + curl -s https://codecov.io/bash [2024-10-14T18:12:53.146Z] [2024-10-14T18:12:53.146Z] _____ _ [2024-10-14T18:12:53.146Z] / ____| | | [2024-10-14T18:12:53.146Z] | | ___ __| | ___ ___ _____ __ [2024-10-14T18:12:53.146Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-14T18:12:53.146Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-14T18:12:53.146Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-14T18:12:53.146Z] Bash-1.0.6 [2024-10-14T18:12:53.146Z] [2024-10-14T18:12:53.146Z] [2024-10-14T18:12:53.146Z] ==> git version 2.25.1 found [2024-10-14T18:12:53.146Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-14T18:12:53.146Z] Release-Date: 2020-01-08 [2024-10-14T18:12:53.146Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-14T18:12:53.146Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-14T18:12:53.146Z] ==> Jenkins CI detected. [2024-10-14T18:12:53.146Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-357 [2024-10-14T18:12:53.146Z] project root: . [2024-10-14T18:12:53.146Z] --> token set from env [2024-10-14T18:12:53.146Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-14T18:12:53.410Z] ==> Running gcov in . (disable via -X gcov) [2024-10-14T18:12:53.410Z] ==> Python coveragepy not found [2024-10-14T18:12:53.410Z] ==> Searching for coverage reports in: [2024-10-14T18:12:53.410Z] + . [2024-10-14T18:12:53.410Z] -> Found 1 reports [2024-10-14T18:12:53.410Z] ==> Detecting git/mercurial file structure [2024-10-14T18:12:53.410Z] ==> Reading reports [2024-10-14T18:12:53.410Z] + ./coverage.out bytes=54772 [2024-10-14T18:12:53.410Z] ==> Appending adjustments [2024-10-14T18:12:53.410Z] https://docs.codecov.io/docs/fixing-reports [2024-10-14T18:12:53.410Z] + Found adjustments [2024-10-14T18:12:53.410Z] ==> Gzipping contents [2024-10-14T18:12:53.410Z] 8.0K /tmp/codecov.aL85fp.gz [2024-10-14T18:12:53.410Z] ==> Uploading reports [2024-10-14T18:12:53.410Z] url: https://codecov.io [2024-10-14T18:12:53.410Z] query: branch=PR-357&commit=4755ab541db10572433b487a255c1c9b216bf2ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-357%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=357&job=&cmd_args= [2024-10-14T18:12:53.410Z] -> Pinging Codecov [2024-10-14T18:12:53.410Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-357&commit=4755ab541db10572433b487a255c1c9b216bf2ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-357%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=357&job=&cmd_args= [2024-10-14T18:12:53.670Z] -> Uploading to [2024-10-14T18:12:53.670Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-usb-camera/4755ab541db10572433b487a255c1c9b216bf2ea/d3fb7652-95cc-4426-bd46-9abe78323965.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T181253Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=e5e7cc44b72b595f6075a6e20ba2d3f00da8ff44de8e537cedb8f99d5c7a1c1d [2024-10-14T18:12:53.670Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T18:12:53.670Z] Dload Upload Total Spent Left Speed [2024-10-14T18:12:53.931Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6816 0 0 100 6816 0 27155 --:--:-- --:--:-- --:--:-- 27155 [2024-10-14T18:12:53.931Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/4755ab541db10572433b487a255c1c9b216bf2ea [Pipeline] } [2024-10-14T18:12:53.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-14T18:12:56.296Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-357/archives ] [2024-10-14T18:12:56.296Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-357/archives [2024-10-14T18:12:56.296Z] total 16 [2024-10-14T18:12:56.296Z] drwxr-xr-x 3 root root 4096 Oct 14 18:01 . [2024-10-14T18:12:56.296Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 18:01 .. [2024-10-14T18:12:56.296Z] drwxr-xr-x 2 root root 4096 Oct 14 18:01 cost [2024-10-14T18:12:56.296Z] -rw-r--r-- 1 root root 89 Oct 14 18:01 cost.csv [2024-10-14T18:12:56.296Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-357/archives [2024-10-14T18:12:56.296Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-357/archives [2024-10-14T18:12:56.296Z] total 16 [2024-10-14T18:12:56.296Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 18:01 . [2024-10-14T18:12:56.296Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 18:01 .. [2024-10-14T18:12:56.296Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 18:01 cost [2024-10-14T18:12:56.296Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 14 18:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:12:56.641Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:12:57.550Z] ---> package-listing.sh [2024-10-14T18:12:57.550Z] ++ facter osfamily [2024-10-14T18:12:57.550Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-14T18:12:57.811Z] + OS_FAMILY=debian [2024-10-14T18:12:57.811Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-357 [2024-10-14T18:12:57.811Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-14T18:12:57.811Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-14T18:12:57.811Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-14T18:12:57.811Z] + PACKAGES=/tmp/packages_start.txt [2024-10-14T18:12:57.811Z] + '[' /w/workspace/foundry_device-usb-camera_PR-357 ']' [2024-10-14T18:12:57.811Z] + PACKAGES=/tmp/packages_end.txt [2024-10-14T18:12:57.811Z] + case "${OS_FAMILY}" in [2024-10-14T18:12:57.811Z] + dpkg -l [2024-10-14T18:12:57.811Z] + grep '^ii' [2024-10-14T18:12:57.811Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-14T18:12:57.811Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-14T18:12:57.811Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-14T18:12:57.811Z] + '[' /w/workspace/foundry_device-usb-camera_PR-357 ']' [2024-10-14T18:12:57.811Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-357/archives/ [2024-10-14T18:12:57.811Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-357/archives/ [Pipeline] echo [2024-10-14T18:12:57.853Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-14T18:12:58.157Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T18:12:58.816Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T18:12:58.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T18:12:58.999Z] prd-ubuntu20.04-docker-8c-8g-22796 does not seem to be running inside a container [2024-10-14T18:12:59.027Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-357 -v /w/workspace/foundry_device-usb-camera_PR-357:/w/workspace/foundry_device-usb-camera_PR-357:rw,z -v /w/workspace/foundry_device-usb-camera_PR-357@tmp:/w/workspace/foundry_device-usb-camera_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T18:12:59.220Z] $ docker top eb58bf52e8ad57ad030bdeed6e1817bb3efc61faf5adcb7132bc88359003abec -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T18:12:59.630Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-14T18:12:59.947Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-14T18:13:00.272Z] + ls /var/log/sa-host [2024-10-14T18:13:00.272Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T18:13:00.515Z] provisioning config files... [2024-10-14T18:13:00.525Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-357@tmp/config9698409067976315072tmp [Pipeline] { [Pipeline] echo [2024-10-14T18:13:00.594Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:13:00.921Z] ---> create-netrc.sh [Pipeline] } [2024-10-14T18:13:00.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:13:01.387Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-14T18:13:01.426Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:13:01.749Z] ---> sudo-logs.sh [2024-10-14T18:13:01.749Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-14T18:13:01.866Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:13:02.197Z] ---> job-cost.sh [2024-10-14T18:13:02.197Z] lf-activate-venv: SKIPPING [2024-10-14T18:13:02.197Z] DEBUG: total: 0.2199999988079071 [2024-10-14T18:13:02.197Z] INFO: Retrieving Stack Cost... [2024-10-14T18:13:02.767Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T18:13:03.028Z] INFO: Archiving Costs [Pipeline] echo [2024-10-14T18:13:03.074Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T18:13:03.405Z] ---> logs-deploy.sh [2024-10-14T18:13:03.405Z] lf-activate-venv: SKIPPING [2024-10-14T18:13:03.405Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-357/1 [2024-10-14T18:13:03.405Z] INFO: archiving workspace using pattern(s): [2024-10-14T18:13:04.343Z] Archives upload complete. [2024-10-14T18:13:04.343Z] INFO: archiving logs to Nexus