Pull request #265 opened 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 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a rather than ba099dd10848f04b42b0348795a7e9835dbcc161 Obtained Jenkinsfile from 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 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-ssh8221851260726643833.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-ssh3773508326590116165.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3719753533018275339.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11324846549259608600.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12550364157913192677.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12192620327905421858.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1079 in /w/workspace/foundry_device-usb-camera_PR-265 [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-265 # 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/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit ba099dd10848f04b42b0348795a7e9835dbcc161 Merge succeeded, producing ba099dd10848f04b42b0348795a7e9835dbcc161 Checking out Revision ba099dd10848f04b42b0348795a7e9835dbcc161 (PR-265) > git config core.sparsecheckout # timeout=10 > git checkout -f ba099dd10848f04b42b0348795a7e9835dbcc161 # 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 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba099dd10848f04b42b0348795a7e9835dbcc161 # timeout=10 Commit message: "docs: update postman collection" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:22:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:22:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:22:05 ========================================================= 17:22:05 EdgeX Global Pipelines Version Info 17:22:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:22:06 ------------------- 17:22:06 stable info: 17:22:06 ------------------- 17:22:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:22:06 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:22:06 Message: update stable to v1.0.250 17:22:06 ------------------- 17:22:06 experimental info: 17:22:06 ------------------- 17:22:06 Commited By: **** collab-it+edgex@linuxfoundation.org 17:22:06 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:22:06 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:22:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:22:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:22:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:22:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:22:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:22:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:22:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:22:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:22:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo 17:22:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo 17:22:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo 17:22:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba099dd10848f04b42b0348795a7e9835dbcc161 [Pipeline] echo 17:22:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba099dd [Pipeline] echo 17:22:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:22:08 provisioning config files... 17:22:08 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config13676672598949468910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:09 ---> docker-login.sh 17:22:09 nexus3.edgexfoundry.org:10001 17:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:09 Configure a credential helper to remove this warning. See 17:22:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:09 17:22:09 Login Succeeded 17:22:09 nexus3.edgexfoundry.org:10002 17:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:09 Configure a credential helper to remove this warning. See 17:22:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:09 17:22:09 Login Succeeded 17:22:09 nexus3.edgexfoundry.org:10003 17:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:09 Configure a credential helper to remove this warning. See 17:22:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:09 17:22:09 Login Succeeded 17:22:09 nexus3.edgexfoundry.org:10004 17:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:09 Configure a credential helper to remove this warning. See 17:22:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:09 17:22:09 Login Succeeded 17:22:09 docker.io 17:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:10 Configure a credential helper to remove this warning. See 17:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:10 17:22:10 Login Succeeded 17:22:10 ---> docker-login.sh ends [Pipeline] } 17:22:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:22:10 + git rev-list -1 --merges ba099dd10848f04b42b0348795a7e9835dbcc161~1..ba099dd10848f04b42b0348795a7e9835dbcc161 [Pipeline] echo 17:22:10 -----------> git rev-list -1 --merges ba099dd10848f04b42b0348795a7e9835dbcc161~1..ba099dd10848f04b42b0348795a7e9835dbcc161 ba099dd10848f04b42b0348795a7e9835dbcc161 [false] [Pipeline] sh 17:22:11 + git log --format=format:%s -1 ba099dd10848f04b42b0348795a7e9835dbcc161 [Pipeline] echo 17:22:11 ========================================================= 17:22:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:22:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:11 + git log --format=format:%s -1 ba099dd10848f04b42b0348795a7e9835dbcc161 [Pipeline] echo 17:22:11 [semverPrep] GIT_COMMIT: ba099dd10848f04b42b0348795a7e9835dbcc161, Commit Message: docs: update postman collection [Pipeline] echo 17:22:11 [semverPrep] This is not a build commit. [Pipeline] sh 17:22:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:22:12 + grep -v github /etc/ssh/ssh_known_hosts 17:22:12 + [ -e /tmp/ssh_known_hosts ] 17:22:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:22:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:22:12 + sudo tee -a /etc/ssh/ssh_known_hosts 17:22:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:22:12 17:22:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:22:12 0.1.4: Pulling from edgex-devops/py-git-semver 17:22:12 b85a868b505f: Pulling fs layer 17:22:12 e2be974225ed: Pulling fs layer 17:22:12 339a4e72a1f5: Pulling fs layer 17:22:12 988bab9f4d93: Pulling fs layer 17:22:12 1469e6f7b9e6: Pulling fs layer 17:22:12 eaf3925da568: Pulling fs layer 17:22:12 bab4dde63d76: Pulling fs layer 17:22:12 bde34c3a00c8: Pulling fs layer 17:22:12 b352a97aabf1: Pulling fs layer 17:22:12 4872d77fe225: Pulling fs layer 17:22:12 5851b861e8e6: Pulling fs layer 17:22:12 bab4dde63d76: Waiting 17:22:12 988bab9f4d93: Waiting 17:22:12 eaf3925da568: Waiting 17:22:12 1469e6f7b9e6: Waiting 17:22:12 bde34c3a00c8: Waiting 17:22:12 4872d77fe225: Waiting 17:22:12 5851b861e8e6: Waiting 17:22:12 b352a97aabf1: Waiting 17:22:12 e2be974225ed: Verifying Checksum 17:22:12 e2be974225ed: Download complete 17:22:12 988bab9f4d93: Verifying Checksum 17:22:12 988bab9f4d93: Download complete 17:22:13 1469e6f7b9e6: Verifying Checksum 17:22:13 1469e6f7b9e6: Download complete 17:22:13 339a4e72a1f5: Verifying Checksum 17:22:13 339a4e72a1f5: Download complete 17:22:13 eaf3925da568: Download complete 17:22:13 bde34c3a00c8: Download complete 17:22:13 b352a97aabf1: Verifying Checksum 17:22:13 b352a97aabf1: Download complete 17:22:13 4872d77fe225: Verifying Checksum 17:22:13 4872d77fe225: Download complete 17:22:13 5851b861e8e6: Verifying Checksum 17:22:13 5851b861e8e6: Download complete 17:22:13 b85a868b505f: Verifying Checksum 17:22:13 b85a868b505f: Download complete 17:22:13 bab4dde63d76: Verifying Checksum 17:22:13 bab4dde63d76: Download complete 17:22:14 b85a868b505f: Pull complete 17:22:14 e2be974225ed: Pull complete 17:22:15 339a4e72a1f5: Pull complete 17:22:15 988bab9f4d93: Pull complete 17:22:15 1469e6f7b9e6: Pull complete 17:22:15 eaf3925da568: Pull complete 17:22:17 bab4dde63d76: Pull complete 17:22:17 bde34c3a00c8: Pull complete 17:22:17 b352a97aabf1: Pull complete 17:22:17 4872d77fe225: Pull complete 17:22:17 5851b861e8e6: Pull complete 17:22:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:22:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:22:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:17 prd-ubuntu20.04-docker-8c-8g-1079 does not seem to be running inside a container 17:22:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:22:21 $ docker top 135ea8aca18a91895f14be9720dd6ff59bd841aed8cff46585266cbf67153a7d -eo pid,comm 17:22:21 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). 17:22:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:22:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:22:21 [ssh-agent] Looking for ssh-agent implementation... 17:22:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:22:21 $ docker exec 135ea8aca18a91895f14be9720dd6ff59bd841aed8cff46585266cbf67153a7d ssh-agent 17:22:21 SSH_AUTH_SOCK=/tmp/ssh-wjbrQjAlEeeR/agent.31 17:22:21 SSH_AGENT_PID=37 17:22:21 Running ssh-add (command line suppressed) 17:22:21 Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_10111635828218710280.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_10111635828218710280.key) 17:22:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:22:22 + git tag --points-at HEAD [Pipeline] } 17:22:22 $ docker exec --env ******** --env ******** 135ea8aca18a91895f14be9720dd6ff59bd841aed8cff46585266cbf67153a7d ssh-agent -k 17:22:22 unset SSH_AUTH_SOCK; 17:22:22 unset SSH_AGENT_PID; 17:22:22 echo Agent pid 37 killed; 17:22:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:22:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:22:22 [ssh-agent] Looking for ssh-agent implementation... 17:22:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:22:22 $ docker exec 135ea8aca18a91895f14be9720dd6ff59bd841aed8cff46585266cbf67153a7d ssh-agent 17:22:22 SSH_AUTH_SOCK=/tmp/ssh-A62gQ29IbkqB/agent.69 17:22:22 SSH_AGENT_PID=75 17:22:22 Running ssh-add (command line suppressed) 17:22:22 Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_1500441887602915602.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_1500441887602915602.key) 17:22:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:22:23 + git semver init 17:22:23 2023-07-13 17:22:23,352 [run_init] DEBUG init version:0.0.0 force:False 17:22:23 2023-07-13 17:22:23,352 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver 17:22:23 2023-07-13 17:22:23,353 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-265/.semver 17:22:23 2023-07-13 17:22:23,353 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-265/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-265, universal_newlines=False, shell=None, istream=None) 17:22:24 2023-07-13 17:22:24,102 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude 17:22:24 2023-07-13 17:22:24,103 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 with force:False 17:22:24 2023-07-13 17:22:24,103 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 17:22:24 2023-07-13 17:22:24,107 [execute] INFO git cat-file --batch-check 17:22:24 2023-07-13 17:22:24,107 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) 17:22:24 2023-07-13 17:22:24,114 [execute] INFO git cat-file --batch 17:22:24 2023-07-13 17:22:24,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) 17:22:24 2023-07-13 17:22:24,118 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 17:22:24 0.0.0 [Pipeline] } 17:22:24 $ docker exec --env ******** --env ******** 135ea8aca18a91895f14be9720dd6ff59bd841aed8cff46585266cbf67153a7d ssh-agent -k 17:22:24 unset SSH_AUTH_SOCK; 17:22:24 unset SSH_AGENT_PID; 17:22:24 echo Agent pid 75 killed; 17:22:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:22:24 + git semver [Pipeline] } 17:22:25 $ docker stop --time=1 135ea8aca18a91895f14be9720dd6ff59bd841aed8cff46585266cbf67153a7d 17:22:26 $ docker rm -f --volumes 135ea8aca18a91895f14be9720dd6ff59bd841aed8cff46585266cbf67153a7d [Pipeline] // withDockerContainer [Pipeline] sh 17:22:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:22:27 Stashed 1 file(s) [Pipeline] echo 17:22:27 [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 17:22:27 provisioning config files... 17:22:27 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config1354517147887211711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:28 ---> docker-login.sh 17:22:28 nexus3.edgexfoundry.org:10001 17:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:28 Configure a credential helper to remove this warning. See 17:22:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:28 17:22:28 Login Succeeded 17:22:28 nexus3.edgexfoundry.org:10002 17:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:28 Configure a credential helper to remove this warning. See 17:22:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:28 17:22:28 Login Succeeded 17:22:28 nexus3.edgexfoundry.org:10003 17:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:28 Configure a credential helper to remove this warning. See 17:22:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:28 17:22:28 Login Succeeded 17:22:28 nexus3.edgexfoundry.org:10004 17:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:28 Configure a credential helper to remove this warning. See 17:22:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:28 17:22:28 Login Succeeded 17:22:28 docker.io 17:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:28 Configure a credential helper to remove this warning. See 17:22:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:28 17:22:28 Login Succeeded 17:22:28 ---> docker-login.sh ends [Pipeline] } 17:22:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:22:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:28 ========================================================= 17:22:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:22:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:29 + 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 . 17:22:29 Sending build context to Docker daemon 2.097MB 17:22:29 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:22:29 Step 2/13 : FROM ${BASE} AS builder 17:22:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:22:29 4db1b89c0bd1: Pulling fs layer 17:22:29 6911f1a30b25: Pulling fs layer 17:22:29 e194b8c5c2a9: Pulling fs layer 17:22:29 6863d3e3a2b1: Pulling fs layer 17:22:29 ec0bb842ea78: Pulling fs layer 17:22:29 40a00589a448: Pulling fs layer 17:22:29 6c08303d61cc: Pulling fs layer 17:22:29 798269fcf238: Pulling fs layer 17:22:29 6863d3e3a2b1: Waiting 17:22:29 40a00589a448: Waiting 17:22:29 6c08303d61cc: Waiting 17:22:29 798269fcf238: Waiting 17:22:29 ec0bb842ea78: Waiting 17:22:29 6911f1a30b25: Download complete 17:22:29 6863d3e3a2b1: Verifying Checksum 17:22:29 6863d3e3a2b1: Download complete 17:22:29 ec0bb842ea78: Verifying Checksum 17:22:29 ec0bb842ea78: Download complete 17:22:29 4db1b89c0bd1: Verifying Checksum 17:22:29 4db1b89c0bd1: Download complete 17:22:29 40a00589a448: Verifying Checksum 17:22:29 40a00589a448: Download complete 17:22:29 4db1b89c0bd1: Pull complete 17:22:30 6911f1a30b25: Pull complete 17:22:30 798269fcf238: Download complete 17:22:30 e194b8c5c2a9: Verifying Checksum 17:22:30 e194b8c5c2a9: Download complete 17:22:30 6c08303d61cc: Verifying Checksum 17:22:30 6c08303d61cc: Download complete 17:22:34 e194b8c5c2a9: Pull complete 17:22:34 6863d3e3a2b1: Pull complete 17:22:34 ec0bb842ea78: Pull complete 17:22:34 40a00589a448: Pull complete 17:22:36 6c08303d61cc: Pull complete 17:22:37 798269fcf238: Pull complete 17:22:37 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 17:22:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:22:37 ---> ec979cd7f677 17:22:37 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:22:42 ---> Running in 6b14c24fdaa7 17:22:42 Removing intermediate container 6b14c24fdaa7 17:22:42 ---> dd4192bf9f44 17:22:42 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:22:42 ---> Running in 56c116fe7da8 17:22:42 Removing intermediate container 56c116fe7da8 17:22:42 ---> a1217d2a166f 17:22:42 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:22:42 ---> Running in d55a770ad5dd 17:22:42 Removing intermediate container d55a770ad5dd 17:22:42 ---> a0ee30398280 17:22:42 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:22:42 ---> Running in f58d222253f1 17:22:42 Removing intermediate container f58d222253f1 17:22:42 ---> 4895d2df1f72 17:22:42 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:42 ---> Running in 64a862ace1b8 17:22:42 Still waiting to schedule task 17:22:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:22:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:22:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:22:43 (1/14) Installing libintl (0.21.1-r1) 17:22:43 (2/14) Installing eudev-libs (3.2.11-r4) 17:22:43 (3/14) Installing libjpeg-turbo (2.1.4-r0) 17:22:43 (4/14) Installing v4l-utils-libs (1.22.1-r2) 17:22:43 (5/14) Installing v4l-utils (1.22.1-r2) 17:22:43 (6/14) Installing udev-init-scripts (35-r1) 17:22:43 (7/14) Installing libblkid (2.38.1-r1) 17:22:43 (8/14) Installing xz-libs (5.2.9-r0) 17:22:43 (9/14) Installing zstd-libs (1.5.5-r0) 17:22:43 (10/14) Installing kmod-libs (30-r1) 17:22:43 (11/14) Installing eudev (3.2.11-r4) 17:22:43 (12/14) Installing eudev-dev (3.2.11-r4) 17:22:43 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 17:22:43 (14/14) Installing v4l-utils-dev (1.22.1-r2) 17:22:43 Executing busybox-1.35.0-r29.trigger 17:22:43 Executing eudev-3.2.11-r4.trigger 17:22:43 OK: 272 MiB in 67 packages 17:22:44 Removing intermediate container 64a862ace1b8 17:22:44 ---> 85b9146b1239 17:22:44 Step 8/13 : WORKDIR /device-usb-camera 17:22:44 ---> Running in 637ea72402af 17:22:44 Removing intermediate container 637ea72402af 17:22:44 ---> a6633dee3aed 17:22:44 Step 9/13 : COPY go.mod vendor* ./ 17:22:44 ---> a827f90c8ba0 17:22:44 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:44 ---> Running in b8645aa252e8 17:23:40 Removing intermediate container b8645aa252e8 17:23:40 ---> e999aa9b30ce 17:23:40 Step 11/13 : COPY . . 17:23:40 ---> 7435b3800d11 17:23:40 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:23:40 ---> Running in e6512a68a849 17:23:40  % Total % Received % Xferd Average Speed Time Time Time Current 17:23:40 Dload Upload Total Spent Left Speed 17:23:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6192 0 --:--:-- --:--:-- --:--:-- 6210 17:23:40 Removing intermediate container e6512a68a849 17:23:40 ---> 25e27eaa51e8 17:23:40 Step 13/13 : RUN ${MAKE} 17:23:40 ---> Running in ff753d3fb2ae 17:23:40 noop 17:23:40 Removing intermediate container ff753d3fb2ae 17:23:40 ---> 6177421bcbc0 17:23:40 Successfully built 6177421bcbc0 17:23:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:41 + docker inspect -f . ci-base-image-x86_64 17:23:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:41 prd-ubuntu20.04-docker-8c-8g-1079 does not seem to be running inside a container 17:23:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@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 ******** ci-base-image-x86_64 cat 17:23:41 $ docker top 60f76a546c926ca5d03e62b0bb3b35cb380be601303ba174ec3f883a55143c60 -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:42 + go version 17:23:42 go version go1.20.6 linux/amd64 [Pipeline] } 17:23:42 $ docker stop --time=1 60f76a546c926ca5d03e62b0bb3b35cb380be601303ba174ec3f883a55143c60 17:23:43 $ docker rm -f --volumes 60f76a546c926ca5d03e62b0bb3b35cb380be601303ba174ec3f883a55143c60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:44 + docker inspect -f . ci-base-image-x86_64 17:23:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:44 prd-ubuntu20.04-docker-8c-8g-1079 does not seem to be running inside a container 17:23:44 $ 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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@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 ******** ci-base-image-x86_64 cat 17:23:44 $ docker top 4b94069b5206a93229c545edee9f544d46b9c241e1b7c056835e95292f640ade -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:45 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh 17:23:45 + make test 17:23:45 go test ./... -coverprofile=coverage.out ./... 17:23:50 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:24:00 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:24:01 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 3.7% of statements 17:24:07 go vet ./... 17:24:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:24:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:24:11 ./bin/test-attribution-txt.sh [Pipeline] echo 17:24:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:24:11 $ docker stop --time=1 4b94069b5206a93229c545edee9f544d46b9c241e1b7c056835e95292f640ade 17:24:17 $ docker rm -f --volumes 4b94069b5206a93229c545edee9f544d46b9c241e1b7c056835e95292f640ade [Pipeline] // withDockerContainer [Pipeline] sh 17:24:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:24:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:24:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:24:18 + ls -al . 17:24:18 total 204 17:24:18 drwxrwxr-x 10 jenkins jenkins 4096 Jul 13 17:23 . 17:24:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 17:21 .. 17:24:18 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 17:22 .git 17:24:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 17:22 .github 17:24:18 -rw-rw-r-- 1 jenkins jenkins 414 Jul 13 17:22 .gitignore 17:24:18 -rw-rw-r-- 1 jenkins jenkins 45 Jul 13 17:22 .golangci.yml 17:24:18 -rw-rw-r-- 1 jenkins jenkins 77 Jul 13 17:22 .hadolint.yml 17:24:18 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 17:22 .semver 17:24:18 -rw-rw-r-- 1 jenkins jenkins 9783 Jul 13 17:22 Attribution.txt 17:24:18 -rw-rw-r-- 1 jenkins jenkins 11903 Jul 13 17:22 CHANGELOG.md 17:24:18 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 13 17:22 Dockerfile 17:24:18 -rw-rw-r-- 1 jenkins jenkins 678 Jul 13 17:22 GOVERNANCE.md 17:24:18 -rw-rw-r-- 1 jenkins jenkins 659 Jul 13 17:22 Jenkinsfile 17:24:18 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 13 17:22 LICENSE 17:24:18 -rw-rw-r-- 1 jenkins jenkins 2364 Jul 13 17:22 Makefile 17:24:18 -rw-rw-r-- 1 jenkins jenkins 622 Jul 13 17:22 OWNERS.md 17:24:18 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 13 17:22 README.md 17:24:18 -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 17:22 VERSION 17:24:18 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 17:22 bin 17:24:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 17:22 cmd 17:24:18 -rw-r--r-- 1 jenkins jenkins 40973 Jul 13 17:24 coverage.out 17:24:18 -rwxrwxr-x 1 jenkins jenkins 140 Jul 13 17:22 docker-entrypoint.sh 17:24:18 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 17:22 docs 17:24:18 -rw-rw-r-- 1 jenkins jenkins 3416 Jul 13 17:22 go.mod 17:24:18 -rw-rw-r-- 1 jenkins jenkins 31482 Jul 13 17:22 go.sum 17:24:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 17:22 internal 17:24:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 17:22 snap 17:24:18 -rw-rw-r-- 1 jenkins jenkins 231 Jul 13 17:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:19 + 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=ba099dd10848f04b42b0348795a7e9835dbcc161 --label arch=amd64 --label version=0.0.0 . 17:24:19 Sending build context to Docker daemon 2.139MB 17:24:19 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 17:24:19 Step 2/36 : FROM ${BASE} AS builder 17:24:19 ---> 6177421bcbc0 17:24:19 Step 3/36 : ARG ADD_BUILD_TAGS="" 17:24:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1080 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { 17:24:19 ---> Running in a113551fa688 17:24:19 Removing intermediate container a113551fa688 17:24:19 ---> 547002fa5694 17:24:19 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:24:19 ---> Running in 2a3f35f29d1a 17:24:19 Removing intermediate container 2a3f35f29d1a 17:24:19 ---> b37016eaf074 17:24:19 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:24:19 ---> Running in cf2829eb6848 [Pipeline] ws 17:24:19 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 17:24:19 Selected Git installation does not exist. Using Default 17:24:19 The recommended git tool is: NONE 17:24:19 Removing intermediate container cf2829eb6848 17:24:19 ---> 45b76f27d306 17:24:19 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:24:19 ---> Running in 5da770a6ae7e 17:24:19 Removing intermediate container 5da770a6ae7e 17:24:19 ---> 4546e3d569a0 17:24:19 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:24:19 ---> Running in 1632142e9574 17:24:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:24:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:24:20 OK: 272 MiB in 67 packages 17:24:20 Removing intermediate container 1632142e9574 17:24:20 ---> 075a816c0352 17:24:20 Step 8/36 : WORKDIR /device-usb-camera 17:24:20 ---> Running in 210b3aa7f9d2 17:24:20 Removing intermediate container 210b3aa7f9d2 17:24:20 ---> 7125b436f373 17:24:20 Step 9/36 : COPY go.mod vendor* ./ 17:24:20 ---> 4881016a3799 17:24:20 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:24:20 ---> Running in 68bce7279343 17:24:21 Removing intermediate container 68bce7279343 17:24:21 ---> 543a432a3887 17:24:21 Step 11/36 : COPY . . 17:24:22 ---> 3d0830baab5b 17:24:22 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:24:22 ---> Running in 69e4418c83a9 17:24:22  % Total % Received % Xferd Average Speed Time Time Time Current 17:24:22  Dload Upload Total Spent Left Speed 17:24:22 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20043 0 --:--:-- --:--:-- --:--:-- 20423 17:24:23 Removing intermediate container 69e4418c83a9 17:24:23 ---> 58f413ab888f 17:24:23 Step 13/36 : RUN ${MAKE} 17:24:23 ---> Running in e11b3391f51c 17:24:23 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:24:24 using credential edgex-jenkins-ssh 17:24:24 Cloning the remote Git repository 17:24:24 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:24:24 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:24:24 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:24:24 > git --version # timeout=10 17:24:24 > git --version # 'git version 2.25.1' 17:24:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:24:25 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:24:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:24:26 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:24:26 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:24:26 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:24:27 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit ba099dd10848f04b42b0348795a7e9835dbcc161 17:24:27 Merge succeeded, producing ba099dd10848f04b42b0348795a7e9835dbcc161 17:24:27 Checking out Revision ba099dd10848f04b42b0348795a7e9835dbcc161 (PR-265) 17:24:27 > git config core.sparsecheckout # timeout=10 17:24:27 > git checkout -f ba099dd10848f04b42b0348795a7e9835dbcc161 # timeout=10 17:24:27 > git remote # timeout=10 17:24:27 > git config --get remote.origin.url # timeout=10 17:24:27 using GIT_SSH to set credentials SSH Credentials for GitHub 17:24:27 > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 17:24:27 > git rev-parse HEAD^{commit} # timeout=10 17:24:27 > git config core.sparsecheckout # timeout=10 17:24:27 > git checkout -f ba099dd10848f04b42b0348795a7e9835dbcc161 # timeout=10 17:24:30 Commit message: "docs: update postman collection" 17:24:30 > git --version # timeout=10 17:24:30 > git --version # 'git version 2.25.1' 17:24:30 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:24:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:24:32 % Total % Received % Xferd Average Speed Time Time Time Current 17:24:32 Dload Upload Total Spent Left Speed 17:24:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77278 0 --:--:-- --:--:-- --:--:-- 77750 [Pipeline] sh 17:24:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:24:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:24:33 + sudo tee /etc/docker/daemon.new 17:24:33 { 17:24:33 "registry-mirrors": [ 17:24:33 "https://nexus3.edgexfoundry.org:10001" 17:24:33 ], 17:24:33 "bip": "10.250.0.254/24", 17:24:33 "hosts": [ 17:24:33 "tcp://0.0.0.0:5555", 17:24:33 "unix:///var/run/docker.sock" 17:24:33 ], 17:24:33 "mtu": 1458, 17:24:33 "selinux-enabled": true, 17:24:33 "seccomp-profile": "/etc/docker/seccomp.json" 17:24:33 } [Pipeline] sh 17:24:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:24:33 + sudo service docker restart 17:24:45 Removing intermediate container e11b3391f51c 17:24:45 ---> 2a42b837d00a 17:24:45 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:24:45 v0.21.6: Pulling from aler9/rtsp-simple-server 17:24:45 4acc49c71d14: Pulling fs layer 17:24:45 4acc49c71d14: Verifying Checksum 17:24:45 4acc49c71d14: Download complete 17:24:45 4acc49c71d14: Pull complete 17:24:45 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:24:45 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 17:24:45 ---> 01a2bd3e5fff 17:24:45 Step 15/36 : FROM alpine:3.17 17:24:46 3.17: Pulling from library/alpine 17:24:46 4db1b89c0bd1: Already exists 17:24:46 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 17:24:46 Status: Downloaded newer image for alpine:3.17 17:24:46 ---> 1f73a9d63274 17:24:46 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:24:46 ---> Running in bfd865830c13 17:24:46 Removing intermediate container bfd865830c13 17:24:46 ---> 727ac94f019d 17:24:46 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:24:46 ---> Running in fd94ea4dfdb5 17:24:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:24:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:24:47 (1/86) Installing dumb-init (1.2.5-r2) 17:24:47 (2/86) Installing sdl2 (2.26.5-r0) 17:24:47 (3/86) Installing svt-av1-libs (1.3.0-r0) 17:24:47 (4/86) Installing libxau (1.0.10-r0) 17:24:47 (5/86) Installing libmd (1.0.4-r0) 17:24:47 (6/86) Installing libbsd (0.11.7-r0) 17:24:47 (7/86) Installing libxdmcp (1.1.4-r0) 17:24:47 (8/86) Installing libxcb (1.15-r0) 17:24:47 (9/86) Installing libx11 (1.8.4-r1) 17:24:47 (10/86) Installing aom-libs (3.5.0-r0) 17:24:47 (11/86) Installing alsa-lib (1.2.8-r0) 17:24:47 (12/86) Installing libexpat (2.5.0-r0) 17:24:47 (13/86) Installing brotli-libs (1.0.9-r9) 17:24:47 (14/86) Installing libbz2 (1.0.8-r4) 17:24:47 (15/86) Installing libpng (1.6.38-r0) 17:24:47 (16/86) Installing freetype (2.12.1-r0) 17:24:47 (17/86) Installing fontconfig (2.14.1-r0) 17:24:47 (18/86) Installing fribidi (1.0.12-r0) 17:24:47 (19/86) Installing libffi (3.4.4-r0) 17:24:47 (20/86) Installing libintl (0.21.1-r1) 17:24:47 (21/86) Installing libblkid (2.38.1-r1) 17:24:47 (22/86) Installing libmount (2.38.1-r1) 17:24:47 (23/86) Installing pcre2 (10.42-r0) 17:24:47 (24/86) Installing glib (2.74.7-r0) 17:24:47 (25/86) Installing graphite2 (1.3.14-r2) 17:24:47 (26/86) Installing harfbuzz (5.3.1-r1) 17:24:47 (27/86) Installing libass (0.16.0-r1) 17:24:47 (28/86) Installing libdav1d (1.0.0-r2) 17:24:48 (29/86) Installing hwdata-pci (0.364-r0) 17:24:48 (30/86) Installing libpciaccess (0.17-r0) 17:24:48 (31/86) Installing libdrm (2.4.114-r0) 17:24:48 (32/86) Installing gmp (6.2.1-r2) 17:24:48 (33/86) Installing nettle (3.8.1-r0) 17:24:48 (34/86) Installing p11-kit (0.24.1-r1) 17:24:48 (35/86) Installing libtasn1 (4.19.0-r0) 17:24:48 (36/86) Installing libunistring (1.1-r0) 17:24:48 (37/86) Installing gnutls (3.7.8-r3) 17:24:48 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 17:24:48 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 17:24:48 (40/86) Installing lame (3.100-r2) 17:24:48 (41/86) Installing opus (1.3.1-r1) 17:24:48 (42/86) Installing libasyncns (0.8-r1) 17:24:48 (43/86) Installing dbus-libs (1.14.8-r0) 17:24:48 (44/86) Installing libltdl (2.4.7-r1) 17:24:48 (45/86) Installing orc (0.4.33-r0) 17:24:48 (46/86) Installing libgcc (12.2.1_git20220924-r4) 17:24:48 (47/86) Installing libogg (1.3.5-r2) 17:24:48 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 17:24:48 (49/86) Installing flac-libs (1.4.2-r0) 17:24:48 (50/86) Installing libvorbis (1.3.7-r0) 17:24:48 (51/86) Installing libsndfile (1.1.0-r2) 17:24:48 (52/86) Installing libgomp (12.2.1_git20220924-r4) 17:24:48 (53/86) Installing soxr (0.1.3-r3) 17:24:48 (54/86) Installing speexdsp (1.2.1-r0) 17:24:48 (55/86) Installing tdb-libs (1.4.6-r0) 17:24:48 (56/86) Installing libpulse (16.1-r6) 17:24:48 (57/86) Installing cjson (1.7.15-r3) 17:24:48 (58/86) Installing mbedtls (2.28.3-r0) 17:24:48 (59/86) Installing librist (0.2.7-r0) 17:24:48 (60/86) Installing libsrt (1.5.1-r0) 17:24:48 (61/86) Installing libssh (0.10.5-r0) 17:24:48 (62/86) Installing libtheora (1.1.1-r16) 17:24:48 (63/86) Installing libjpeg-turbo (2.1.4-r0) 17:24:48 (64/86) Installing v4l-utils-libs (1.22.1-r2) 17:24:48 (65/86) Installing libxext (1.3.5-r0) 17:24:48 (66/86) Installing libxfixes (6.0.0-r0) 17:24:48 (67/86) Installing wayland-libs-client (1.21.0-r1) 17:24:48 (68/86) Installing libva (2.16.0-r0) 17:24:48 (69/86) Installing libvdpau (1.5-r0) 17:24:48 (70/86) Installing vidstab (1.1.0-r2) 17:24:48 (71/86) Installing libvpx (1.12.0-r1) 17:24:48 (72/86) Installing libwebp (1.2.4-r2) 17:24:48 (73/86) Installing x264-libs (0.164_git20220602-r0) 17:24:48 (74/86) Installing numactl (2.0.16-r1) 17:24:48 (75/86) Installing x265-libs (3.5-r3) 17:24:48 (76/86) Installing xvidcore (1.3.7-r1) 17:24:48 (77/86) Installing libsodium (1.0.18-r2) 17:24:48 (78/86) Installing libzmq (4.3.4-r1) 17:24:48 (79/86) Installing ffmpeg-libs (5.1.3-r0) 17:24:48 (80/86) Installing ffmpeg (5.1.3-r0) 17:24:49 (81/86) Installing udev-init-scripts (35-r1) 17:24:49 (82/86) Installing eudev-libs (3.2.11-r4) 17:24:49 (83/86) Installing xz-libs (5.2.9-r0) 17:24:49 (84/86) Installing zstd-libs (1.5.5-r0) 17:24:49 (85/86) Installing kmod-libs (30-r1) 17:24:49 (86/86) Installing eudev (3.2.11-r4) 17:24:49 Executing busybox-1.35.0-r29.trigger 17:24:49 Executing eudev-3.2.11-r4.trigger 17:24:49 OK: 112 MiB in 101 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:24:52 provisioning config files... 17:24:52 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config14813007490524177049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:52 ---> docker-login.sh 17:24:52 nexus3.edgexfoundry.org:10001 17:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:53 Configure a credential helper to remove this warning. See 17:24:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:53 17:24:53 Login Succeeded 17:24:53 nexus3.edgexfoundry.org:10002 17:24:53 Removing intermediate container fd94ea4dfdb5 17:24:53 ---> 7217704765f4 17:24:53 Step 18/36 : WORKDIR / 17:24:53 ---> Running in 30d90fdd2e49 17:24:53 Removing intermediate container 30d90fdd2e49 17:24:53 ---> 39ca72989273 17:24:53 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 17:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:53 Configure a credential helper to remove this warning. See 17:24:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:53 17:24:53 Login Succeeded 17:24:53 nexus3.edgexfoundry.org:10003 17:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:53 Configure a credential helper to remove this warning. See 17:24:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:53 17:24:53 Login Succeeded 17:24:53 nexus3.edgexfoundry.org:10004 17:24:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:54 Configure a credential helper to remove this warning. See 17:24:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:54 17:24:54 Login Succeeded 17:24:54 docker.io 17:24:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:54 ---> 28d8c53526f2 17:24:54 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 17:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:54 Configure a credential helper to remove this warning. See 17:24:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:54 17:24:54 Login Succeeded 17:24:54 ---> docker-login.sh ends [Pipeline] } 17:24:54 Deleting 1 temporary files [Pipeline] // configFileProvider 17:24:54 ---> 5e09b222cb78 17:24:54 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:24:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:24:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:24:55 ========================================================= 17:24:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:24:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 17:24:55 ---> 2462ff182c45 17:24:55 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [Pipeline] sh 17:24:55 + 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 . 17:24:55 ---> c2467864b4ec 17:24:55 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:24:56 Sending build context to Docker daemon 1.284MB 17:24:56 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:24:56 Step 2/13 : FROM ${BASE} AS builder 17:24:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:24:56 edb6bdbacee9: Pulling fs layer 17:24:56 5f9638ab2659: Pulling fs layer 17:24:56 8d51d6327a98: Pulling fs layer 17:24:56 8b374f2dd631: Pulling fs layer 17:24:56 ec14aa9079de: Pulling fs layer 17:24:56 2f466654f4bb: Pulling fs layer 17:24:56 554e91adad29: Pulling fs layer 17:24:56 8b374f2dd631: Waiting 17:24:56 ec14aa9079de: Waiting 17:24:56 2f466654f4bb: Waiting 17:24:56 554e91adad29: Waiting 17:24:56 5f9638ab2659: Verifying Checksum 17:24:56 5f9638ab2659: Download complete 17:24:56 8b374f2dd631: Verifying Checksum 17:24:56 8b374f2dd631: Download complete 17:24:56 ec14aa9079de: Download complete 17:24:56 edb6bdbacee9: Verifying Checksum 17:24:56 edb6bdbacee9: Download complete 17:24:56 ---> 156c354b4838 17:24:56 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 17:24:57 ---> d6b2bb262dcb 17:24:57 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 17:24:57 554e91adad29: Verifying Checksum 17:24:57 554e91adad29: Download complete 17:24:58 ---> 822b735040c3 17:24:58 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:24:58 2f466654f4bb: Download complete 17:24:58 8d51d6327a98: Download complete 17:24:58 ---> Running in b72c0038c433 17:25:00 Removing intermediate container b72c0038c433 17:25:00 ---> 0b85a5c197bf 17:25:00 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:25:00 ---> Running in 9dbaadc4cedd 17:25:00 edb6bdbacee9: Pull complete 17:25:00 5f9638ab2659: Pull complete 17:25:01 Removing intermediate container 9dbaadc4cedd 17:25:01 ---> 835412e2a713 17:25:01 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:25:01 ---> Running in 1a945d1f7667 17:25:01 Removing intermediate container 1a945d1f7667 17:25:01 ---> 776f5966cf21 17:25:01 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 17:25:01 ---> Running in 1d11f63c2a1f 17:25:02 Removing intermediate container 1d11f63c2a1f 17:25:02 ---> 173d827a734c 17:25:02 Step 30/36 : EXPOSE 59983 17:25:02 ---> Running in 3489fecdd6fd 17:25:02 Removing intermediate container 3489fecdd6fd 17:25:02 ---> c0ca33313d65 17:25:02 Step 31/36 : EXPOSE 8554 17:25:02 ---> Running in a355890a5d09 17:25:02 Removing intermediate container a355890a5d09 17:25:02 ---> a268e6495a7a 17:25:02 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:25:02 ---> Running in 542c0825ed25 17:25:02 Removing intermediate container 542c0825ed25 17:25:02 ---> 8af42024fc3a 17:25:02 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:25:02 ---> Running in a38bdd405dc4 17:25:02 Removing intermediate container a38bdd405dc4 17:25:02 ---> a2559386a344 17:25:02 Step 34/36 : LABEL arch=amd64 17:25:02 ---> Running in 72e4dfc917d1 17:25:02 Removing intermediate container 72e4dfc917d1 17:25:02 ---> d6dc25920ddf 17:25:02 Step 35/36 : LABEL git_sha=ba099dd10848f04b42b0348795a7e9835dbcc161 17:25:02 ---> Running in 07626e6fbf20 17:25:02 Removing intermediate container 07626e6fbf20 17:25:02 ---> c485ae148559 17:25:02 Step 36/36 : LABEL version=0.0.0 17:25:02 ---> Running in 9e406434fd03 17:25:02 Removing intermediate container 9e406434fd03 17:25:02 ---> 8fa3de063fbe 17:25:02 [Warning] One or more build-args [ARCH] were not consumed 17:25:02 Successfully built 8fa3de063fbe 17:25:02 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 17:25:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:03 17:25:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:04 latest: Pulling from edgex-lftools-log-publisher 17:25:04 5eb5b503b376: Pulling fs layer 17:25:04 5c69ac0246d0: Pulling fs layer 17:25:04 ec43610c2a17: Pulling fs layer 17:25:04 3a2ae6a8a46f: Pulling fs layer 17:25:04 33b1e0a273af: Pulling fs layer 17:25:04 5d3b04190fa2: Pulling fs layer 17:25:04 2f39f015ded8: Pulling fs layer 17:25:04 5d3b04190fa2: Waiting 17:25:04 3a2ae6a8a46f: Waiting 17:25:04 33b1e0a273af: Waiting 17:25:04 2f39f015ded8: Waiting 17:25:04 5c69ac0246d0: Download complete 17:25:04 3a2ae6a8a46f: Verifying Checksum 17:25:04 3a2ae6a8a46f: Download complete 17:25:04 33b1e0a273af: Verifying Checksum 17:25:04 33b1e0a273af: Download complete 17:25:04 ec43610c2a17: Verifying Checksum 17:25:04 ec43610c2a17: Download complete 17:25:04 5d3b04190fa2: Download complete 17:25:04 5eb5b503b376: Verifying Checksum 17:25:04 5eb5b503b376: Download complete 17:25:05 2f39f015ded8: Download complete 17:25:05 5eb5b503b376: Pull complete 17:25:05 5c69ac0246d0: Pull complete 17:25:06 ec43610c2a17: Pull complete 17:25:06 3a2ae6a8a46f: Pull complete 17:25:06 33b1e0a273af: Pull complete 17:25:06 5d3b04190fa2: Pull complete 17:25:10 2f39f015ded8: Pull complete 17:25:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:25:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:11 prd-ubuntu20.04-docker-8c-8g-1079 does not seem to be running inside a container 17:25:11 $ 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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:25:13 8d51d6327a98: Pull complete 17:25:13 8b374f2dd631: Pull complete 17:25:13 ec14aa9079de: Pull complete 17:25:17 $ docker top c781df0ed7a168c27e82d700ca6ca513f5f36a058ca654fa748d20bdb5d9d30f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:17 ---> job-cost.sh 17:25:17 lf-activate-venv: SKIPPING 17:25:17 INFO: No Stack... 17:25:18 INFO: Retrieving Pricing Info for: v3-standard-8 17:25:18 INFO: Archiving Costs [Pipeline] sh 17:25:18 + + cut -d, -f6cat 17:25:18 /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv [Pipeline] lock 17:25:19 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-1-stack-cost] 17:25:19 Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-1-stack-cost] did not exist. Created. 17:25:19 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:25:19 + echo total: 0.2199999988079071 [Pipeline] stash 17:25:19 Stashed 1 file(s) [Pipeline] } 17:25:19 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:25:19 $ docker stop --time=1 c781df0ed7a168c27e82d700ca6ca513f5f36a058ca654fa748d20bdb5d9d30f 17:25:20 2f466654f4bb: Pull complete 17:25:20 $ docker rm -f --volumes c781df0ed7a168c27e82d700ca6ca513f5f36a058ca654fa748d20bdb5d9d30f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:25:23 554e91adad29: Pull complete 17:25:23 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 17:25:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:25:23 ---> 1e15ea492957 17:25:23 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:25:24 ---> Running in fb6d5787f08d 17:25:24 Removing intermediate container fb6d5787f08d 17:25:24 ---> b7339a3c8968 17:25:24 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:25:25 ---> Running in c04a4f3ad024 17:25:25 Removing intermediate container c04a4f3ad024 17:25:25 ---> de301ef2589e 17:25:25 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:25:25 ---> Running in 5105cb177677 17:25:25 Removing intermediate container 5105cb177677 17:25:25 ---> 1a6768e9fa1a 17:25:25 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:25:25 ---> Running in 2d2de88c1cac 17:25:25 Removing intermediate container 2d2de88c1cac 17:25:25 ---> d881ca5e0a86 17:25:25 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:25:26 ---> Running in a4ef19101b82 17:25:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:25:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:25:28 (1/14) Installing libintl (0.21.1-r1) 17:25:28 (2/14) Installing eudev-libs (3.2.11-r4) 17:25:28 (3/14) Installing libjpeg-turbo (2.1.4-r0) 17:25:28 (4/14) Installing v4l-utils-libs (1.22.1-r2) 17:25:28 (5/14) Installing v4l-utils (1.22.1-r2) 17:25:28 (6/14) Installing udev-init-scripts (35-r1) 17:25:28 (7/14) Installing libblkid (2.38.1-r1) 17:25:28 (8/14) Installing xz-libs (5.2.9-r0) 17:25:28 (9/14) Installing zstd-libs (1.5.5-r0) 17:25:28 (10/14) Installing kmod-libs (30-r1) 17:25:28 (11/14) Installing eudev (3.2.11-r4) 17:25:28 (12/14) Installing eudev-dev (3.2.11-r4) 17:25:28 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 17:25:28 (14/14) Installing v4l-utils-dev (1.22.1-r2) 17:25:29 Executing busybox-1.35.0-r29.trigger 17:25:29 Executing eudev-3.2.11-r4.trigger 17:25:29 OK: 271 MiB in 67 packages 17:25:30 Removing intermediate container a4ef19101b82 17:25:30 ---> 0083c0286fd2 17:25:30 Step 8/13 : WORKDIR /device-usb-camera 17:25:30 ---> Running in a4237999285b 17:25:30 Removing intermediate container a4237999285b 17:25:30 ---> 07857c4865ff 17:25:30 Step 9/13 : COPY go.mod vendor* ./ 17:25:31 ---> 507b6d9aea2e 17:25:31 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:25:31 ---> Running in ab46916970ef 17:26:39 Removing intermediate container ab46916970ef 17:26:39 ---> 29c7b06bba3c 17:26:39 Step 11/13 : COPY . . 17:26:39 ---> c9c6eccf683f 17:26:39 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:26:39 ---> Running in 6e5f316e4ccf 17:26:39  % Total % Received % Xferd Average Speed Time Time Time Current 17:26:39   Dload Upload Total Spent Left Speed 17:26:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4493 0 --:--:-- --:--:-- --:--:-- 4519 17:26:39 Removing intermediate container 6e5f316e4ccf 17:26:39 ---> 5c0bca8f70d3 17:26:39 Step 13/13 : RUN ${MAKE} 17:26:39 ---> Running in dbd43ca80819 17:26:39 noop 17:26:39 Removing intermediate container dbd43ca80819 17:26:39 ---> dea311b4c619 17:26:39 Successfully built dea311b4c619 17:26:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:39 + docker inspect -f . ci-base-image-arm64 17:26:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:40 prd-ubuntu20.04-docker-arm64-4c-16g-1080 does not seem to be running inside a container 17:26:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:26:41 $ docker top d56a04046ef8b02ee8075a03b797b0ace5f49539d98b8fb03c893663936127ee -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:42 + go version 17:26:42 go version go1.20.6 linux/arm64 [Pipeline] } 17:26:42 $ docker stop --time=1 d56a04046ef8b02ee8075a03b797b0ace5f49539d98b8fb03c893663936127ee 17:26:43 $ docker rm -f --volumes d56a04046ef8b02ee8075a03b797b0ace5f49539d98b8fb03c893663936127ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:44 + docker inspect -f . ci-base-image-arm64 17:26:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:44 prd-ubuntu20.04-docker-arm64-4c-16g-1080 does not seem to be running inside a container 17:26:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:26:45 $ docker top 062ee25138e7fc40b8b1818964e50b7225ea644d760bbadd1e98d6336b087604 -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:46 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 17:26:47 + make test 17:26:47 go test ./... -coverprofile=coverage.out ./... 17:27:19 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:29:11 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:29:21 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.086s coverage: 3.7% of statements 17:29:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:29:21 go vet ./... 17:30:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:30:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:30:00 ./bin/test-attribution-txt.sh [Pipeline] echo 17:30:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:30:00 $ docker stop --time=1 062ee25138e7fc40b8b1818964e50b7225ea644d760bbadd1e98d6336b087604 17:30:02 $ docker rm -f --volumes 062ee25138e7fc40b8b1818964e50b7225ea644d760bbadd1e98d6336b087604 [Pipeline] // withDockerContainer [Pipeline] sh 17:30:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:30:03 Warning: overwriting stash ‘coverage-report’ 17:30:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:30:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:30:04 + ls -al . 17:30:04 total 200 17:30:04 drwxrwxr-x 9 jenkins jenkins 4096 Jul 13 17:26 . 17:30:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 17:24 .. 17:30:04 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 17:24 .git 17:30:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 17:24 .github 17:30:04 -rw-rw-r-- 1 jenkins jenkins 414 Jul 13 17:24 .gitignore 17:30:04 -rw-rw-r-- 1 jenkins jenkins 45 Jul 13 17:24 .golangci.yml 17:30:04 -rw-rw-r-- 1 jenkins jenkins 77 Jul 13 17:24 .hadolint.yml 17:30:04 -rw-rw-r-- 1 jenkins jenkins 9783 Jul 13 17:24 Attribution.txt 17:30:04 -rw-rw-r-- 1 jenkins jenkins 11903 Jul 13 17:24 CHANGELOG.md 17:30:04 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 13 17:24 Dockerfile 17:30:04 -rw-rw-r-- 1 jenkins jenkins 678 Jul 13 17:24 GOVERNANCE.md 17:30:04 -rw-rw-r-- 1 jenkins jenkins 659 Jul 13 17:24 Jenkinsfile 17:30:04 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 13 17:24 LICENSE 17:30:04 -rw-rw-r-- 1 jenkins jenkins 2364 Jul 13 17:24 Makefile 17:30:04 -rw-rw-r-- 1 jenkins jenkins 622 Jul 13 17:24 OWNERS.md 17:30:04 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 13 17:24 README.md 17:30:04 -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 17:22 VERSION 17:30:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 17:24 bin 17:30:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 17:24 cmd 17:30:04 -rw-r--r-- 1 jenkins jenkins 40973 Jul 13 17:29 coverage.out 17:30:04 -rwxrwxr-x 1 jenkins jenkins 140 Jul 13 17:24 docker-entrypoint.sh 17:30:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 17:24 docs 17:30:04 -rw-rw-r-- 1 jenkins jenkins 3416 Jul 13 17:24 go.mod 17:30:04 -rw-rw-r-- 1 jenkins jenkins 31482 Jul 13 17:24 go.sum 17:30:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 17:24 internal 17:30:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 17:24 snap 17:30:04 -rw-rw-r-- 1 jenkins jenkins 231 Jul 13 17:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:05 + 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=ba099dd10848f04b42b0348795a7e9835dbcc161 --label arch=arm64 --label version=0.0.0 . 17:30:05 Sending build context to Docker daemon 1.326MB 17:30:05 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 17:30:05 Step 2/36 : FROM ${BASE} AS builder 17:30:05 ---> dea311b4c619 17:30:05 Step 3/36 : ARG ADD_BUILD_TAGS="" 17:30:05 ---> Running in f1ad71889c05 17:30:06 Removing intermediate container f1ad71889c05 17:30:06 ---> 017b128ff196 17:30:06 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:30:06 ---> Running in 14e55f473750 17:30:06 Removing intermediate container 14e55f473750 17:30:06 ---> 62925a62c019 17:30:06 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 17:30:06 ---> Running in 0c427118d385 17:30:06 Removing intermediate container 0c427118d385 17:30:06 ---> f6f97415713f 17:30:06 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:30:06 ---> Running in 73b2473a1ff1 17:30:06 Removing intermediate container 73b2473a1ff1 17:30:06 ---> 157f298adc26 17:30:06 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:30:07 ---> Running in 0525b7d6252b 17:30:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:30:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:30:09 OK: 271 MiB in 67 packages 17:30:10 Removing intermediate container 0525b7d6252b 17:30:10 ---> 84bf4a754961 17:30:10 Step 8/36 : WORKDIR /device-usb-camera 17:30:10 ---> Running in 68da328fe12c 17:30:10 Removing intermediate container 68da328fe12c 17:30:10 ---> e8e4f3c8839e 17:30:10 Step 9/36 : COPY go.mod vendor* ./ 17:30:11 ---> d23986126f87 17:30:11 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:11 ---> Running in 627aca0d40ae 17:30:13 Removing intermediate container 627aca0d40ae 17:30:13 ---> b7fff57a6049 17:30:13 Step 11/36 : COPY . . 17:30:14 ---> 22e155b10793 17:30:14 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:30:14 ---> Running in 2f24584427b9 17:30:15  % Total  % Received % Xferd Average Speed Time Time Time Current 17:30:15 Dload Upload Total Spent Left Speed 17:30:15  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3314 0 --:--:-- --:--:-- --:--:-- 3329 17:30:19 Removing intermediate container 2f24584427b9 17:30:19 ---> df222d8e861e 17:30:19 Step 13/36 : RUN ${MAKE} 17:30:19 ---> Running in 2cb4e4c3365f 17:30:19 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 17:32:56 Removing intermediate container 2cb4e4c3365f 17:32:56 ---> 1e9be8edb973 17:32:56 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:32:56 v0.21.6: Pulling from aler9/rtsp-simple-server 17:32:56 8766b47fe142: Pulling fs layer 17:32:56 8766b47fe142: Verifying Checksum 17:32:56 8766b47fe142: Download complete 17:32:56 8766b47fe142: Pull complete 17:32:56 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:32:56 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 17:32:56 ---> 69d40e2cb93c 17:32:56 Step 15/36 : FROM alpine:3.17 17:32:56 3.17: Pulling from library/alpine 17:32:56 edb6bdbacee9: Already exists 17:32:56 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 17:32:56 Status: Downloaded newer image for alpine:3.17 17:32:56 ---> 779605e5fbc0 17:32:56 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:32:56 ---> Running in 85347215329c 17:32:56 Removing intermediate container 85347215329c 17:32:56 ---> 0e7e93ee3081 17:32:56 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 17:32:56 ---> Running in b1ac2cd01650 17:32:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:32:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:32:56 (1/83) Installing dumb-init (1.2.5-r2) 17:32:56 (2/83) Installing sdl2 (2.26.5-r0) 17:32:56 (3/83) Installing libxau (1.0.10-r0) 17:32:56 (4/83) Installing libmd (1.0.4-r0) 17:32:56 (5/83) Installing libbsd (0.11.7-r0) 17:32:56 (6/83) Installing libxdmcp (1.1.4-r0) 17:32:56 (7/83) Installing libxcb (1.15-r0) 17:32:56 (8/83) Installing libx11 (1.8.4-r1) 17:32:56 (9/83) Installing aom-libs (3.5.0-r0) 17:32:56 (10/83) Installing alsa-lib (1.2.8-r0) 17:32:56 (11/83) Installing libexpat (2.5.0-r0) 17:32:56 (12/83) Installing brotli-libs (1.0.9-r9) 17:32:56 (13/83) Installing libbz2 (1.0.8-r4) 17:32:56 (14/83) Installing libpng (1.6.38-r0) 17:32:56 (15/83) Installing freetype (2.12.1-r0) 17:32:56 (16/83) Installing fontconfig (2.14.1-r0) 17:32:56 (17/83) Installing fribidi (1.0.12-r0) 17:32:56 (18/83) Installing libffi (3.4.4-r0) 17:32:56 (19/83) Installing libintl (0.21.1-r1) 17:32:56 (20/83) Installing libblkid (2.38.1-r1) 17:32:56 (21/83) Installing libmount (2.38.1-r1) 17:32:56 (22/83) Installing pcre2 (10.42-r0) 17:32:56 (23/83) Installing glib (2.74.7-r0) 17:32:56 (24/83) Installing graphite2 (1.3.14-r2) 17:32:56 (25/83) Installing harfbuzz (5.3.1-r1) 17:32:56 (26/83) Installing libass (0.16.0-r1) 17:32:56 (27/83) Installing libdav1d (1.0.0-r2) 17:32:56 (28/83) Installing libdrm (2.4.114-r0) 17:32:56 (29/83) Installing gmp (6.2.1-r2) 17:32:56 (30/83) Installing nettle (3.8.1-r0) 17:32:56 (31/83) Installing p11-kit (0.24.1-r1) 17:32:56 (32/83) Installing libtasn1 (4.19.0-r0) 17:32:56 (33/83) Installing libunistring (1.1-r0) 17:32:56 (34/83) Installing gnutls (3.7.8-r3) 17:32:56 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 17:32:56 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 17:32:56 (37/83) Installing lame (3.100-r2) 17:32:56 (38/83) Installing opus (1.3.1-r1) 17:32:56 (39/83) Installing libasyncns (0.8-r1) 17:32:56 (40/83) Installing dbus-libs (1.14.8-r0) 17:32:56 (41/83) Installing libltdl (2.4.7-r1) 17:32:56 (42/83) Installing orc (0.4.33-r0) 17:32:56 (43/83) Installing libgcc (12.2.1_git20220924-r4) 17:32:56 (44/83) Installing libogg (1.3.5-r2) 17:32:56 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 17:32:56 (46/83) Installing flac-libs (1.4.2-r0) 17:32:56 (47/83) Installing libvorbis (1.3.7-r0) 17:32:56 (48/83) Installing libsndfile (1.1.0-r2) 17:32:56 (49/83) Installing libgomp (12.2.1_git20220924-r4) 17:32:56 (50/83) Installing soxr (0.1.3-r3) 17:32:56 (51/83) Installing speexdsp (1.2.1-r0) 17:32:56 (52/83) Installing tdb-libs (1.4.6-r0) 17:32:56 (53/83) Installing libpulse (16.1-r6) 17:32:56 (54/83) Installing cjson (1.7.15-r3) 17:32:56 (55/83) Installing mbedtls (2.28.3-r0) 17:32:56 (56/83) Installing librist (0.2.7-r0) 17:32:56 (57/83) Installing libsrt (1.5.1-r0) 17:32:56 (58/83) Installing libssh (0.10.5-r0) 17:32:56 (59/83) Installing libtheora (1.1.1-r16) 17:32:56 (60/83) Installing libjpeg-turbo (2.1.4-r0) 17:32:56 (61/83) Installing v4l-utils-libs (1.22.1-r2) 17:32:56 (62/83) Installing libxext (1.3.5-r0) 17:32:56 (63/83) Installing libxfixes (6.0.0-r0) 17:32:56 (64/83) Installing wayland-libs-client (1.21.0-r1) 17:32:56 (65/83) Installing libva (2.16.0-r0) 17:32:56 (66/83) Installing libvdpau (1.5-r0) 17:32:56 (67/83) Installing vidstab (1.1.0-r2) 17:32:56 (68/83) Installing libvpx (1.12.0-r1) 17:32:56 (69/83) Installing libwebp (1.2.4-r2) 17:32:56 (70/83) Installing x264-libs (0.164_git20220602-r0) 17:32:56 (71/83) Installing numactl (2.0.16-r1) 17:32:56 (72/83) Installing x265-libs (3.5-r3) 17:32:56 (73/83) Installing xvidcore (1.3.7-r1) 17:32:56 (74/83) Installing libsodium (1.0.18-r2) 17:32:56 (75/83) Installing libzmq (4.3.4-r1) 17:32:56 (76/83) Installing ffmpeg-libs (5.1.3-r0) 17:32:56 (77/83) Installing ffmpeg (5.1.3-r0) 17:32:56 (78/83) Installing udev-init-scripts (35-r1) 17:32:56 (79/83) Installing eudev-libs (3.2.11-r4) 17:32:56 (80/83) Installing xz-libs (5.2.9-r0) 17:32:56 (81/83) Installing zstd-libs (1.5.5-r0) 17:32:56 (82/83) Installing kmod-libs (30-r1) 17:32:56 (83/83) Installing eudev (3.2.11-r4) 17:32:56 Executing busybox-1.35.0-r29.trigger 17:32:56 Executing eudev-3.2.11-r4.trigger 17:32:56 OK: 86 MiB in 98 packages 17:32:58 Removing intermediate container b1ac2cd01650 17:32:58 ---> 39f70f74b10b 17:32:58 Step 18/36 : WORKDIR / 17:32:58 ---> Running in 1d50bbde2877 17:32:58 Removing intermediate container 1d50bbde2877 17:32:58 ---> a0778c74e204 17:32:58 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 17:33:00 ---> 5c881367f04b 17:33:00 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 17:33:00 ---> e88592a21417 17:33:00 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:33:01 ---> 7c7b324ab547 17:33:01 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:33:01 ---> ac81c6c7fe7a 17:33:01 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:33:01 ---> 13b7a3ba4531 17:33:01 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 17:33:02 ---> d9c1010e3be7 17:33:02 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 17:33:03 ---> 8aedc0e7b361 17:33:03 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:33:03 ---> Running in 90215c64d230 17:33:05 Removing intermediate container 90215c64d230 17:33:05 ---> b3c1fac082f5 17:33:05 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:33:05 ---> Running in d89820c2541f 17:33:07 Removing intermediate container d89820c2541f 17:33:07 ---> 3b953328718f 17:33:07 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:33:07 ---> Running in a48f883e03fc 17:33:09 Removing intermediate container a48f883e03fc 17:33:09 ---> 733245042ef7 17:33:09 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 17:33:09 ---> Running in e4819c539f78 17:33:11 Removing intermediate container e4819c539f78 17:33:11 ---> 7988b3bc0d29 17:33:11 Step 30/36 : EXPOSE 59983 17:33:11 ---> Running in 3598edfe32c3 17:33:11 Removing intermediate container 3598edfe32c3 17:33:11 ---> 2e8540f2cf5e 17:33:11 Step 31/36 : EXPOSE 8554 17:33:11 ---> Running in 3d312e5790fb 17:33:11 Removing intermediate container 3d312e5790fb 17:33:11 ---> 164acf2e62a5 17:33:11 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:33:11 ---> Running in 62f0d9e1beaf 17:33:11 Removing intermediate container 62f0d9e1beaf 17:33:11 ---> e7787e4ac2a4 17:33:11 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 17:33:11 ---> Running in eeb45eca06a9 17:33:12 Removing intermediate container eeb45eca06a9 17:33:12 ---> e8c25376699b 17:33:12 Step 34/36 : LABEL arch=arm64 17:33:12 ---> Running in 7686eee98bb4 17:33:12 Removing intermediate container 7686eee98bb4 17:33:12 ---> b6c43a30a233 17:33:12 Step 35/36 : LABEL git_sha=ba099dd10848f04b42b0348795a7e9835dbcc161 17:33:12 ---> Running in 249392abdb01 17:33:13 Removing intermediate container 249392abdb01 17:33:13 ---> 8741a7bff3eb 17:33:13 Step 36/36 : LABEL version=0.0.0 17:33:13 ---> Running in 7a45c9900f1e 17:33:13 Removing intermediate container 7a45c9900f1e 17:33:13 ---> 5f38d9562c83 17:33:13 [Warning] One or more build-args [ARCH] were not consumed 17:33:13 Successfully built 5f38d9562c83 17:33:13 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 17:33:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:33:14 17:33:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:33:14 arm64: Pulling from edgex-lftools-log-publisher 17:33:14 8998bd30e6a1: Pulling fs layer 17:33:14 04944245beec: Pulling fs layer 17:33:14 699f458cf7ca: Pulling fs layer 17:33:14 765212b225bb: Pulling fs layer 17:33:14 f23df028b6ca: Pulling fs layer 17:33:14 d65c8cfc05b1: Pulling fs layer 17:33:14 2437ff75d9bd: Pulling fs layer 17:33:14 d65c8cfc05b1: Waiting 17:33:14 2437ff75d9bd: Waiting 17:33:14 765212b225bb: Waiting 17:33:14 f23df028b6ca: Waiting 17:33:15 04944245beec: Verifying Checksum 17:33:15 04944245beec: Download complete 17:33:15 765212b225bb: Verifying Checksum 17:33:15 765212b225bb: Download complete 17:33:15 f23df028b6ca: Verifying Checksum 17:33:15 f23df028b6ca: Download complete 17:33:15 d65c8cfc05b1: Verifying Checksum 17:33:15 d65c8cfc05b1: Download complete 17:33:15 699f458cf7ca: Verifying Checksum 17:33:15 699f458cf7ca: Download complete 17:33:15 8998bd30e6a1: Verifying Checksum 17:33:15 8998bd30e6a1: Download complete 17:33:18 2437ff75d9bd: Verifying Checksum 17:33:18 2437ff75d9bd: Download complete 17:33:19 8998bd30e6a1: Pull complete 17:33:20 04944245beec: Pull complete 17:33:21 699f458cf7ca: Pull complete 17:33:21 765212b225bb: Pull complete 17:33:22 f23df028b6ca: Pull complete 17:33:22 d65c8cfc05b1: Pull complete 17:33:37 2437ff75d9bd: Pull complete 17:33:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:33:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:33:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:38 prd-ubuntu20.04-docker-arm64-4c-16g-1080 does not seem to be running inside a container 17:33:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:33:40 $ docker top 60f71fa4639848367eb1979854408a5f051647a2082dbf0be03815463c9012ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:33:41 ---> job-cost.sh 17:33:41 lf-activate-venv: SKIPPING 17:33:41 INFO: No Stack... 17:33:42 INFO: Retrieving Pricing Info for: v3-standard-4 17:33:43 INFO: Archiving Costs [Pipeline] sh 17:33:43 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 17:33:43 + cut -d, -f6 [Pipeline] lock 17:33:43 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-1-stack-cost] 17:33:43 Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-1-stack-cost] did not exist. Created. 17:33:43 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:33:44 /w/workspace/device-usb-camera/1@tmp/durable-9c675d39/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:33:44 + echo total: 0.10999999940395355 [Pipeline] stash 17:33:44 Warning: overwriting stash ‘stack-cost’ 17:33:44 Stashed 1 file(s) [Pipeline] } 17:33:44 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:33:44 $ docker stop --time=1 60f71fa4639848367eb1979854408a5f051647a2082dbf0be03815463c9012ff 17:33:46 $ docker rm -f --volumes 60f71fa4639848367eb1979854408a5f051647a2082dbf0be03815463c9012ff [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 17:33:47 provisioning config files... 17:33:47 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config16226897097225011015tmp [Pipeline] { [Pipeline] sh 17:33:47 + set +x 17:33:47 + curl -s https://codecov.io/bash 17:33:47 + bash -s -- 17:33:57 bash: line 2: syntax error near unexpected token `<' 17:33:57 bash: line 2: `' [Pipeline] } 17:33:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:33:59 + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] 17:33:59 + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives 17:33:59 total 16 17:33:59 drwxr-xr-x 3 root root 4096 Jul 13 17:25 . 17:33:59 drwxrwxr-x 11 jenkins jenkins 4096 Jul 13 17:25 .. 17:33:59 drwxr-xr-x 2 root root 4096 Jul 13 17:25 cost 17:33:59 -rw-r--r-- 1 root root 89 Jul 13 17:25 cost.csv 17:33:59 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives 17:33:59 + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives 17:33:59 total 16 17:33:59 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 17:25 . 17:33:59 drwxrwxr-x 11 jenkins jenkins 4096 Jul 13 17:25 .. 17:33:59 drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 17:25 cost 17:33:59 -rw-r--r-- 1 jenkins jenkins 89 Jul 13 17:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:33:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:34:00 ---> package-listing.sh 17:34:00 ++ facter osfamily 17:34:00 ++ tr '[:upper:]' '[:lower:]' 17:34:01 + OS_FAMILY=debian 17:34:01 + workspace=/w/workspace/foundry_device-usb-camera_PR-265 17:34:01 + START_PACKAGES=/tmp/packages_start.txt 17:34:01 + END_PACKAGES=/tmp/packages_end.txt 17:34:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:34:01 + PACKAGES=/tmp/packages_start.txt 17:34:01 + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' 17:34:01 + PACKAGES=/tmp/packages_end.txt 17:34:01 + case "${OS_FAMILY}" in 17:34:01 + dpkg -l 17:34:01 + grep '^ii' 17:34:01 + '[' -f /tmp/packages_start.txt ']' 17:34:01 + '[' -f /tmp/packages_end.txt ']' 17:34:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:34:01 + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' 17:34:01 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ 17:34:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-265/archives/ [Pipeline] echo 17:34:01 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-265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:34:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:01 prd-ubuntu20.04-docker-8c-8g-1079 does not seem to be running inside a container 17:34:01 $ 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-265/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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:34:02 $ docker top a6537be0f481c853f4829b14efe32842810c2b6d86c7a7d69b5b19f471c85ba0 -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:02 + touch /tmp/pre-build-complete [Pipeline] sh 17:34:02 + mkdir -p /var/log/sysstat [Pipeline] sh 17:34:03 + ls /var/log/sa-host 17:34:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:34:03 provisioning config files... 17:34:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config13829336291610550117tmp [Pipeline] { [Pipeline] echo 17:34:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:34:03 ---> create-netrc.sh [Pipeline] } 17:34:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:34:04 ---> python-tools-install.sh [Pipeline] echo 17:34:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:34:04 ---> sudo-logs.sh 17:34:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:34:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:34:05 ---> job-cost.sh 17:34:05 lf-activate-venv: SKIPPING 17:34:05 DEBUG: total: 0.2199999988079071 17:34:05 INFO: Retrieving Stack Cost... 17:34:05 INFO: Retrieving Pricing Info for: v3-standard-8 17:34:05 INFO: Archiving Costs [Pipeline] echo 17:34:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:34:06 ---> logs-deploy.sh 17:34:06 lf-activate-venv: SKIPPING 17:34:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/1 17:34:06 INFO: archiving workspace using pattern(s): 17:34:07 Archives upload complete. 17:34:07 INFO: archiving logs to Nexus 17:34:07 ---> uname -a: 17:34:07 Linux prd-ubuntu20-04-docker-8c-8g-1079 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:34:07 17:34:07 17:34:07 ---> lscpu: 17:34:07 Architecture: x86_64 17:34:07 CPU op-mode(s): 32-bit, 64-bit 17:34:07 Byte Order: Little Endian 17:34:07 Address sizes: 40 bits physical, 48 bits virtual 17:34:07 CPU(s): 8 17:34:07 On-line CPU(s) list: 0-7 17:34:07 Thread(s) per core: 1 17:34:07 Core(s) per socket: 1 17:34:07 Socket(s): 8 17:34:07 NUMA node(s): 1 17:34:07 Vendor ID: AuthenticAMD 17:34:07 CPU family: 23 17:34:07 Model: 49 17:34:07 Model name: AMD EPYC-Rome Processor 17:34:07 Stepping: 0 17:34:07 CPU MHz: 2799.998 17:34:07 BogoMIPS: 5599.99 17:34:07 Virtualization: AMD-V 17:34:07 Hypervisor vendor: KVM 17:34:07 Virtualization type: full 17:34:07 L1d cache: 256 KiB 17:34:07 L1i cache: 256 KiB 17:34:07 L2 cache: 4 MiB 17:34:07 L3 cache: 128 MiB 17:34:07 NUMA node0 CPU(s): 0-7 17:34:07 Vulnerability Itlb multihit: Not affected 17:34:07 Vulnerability L1tf: Not affected 17:34:07 Vulnerability Mds: Not affected 17:34:07 Vulnerability Meltdown: Not affected 17:34:07 Vulnerability Mmio stale data: Not affected 17:34:07 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:34:07 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:34:07 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:34:07 Vulnerability Srbds: Not affected 17:34:07 Vulnerability Tsx async abort: Not affected 17:34:07 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 17:34:07 17:34:07