Pull request #261 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 4f0060f0a01e6b631d5ad01a980021319d7b9523 rather than 7f819715f6eab2cabb07c018dc9af6bca33a8dab Obtained Jenkinsfile from 4f0060f0a01e6b631d5ad01a980021319d7b9523 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-ssh2915789481505323056.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh15096201974742197692.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-261/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-261/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17879666320474177580.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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 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-ssh5536151771365278075.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-261/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-261/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18004092937168272465.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.20 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-19016 in /w/workspace/foundry_device-usb-camera_PR-261 [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-261 # 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 > 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/261/head:refs/remotes/origin/PR-261 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4f0060f0a01e6b631d5ad01a980021319d7b9523 into PR head commit 7f819715f6eab2cabb07c018dc9af6bca33a8dab Merge succeeded, producing adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 Checking out Revision adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 (PR-261) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f819715f6eab2cabb07c018dc9af6bca33a8dab # 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 4f0060f0a01e6b631d5ad01a980021319d7b9523 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 # timeout=10 Commit message: "Merge commit '4f0060f0a01e6b631d5ad01a980021319d7b9523' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 9128e85ef447f032f582c6007e89bef82aa22a03 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-21T21:46:15.551Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-21T21:46:15.613Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-21T21:46:15.634Z] ========================================================= [2023-06-21T21:46:15.635Z] EdgeX Global Pipelines Version Info [2023-06-21T21:46:15.635Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-21T21:46:16.407Z] ------------------- [2023-06-21T21:46:16.407Z] stable info: [2023-06-21T21:46:16.407Z] ------------------- [2023-06-21T21:46:16.407Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-21T21:46:16.407Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-21T21:46:16.407Z] Message: update stable to v1.0.250 [2023-06-21T21:46:16.984Z] ------------------- [2023-06-21T21:46:16.984Z] experimental info: [2023-06-21T21:46:16.984Z] ------------------- [2023-06-21T21:46:16.984Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-21T21:46:16.984Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-21T21:46:16.984Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-21T21:46:17.177Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-06-21T21:46:17.189Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-06-21T21:46:17.201Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-21T21:46:17.216Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-21T21:46:17.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-21T21:46:17.242Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-21T21:46:17.254Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-21T21:46:17.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-21T21:46:17.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-21T21:46:17.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-21T21:46:17.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-21T21:46:17.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-06-21T21:46:17.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-21T21:46:17.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-21T21:46:17.366Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-21T21:46:17.378Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-21T21:46:17.388Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-21T21:46:17.401Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-21T21:46:17.417Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-21T21:46:17.430Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-21T21:46:17.442Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-21T21:46:17.459Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-21T21:46:17.475Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-21T21:46:17.489Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-21T21:46:17.504Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-21T21:46:17.522Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-21T21:46:17.539Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-21T21:46:17.554Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-261 [Pipeline] echo [2023-06-21T21:46:17.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-261 [Pipeline] echo [2023-06-21T21:46:17.588Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-261 [Pipeline] echo [2023-06-21T21:46:17.604Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 [Pipeline] echo [2023-06-21T21:46:17.618Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = adab2e1 [Pipeline] echo [2023-06-21T21:46:17.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-21T21:46:17.669Z] provisioning config files... [2023-06-21T21:46:17.681Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-261@tmp/config1744343918961714611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-21T21:46:17.981Z] ---> docker-login.sh [2023-06-21T21:46:17.981Z] nexus3.edgexfoundry.org:10001 [2023-06-21T21:46:18.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:46:18.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:46:18.241Z] Configure a credential helper to remove this warning. See [2023-06-21T21:46:18.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:46:18.241Z] [2023-06-21T21:46:18.241Z] Login Succeeded [2023-06-21T21:46:18.241Z] nexus3.edgexfoundry.org:10002 [2023-06-21T21:46:18.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:46:18.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:46:18.502Z] Configure a credential helper to remove this warning. See [2023-06-21T21:46:18.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:46:18.502Z] [2023-06-21T21:46:18.502Z] Login Succeeded [2023-06-21T21:46:18.502Z] nexus3.edgexfoundry.org:10003 [2023-06-21T21:46:18.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:46:18.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:46:18.502Z] Configure a credential helper to remove this warning. See [2023-06-21T21:46:18.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:46:18.502Z] [2023-06-21T21:46:18.502Z] Login Succeeded [2023-06-21T21:46:18.502Z] nexus3.edgexfoundry.org:10004 [2023-06-21T21:46:18.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:46:18.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:46:18.761Z] Configure a credential helper to remove this warning. See [2023-06-21T21:46:18.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:46:18.761Z] [2023-06-21T21:46:18.761Z] Login Succeeded [2023-06-21T21:46:18.761Z] docker.io [2023-06-21T21:46:18.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:46:19.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:46:19.020Z] Configure a credential helper to remove this warning. See [2023-06-21T21:46:19.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:46:19.020Z] [2023-06-21T21:46:19.020Z] Login Succeeded [2023-06-21T21:46:19.020Z] ---> docker-login.sh ends [Pipeline] } [2023-06-21T21:46:19.027Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-21T21:46:19.409Z] + git rev-list -1 --merges adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36~1..adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 [Pipeline] echo [2023-06-21T21:46:19.458Z] -----------> git rev-list -1 --merges adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36~1..adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 [2023-06-21T21:46:19.458Z] adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 [false] [Pipeline] sh [2023-06-21T21:46:19.752Z] + git log --format=format:%s -1 adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 [Pipeline] echo [2023-06-21T21:46:19.766Z] ========================================================= [2023-06-21T21:46:19.766Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-21T21:46:19.766Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-21T21:46:20.096Z] + git log --format=format:%s -1 adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 [Pipeline] echo [2023-06-21T21:46:20.109Z] [semverPrep] GIT_COMMIT: adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36, Commit Message: Merge commit '4f0060f0a01e6b631d5ad01a980021319d7b9523' into HEAD [Pipeline] echo [2023-06-21T21:46:20.122Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-21T21:46:20.510Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-21T21:46:20.510Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-21T21:46:20.510Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-21T21:46:20.510Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-21T21:46:20.510Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-21T21:46:20.510Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-21T21:46:20.510Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-21T21:46:20.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-21T21:46:20.872Z] [2023-06-21T21:46:20.872Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-21T21:46:21.171Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-21T21:46:21.171Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-21T21:46:21.171Z] b85a868b505f: Pulling fs layer [2023-06-21T21:46:21.171Z] e2be974225ed: Pulling fs layer [2023-06-21T21:46:21.171Z] 339a4e72a1f5: Pulling fs layer [2023-06-21T21:46:21.171Z] 988bab9f4d93: Pulling fs layer [2023-06-21T21:46:21.171Z] 1469e6f7b9e6: Pulling fs layer [2023-06-21T21:46:21.171Z] eaf3925da568: Pulling fs layer [2023-06-21T21:46:21.171Z] bab4dde63d76: Pulling fs layer [2023-06-21T21:46:21.171Z] bde34c3a00c8: Pulling fs layer [2023-06-21T21:46:21.171Z] b352a97aabf1: Pulling fs layer [2023-06-21T21:46:21.171Z] 4872d77fe225: Pulling fs layer [2023-06-21T21:46:21.171Z] 5851b861e8e6: Pulling fs layer [2023-06-21T21:46:21.171Z] bde34c3a00c8: Waiting [2023-06-21T21:46:21.171Z] b352a97aabf1: Waiting [2023-06-21T21:46:21.171Z] 1469e6f7b9e6: Waiting [2023-06-21T21:46:21.171Z] 4872d77fe225: Waiting [2023-06-21T21:46:21.171Z] eaf3925da568: Waiting [2023-06-21T21:46:21.171Z] bab4dde63d76: Waiting [2023-06-21T21:46:21.171Z] 988bab9f4d93: Waiting [2023-06-21T21:46:21.171Z] e2be974225ed: Verifying Checksum [2023-06-21T21:46:21.171Z] e2be974225ed: Download complete [2023-06-21T21:46:21.171Z] 988bab9f4d93: Download complete [2023-06-21T21:46:21.430Z] 1469e6f7b9e6: Download complete [2023-06-21T21:46:21.430Z] eaf3925da568: Verifying Checksum [2023-06-21T21:46:21.430Z] eaf3925da568: Download complete [2023-06-21T21:46:21.430Z] 339a4e72a1f5: Verifying Checksum [2023-06-21T21:46:21.430Z] 339a4e72a1f5: Download complete [2023-06-21T21:46:21.430Z] bde34c3a00c8: Verifying Checksum [2023-06-21T21:46:21.430Z] bde34c3a00c8: Download complete [2023-06-21T21:46:21.430Z] b352a97aabf1: Verifying Checksum [2023-06-21T21:46:21.430Z] b352a97aabf1: Download complete [2023-06-21T21:46:21.430Z] 4872d77fe225: Verifying Checksum [2023-06-21T21:46:21.430Z] 4872d77fe225: Download complete [2023-06-21T21:46:21.430Z] 5851b861e8e6: Download complete [2023-06-21T21:46:21.430Z] b85a868b505f: Verifying Checksum [2023-06-21T21:46:21.430Z] b85a868b505f: Download complete [2023-06-21T21:46:21.689Z] bab4dde63d76: Verifying Checksum [2023-06-21T21:46:21.689Z] bab4dde63d76: Download complete [2023-06-21T21:46:22.624Z] b85a868b505f: Pull complete [2023-06-21T21:46:22.883Z] e2be974225ed: Pull complete [2023-06-21T21:46:23.451Z] 339a4e72a1f5: Pull complete [2023-06-21T21:46:23.451Z] 988bab9f4d93: Pull complete [2023-06-21T21:46:24.019Z] 1469e6f7b9e6: Pull complete [2023-06-21T21:46:24.020Z] eaf3925da568: Pull complete [2023-06-21T21:46:25.922Z] bab4dde63d76: Pull complete [2023-06-21T21:46:25.922Z] bde34c3a00c8: Pull complete [2023-06-21T21:46:25.922Z] b352a97aabf1: Pull complete [2023-06-21T21:46:25.922Z] 4872d77fe225: Pull complete [2023-06-21T21:46:26.184Z] 5851b861e8e6: Pull complete [2023-06-21T21:46:26.184Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-21T21:46:26.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-21T21:46:26.184Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-21T21:46:26.296Z] prd-ubuntu20.04-docker-8c-8g-19016 does not seem to be running inside a container [2023-06-21T21:46:26.402Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-261 -v /w/workspace/foundry_device-usb-camera_PR-261:/w/workspace/foundry_device-usb-camera_PR-261:rw,z -v /w/workspace/foundry_device-usb-camera_PR-261@tmp:/w/workspace/foundry_device-usb-camera_PR-261@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-21T21:46:29.122Z] $ docker top 76e435546a5cd033dce11ea2b7564f005e9d593f62f1bd933cf471ec3783926d -eo pid,comm [2023-06-21T21:46:29.177Z] 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). [2023-06-21T21:46:29.177Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-21T21:46:29.216Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-21T21:46:29.216Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-21T21:46:29.323Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-21T21:46:29.330Z] $ docker exec 76e435546a5cd033dce11ea2b7564f005e9d593f62f1bd933cf471ec3783926d ssh-agent [2023-06-21T21:46:29.446Z] SSH_AUTH_SOCK=/tmp/ssh-6Oil8e8kS9hE/agent.31 [2023-06-21T21:46:29.446Z] SSH_AGENT_PID=37 [2023-06-21T21:46:29.453Z] Running ssh-add (command line suppressed) [2023-06-21T21:46:29.560Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-261@tmp/private_key_395482391711567914.key (/w/workspace/foundry_device-usb-camera_PR-261@tmp/private_key_395482391711567914.key) [2023-06-21T21:46:29.573Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-21T21:46:29.861Z] + git tag --points-at HEAD [Pipeline] } [2023-06-21T21:46:29.881Z] $ docker exec --env ******** --env ******** 76e435546a5cd033dce11ea2b7564f005e9d593f62f1bd933cf471ec3783926d ssh-agent -k [2023-06-21T21:46:29.971Z] unset SSH_AUTH_SOCK; [2023-06-21T21:46:29.971Z] unset SSH_AGENT_PID; [2023-06-21T21:46:29.971Z] echo Agent pid 37 killed; [2023-06-21T21:46:29.979Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-21T21:46:30.005Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-21T21:46:30.005Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-21T21:46:30.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-21T21:46:30.123Z] $ docker exec 76e435546a5cd033dce11ea2b7564f005e9d593f62f1bd933cf471ec3783926d ssh-agent [2023-06-21T21:46:30.239Z] SSH_AUTH_SOCK=/tmp/ssh-QgyuxGxTsEvi/agent.70 [2023-06-21T21:46:30.239Z] SSH_AGENT_PID=76 [2023-06-21T21:46:30.245Z] Running ssh-add (command line suppressed) [2023-06-21T21:46:30.356Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-261@tmp/private_key_8895742990126162830.key (/w/workspace/foundry_device-usb-camera_PR-261@tmp/private_key_8895742990126162830.key) [2023-06-21T21:46:30.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-21T21:46:30.659Z] + git semver init [2023-06-21T21:46:30.919Z] 2023-06-21 21:46:30,856 [run_init] DEBUG init version:0.0.0 force:False [2023-06-21T21:46:30.919Z] 2023-06-21 21:46:30,856 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-261/.semver [2023-06-21T21:46:30.919Z] 2023-06-21 21:46:30,857 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-261/.semver [2023-06-21T21:46:30.919Z] 2023-06-21 21:46:30,857 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-261/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-261, universal_newlines=False, shell=None, istream=None) [2023-06-21T21:46:31.858Z] 2023-06-21 21:46:31,525 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-261/.git/info/exclude [2023-06-21T21:46:31.858Z] 2023-06-21 21:46:31,525 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-261/.semver/PR-261 with force:False [2023-06-21T21:46:31.858Z] 2023-06-21 21:46:31,526 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-261/.semver/PR-261 [2023-06-21T21:46:31.858Z] 2023-06-21 21:46:31,530 [execute] INFO git cat-file --batch-check [2023-06-21T21:46:31.858Z] 2023-06-21 21:46:31,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-261/.semver, universal_newlines=False, shell=None, istream=) [2023-06-21T21:46:31.858Z] 2023-06-21 21:46:31,536 [execute] INFO git cat-file --batch [2023-06-21T21:46:31.858Z] 2023-06-21 21:46:31,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-261/.semver, universal_newlines=False, shell=None, istream=) [2023-06-21T21:46:31.858Z] 2023-06-21 21:46:31,542 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-261/.semver/PR-261 [2023-06-21T21:46:31.858Z] 0.0.0 [Pipeline] } [2023-06-21T21:46:31.871Z] $ docker exec --env ******** --env ******** 76e435546a5cd033dce11ea2b7564f005e9d593f62f1bd933cf471ec3783926d ssh-agent -k [2023-06-21T21:46:31.970Z] unset SSH_AUTH_SOCK; [2023-06-21T21:46:31.971Z] unset SSH_AGENT_PID; [2023-06-21T21:46:31.971Z] echo Agent pid 76 killed; [2023-06-21T21:46:31.979Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-21T21:46:32.289Z] + git semver [Pipeline] } [2023-06-21T21:46:32.562Z] $ docker stop --time=1 76e435546a5cd033dce11ea2b7564f005e9d593f62f1bd933cf471ec3783926d [2023-06-21T21:46:33.869Z] $ docker rm -f --volumes 76e435546a5cd033dce11ea2b7564f005e9d593f62f1bd933cf471ec3783926d [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-21T21:46:34.203Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-21T21:46:34.399Z] Stashed 1 file(s) [Pipeline] echo [2023-06-21T21:46:34.402Z] [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 [2023-06-21T21:46:34.519Z] provisioning config files... [2023-06-21T21:46:34.527Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-261@tmp/config17531362749367522488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-21T21:46:34.827Z] ---> docker-login.sh [2023-06-21T21:46:34.827Z] nexus3.edgexfoundry.org:10001 [2023-06-21T21:46:34.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:46:34.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:46:34.827Z] Configure a credential helper to remove this warning. See [2023-06-21T21:46:34.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:46:34.827Z] [2023-06-21T21:46:34.827Z] Login Succeeded [2023-06-21T21:46:34.827Z] nexus3.edgexfoundry.org:10002 [2023-06-21T21:46:34.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:46:34.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:46:34.827Z] Configure a credential helper to remove this warning. See [2023-06-21T21:46:34.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:46:34.827Z] [2023-06-21T21:46:34.827Z] Login Succeeded [2023-06-21T21:46:34.827Z] nexus3.edgexfoundry.org:10003 [2023-06-21T21:46:35.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:46:35.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:46:35.086Z] Configure a credential helper to remove this warning. See [2023-06-21T21:46:35.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:46:35.086Z] [2023-06-21T21:46:35.086Z] Login Succeeded [2023-06-21T21:46:35.086Z] nexus3.edgexfoundry.org:10004 [2023-06-21T21:46:35.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:46:35.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:46:35.086Z] Configure a credential helper to remove this warning. See [2023-06-21T21:46:35.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:46:35.086Z] [2023-06-21T21:46:35.086Z] Login Succeeded [2023-06-21T21:46:35.086Z] docker.io [2023-06-21T21:46:35.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:46:35.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:46:35.345Z] Configure a credential helper to remove this warning. See [2023-06-21T21:46:35.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:46:35.345Z] [2023-06-21T21:46:35.345Z] Login Succeeded [2023-06-21T21:46:35.345Z] ---> docker-login.sh ends [Pipeline] } [2023-06-21T21:46:35.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-21T21:46:35.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-21T21:46:35.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-21T21:46:35.454Z] ========================================================= [2023-06-21T21:46:35.454Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-21T21:46:35.454Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-21T21:46:35.772Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-06-21T21:46:35.772Z] Sending build context to Docker daemon 1.998MB [2023-06-21T21:46:35.772Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-21T21:46:35.772Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-21T21:46:35.772Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-21T21:46:35.772Z] f56be85fc22e: Pulling fs layer [2023-06-21T21:46:35.772Z] 85791d961cd3: Pulling fs layer [2023-06-21T21:46:35.772Z] d694b5ae8c79: Pulling fs layer [2023-06-21T21:46:35.772Z] 9f32a84ed3da: Pulling fs layer [2023-06-21T21:46:35.772Z] 4d19c01a9841: Pulling fs layer [2023-06-21T21:46:35.772Z] 9325e15d5711: Pulling fs layer [2023-06-21T21:46:35.772Z] 556b6ee489ea: Pulling fs layer [2023-06-21T21:46:35.772Z] c5a4b2cf53e6: Pulling fs layer [2023-06-21T21:46:35.772Z] c5a4b2cf53e6: Waiting [2023-06-21T21:46:35.772Z] 556b6ee489ea: Waiting [2023-06-21T21:46:35.772Z] 9325e15d5711: Waiting [2023-06-21T21:46:35.772Z] 9f32a84ed3da: Waiting [2023-06-21T21:46:35.772Z] 4d19c01a9841: Waiting [2023-06-21T21:46:35.772Z] 85791d961cd3: Download complete [2023-06-21T21:46:35.772Z] 9f32a84ed3da: Verifying Checksum [2023-06-21T21:46:35.772Z] 9f32a84ed3da: Download complete [2023-06-21T21:46:35.772Z] 4d19c01a9841: Download complete [2023-06-21T21:46:36.031Z] f56be85fc22e: Verifying Checksum [2023-06-21T21:46:36.031Z] f56be85fc22e: Download complete [2023-06-21T21:46:36.031Z] 9325e15d5711: Verifying Checksum [2023-06-21T21:46:36.031Z] 9325e15d5711: Download complete [2023-06-21T21:46:36.031Z] f56be85fc22e: Pull complete [2023-06-21T21:46:36.294Z] 85791d961cd3: Pull complete [2023-06-21T21:46:36.555Z] c5a4b2cf53e6: Verifying Checksum [2023-06-21T21:46:36.555Z] c5a4b2cf53e6: Download complete [2023-06-21T21:46:36.555Z] d694b5ae8c79: Download complete [2023-06-21T21:46:36.813Z] 556b6ee489ea: Verifying Checksum [2023-06-21T21:46:36.813Z] 556b6ee489ea: Download complete [2023-06-21T21:46:40.100Z] d694b5ae8c79: Pull complete [2023-06-21T21:46:40.100Z] 9f32a84ed3da: Pull complete [2023-06-21T21:46:40.100Z] 4d19c01a9841: Pull complete [2023-06-21T21:46:40.100Z] 9325e15d5711: Pull complete [2023-06-21T21:46:42.630Z] 556b6ee489ea: Pull complete [2023-06-21T21:46:43.566Z] c5a4b2cf53e6: Pull complete [2023-06-21T21:46:43.566Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-21T21:46:43.566Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-21T21:46:43.566Z] ---> c4be618373d6 [2023-06-21T21:46:43.566Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-21T21:46:47.034Z] ---> Running in 5f584fdc4392 [2023-06-21T21:46:47.034Z] Removing intermediate container 5f584fdc4392 [2023-06-21T21:46:47.034Z] ---> c62f35337b33 [2023-06-21T21:46:47.034Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-21T21:46:47.034Z] ---> Running in e990be5b36a1 [2023-06-21T21:46:47.034Z] Removing intermediate container e990be5b36a1 [2023-06-21T21:46:47.034Z] ---> 985b932b20ca [2023-06-21T21:46:47.034Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-21T21:46:47.034Z] ---> Running in d06f09f3d4b9 [2023-06-21T21:46:47.034Z] Removing intermediate container d06f09f3d4b9 [2023-06-21T21:46:47.034Z] ---> 068f5d072d8a [2023-06-21T21:46:47.034Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-21T21:46:47.034Z] ---> Running in b83b77d96ec7 [2023-06-21T21:46:47.034Z] Removing intermediate container b83b77d96ec7 [2023-06-21T21:46:47.034Z] ---> 1c2f0923f032 [2023-06-21T21:46:47.034Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-21T21:46:47.034Z] ---> Running in 3b4f153d81cd [2023-06-21T21:46:47.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-21T21:46:47.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-21T21:46:48.120Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-21T21:46:48.120Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-21T21:46:48.120Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-21T21:46:48.120Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-21T21:46:48.120Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-21T21:46:48.120Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-21T21:46:48.120Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-21T21:46:48.120Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-21T21:46:48.120Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-21T21:46:48.120Z] (10/14) Installing kmod-libs (30-r1) [2023-06-21T21:46:48.120Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-21T21:46:48.120Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-21T21:46:48.120Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-21T21:46:48.120Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-21T21:46:48.120Z] Executing busybox-1.35.0-r29.trigger [2023-06-21T21:46:48.120Z] Executing eudev-3.2.11-r4.trigger [2023-06-21T21:46:48.120Z] OK: 272 MiB in 67 packages [2023-06-21T21:46:48.688Z] Removing intermediate container 3b4f153d81cd [2023-06-21T21:46:48.688Z] ---> 0f08b6b45b30 [2023-06-21T21:46:48.688Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-21T21:46:48.688Z] ---> Running in 4f5943680f22 [2023-06-21T21:46:48.688Z] Removing intermediate container 4f5943680f22 [2023-06-21T21:46:48.688Z] ---> 31943a2f3580 [2023-06-21T21:46:48.688Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-21T21:46:48.947Z] ---> 98f3db56e983 [2023-06-21T21:46:48.947Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-21T21:46:48.947Z] ---> Running in b8e3558c342a [2023-06-21T21:46:49.489Z] Still waiting to schedule task [2023-06-21T21:46:49.489Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-06-21T21:47:21.094Z] Removing intermediate container b8e3558c342a [2023-06-21T21:47:21.094Z] ---> 739f1bbca7f3 [2023-06-21T21:47:21.094Z] Step 11/13 : COPY . . [2023-06-21T21:47:21.094Z] ---> 6a9b781e9bbc [2023-06-21T21:47:21.094Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-21T21:47:21.094Z] ---> Running in e7f6ca2c6ac8 [2023-06-21T21:47:21.094Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-21T21:47:21.094Z] Dload Upload Total Spent Left Speed [2023-06-21T21:47:21.094Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8337 0 --:--:-- --:--:-- --:--:-- 8362 [2023-06-21T21:47:21.094Z] Removing intermediate container e7f6ca2c6ac8 [2023-06-21T21:47:21.094Z] ---> f5c218a76909 [2023-06-21T21:47:21.094Z] Step 13/13 : RUN ${MAKE} [2023-06-21T21:47:21.094Z] ---> Running in 4664c015e1fe [2023-06-21T21:47:21.094Z] noop [2023-06-21T21:47:21.094Z] Removing intermediate container 4664c015e1fe [2023-06-21T21:47:21.094Z] ---> 908fcce4be44 [2023-06-21T21:47:21.094Z] Successfully built 908fcce4be44 [2023-06-21T21:47:21.094Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-21T21:47:21.413Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-21T21:47:21.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-21T21:47:21.479Z] prd-ubuntu20.04-docker-8c-8g-19016 does not seem to be running inside a container [2023-06-21T21:47:21.514Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-261 -v /w/workspace/foundry_device-usb-camera_PR-261:/w/workspace/foundry_device-usb-camera_PR-261:rw,z -v /w/workspace/foundry_device-usb-camera_PR-261@tmp:/w/workspace/foundry_device-usb-camera_PR-261@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-21T21:47:21.818Z] $ docker top 9d0dcd02665cd45ecf7138b5fb65bf36eee03dc2784231d01a03aa212ed953f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-21T21:47:22.160Z] + go version [2023-06-21T21:47:22.160Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-21T21:47:22.173Z] $ docker stop --time=1 9d0dcd02665cd45ecf7138b5fb65bf36eee03dc2784231d01a03aa212ed953f3 [2023-06-21T21:47:23.456Z] $ docker rm -f --volumes 9d0dcd02665cd45ecf7138b5fb65bf36eee03dc2784231d01a03aa212ed953f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-21T21:47:23.895Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-21T21:47:23.895Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-21T21:47:23.963Z] prd-ubuntu20.04-docker-8c-8g-19016 does not seem to be running inside a container [2023-06-21T21:47:23.993Z] $ 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-261 -v /w/workspace/foundry_device-usb-camera_PR-261:/w/workspace/foundry_device-usb-camera_PR-261:rw,z -v /w/workspace/foundry_device-usb-camera_PR-261@tmp:/w/workspace/foundry_device-usb-camera_PR-261@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-21T21:47:24.299Z] $ docker top 33d88916c14698d916398bdb42d5fe7fa327f6a35fe7a3854cd92026ea648e72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-21T21:47:24.633Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-261 [Pipeline] fileExists [Pipeline] sh [2023-06-21T21:47:24.924Z] + make test [2023-06-21T21:47:24.924Z] go test ./... -coverprofile=coverage.out ./... [2023-06-21T21:47:30.192Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-06-21T21:47:40.156Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-06-21T21:47:40.156Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.020s coverage: 1.6% of statements [2023-06-21T21:47:46.716Z] go vet ./... [2023-06-21T21:47:50.899Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-21T21:47:50.899Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-21T21:47:50.899Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-21T21:47:50.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-21T21:47:50.924Z] $ docker stop --time=1 33d88916c14698d916398bdb42d5fe7fa327f6a35fe7a3854cd92026ea648e72 [2023-06-21T21:47:53.678Z] $ docker rm -f --volumes 33d88916c14698d916398bdb42d5fe7fa327f6a35fe7a3854cd92026ea648e72 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-21T21:47:54.137Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-21T21:47:54.193Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-06-21T21:47:54.696Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-21T21:47:54.981Z] + ls -al . [2023-06-21T21:47:54.982Z] total 196 [2023-06-21T21:47:54.982Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 21:47 . [2023-06-21T21:47:54.982Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 21:46 .. [2023-06-21T21:47:54.982Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 21:46 .git [2023-06-21T21:47:54.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:46 .github [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 21 21:46 .gitignore [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 45 Jun 21 21:46 .golangci.yml [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 21 21:46 .hadolint.yml [2023-06-21T21:47:54.982Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 21:46 .semver [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 9665 Jun 21 21:46 Attribution.txt [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jun 21 21:46 CHANGELOG.md [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jun 21 21:46 Dockerfile [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 21 21:46 GOVERNANCE.md [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 21 21:46 Jenkinsfile [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 21 21:46 LICENSE [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jun 21 21:46 Makefile [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 21 21:46 OWNERS.md [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jun 21 21:46 README.md [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 21:46 VERSION [2023-06-21T21:47:54.982Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:46 bin [2023-06-21T21:47:54.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:46 cmd [2023-06-21T21:47:54.982Z] -rw-r--r-- 1 jenkins jenkins 35910 Jun 21 21:47 coverage.out [2023-06-21T21:47:54.982Z] -rwxrwxr-x 1 jenkins jenkins 140 Jun 21 21:46 docker-entrypoint.sh [2023-06-21T21:47:54.982Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:46 docs [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 3371 Jun 21 21:46 go.mod [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jun 21 21:46 go.sum [2023-06-21T21:47:54.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:46 internal [2023-06-21T21:47:54.982Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 21:46 snap [2023-06-21T21:47:54.982Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 21 21:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-21T21:47:55.283Z] + 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=adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 --label arch=amd64 --label version=0.0.0 . [2023-06-21T21:47:55.283Z] Sending build context to Docker daemon 2.035MB [2023-06-21T21:47:55.283Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-06-21T21:47:55.283Z] Step 2/36 : FROM ${BASE} AS builder [2023-06-21T21:47:55.283Z] ---> 908fcce4be44 [2023-06-21T21:47:55.283Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-06-21T21:47:55.283Z] ---> Running in 118a79675566 [2023-06-21T21:47:55.542Z] Removing intermediate container 118a79675566 [2023-06-21T21:47:55.542Z] ---> 89a0faa269a0 [2023-06-21T21:47:55.542Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-21T21:47:55.542Z] ---> Running in b883d6ab6cda [2023-06-21T21:47:55.542Z] Removing intermediate container b883d6ab6cda [2023-06-21T21:47:55.542Z] ---> fb8d1ece1e33 [2023-06-21T21:47:55.542Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-21T21:47:55.542Z] ---> Running in 2a3d216d34af [2023-06-21T21:47:55.542Z] Removing intermediate container 2a3d216d34af [2023-06-21T21:47:55.542Z] ---> 15a1c4b96c25 [2023-06-21T21:47:55.542Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-21T21:47:55.542Z] ---> Running in db88088d6c6f [2023-06-21T21:47:55.801Z] Removing intermediate container db88088d6c6f [2023-06-21T21:47:55.801Z] ---> 0dde5487f27c [2023-06-21T21:47:55.801Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-21T21:47:55.801Z] ---> Running in 007b271555cf [2023-06-21T21:47:56.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-21T21:47:56.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-21T21:47:56.578Z] OK: 272 MiB in 67 packages [2023-06-21T21:47:56.836Z] Removing intermediate container 007b271555cf [2023-06-21T21:47:56.836Z] ---> 3eb526ee1c58 [2023-06-21T21:47:56.836Z] Step 8/36 : WORKDIR /device-usb-camera [2023-06-21T21:47:56.836Z] ---> Running in ad16b43d558a [2023-06-21T21:47:56.836Z] Removing intermediate container ad16b43d558a [2023-06-21T21:47:56.836Z] ---> c784ee0a840c [2023-06-21T21:47:56.837Z] Step 9/36 : COPY go.mod vendor* ./ [2023-06-21T21:47:57.096Z] ---> a22003d747dd [2023-06-21T21:47:57.096Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-21T21:47:57.096Z] ---> Running in b591a9a53f7d [2023-06-21T21:47:57.664Z] Removing intermediate container b591a9a53f7d [2023-06-21T21:47:57.664Z] ---> 7e13faab9a2a [2023-06-21T21:47:57.664Z] Step 11/36 : COPY . . [2023-06-21T21:47:57.922Z] ---> 136d4f07ceff [2023-06-21T21:47:57.922Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-21T21:47:58.183Z] ---> Running in 9be66dc411e9 [2023-06-21T21:47:58.442Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-21T21:47:58.442Z]   Dload Upload  Total Spent Left Speed [2023-06-21T21:47:58.442Z]  0  0  0  0  0  0  0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20464 0 --:--:-- --:--:-- --:--:-- 20823 [2023-06-21T21:47:58.701Z] Removing intermediate container 9be66dc411e9 [2023-06-21T21:47:58.701Z] ---> 6bebd001e0f5 [2023-06-21T21:47:58.701Z] Step 13/36 : RUN ${MAKE} [2023-06-21T21:47:58.701Z] ---> Running in 803ee311eba1 [2023-06-21T21:47:58.959Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-06-21T21:48:14.756Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19017 in /w/workspace/foundry_device-usb-camera_PR-261 [Pipeline] { [Pipeline] ws [2023-06-21T21:48:14.771Z] Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout [2023-06-21T21:48:14.806Z] Selected Git installation does not exist. Using Default [2023-06-21T21:48:14.806Z] The recommended git tool is: NONE [2023-06-21T21:48:20.878Z] Removing intermediate container 803ee311eba1 [2023-06-21T21:48:20.878Z] ---> cb54dd7a589d [2023-06-21T21:48:20.878Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-06-21T21:48:20.878Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-06-21T21:48:20.878Z] 4acc49c71d14: Pulling fs layer [2023-06-21T21:48:20.878Z] 4acc49c71d14: Verifying Checksum [2023-06-21T21:48:20.878Z] 4acc49c71d14: Download complete [2023-06-21T21:48:20.878Z] 4acc49c71d14: Pull complete [2023-06-21T21:48:20.878Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-06-21T21:48:20.878Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-06-21T21:48:20.878Z] ---> 01a2bd3e5fff [2023-06-21T21:48:20.878Z] Step 15/36 : FROM alpine:3.17 [2023-06-21T21:48:20.878Z] 3.17: Pulling from library/alpine [2023-06-21T21:48:20.878Z] 4db1b89c0bd1: Pulling fs layer [2023-06-21T21:48:20.878Z] 4db1b89c0bd1: Verifying Checksum [2023-06-21T21:48:20.878Z] 4db1b89c0bd1: Download complete [2023-06-21T21:48:20.878Z] 4db1b89c0bd1: Pull complete [2023-06-21T21:48:20.878Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-06-21T21:48:20.878Z] Status: Downloaded newer image for alpine:3.17 [2023-06-21T21:48:20.878Z] ---> 1f73a9d63274 [2023-06-21T21:48:20.878Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-06-21T21:48:21.138Z] ---> Running in 61cb9b138faa [2023-06-21T21:48:21.138Z] Removing intermediate container 61cb9b138faa [2023-06-21T21:48:21.138Z] ---> 370174972348 [2023-06-21T21:48:21.138Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-06-21T21:48:21.138Z] ---> Running in cd09ff5b1328 [2023-06-21T21:48:21.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-21T21:48:21.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-21T21:48:21.915Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-06-21T21:48:21.915Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-06-21T21:48:21.915Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-06-21T21:48:22.173Z] (4/86) Installing libxau (1.0.10-r0) [2023-06-21T21:48:22.173Z] (5/86) Installing libmd (1.0.4-r0) [2023-06-21T21:48:22.173Z] (6/86) Installing libbsd (0.11.7-r0) [2023-06-21T21:48:22.173Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-06-21T21:48:22.173Z] (8/86) Installing libxcb (1.15-r0) [2023-06-21T21:48:22.173Z] (9/86) Installing libx11 (1.8.4-r1) [2023-06-21T21:48:22.173Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-06-21T21:48:22.173Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-06-21T21:48:22.173Z] (12/86) Installing libexpat (2.5.0-r0) [2023-06-21T21:48:22.173Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-06-21T21:48:22.173Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-06-21T21:48:22.173Z] (15/86) Installing libpng (1.6.38-r0) [2023-06-21T21:48:22.173Z] (16/86) Installing freetype (2.12.1-r0) [2023-06-21T21:48:22.173Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-06-21T21:48:22.173Z] (18/86) Installing fribidi (1.0.12-r0) [2023-06-21T21:48:22.173Z] (19/86) Installing libffi (3.4.4-r0) [2023-06-21T21:48:22.173Z] (20/86) Installing libintl (0.21.1-r1) [2023-06-21T21:48:22.173Z] (21/86) Installing libblkid (2.38.1-r1) [2023-06-21T21:48:22.173Z] (22/86) Installing libmount (2.38.1-r1) [2023-06-21T21:48:22.173Z] (23/86) Installing pcre2 (10.42-r0) [2023-06-21T21:48:22.173Z] (24/86) Installing glib (2.74.7-r0) [2023-06-21T21:48:22.432Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-06-21T21:48:22.432Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-06-21T21:48:22.432Z] (27/86) Installing libass (0.16.0-r1) [2023-06-21T21:48:22.432Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-06-21T21:48:22.432Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-06-21T21:48:22.432Z] (30/86) Installing libpciaccess (0.17-r0) [2023-06-21T21:48:22.432Z] (31/86) Installing libdrm (2.4.114-r0) [2023-06-21T21:48:22.432Z] (32/86) Installing gmp (6.2.1-r2) [2023-06-21T21:48:22.432Z] (33/86) Installing nettle (3.8.1-r0) [2023-06-21T21:48:22.432Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-06-21T21:48:22.432Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-06-21T21:48:22.432Z] (36/86) Installing libunistring (1.1-r0) [2023-06-21T21:48:22.432Z] (37/86) Installing gnutls (3.7.8-r3) [2023-06-21T21:48:22.432Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-06-21T21:48:22.432Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-06-21T21:48:22.432Z] (40/86) Installing lame (3.100-r2) [2023-06-21T21:48:22.432Z] (41/86) Installing opus (1.3.1-r1) [2023-06-21T21:48:22.432Z] (42/86) Installing libasyncns (0.8-r1) [2023-06-21T21:48:22.432Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-06-21T21:48:22.432Z] (44/86) Installing libltdl (2.4.7-r1) [2023-06-21T21:48:22.432Z] (45/86) Installing orc (0.4.33-r0) [2023-06-21T21:48:22.432Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-06-21T21:48:22.432Z] (47/86) Installing libogg (1.3.5-r2) [2023-06-21T21:48:22.432Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-06-21T21:48:22.432Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-06-21T21:48:22.432Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-06-21T21:48:22.432Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-06-21T21:48:22.432Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-06-21T21:48:22.432Z] (53/86) Installing soxr (0.1.3-r3) [2023-06-21T21:48:22.696Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-06-21T21:48:22.696Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-06-21T21:48:22.696Z] (56/86) Installing libpulse (16.1-r6) [2023-06-21T21:48:22.696Z] (57/86) Installing cjson (1.7.15-r3) [2023-06-21T21:48:22.696Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-06-21T21:48:22.696Z] (59/86) Installing librist (0.2.7-r0) [2023-06-21T21:48:22.696Z] (60/86) Installing libsrt (1.5.1-r0) [2023-06-21T21:48:22.696Z] (61/86) Installing libssh (0.10.5-r0) [2023-06-21T21:48:22.697Z] (62/86) Installing libtheora (1.1.1-r16) [2023-06-21T21:48:22.697Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-06-21T21:48:22.697Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-06-21T21:48:22.697Z] (65/86) Installing libxext (1.3.5-r0) [2023-06-21T21:48:22.697Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-06-21T21:48:22.697Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-06-21T21:48:22.697Z] (68/86) Installing libva (2.16.0-r0) [2023-06-21T21:48:22.697Z] (69/86) Installing libvdpau (1.5-r0) [2023-06-21T21:48:22.697Z] (70/86) Installing vidstab (1.1.0-r2) [2023-06-21T21:48:22.697Z] (71/86) Installing libvpx (1.12.0-r1) [2023-06-21T21:48:22.697Z] (72/86) Installing libwebp (1.2.4-r2) [2023-06-21T21:48:22.697Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-06-21T21:48:22.697Z] (74/86) Installing numactl (2.0.16-r1) [2023-06-21T21:48:22.697Z] (75/86) Installing x265-libs (3.5-r3) [2023-06-21T21:48:22.697Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-06-21T21:48:22.937Z] using credential edgex-jenkins-ssh [2023-06-21T21:48:22.954Z] Cloning the remote Git repository [2023-06-21T21:48:22.954Z] (77/86) Installing libsodium (1.0.18-r2) [2023-06-21T21:48:22.955Z] (78/86) Installing libzmq (4.3.4-r1) [2023-06-21T21:48:22.955Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-06-21T21:48:22.955Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-06-21T21:48:22.955Z] (81/86) Installing udev-init-scripts (35-r1) [2023-06-21T21:48:22.955Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-06-21T21:48:22.955Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-06-21T21:48:22.955Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-06-21T21:48:22.955Z] (85/86) Installing kmod-libs (30-r1) [2023-06-21T21:48:22.955Z] (86/86) Installing eudev (3.2.11-r4) [2023-06-21T21:48:22.955Z] Executing busybox-1.35.0-r29.trigger [2023-06-21T21:48:22.955Z] Executing eudev-3.2.11-r4.trigger [2023-06-21T21:48:22.955Z] OK: 112 MiB in 101 packages [2023-06-21T21:48:23.002Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-06-21T21:48:23.101Z] > git init /w/workspace/device-usb-camera/3 # timeout=10 [2023-06-21T21:48:23.242Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-21T21:48:23.243Z] > git --version # timeout=10 [2023-06-21T21:48:23.270Z] > git --version # 'git version 2.25.1' [2023-06-21T21:48:23.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-21T21:48:23.408Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-21T21:48:24.149Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-21T21:48:24.170Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-21T21:48:25.490Z] Removing intermediate container cd09ff5b1328 [2023-06-21T21:48:25.490Z] ---> e6b675cd6ce0 [2023-06-21T21:48:25.490Z] Step 18/36 : WORKDIR / [2023-06-21T21:48:25.490Z] ---> Running in 62bd79d9ab6f [2023-06-21T21:48:25.490Z] Removing intermediate container 62bd79d9ab6f [2023-06-21T21:48:25.490Z] ---> 8fd45081db2f [2023-06-21T21:48:25.490Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-06-21T21:48:24.967Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-21T21:48:25.008Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-21T21:48:25.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-21T21:48:25.023Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/261/head:refs/remotes/origin/PR-261 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-06-21T21:48:25.601Z] Merging remotes/origin/main commit 4f0060f0a01e6b631d5ad01a980021319d7b9523 into PR head commit 7f819715f6eab2cabb07c018dc9af6bca33a8dab [2023-06-21T21:48:25.885Z] Merge succeeded, producing 7c401f7ed779ff9b52302d9820057d21f93a528b [2023-06-21T21:48:25.886Z] Checking out Revision 7c401f7ed779ff9b52302d9820057d21f93a528b (PR-261) [2023-06-21T21:48:26.057Z] ---> 443468c8764d [2023-06-21T21:48:26.057Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-06-21T21:48:26.320Z] ---> 60e0e246b862 [2023-06-21T21:48:26.320Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-06-21T21:48:26.320Z] ---> 5bbec896efc5 [2023-06-21T21:48:26.320Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-06-21T21:48:26.578Z] ---> b78f7caaef14 [2023-06-21T21:48:26.578Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-06-21T21:48:26.578Z] ---> a29d4d19c4c1 [2023-06-21T21:48:26.578Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-06-21T21:48:26.837Z] ---> 113fd1350706 [2023-06-21T21:48:26.837Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-06-21T21:48:25.618Z] > git config core.sparsecheckout # timeout=10 [2023-06-21T21:48:25.677Z] > git checkout -f 7f819715f6eab2cabb07c018dc9af6bca33a8dab # timeout=10 [2023-06-21T21:48:25.760Z] > git remote # timeout=10 [2023-06-21T21:48:25.777Z] > git config --get remote.origin.url # timeout=10 [2023-06-21T21:48:25.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-21T21:48:25.815Z] > git merge 4f0060f0a01e6b631d5ad01a980021319d7b9523 # timeout=10 [2023-06-21T21:48:25.870Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-21T21:48:25.892Z] > git config core.sparsecheckout # timeout=10 [2023-06-21T21:48:25.910Z] > git checkout -f 7c401f7ed779ff9b52302d9820057d21f93a528b # timeout=10 [2023-06-21T21:48:27.771Z] ---> 485236ac94a2 [2023-06-21T21:48:27.771Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-06-21T21:48:27.771Z] ---> Running in f5ad8a334d91 [2023-06-21T21:48:28.030Z] Removing intermediate container f5ad8a334d91 [2023-06-21T21:48:28.030Z] ---> 49342067e999 [2023-06-21T21:48:28.030Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-06-21T21:48:28.030Z] ---> Running in 7426665539ca [2023-06-21T21:48:28.600Z] Removing intermediate container 7426665539ca [2023-06-21T21:48:28.600Z] ---> db3ae205c86e [2023-06-21T21:48:28.600Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-06-21T21:48:28.600Z] ---> Running in 38a63c42a1db [2023-06-21T21:48:29.167Z] Removing intermediate container 38a63c42a1db [2023-06-21T21:48:29.167Z] ---> 80ae54cc104b [2023-06-21T21:48:29.167Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-06-21T21:48:29.167Z] ---> Running in b2a3af103b80 [2023-06-21T21:48:29.316Z] Commit message: "Merge commit '4f0060f0a01e6b631d5ad01a980021319d7b9523' into HEAD" [2023-06-21T21:48:29.338Z] First time build. Skipping changelog. [2023-06-21T21:48:29.735Z] Removing intermediate container b2a3af103b80 [2023-06-21T21:48:29.735Z] ---> a8b7b6caf38a [2023-06-21T21:48:29.735Z] Step 30/36 : EXPOSE 59983 [2023-06-21T21:48:29.735Z] ---> Running in 65c1b4e3085d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-21T21:48:29.324Z] > git rev-list --no-walk 9128e85ef447f032f582c6007e89bef82aa22a03 # timeout=10 [2023-06-21T21:48:29.995Z] Removing intermediate container 65c1b4e3085d [2023-06-21T21:48:29.995Z] ---> e50c531f212a [2023-06-21T21:48:29.995Z] Step 31/36 : EXPOSE 8554 [2023-06-21T21:48:29.995Z] ---> Running in f494fbba2bce [2023-06-21T21:48:29.995Z] Removing intermediate container f494fbba2bce [2023-06-21T21:48:29.995Z] ---> 7c6c141c4ac7 [2023-06-21T21:48:29.995Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-06-21T21:48:29.995Z] ---> Running in a5e19b4e4a8c [2023-06-21T21:48:29.995Z] Removing intermediate container a5e19b4e4a8c [2023-06-21T21:48:29.995Z] ---> e435ed505c9e [2023-06-21T21:48:29.995Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-06-21T21:48:29.995Z] ---> Running in f05e8eef4f0f [2023-06-21T21:48:30.254Z] Removing intermediate container f05e8eef4f0f [2023-06-21T21:48:30.254Z] ---> 595e61d15fe0 [2023-06-21T21:48:30.254Z] Step 34/36 : LABEL arch=amd64 [2023-06-21T21:48:30.254Z] ---> Running in e9d63dfe8393 [2023-06-21T21:48:30.254Z] Removing intermediate container e9d63dfe8393 [2023-06-21T21:48:30.254Z] ---> fea26a7324d8 [2023-06-21T21:48:30.254Z] Step 35/36 : LABEL git_sha=adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 [2023-06-21T21:48:30.254Z] ---> Running in 1e1d7e75f122 [2023-06-21T21:48:30.254Z] Removing intermediate container 1e1d7e75f122 [2023-06-21T21:48:30.254Z] ---> 8fae78ce2083 [2023-06-21T21:48:30.254Z] Step 36/36 : LABEL version=0.0.0 [2023-06-21T21:48:30.386Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-21T21:48:30.386Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-21T21:48:30.386Z] Dload Upload Total Spent Left Speed [2023-06-21T21:48:30.386Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [2023-06-21T21:48:30.513Z] ---> Running in 7df15f0af218 [2023-06-21T21:48:30.514Z] Removing intermediate container 7df15f0af218 [2023-06-21T21:48:30.514Z] ---> 01ad39e31e3b [2023-06-21T21:48:30.514Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-21T21:48:30.514Z] Successfully built 01ad39e31e3b [2023-06-21T21:48:30.514Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2023-06-21T21:48:30.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-21T21:48:30.974Z] [2023-06-21T21:48:30.974Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-21T21:48:31.033Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-21T21:48:31.276Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-21T21:48:31.276Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-21T21:48:31.276Z] 5eb5b503b376: Pulling fs layer [2023-06-21T21:48:31.276Z] 5c69ac0246d0: Pulling fs layer [2023-06-21T21:48:31.276Z] ec43610c2a17: Pulling fs layer [2023-06-21T21:48:31.276Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-21T21:48:31.276Z] 33b1e0a273af: Pulling fs layer [2023-06-21T21:48:31.276Z] 5d3b04190fa2: Pulling fs layer [2023-06-21T21:48:31.276Z] 2f39f015ded8: Pulling fs layer [2023-06-21T21:48:31.276Z] 33b1e0a273af: Waiting [2023-06-21T21:48:31.276Z] 3a2ae6a8a46f: Waiting [2023-06-21T21:48:31.276Z] 5d3b04190fa2: Waiting [2023-06-21T21:48:31.276Z] 2f39f015ded8: Waiting [2023-06-21T21:48:31.276Z] 5c69ac0246d0: Download complete [2023-06-21T21:48:31.276Z] 3a2ae6a8a46f: Download complete [2023-06-21T21:48:31.276Z] 33b1e0a273af: Verifying Checksum [2023-06-21T21:48:31.276Z] 33b1e0a273af: Download complete [2023-06-21T21:48:31.276Z] 5d3b04190fa2: Download complete [2023-06-21T21:48:31.276Z] ec43610c2a17: Verifying Checksum [2023-06-21T21:48:31.276Z] ec43610c2a17: Download complete [2023-06-21T21:48:31.350Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-21T21:48:31.350Z] + sudo tee /etc/docker/daemon.new [2023-06-21T21:48:31.350Z] { [2023-06-21T21:48:31.350Z] "registry-mirrors": [ [2023-06-21T21:48:31.350Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-21T21:48:31.350Z] ], [2023-06-21T21:48:31.350Z] "bip": "10.250.0.254/24", [2023-06-21T21:48:31.350Z] "hosts": [ [2023-06-21T21:48:31.350Z] "tcp://0.0.0.0:5555", [2023-06-21T21:48:31.350Z] "unix:///var/run/docker.sock" [2023-06-21T21:48:31.350Z] ], [2023-06-21T21:48:31.350Z] "mtu": 1458, [2023-06-21T21:48:31.350Z] "selinux-enabled": true, [2023-06-21T21:48:31.350Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-21T21:48:31.350Z] } [Pipeline] sh [2023-06-21T21:48:31.539Z] 5eb5b503b376: Verifying Checksum [2023-06-21T21:48:31.539Z] 5eb5b503b376: Download complete [2023-06-21T21:48:31.665Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-21T21:48:31.987Z] + sudo service docker restart [2023-06-21T21:48:32.108Z] 2f39f015ded8: Verifying Checksum [2023-06-21T21:48:32.108Z] 2f39f015ded8: Download complete [2023-06-21T21:48:32.682Z] 5eb5b503b376: Pull complete [2023-06-21T21:48:32.940Z] 5c69ac0246d0: Pull complete [2023-06-21T21:48:33.198Z] ec43610c2a17: Pull complete [2023-06-21T21:48:33.457Z] 3a2ae6a8a46f: Pull complete [2023-06-21T21:48:33.457Z] 33b1e0a273af: Pull complete [2023-06-21T21:48:33.717Z] 5d3b04190fa2: Pull complete [2023-06-21T21:48:37.902Z] 2f39f015ded8: Pull complete [2023-06-21T21:48:37.902Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-21T21:48:38.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-21T21:48:38.161Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-21T21:48:38.243Z] prd-ubuntu20.04-docker-8c-8g-19016 does not seem to be running inside a container [2023-06-21T21:48:38.283Z] $ 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-261 -v /w/workspace/foundry_device-usb-camera_PR-261:/w/workspace/foundry_device-usb-camera_PR-261:rw,z -v /w/workspace/foundry_device-usb-camera_PR-261@tmp:/w/workspace/foundry_device-usb-camera_PR-261@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-21T21:48:40.920Z] $ docker top d9b38d52383156fe1a2e7a6ed924bc43ad88d0cd45e2fd45e23b1b83cd3f9ee2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-21T21:48:41.300Z] ---> job-cost.sh [2023-06-21T21:48:41.300Z] lf-activate-venv: SKIPPING [2023-06-21T21:48:41.300Z] INFO: No Stack... [2023-06-21T21:48:41.560Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-21T21:48:42.130Z] INFO: Archiving Costs [Pipeline] sh [2023-06-21T21:48:42.423Z] + cat /w/workspace/foundry_device-usb-camera_PR-261/archives/cost.csv [2023-06-21T21:48:42.423Z] + cut -d, -f6 [Pipeline] lock [2023-06-21T21:48:42.440Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] [2023-06-21T21:48:42.447Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] did not exist. Created. [2023-06-21T21:48:42.447Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-21T21:48:42.756Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-21T21:48:42.784Z] Stashed 1 file(s) [Pipeline] } [2023-06-21T21:48:42.790Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-21T21:48:42.814Z] $ docker stop --time=1 d9b38d52383156fe1a2e7a6ed924bc43ad88d0cd45e2fd45e23b1b83cd3f9ee2 [2023-06-21T21:48:43.960Z] $ docker rm -f --volumes d9b38d52383156fe1a2e7a6ed924bc43ad88d0cd45e2fd45e23b1b83cd3f9ee2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-21T21:48:50.230Z] provisioning config files... [2023-06-21T21:48:50.252Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config7265964548497673890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-21T21:48:50.598Z] ---> docker-login.sh [2023-06-21T21:48:50.598Z] nexus3.edgexfoundry.org:10001 [2023-06-21T21:48:50.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:48:51.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:48:51.139Z] Configure a credential helper to remove this warning. See [2023-06-21T21:48:51.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:48:51.139Z] [2023-06-21T21:48:51.139Z] Login Succeeded [2023-06-21T21:48:51.139Z] nexus3.edgexfoundry.org:10002 [2023-06-21T21:48:51.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:48:51.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:48:51.410Z] Configure a credential helper to remove this warning. See [2023-06-21T21:48:51.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:48:51.410Z] [2023-06-21T21:48:51.410Z] Login Succeeded [2023-06-21T21:48:51.410Z] nexus3.edgexfoundry.org:10003 [2023-06-21T21:48:51.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:48:51.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:48:51.949Z] Configure a credential helper to remove this warning. See [2023-06-21T21:48:51.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:48:51.949Z] [2023-06-21T21:48:51.949Z] Login Succeeded [2023-06-21T21:48:51.949Z] nexus3.edgexfoundry.org:10004 [2023-06-21T21:48:52.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:48:52.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:48:52.219Z] Configure a credential helper to remove this warning. See [2023-06-21T21:48:52.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:48:52.219Z] [2023-06-21T21:48:52.219Z] Login Succeeded [2023-06-21T21:48:52.219Z] docker.io [2023-06-21T21:48:52.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-21T21:48:52.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-21T21:48:52.759Z] Configure a credential helper to remove this warning. See [2023-06-21T21:48:52.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-21T21:48:52.759Z] [2023-06-21T21:48:52.759Z] Login Succeeded [2023-06-21T21:48:52.759Z] ---> docker-login.sh ends [Pipeline] } [2023-06-21T21:48:52.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-21T21:48:52.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-21T21:48:53.006Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-21T21:48:53.021Z] ========================================================= [2023-06-21T21:48:53.021Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-21T21:48:53.021Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-21T21:48:53.365Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-06-21T21:48:53.633Z] Sending build context to Docker daemon 1.197MB [2023-06-21T21:48:53.633Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-21T21:48:53.633Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-21T21:48:53.904Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-21T21:48:53.904Z] c41833b44d91: Pulling fs layer [2023-06-21T21:48:53.904Z] ed15518f5707: Pulling fs layer [2023-06-21T21:48:53.904Z] feae8fd75edb: Pulling fs layer [2023-06-21T21:48:53.904Z] 242c74f7c9fa: Pulling fs layer [2023-06-21T21:48:53.904Z] 3cdef696dda3: Pulling fs layer [2023-06-21T21:48:53.904Z] 2ced38df9373: Pulling fs layer [2023-06-21T21:48:53.904Z] 58f1dce35555: Pulling fs layer [2023-06-21T21:48:53.904Z] 3cdef696dda3: Waiting [2023-06-21T21:48:53.904Z] 242c74f7c9fa: Waiting [2023-06-21T21:48:53.904Z] 2ced38df9373: Waiting [2023-06-21T21:48:53.904Z] 58f1dce35555: Waiting [2023-06-21T21:48:53.904Z] ed15518f5707: Verifying Checksum [2023-06-21T21:48:53.904Z] ed15518f5707: Download complete [2023-06-21T21:48:53.904Z] 242c74f7c9fa: Verifying Checksum [2023-06-21T21:48:53.904Z] 242c74f7c9fa: Download complete [2023-06-21T21:48:53.904Z] 3cdef696dda3: Verifying Checksum [2023-06-21T21:48:53.904Z] 3cdef696dda3: Download complete [2023-06-21T21:48:53.904Z] c41833b44d91: Verifying Checksum [2023-06-21T21:48:53.904Z] c41833b44d91: Download complete [2023-06-21T21:48:54.883Z] c41833b44d91: Pull complete [2023-06-21T21:48:55.154Z] 58f1dce35555: Verifying Checksum [2023-06-21T21:48:55.154Z] 58f1dce35555: Download complete [2023-06-21T21:48:55.427Z] ed15518f5707: Pull complete [2023-06-21T21:48:56.390Z] feae8fd75edb: Verifying Checksum [2023-06-21T21:48:56.390Z] feae8fd75edb: Download complete [2023-06-21T21:48:56.390Z] 2ced38df9373: Verifying Checksum [2023-06-21T21:48:56.390Z] 2ced38df9373: Download complete [2023-06-21T21:49:08.728Z] feae8fd75edb: Pull complete [2023-06-21T21:49:08.728Z] 242c74f7c9fa: Pull complete [2023-06-21T21:49:08.728Z] 3cdef696dda3: Pull complete [2023-06-21T21:49:16.949Z] 2ced38df9373: Pull complete [2023-06-21T21:49:18.911Z] 58f1dce35555: Pull complete [2023-06-21T21:49:18.911Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-21T21:49:18.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-21T21:49:18.911Z] ---> fadd8f120f05 [2023-06-21T21:49:18.911Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-21T21:49:20.860Z] ---> Running in 3ae6527b2191 [2023-06-21T21:49:20.860Z] Removing intermediate container 3ae6527b2191 [2023-06-21T21:49:20.860Z] ---> dc5c2ee2a036 [2023-06-21T21:49:20.860Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-21T21:49:21.127Z] ---> Running in 7a39c947281b [2023-06-21T21:49:21.394Z] Removing intermediate container 7a39c947281b [2023-06-21T21:49:21.395Z] ---> 848f1fe660b8 [2023-06-21T21:49:21.395Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-21T21:49:21.395Z] ---> Running in bdc2436c7186 [2023-06-21T21:49:21.662Z] Removing intermediate container bdc2436c7186 [2023-06-21T21:49:21.662Z] ---> 679cd708584b [2023-06-21T21:49:21.662Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-21T21:49:21.662Z] ---> Running in 06ca46d5737b [2023-06-21T21:49:21.929Z] Removing intermediate container 06ca46d5737b [2023-06-21T21:49:21.929Z] ---> 6f3ef8adf7cf [2023-06-21T21:49:21.929Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-21T21:49:22.196Z] ---> Running in 40be35df03e6 [2023-06-21T21:49:23.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-21T21:49:23.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-21T21:49:24.697Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-21T21:49:24.697Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-21T21:49:24.697Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-21T21:49:24.697Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-21T21:49:24.697Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-21T21:49:24.697Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-21T21:49:24.697Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-21T21:49:24.697Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-21T21:49:24.697Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-21T21:49:24.697Z] (10/14) Installing kmod-libs (30-r1) [2023-06-21T21:49:24.697Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-21T21:49:24.965Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-21T21:49:24.965Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-21T21:49:24.965Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-21T21:49:24.965Z] Executing busybox-1.35.0-r29.trigger [2023-06-21T21:49:24.965Z] Executing eudev-3.2.11-r4.trigger [2023-06-21T21:49:24.965Z] OK: 271 MiB in 67 packages [2023-06-21T21:49:26.375Z] Removing intermediate container 40be35df03e6 [2023-06-21T21:49:26.375Z] ---> 1a9ded4aa0a4 [2023-06-21T21:49:26.375Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-21T21:49:26.375Z] ---> Running in 3058ad1fb154 [2023-06-21T21:49:26.375Z] Removing intermediate container 3058ad1fb154 [2023-06-21T21:49:26.375Z] ---> 10e0c3118eef [2023-06-21T21:49:26.375Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-21T21:49:30.623Z] ---> 2d104c9460c0 [2023-06-21T21:49:30.623Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-21T21:49:30.623Z] ---> Running in 7793a360eee9 [2023-06-21T21:50:38.513Z] Removing intermediate container 7793a360eee9 [2023-06-21T21:50:38.513Z] ---> 41c2631f0932 [2023-06-21T21:50:38.513Z] Step 11/13 : COPY . . [2023-06-21T21:50:38.513Z] ---> 627b59412131 [2023-06-21T21:50:38.513Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-21T21:50:38.513Z] ---> Running in 7e08ccae6dc7 [2023-06-21T21:50:38.513Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-21T21:50:38.513Z] Dload Upload Total Spent Left Speed [2023-06-21T21:50:38.513Z] 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4266 0 --:--:-- --:--:-- --:--:-- 4299 [2023-06-21T21:50:38.513Z] Removing intermediate container 7e08ccae6dc7 [2023-06-21T21:50:38.513Z] ---> c7c0fbb969c5 [2023-06-21T21:50:38.513Z] Step 13/13 : RUN ${MAKE} [2023-06-21T21:50:38.513Z] ---> Running in e96418736cf5 [2023-06-21T21:50:38.513Z] noop [2023-06-21T21:50:38.513Z] Removing intermediate container e96418736cf5 [2023-06-21T21:50:38.513Z] ---> d64443a080d8 [2023-06-21T21:50:38.513Z] Successfully built d64443a080d8 [2023-06-21T21:50:38.513Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-21T21:50:38.874Z] + docker inspect -f . ci-base-image-arm64 [2023-06-21T21:50:38.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-21T21:50:39.073Z] prd-ubuntu20.04-docker-arm64-4c-16g-19017 does not seem to be running inside a container [2023-06-21T21:50:39.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-21T21:50:40.301Z] $ docker top 4f74c8d599ec4259c5f6f2af38b69aa61aa05a15280b930d0d03ed67ba35a8ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-21T21:50:41.118Z] + go version [2023-06-21T21:50:41.118Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-21T21:50:41.143Z] $ docker stop --time=1 4f74c8d599ec4259c5f6f2af38b69aa61aa05a15280b930d0d03ed67ba35a8ea [2023-06-21T21:50:42.714Z] $ docker rm -f --volumes 4f74c8d599ec4259c5f6f2af38b69aa61aa05a15280b930d0d03ed67ba35a8ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-21T21:50:43.260Z] + docker inspect -f . ci-base-image-arm64 [2023-06-21T21:50:43.260Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-21T21:50:43.439Z] prd-ubuntu20.04-docker-arm64-4c-16g-19017 does not seem to be running inside a container [2023-06-21T21:50:43.503Z] $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-21T21:50:44.620Z] $ docker top 7fc7449ef8dc93a518f38bc04319af57ee0befea97f4ddcf62e1b29958a69081 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-21T21:50:45.105Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-06-21T21:50:45.697Z] + make test [2023-06-21T21:50:45.697Z] go test ./... -coverprofile=coverage.out ./... [2023-06-21T21:51:17.947Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-06-21T21:53:09.609Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-06-21T21:53:17.816Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.075s coverage: 1.6% of statements [2023-06-21T21:53:17.816Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-21T21:53:17.816Z] go vet ./... [2023-06-21T21:53:56.704Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-21T21:53:56.704Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-21T21:53:56.704Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-21T21:53:56.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-21T21:53:56.743Z] $ docker stop --time=1 7fc7449ef8dc93a518f38bc04319af57ee0befea97f4ddcf62e1b29958a69081 [2023-06-21T21:53:58.500Z] $ docker rm -f --volumes 7fc7449ef8dc93a518f38bc04319af57ee0befea97f4ddcf62e1b29958a69081 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-21T21:53:59.678Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-21T21:53:59.696Z] Warning: overwriting stash ‘coverage-report’ [2023-06-21T21:54:00.162Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-21T21:54:00.539Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-21T21:54:00.852Z] + ls -al . [2023-06-21T21:54:00.852Z] total 192 [2023-06-21T21:54:00.852Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 21 21:50 . [2023-06-21T21:54:00.852Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 21:48 .. [2023-06-21T21:54:00.852Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 21:48 .git [2023-06-21T21:54:00.852Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:48 .github [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 414 Jun 21 21:48 .gitignore [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 45 Jun 21 21:48 .golangci.yml [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 77 Jun 21 21:48 .hadolint.yml [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 9665 Jun 21 21:48 Attribution.txt [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 11903 Jun 21 21:48 CHANGELOG.md [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 2453 Jun 21 21:48 Dockerfile [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 21 21:48 GOVERNANCE.md [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 659 Jun 21 21:48 Jenkinsfile [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 21 21:48 LICENSE [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 2364 Jun 21 21:48 Makefile [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 21 21:48 OWNERS.md [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 2575 Jun 21 21:48 README.md [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 21:46 VERSION [2023-06-21T21:54:00.852Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:48 bin [2023-06-21T21:54:00.852Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:48 cmd [2023-06-21T21:54:00.852Z] -rw-r--r-- 1 jenkins jenkins 35910 Jun 21 21:53 coverage.out [2023-06-21T21:54:00.852Z] -rwxrwxr-x 1 jenkins jenkins 140 Jun 21 21:48 docker-entrypoint.sh [2023-06-21T21:54:00.852Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:48 docs [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 3371 Jun 21 21:48 go.mod [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 31482 Jun 21 21:48 go.sum [2023-06-21T21:54:00.852Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:48 internal [2023-06-21T21:54:00.852Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 21:48 snap [2023-06-21T21:54:00.852Z] -rw-rw-r-- 1 jenkins jenkins 231 Jun 21 21:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-21T21:54:01.188Z] + 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=7c401f7ed779ff9b52302d9820057d21f93a528b --label arch=arm64 --label version=0.0.0 . [2023-06-21T21:54:01.458Z] Sending build context to Docker daemon 1.234MB [2023-06-21T21:54:01.458Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-06-21T21:54:01.458Z] Step 2/36 : FROM ${BASE} AS builder [2023-06-21T21:54:01.458Z] ---> d64443a080d8 [2023-06-21T21:54:01.458Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-06-21T21:54:01.724Z] ---> Running in 756990a4fee5 [2023-06-21T21:54:01.724Z] Removing intermediate container 756990a4fee5 [2023-06-21T21:54:01.724Z] ---> 64c7f4efef1a [2023-06-21T21:54:01.724Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-21T21:54:01.988Z] ---> Running in 300e1359616d [2023-06-21T21:54:02.257Z] Removing intermediate container 300e1359616d [2023-06-21T21:54:02.257Z] ---> 3c759332bd7e [2023-06-21T21:54:02.257Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-21T21:54:02.257Z] ---> Running in cbd62d43e9b1 [2023-06-21T21:54:02.524Z] Removing intermediate container cbd62d43e9b1 [2023-06-21T21:54:02.524Z] ---> 39f3bf4d05fe [2023-06-21T21:54:02.524Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-21T21:54:02.524Z] ---> Running in c2637d6d80f5 [2023-06-21T21:54:02.800Z] Removing intermediate container c2637d6d80f5 [2023-06-21T21:54:02.800Z] ---> 84ede2adad32 [2023-06-21T21:54:02.800Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-21T21:54:02.800Z] ---> Running in 8bf5b9b8a9b5 [2023-06-21T21:54:03.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-21T21:54:04.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-21T21:54:05.291Z] OK: 271 MiB in 67 packages [2023-06-21T21:54:06.258Z] Removing intermediate container 8bf5b9b8a9b5 [2023-06-21T21:54:06.258Z] ---> 5e2faf3a4588 [2023-06-21T21:54:06.258Z] Step 8/36 : WORKDIR /device-usb-camera [2023-06-21T21:54:06.258Z] ---> Running in 59d017135790 [2023-06-21T21:54:06.258Z] Removing intermediate container 59d017135790 [2023-06-21T21:54:06.258Z] ---> 0e2281f926b7 [2023-06-21T21:54:06.258Z] Step 9/36 : COPY go.mod vendor* ./ [2023-06-21T21:54:06.844Z] ---> 87bc6786a3e4 [2023-06-21T21:54:06.844Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-21T21:54:06.844Z] ---> Running in 5631d94baffc [2023-06-21T21:54:09.426Z] Removing intermediate container 5631d94baffc [2023-06-21T21:54:09.426Z] ---> 805898fed526 [2023-06-21T21:54:09.426Z] Step 11/36 : COPY . . [2023-06-21T21:54:10.008Z] ---> 5224f8e7932c [2023-06-21T21:54:10.008Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-21T21:54:10.274Z] ---> Running in 14e8377badca [2023-06-21T21:54:12.213Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-21T21:54:12.213Z]  Dload Upload  Total Spent Left Speed [2023-06-21T21:54:12.213Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3232 0 --:--:-- --:--:-- --:--:-- 3237 [2023-06-21T21:54:12.802Z] Removing intermediate container 14e8377badca [2023-06-21T21:54:12.802Z] ---> 67d659393b82 [2023-06-21T21:54:12.802Z] Step 13/36 : RUN ${MAKE} [2023-06-21T21:54:13.076Z] ---> Running in aeddd032fec4 [2023-06-21T21:54:14.032Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-06-21T21:56:35.697Z] Removing intermediate container aeddd032fec4 [2023-06-21T21:56:35.697Z] ---> d7850cfb9b4d [2023-06-21T21:56:35.697Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-06-21T21:56:35.697Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-06-21T21:56:35.697Z] 8766b47fe142: Pulling fs layer [2023-06-21T21:56:35.697Z] 8766b47fe142: Verifying Checksum [2023-06-21T21:56:35.697Z] 8766b47fe142: Download complete [2023-06-21T21:56:35.697Z] 8766b47fe142: Pull complete [2023-06-21T21:56:35.697Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-06-21T21:56:35.697Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-06-21T21:56:35.697Z] ---> 69d40e2cb93c [2023-06-21T21:56:35.697Z] Step 15/36 : FROM alpine:3.17 [2023-06-21T21:56:35.697Z] 3.17: Pulling from library/alpine [2023-06-21T21:56:35.697Z] edb6bdbacee9: Pulling fs layer [2023-06-21T21:56:35.697Z] edb6bdbacee9: Verifying Checksum [2023-06-21T21:56:35.697Z] edb6bdbacee9: Download complete [2023-06-21T21:56:35.697Z] edb6bdbacee9: Pull complete [2023-06-21T21:56:35.697Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-06-21T21:56:35.697Z] Status: Downloaded newer image for alpine:3.17 [2023-06-21T21:56:35.697Z] ---> 779605e5fbc0 [2023-06-21T21:56:35.697Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-06-21T21:56:35.697Z] ---> Running in 0dbe8bbcafce [2023-06-21T21:56:35.697Z] Removing intermediate container 0dbe8bbcafce [2023-06-21T21:56:35.697Z] ---> e9880bdf2cba [2023-06-21T21:56:35.697Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-06-21T21:56:35.697Z] ---> Running in f65ab33b461c [2023-06-21T21:56:35.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-21T21:56:36.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-21T21:56:37.239Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-06-21T21:56:37.506Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-06-21T21:56:37.506Z] (3/83) Installing libxau (1.0.10-r0) [2023-06-21T21:56:37.506Z] (4/83) Installing libmd (1.0.4-r0) [2023-06-21T21:56:37.506Z] (5/83) Installing libbsd (0.11.7-r0) [2023-06-21T21:56:37.506Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-06-21T21:56:37.506Z] (7/83) Installing libxcb (1.15-r0) [2023-06-21T21:56:37.506Z] (8/83) Installing libx11 (1.8.4-r1) [2023-06-21T21:56:37.772Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-06-21T21:56:37.772Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-06-21T21:56:37.772Z] (11/83) Installing libexpat (2.5.0-r0) [2023-06-21T21:56:37.772Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-06-21T21:56:37.772Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-06-21T21:56:37.772Z] (14/83) Installing libpng (1.6.38-r0) [2023-06-21T21:56:37.772Z] (15/83) Installing freetype (2.12.1-r0) [2023-06-21T21:56:37.772Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-06-21T21:56:38.039Z] (17/83) Installing fribidi (1.0.12-r0) [2023-06-21T21:56:38.039Z] (18/83) Installing libffi (3.4.4-r0) [2023-06-21T21:56:38.039Z] (19/83) Installing libintl (0.21.1-r1) [2023-06-21T21:56:38.039Z] (20/83) Installing libblkid (2.38.1-r1) [2023-06-21T21:56:38.039Z] (21/83) Installing libmount (2.38.1-r1) [2023-06-21T21:56:38.039Z] (22/83) Installing pcre2 (10.42-r0) [2023-06-21T21:56:38.039Z] (23/83) Installing glib (2.74.7-r0) [2023-06-21T21:56:38.039Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-06-21T21:56:38.039Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-06-21T21:56:38.039Z] (26/83) Installing libass (0.16.0-r1) [2023-06-21T21:56:38.306Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-06-21T21:56:38.306Z] (28/83) Installing libdrm (2.4.114-r0) [2023-06-21T21:56:38.306Z] (29/83) Installing gmp (6.2.1-r2) [2023-06-21T21:56:38.306Z] (30/83) Installing nettle (3.8.1-r0) [2023-06-21T21:56:38.306Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-06-21T21:56:38.306Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-06-21T21:56:38.306Z] (33/83) Installing libunistring (1.1-r0) [2023-06-21T21:56:38.306Z] (34/83) Installing gnutls (3.7.8-r3) [2023-06-21T21:56:38.306Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-06-21T21:56:38.306Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-06-21T21:56:38.306Z] (37/83) Installing lame (3.100-r2) [2023-06-21T21:56:38.574Z] (38/83) Installing opus (1.3.1-r1) [2023-06-21T21:56:38.574Z] (39/83) Installing libasyncns (0.8-r1) [2023-06-21T21:56:38.574Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-06-21T21:56:38.574Z] (41/83) Installing libltdl (2.4.7-r1) [2023-06-21T21:56:38.574Z] (42/83) Installing orc (0.4.33-r0) [2023-06-21T21:56:38.574Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-06-21T21:56:38.574Z] (44/83) Installing libogg (1.3.5-r2) [2023-06-21T21:56:38.574Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-06-21T21:56:38.574Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-06-21T21:56:38.574Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-06-21T21:56:38.574Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-06-21T21:56:38.574Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-06-21T21:56:38.574Z] (50/83) Installing soxr (0.1.3-r3) [2023-06-21T21:56:38.574Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-06-21T21:56:38.574Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-06-21T21:56:38.574Z] (53/83) Installing libpulse (16.1-r6) [2023-06-21T21:56:38.843Z] (54/83) Installing cjson (1.7.15-r3) [2023-06-21T21:56:38.843Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-06-21T21:56:38.843Z] (56/83) Installing librist (0.2.7-r0) [2023-06-21T21:56:38.843Z] (57/83) Installing libsrt (1.5.1-r0) [2023-06-21T21:56:38.843Z] (58/83) Installing libssh (0.10.5-r0) [2023-06-21T21:56:38.843Z] (59/83) Installing libtheora (1.1.1-r16) [2023-06-21T21:56:38.843Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-06-21T21:56:38.843Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-06-21T21:56:38.843Z] (62/83) Installing libxext (1.3.5-r0) [2023-06-21T21:56:38.843Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-06-21T21:56:38.843Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-06-21T21:56:38.843Z] (65/83) Installing libva (2.16.0-r0) [2023-06-21T21:56:38.843Z] (66/83) Installing libvdpau (1.5-r0) [2023-06-21T21:56:38.843Z] (67/83) Installing vidstab (1.1.0-r2) [2023-06-21T21:56:38.843Z] (68/83) Installing libvpx (1.12.0-r1) [2023-06-21T21:56:39.110Z] (69/83) Installing libwebp (1.2.4-r2) [2023-06-21T21:56:39.110Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-06-21T21:56:39.110Z] (71/83) Installing numactl (2.0.16-r1) [2023-06-21T21:56:39.110Z] (72/83) Installing x265-libs (3.5-r3) [2023-06-21T21:56:39.110Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-06-21T21:56:39.110Z] (74/83) Installing libsodium (1.0.18-r2) [2023-06-21T21:56:39.375Z] (75/83) Installing libzmq (4.3.4-r1) [2023-06-21T21:56:39.375Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-06-21T21:56:39.642Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-06-21T21:56:39.643Z] (78/83) Installing udev-init-scripts (35-r1) [2023-06-21T21:56:39.643Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-06-21T21:56:39.643Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-06-21T21:56:39.643Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-06-21T21:56:39.643Z] (82/83) Installing kmod-libs (30-r1) [2023-06-21T21:56:39.643Z] (83/83) Installing eudev (3.2.11-r4) [2023-06-21T21:56:39.909Z] Executing busybox-1.35.0-r29.trigger [2023-06-21T21:56:39.909Z] Executing eudev-3.2.11-r4.trigger [2023-06-21T21:56:39.909Z] OK: 86 MiB in 98 packages [2023-06-21T21:56:43.251Z] Removing intermediate container f65ab33b461c [2023-06-21T21:56:43.251Z] ---> 7d0cfb583da5 [2023-06-21T21:56:43.251Z] Step 18/36 : WORKDIR / [2023-06-21T21:56:43.251Z] ---> Running in 243f00a158ce [2023-06-21T21:56:43.251Z] Removing intermediate container 243f00a158ce [2023-06-21T21:56:43.251Z] ---> 8a39620617cd [2023-06-21T21:56:43.251Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-06-21T21:56:44.657Z] ---> 173e8aea0c00 [2023-06-21T21:56:44.657Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-06-21T21:56:45.248Z] ---> b111eff6ab01 [2023-06-21T21:56:45.248Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-06-21T21:56:45.515Z] ---> 1c027f81e391 [2023-06-21T21:56:45.515Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-06-21T21:56:46.097Z] ---> 55bf253b4a0c [2023-06-21T21:56:46.097Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-06-21T21:56:46.681Z] ---> aba08c9504dd [2023-06-21T21:56:46.681Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-06-21T21:56:46.947Z] ---> ca1318aa7583 [2023-06-21T21:56:46.947Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-06-21T21:56:48.359Z] ---> 6e37fa6bb041 [2023-06-21T21:56:48.359Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-06-21T21:56:48.359Z] ---> Running in fd5e3fc7fbef [2023-06-21T21:56:50.302Z] Removing intermediate container fd5e3fc7fbef [2023-06-21T21:56:50.302Z] ---> 47f357e8ec59 [2023-06-21T21:56:50.302Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-06-21T21:56:50.302Z] ---> Running in 31b264a9f749 [2023-06-21T21:56:53.640Z] Removing intermediate container 31b264a9f749 [2023-06-21T21:56:53.640Z] ---> bd3a75a24dae [2023-06-21T21:56:53.640Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-06-21T21:56:53.640Z] ---> Running in 1d93a53dfc07 [2023-06-21T21:56:55.047Z] Removing intermediate container 1d93a53dfc07 [2023-06-21T21:56:55.047Z] ---> 03c3d2f16a65 [2023-06-21T21:56:55.047Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-06-21T21:56:55.047Z] ---> Running in 4bbf93c381d9 [2023-06-21T21:56:56.455Z] Removing intermediate container 4bbf93c381d9 [2023-06-21T21:56:56.455Z] ---> 4ee0c0ccfe27 [2023-06-21T21:56:56.455Z] Step 30/36 : EXPOSE 59983 [2023-06-21T21:56:56.455Z] ---> Running in f2133b12d76e [2023-06-21T21:56:56.724Z] Removing intermediate container f2133b12d76e [2023-06-21T21:56:56.724Z] ---> b7d9513da8e3 [2023-06-21T21:56:56.724Z] Step 31/36 : EXPOSE 8554 [2023-06-21T21:56:56.724Z] ---> Running in 99fc54a45b93 [2023-06-21T21:56:56.991Z] Removing intermediate container 99fc54a45b93 [2023-06-21T21:56:56.991Z] ---> e1e54ea95a7a [2023-06-21T21:56:56.991Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-06-21T21:56:56.991Z] ---> Running in 84db58a578b1 [2023-06-21T21:56:57.572Z] Removing intermediate container 84db58a578b1 [2023-06-21T21:56:57.572Z] ---> d53b058988e7 [2023-06-21T21:56:57.572Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-06-21T21:56:57.572Z] ---> Running in af9895120043 [2023-06-21T21:56:57.837Z] Removing intermediate container af9895120043 [2023-06-21T21:56:57.837Z] ---> 84aff793a9f7 [2023-06-21T21:56:57.837Z] Step 34/36 : LABEL arch=arm64 [2023-06-21T21:56:57.837Z] ---> Running in e488c41ddf27 [2023-06-21T21:56:58.105Z] Removing intermediate container e488c41ddf27 [2023-06-21T21:56:58.105Z] ---> ef4b5f31b175 [2023-06-21T21:56:58.105Z] Step 35/36 : LABEL git_sha=7c401f7ed779ff9b52302d9820057d21f93a528b [2023-06-21T21:56:58.105Z] ---> Running in 35e26ceb1ae1 [2023-06-21T21:56:58.370Z] Removing intermediate container 35e26ceb1ae1 [2023-06-21T21:56:58.370Z] ---> fb5096b17f0f [2023-06-21T21:56:58.370Z] Step 36/36 : LABEL version=0.0.0 [2023-06-21T21:56:58.370Z] ---> Running in c9310f99a50e [2023-06-21T21:56:58.636Z] Removing intermediate container c9310f99a50e [2023-06-21T21:56:58.636Z] ---> f8df2630af24 [2023-06-21T21:56:58.636Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-21T21:56:58.636Z] Successfully built f8df2630af24 [2023-06-21T21:56:58.903Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-21T21:56:59.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-21T21:56:59.355Z] [2023-06-21T21:56:59.355Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-21T21:56:59.678Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-21T21:56:59.679Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-21T21:56:59.679Z] 8998bd30e6a1: Pulling fs layer [2023-06-21T21:56:59.679Z] 04944245beec: Pulling fs layer [2023-06-21T21:56:59.679Z] 699f458cf7ca: Pulling fs layer [2023-06-21T21:56:59.679Z] 765212b225bb: Pulling fs layer [2023-06-21T21:56:59.679Z] f23df028b6ca: Pulling fs layer [2023-06-21T21:56:59.679Z] d65c8cfc05b1: Pulling fs layer [2023-06-21T21:56:59.679Z] 2437ff75d9bd: Pulling fs layer [2023-06-21T21:56:59.679Z] 765212b225bb: Waiting [2023-06-21T21:56:59.679Z] f23df028b6ca: Waiting [2023-06-21T21:56:59.679Z] d65c8cfc05b1: Waiting [2023-06-21T21:56:59.679Z] 2437ff75d9bd: Waiting [2023-06-21T21:56:59.947Z] 04944245beec: Verifying Checksum [2023-06-21T21:56:59.947Z] 04944245beec: Download complete [2023-06-21T21:56:59.947Z] 765212b225bb: Verifying Checksum [2023-06-21T21:56:59.947Z] 765212b225bb: Download complete [2023-06-21T21:56:59.947Z] f23df028b6ca: Verifying Checksum [2023-06-21T21:56:59.947Z] f23df028b6ca: Download complete [2023-06-21T21:56:59.947Z] d65c8cfc05b1: Verifying Checksum [2023-06-21T21:56:59.947Z] d65c8cfc05b1: Download complete [2023-06-21T21:57:00.214Z] 699f458cf7ca: Verifying Checksum [2023-06-21T21:57:00.214Z] 699f458cf7ca: Download complete [2023-06-21T21:57:00.480Z] 8998bd30e6a1: Verifying Checksum [2023-06-21T21:57:00.480Z] 8998bd30e6a1: Download complete [2023-06-21T21:57:03.060Z] 2437ff75d9bd: Verifying Checksum [2023-06-21T21:57:03.060Z] 2437ff75d9bd: Download complete [2023-06-21T21:57:04.466Z] 8998bd30e6a1: Pull complete [2023-06-21T21:57:04.734Z] 04944245beec: Pull complete [2023-06-21T21:57:06.139Z] 699f458cf7ca: Pull complete [2023-06-21T21:57:06.404Z] 765212b225bb: Pull complete [2023-06-21T21:57:08.351Z] f23df028b6ca: Pull complete [2023-06-21T21:57:08.351Z] d65c8cfc05b1: Pull complete [2023-06-21T21:57:23.331Z] 2437ff75d9bd: Pull complete [2023-06-21T21:57:23.331Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-21T21:57:23.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-21T21:57:23.331Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-21T21:57:23.515Z] prd-ubuntu20.04-docker-arm64-4c-16g-19017 does not seem to be running inside a container [2023-06-21T21:57:23.574Z] $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-06-21T21:57:25.943Z] $ docker top eb8513eb64dec256655d10dc8128348ee0a67e7d6e73c3fc89a30acc6e75601a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-21T21:57:26.426Z] ---> job-cost.sh [2023-06-21T21:57:26.690Z] lf-activate-venv: SKIPPING [2023-06-21T21:57:26.690Z] INFO: No Stack... [2023-06-21T21:57:26.953Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-21T21:57:27.902Z] INFO: Archiving Costs [Pipeline] sh [2023-06-21T21:57:28.213Z] + cat /w/workspace/device-usb-camera/3/archives/cost.csv [2023-06-21T21:57:28.213Z] + cut -d, -f6 [Pipeline] lock [2023-06-21T21:57:28.269Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] [2023-06-21T21:57:28.280Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] did not exist. Created. [2023-06-21T21:57:28.280Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-21T21:57:28.607Z] /w/workspace/device-usb-camera/3@tmp/durable-e3cc9540/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-21T21:57:28.930Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-21T21:57:28.953Z] Warning: overwriting stash ‘stack-cost’ [2023-06-21T21:57:28.993Z] Stashed 1 file(s) [Pipeline] } [2023-06-21T21:57:29.000Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-21T21:57:29.025Z] $ docker stop --time=1 eb8513eb64dec256655d10dc8128348ee0a67e7d6e73c3fc89a30acc6e75601a [2023-06-21T21:57:30.461Z] $ docker rm -f --volumes eb8513eb64dec256655d10dc8128348ee0a67e7d6e73c3fc89a30acc6e75601a [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 [2023-06-21T21:57:30.861Z] provisioning config files... [2023-06-21T21:57:30.868Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-261@tmp/config5292253338159010817tmp [Pipeline] { [Pipeline] sh [2023-06-21T21:57:31.157Z] + set +x [2023-06-21T21:57:31.158Z] + curl -s https://codecov.io/bash [2023-06-21T21:57:31.158Z] + bash -s -- [2023-06-21T21:57:31.158Z] [2023-06-21T21:57:31.158Z] _____ _ [2023-06-21T21:57:31.158Z] / ____| | | [2023-06-21T21:57:31.158Z] | | ___ __| | ___ ___ _____ __ [2023-06-21T21:57:31.158Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-06-21T21:57:31.158Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-06-21T21:57:31.158Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-06-21T21:57:31.158Z] Bash-1.0.6 [2023-06-21T21:57:31.158Z] [2023-06-21T21:57:31.158Z] [2023-06-21T21:57:31.158Z] ==> git version 2.25.1 found [2023-06-21T21:57:31.158Z] ==> 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 [2023-06-21T21:57:31.158Z] Release-Date: 2020-01-08 [2023-06-21T21:57:31.158Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-06-21T21:57:31.158Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-06-21T21:57:31.158Z] ==> Jenkins CI detected. [2023-06-21T21:57:31.158Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-261 [2023-06-21T21:57:31.158Z] project root: . [2023-06-21T21:57:31.158Z] --> token set from env [2023-06-21T21:57:31.158Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-06-21T21:57:31.158Z] ==> Running gcov in . (disable via -X gcov) [2023-06-21T21:57:31.158Z] ==> Python coveragepy not found [2023-06-21T21:57:31.158Z] ==> Searching for coverage reports in: [2023-06-21T21:57:31.158Z] + . [2023-06-21T21:57:31.158Z] -> Found 1 reports [2023-06-21T21:57:31.158Z] ==> Detecting git/mercurial file structure [2023-06-21T21:57:31.158Z] ==> Reading reports [2023-06-21T21:57:31.415Z] + ./coverage.out bytes=35910 [2023-06-21T21:57:31.416Z] ==> Appending adjustments [2023-06-21T21:57:31.416Z] https://docs.codecov.io/docs/fixing-reports [2023-06-21T21:57:31.416Z] + Found adjustments [2023-06-21T21:57:31.416Z] ==> Gzipping contents [2023-06-21T21:57:31.416Z] 8.0K /tmp/codecov.kvvarj.gz [2023-06-21T21:57:31.416Z] ==> Uploading reports [2023-06-21T21:57:31.416Z] url: https://codecov.io [2023-06-21T21:57:31.416Z] query: branch=PR-261&commit=adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-261%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=261&job=&cmd_args= [2023-06-21T21:57:31.416Z] -> Pinging Codecov [2023-06-21T21:57:31.416Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-261&commit=adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-261%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=261&job=&cmd_args= [2023-06-21T21:57:31.675Z] -> Uploading to [2023-06-21T21:57:31.675Z] https://storage.googleapis.com/codecov/v4/raw/2023-06-21/73D8F5FF140700D3E01443B452E23636/adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36/3f507f68-dc45-4699-afbc-4f61c5b20f9d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230621%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230621T215731Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=48d4d4cfa249fb9af17b5e98b7af80d76b4569eed9548be7313f52a96c2f26b3 [2023-06-21T21:57:31.675Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-21T21:57:31.675Z] Dload Upload Total Spent Left Speed [2023-06-21T21:57:31.933Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4912 0 0 100 4912 0 23061 --:--:-- --:--:-- --:--:-- 22953 100 4912 0 0 100 4912 0 22953 --:--:-- --:--:-- --:--:-- 22846 [2023-06-21T21:57:31.933Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 [Pipeline] } [2023-06-21T21:57:31.940Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-06-21T21:57:32.691Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-261/archives ] [2023-06-21T21:57:32.691Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-261/archives [2023-06-21T21:57:32.691Z] total 16 [2023-06-21T21:57:32.691Z] drwxr-xr-x 3 root root 4096 Jun 21 21:48 . [2023-06-21T21:57:32.691Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 21 21:48 .. [2023-06-21T21:57:32.691Z] drwxr-xr-x 2 root root 4096 Jun 21 21:48 cost [2023-06-21T21:57:32.691Z] -rw-r--r-- 1 root root 89 Jun 21 21:48 cost.csv [2023-06-21T21:57:32.691Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-261/archives [2023-06-21T21:57:32.691Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-261/archives [2023-06-21T21:57:32.691Z] total 16 [2023-06-21T21:57:32.691Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 21:48 . [2023-06-21T21:57:32.691Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 21 21:48 .. [2023-06-21T21:57:32.691Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 21:48 cost [2023-06-21T21:57:32.691Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 21 21:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-21T21:57:32.978Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-21T21:57:33.835Z] ---> package-listing.sh [2023-06-21T21:57:33.835Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-21T21:57:33.835Z] ++ facter osfamily [2023-06-21T21:57:34.094Z] + OS_FAMILY=debian [2023-06-21T21:57:34.094Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-261 [2023-06-21T21:57:34.094Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-21T21:57:34.094Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-21T21:57:34.094Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-21T21:57:34.094Z] + PACKAGES=/tmp/packages_start.txt [2023-06-21T21:57:34.094Z] + '[' /w/workspace/foundry_device-usb-camera_PR-261 ']' [2023-06-21T21:57:34.094Z] + PACKAGES=/tmp/packages_end.txt [2023-06-21T21:57:34.094Z] + case "${OS_FAMILY}" in [2023-06-21T21:57:34.094Z] + dpkg -l [2023-06-21T21:57:34.094Z] + grep '^ii' [2023-06-21T21:57:34.094Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-21T21:57:34.094Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-21T21:57:34.094Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-21T21:57:34.094Z] + '[' /w/workspace/foundry_device-usb-camera_PR-261 ']' [2023-06-21T21:57:34.094Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-261/archives/ [2023-06-21T21:57:34.094Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-261/archives/ [Pipeline] echo [2023-06-21T21:57:34.106Z] 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-261/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-21T21:57:34.382Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-21T21:57:34.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-21T21:57:34.940Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-21T21:57:35.009Z] prd-ubuntu20.04-docker-8c-8g-19016 does not seem to be running inside a container [2023-06-21T21:57:35.040Z] $ 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-261/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-261 -v /w/workspace/foundry_device-usb-camera_PR-261:/w/workspace/foundry_device-usb-camera_PR-261:rw,z -v /w/workspace/foundry_device-usb-camera_PR-261@tmp:/w/workspace/foundry_device-usb-camera_PR-261@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-21T21:57:35.230Z] $ docker top afd9202f6cca7b4940d61766d99f4414f4e40b516670780d5c668b318b56a32f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-21T21:57:35.574Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-21T21:57:35.860Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-21T21:57:36.148Z] + ls /var/log/sa-host [2023-06-21T21:57:36.148Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-21T21:57:36.309Z] provisioning config files... [2023-06-21T21:57:36.320Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-261@tmp/config12994564943304217770tmp [Pipeline] { [Pipeline] echo [2023-06-21T21:57:36.333Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-21T21:57:36.615Z] ---> create-netrc.sh [Pipeline] } [2023-06-21T21:57:36.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-21T21:57:36.953Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-21T21:57:36.961Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-21T21:57:37.245Z] ---> sudo-logs.sh [2023-06-21T21:57:37.245Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-21T21:57:37.274Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-21T21:57:37.556Z] ---> job-cost.sh [2023-06-21T21:57:37.556Z] lf-activate-venv: SKIPPING [2023-06-21T21:57:37.556Z] DEBUG: total: 0.2199999988079071 [2023-06-21T21:57:37.556Z] INFO: Retrieving Stack Cost... [2023-06-21T21:57:37.815Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-21T21:57:38.074Z] INFO: Archiving Costs [Pipeline] echo [2023-06-21T21:57:38.347Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-21T21:57:38.629Z] ---> logs-deploy.sh [2023-06-21T21:57:38.629Z] lf-activate-venv: SKIPPING [2023-06-21T21:57:38.629Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-261/3 [2023-06-21T21:57:38.629Z] INFO: archiving workspace using pattern(s): [2023-06-21T21:57:39.565Z] Archives upload complete. [2023-06-21T21:57:39.565Z] INFO: archiving logs to Nexus