Pull request #63 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 7d6f96ed9e7c68a21d02afb34c0d9b9def39a8da+e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12 (98eb0b6618586e04b103001c811f6bc7223e26ee) 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-ssh17613705030695807383.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh10830342620318073116.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3880737305209977050.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh561096901717936873.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-63/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-63/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15471205973667540924.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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-21254 in /w/workspace/xfoundry_device-usb-camera_PR-63 [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/xfoundry_device-usb-camera_PR-63 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12 into PR head commit 7d6f96ed9e7c68a21d02afb34c0d9b9def39a8da Merge succeeded, producing d1186176c431a2adfc3e90978146acf3dc9d97c9 Checking out Revision d1186176c431a2adfc3e90978146acf3dc9d97c9 (PR-63) > 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/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d6f96ed9e7c68a21d02afb34c0d9b9def39a8da # 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 e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d1186176c431a2adfc3e90978146acf3dc9d97c9 # timeout=10 Commit message: "Merge commit 'e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12' into HEAD" > git rev-list --no-walk c16a2a927e21884ea165465b1d6b4c75a69244ce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:05:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:05:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:05:20 ========================================================= 18:05:20 EdgeX Global Pipelines Version Info 18:05:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:05:20 ------------------- 18:05:20 stable info: 18:05:20 ------------------- 18:05:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:05:20 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 18:05:20 Message: update stable to v1.0.238 18:05:21 ------------------- 18:05:21 experimental info: 18:05:21 ------------------- 18:05:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:05:21 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 18:05:21 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-63 [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-63 [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-63 [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d1186176c431a2adfc3e90978146acf3dc9d97c9 [Pipeline] echo 18:05:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d118617 [Pipeline] echo 18:05:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:22 provisioning config files... 18:05:22 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-63@tmp/config3608768790921198845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:22 ---> docker-login.sh 18:05:22 nexus3.edgexfoundry.org:10001 18:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:22 Configure a credential helper to remove this warning. See 18:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:22 18:05:22 Login Succeeded 18:05:22 nexus3.edgexfoundry.org:10002 18:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:22 Configure a credential helper to remove this warning. See 18:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:22 18:05:22 Login Succeeded 18:05:22 nexus3.edgexfoundry.org:10003 18:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:23 Configure a credential helper to remove this warning. See 18:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:23 18:05:23 Login Succeeded 18:05:23 nexus3.edgexfoundry.org:10004 18:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:23 Configure a credential helper to remove this warning. See 18:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:23 18:05:23 Login Succeeded 18:05:23 docker.io 18:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:23 Configure a credential helper to remove this warning. See 18:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:23 18:05:23 Login Succeeded 18:05:23 ---> docker-login.sh ends [Pipeline] } 18:05:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:05:24 + git rev-list -1 --merges d1186176c431a2adfc3e90978146acf3dc9d97c9~1..d1186176c431a2adfc3e90978146acf3dc9d97c9 [Pipeline] echo 18:05:24 -----------> git rev-list -1 --merges d1186176c431a2adfc3e90978146acf3dc9d97c9~1..d1186176c431a2adfc3e90978146acf3dc9d97c9 d1186176c431a2adfc3e90978146acf3dc9d97c9 18:05:24 d1186176c431a2adfc3e90978146acf3dc9d97c9 [false] [Pipeline] sh 18:05:24 + git log --format=format:%s -1 d1186176c431a2adfc3e90978146acf3dc9d97c9 [Pipeline] echo 18:05:24 ========================================================= 18:05:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:05:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:24 + git log --format=format:%s -1 d1186176c431a2adfc3e90978146acf3dc9d97c9 [Pipeline] echo 18:05:24 [semverPrep] GIT_COMMIT: d1186176c431a2adfc3e90978146acf3dc9d97c9, Commit Message: Merge commit 'e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12' into HEAD [Pipeline] echo 18:05:24 [semverPrep] This is not a build commit. [Pipeline] sh 18:05:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:05:25 + grep -v github /etc/ssh/ssh_known_hosts 18:05:25 + [ -e /tmp/ssh_known_hosts ] 18:05:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:05:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:05:25 + sudo tee -a /etc/ssh/ssh_known_hosts 18:05:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:05:25 18:05:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:05:25 0.1.4: Pulling from edgex-devops/py-git-semver 18:05:25 b85a868b505f: Pulling fs layer 18:05:25 e2be974225ed: Pulling fs layer 18:05:25 339a4e72a1f5: Pulling fs layer 18:05:25 988bab9f4d93: Pulling fs layer 18:05:25 1469e6f7b9e6: Pulling fs layer 18:05:25 eaf3925da568: Pulling fs layer 18:05:25 bab4dde63d76: Pulling fs layer 18:05:25 bde34c3a00c8: Pulling fs layer 18:05:25 1469e6f7b9e6: Waiting 18:05:25 eaf3925da568: Waiting 18:05:25 b352a97aabf1: Pulling fs layer 18:05:25 bab4dde63d76: Waiting 18:05:25 4872d77fe225: Pulling fs layer 18:05:25 b352a97aabf1: Waiting 18:05:25 bde34c3a00c8: Waiting 18:05:25 5851b861e8e6: Pulling fs layer 18:05:25 4872d77fe225: Waiting 18:05:25 5851b861e8e6: Waiting 18:05:25 e2be974225ed: Verifying Checksum 18:05:25 e2be974225ed: Download complete 18:05:25 988bab9f4d93: Verifying Checksum 18:05:25 988bab9f4d93: Download complete 18:05:26 339a4e72a1f5: Verifying Checksum 18:05:26 339a4e72a1f5: Download complete 18:05:26 eaf3925da568: Verifying Checksum 18:05:26 eaf3925da568: Download complete 18:05:26 1469e6f7b9e6: Verifying Checksum 18:05:26 1469e6f7b9e6: Download complete 18:05:26 bde34c3a00c8: Verifying Checksum 18:05:26 bde34c3a00c8: Download complete 18:05:26 b352a97aabf1: Verifying Checksum 18:05:26 b352a97aabf1: Download complete 18:05:26 4872d77fe225: Verifying Checksum 18:05:26 4872d77fe225: Download complete 18:05:26 5851b861e8e6: Verifying Checksum 18:05:26 5851b861e8e6: Download complete 18:05:26 b85a868b505f: Verifying Checksum 18:05:26 b85a868b505f: Download complete 18:05:26 bab4dde63d76: Verifying Checksum 18:05:26 bab4dde63d76: Download complete 18:05:27 b85a868b505f: Pull complete 18:05:27 e2be974225ed: Pull complete 18:05:28 339a4e72a1f5: Pull complete 18:05:28 988bab9f4d93: Pull complete 18:05:28 1469e6f7b9e6: Pull complete 18:05:28 eaf3925da568: Pull complete 18:05:30 bab4dde63d76: Pull complete 18:05:30 bde34c3a00c8: Pull complete 18:05:30 b352a97aabf1: Pull complete 18:05:30 4872d77fe225: Pull complete 18:05:30 5851b861e8e6: Pull complete 18:05:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:05:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:05:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:30 prd-ubuntu20.04-docker-8c-8g-21254 does not seem to be running inside a container 18:05:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-63 -v /w/workspace/xfoundry_device-usb-camera_PR-63:/w/workspace/xfoundry_device-usb-camera_PR-63:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-63@tmp:/w/workspace/xfoundry_device-usb-camera_PR-63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:05:32 $ docker top 643347af5ef6b6dc82cf71515648c798cbf80d05e2404e26d47ed5f1f5a76e6e -eo pid,comm 18:05:32 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). 18:05:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:05:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:32 [ssh-agent] Looking for ssh-agent implementation... 18:05:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:32 $ docker exec 643347af5ef6b6dc82cf71515648c798cbf80d05e2404e26d47ed5f1f5a76e6e ssh-agent 18:05:32 SSH_AUTH_SOCK=/tmp/ssh-f4zJak8HOGCd/agent.33 18:05:32 SSH_AGENT_PID=39 18:05:32 Running ssh-add (command line suppressed) 18:05:33 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-63@tmp/private_key_302502287874058223.key (/w/workspace/xfoundry_device-usb-camera_PR-63@tmp/private_key_302502287874058223.key) 18:05:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:33 + git tag --points-at HEAD [Pipeline] } 18:05:33 $ docker exec --env ******** --env ******** 643347af5ef6b6dc82cf71515648c798cbf80d05e2404e26d47ed5f1f5a76e6e ssh-agent -k 18:05:33 unset SSH_AUTH_SOCK; 18:05:33 unset SSH_AGENT_PID; 18:05:33 echo Agent pid 39 killed; 18:05:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:05:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:33 [ssh-agent] Looking for ssh-agent implementation... 18:05:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:33 $ docker exec 643347af5ef6b6dc82cf71515648c798cbf80d05e2404e26d47ed5f1f5a76e6e ssh-agent 18:05:33 SSH_AUTH_SOCK=/tmp/ssh-hCCvDMNSd6SY/agent.71 18:05:33 SSH_AGENT_PID=77 18:05:33 Running ssh-add (command line suppressed) 18:05:33 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-63@tmp/private_key_8674192715227686707.key (/w/workspace/xfoundry_device-usb-camera_PR-63@tmp/private_key_8674192715227686707.key) 18:05:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:34 + git semver init 18:05:34 2022-07-27 18:05:34,446 [run_init] DEBUG init version:0.0.0 force:False 18:05:34 2022-07-27 18:05:34,446 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-63/.semver 18:05:34 2022-07-27 18:05:34,447 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-63/.semver 18:05:34 2022-07-27 18:05:34,447 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-63/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-63, universal_newlines=False, shell=None, istream=None) 18:05:35 2022-07-27 18:05:35,001 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-63/.git/info/exclude 18:05:35 2022-07-27 18:05:35,001 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-63/.semver/PR-63 with force:False 18:05:35 2022-07-27 18:05:35,001 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-63/.semver/PR-63 18:05:35 2022-07-27 18:05:35,005 [execute] INFO git cat-file --batch-check 18:05:35 2022-07-27 18:05:35,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-63/.semver, universal_newlines=False, shell=None, istream=) 18:05:35 2022-07-27 18:05:35,011 [execute] INFO git cat-file --batch 18:05:35 2022-07-27 18:05:35,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-63/.semver, universal_newlines=False, shell=None, istream=) 18:05:35 2022-07-27 18:05:35,016 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-63/.semver/PR-63 18:05:35 0.0.0 [Pipeline] } 18:05:35 $ docker exec --env ******** --env ******** 643347af5ef6b6dc82cf71515648c798cbf80d05e2404e26d47ed5f1f5a76e6e ssh-agent -k 18:05:35 unset SSH_AUTH_SOCK; 18:05:35 unset SSH_AGENT_PID; 18:05:35 echo Agent pid 77 killed; 18:05:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:05:35 + git semver [Pipeline] } 18:05:35 $ docker stop --time=1 643347af5ef6b6dc82cf71515648c798cbf80d05e2404e26d47ed5f1f5a76e6e 18:05:37 $ docker rm -f 643347af5ef6b6dc82cf71515648c798cbf80d05e2404e26d47ed5f1f5a76e6e [Pipeline] // withDockerContainer [Pipeline] sh 18:05:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:05:37 Stashed 1 file(s) [Pipeline] echo 18:05:37 [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 18:05:37 provisioning config files... 18:05:37 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-63@tmp/config3229462369831821215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:38 ---> docker-login.sh 18:05:38 nexus3.edgexfoundry.org:10001 18:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:38 Configure a credential helper to remove this warning. See 18:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:38 18:05:38 Login Succeeded 18:05:38 nexus3.edgexfoundry.org:10002 18:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:38 Configure a credential helper to remove this warning. See 18:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:38 18:05:38 Login Succeeded 18:05:38 nexus3.edgexfoundry.org:10003 18:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:38 Configure a credential helper to remove this warning. See 18:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:38 18:05:38 Login Succeeded 18:05:38 nexus3.edgexfoundry.org:10004 18:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:38 Configure a credential helper to remove this warning. See 18:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:38 18:05:38 Login Succeeded 18:05:38 docker.io 18:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:38 Configure a credential helper to remove this warning. See 18:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:38 18:05:38 Login Succeeded 18:05:38 ---> docker-login.sh ends [Pipeline] } 18:05:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:05:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:05:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:05:39 ========================================================= 18:05:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:05:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:05:39 Sending build context to Docker daemon 818.2kB 18:05:39 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 18:05:39 Step 2/13 : FROM ${BASE} AS builder 18:05:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:05:39 2408cc74d12b: Pulling fs layer 18:05:39 ea60b727a1ce: Pulling fs layer 18:05:39 30c4a7721957: Pulling fs layer 18:05:39 370296b7ddb6: Pulling fs layer 18:05:39 370296b7ddb6: Waiting 18:05:39 7c6cee850709: Pulling fs layer 18:05:39 39a5fcdaea64: Pulling fs layer 18:05:39 d94ebbe4e438: Pulling fs layer 18:05:39 bcfd1f05c69d: Pulling fs layer 18:05:39 59ccb84bbe0f: Pulling fs layer 18:05:39 bcfd1f05c69d: Waiting 18:05:39 39a5fcdaea64: Waiting 18:05:39 d94ebbe4e438: Waiting 18:05:39 7c6cee850709: Waiting 18:05:39 59ccb84bbe0f: Waiting 18:05:39 30c4a7721957: Download complete 18:05:39 ea60b727a1ce: Verifying Checksum 18:05:39 ea60b727a1ce: Download complete 18:05:39 7c6cee850709: Download complete 18:05:39 39a5fcdaea64: Verifying Checksum 18:05:39 39a5fcdaea64: Download complete 18:05:39 2408cc74d12b: Download complete 18:05:39 d94ebbe4e438: Verifying Checksum 18:05:39 d94ebbe4e438: Download complete 18:05:39 2408cc74d12b: Pull complete 18:05:39 ea60b727a1ce: Pull complete 18:05:39 30c4a7721957: Pull complete 18:05:39 59ccb84bbe0f: Verifying Checksum 18:05:39 59ccb84bbe0f: Download complete 18:05:40 bcfd1f05c69d: Verifying Checksum 18:05:40 bcfd1f05c69d: Download complete 18:05:40 370296b7ddb6: Verifying Checksum 18:05:40 370296b7ddb6: Download complete 18:05:44 370296b7ddb6: Pull complete 18:05:44 7c6cee850709: Pull complete 18:05:44 39a5fcdaea64: Pull complete 18:05:44 d94ebbe4e438: Pull complete 18:05:46 bcfd1f05c69d: Pull complete 18:05:47 59ccb84bbe0f: Pull complete 18:05:47 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 18:05:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:05:47 ---> a4fb48ad2a94 18:05:47 Step 3/13 : ARG MAKE="make build" 18:05:49 ---> Running in 5ef8e47943fa 18:05:49 Removing intermediate container 5ef8e47943fa 18:05:49 ---> 1a7c5cfcc7f7 18:05:49 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:05:49 ---> Running in 3ed21d24aabc 18:05:49 Removing intermediate container 3ed21d24aabc 18:05:49 ---> 70f7bfbb4fd7 18:05:49 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:05:49 ---> Running in 19783ef6d689 18:05:49 Removing intermediate container 19783ef6d689 18:05:49 ---> 1c645a74b620 18:05:49 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:05:49 ---> Running in 1ec20cdabeeb 18:05:49 Removing intermediate container 1ec20cdabeeb 18:05:49 ---> 1666361f13f5 18:05:49 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:05:49 ---> Running in 748f56d4eb59 18:05:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:05:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:05:51 (1/80) Installing mesa (21.3.8-r1) 18:05:51 (2/80) Installing libxau (1.0.9-r0) 18:05:51 (3/80) Installing libxdmcp (1.1.3-r0) 18:05:51 (4/80) Installing libxcb (1.15-r0) 18:05:51 (5/80) Installing libx11 (1.8-r0) 18:05:51 (6/80) Installing libxext (1.3.4-r0) 18:05:52 (7/80) Installing libxfixes (6.0.0-r0) 18:05:52 (8/80) Installing libxxf86vm (1.1.4-r2) 18:05:52 (9/80) Installing libpciaccess (0.16-r0) 18:05:52 (10/80) Installing libdrm (2.4.110-r0) 18:05:52 (11/80) Installing mesa-glapi (21.3.8-r1) 18:05:52 (12/80) Installing libxshmfence (1.3-r1) 18:05:52 (13/80) Installing mesa-gl (21.3.8-r1) 18:05:52 (14/80) Installing icu-data-full (71.1-r2) 18:05:52 Still waiting to schedule task 18:05:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:05:53 (15/80) Installing libice (1.0.10-r0) 18:05:53 (16/80) Installing libuuid (2.38-r1) 18:05:53 (17/80) Installing libsm (1.2.3-r0) 18:05:53 (18/80) Installing libxt (1.2.1-r0) 18:05:53 (19/80) Installing libxmu (1.1.3-r0) 18:05:53 (20/80) Installing xset (1.2.4-r0) 18:05:54 (21/80) Installing xprop (1.2.5-r0) 18:05:54 (22/80) Installing xdg-utils (1.1.3-r3) 18:05:54 (23/80) Installing dbus-libs (1.14.0-r1) 18:05:54 (24/80) Installing libffi (3.4.2-r1) 18:05:54 (25/80) Installing libintl (0.21-r2) 18:05:54 (26/80) Installing libblkid (2.38-r1) 18:05:54 (27/80) Installing libmount (2.38-r1) 18:05:55 (28/80) Installing pcre (8.45-r2) 18:05:55 (29/80) Installing glib (2.72.1-r0) 18:05:55 (30/80) Installing icu-libs (71.1-r2) 18:05:55 (31/80) Installing libpcre2-16 (10.40-r0) 18:05:55 (32/80) Installing zstd-libs (1.5.2-r1) 18:05:55 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r1) 18:05:55 (34/80) Installing hicolor-icon-theme (0.17-r1) 18:05:55 (35/80) Installing wayland-libs-server (1.20.0-r0) 18:05:55 (36/80) Installing mesa-gbm (21.3.8-r1) 18:05:56 (37/80) Installing wayland-libs-client (1.20.0-r0) 18:05:56 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r0) 18:05:56 (39/80) Installing libxcomposite (0.4.5-r0) 18:05:56 (40/80) Installing libbz2 (1.0.8-r1) 18:05:56 (41/80) Installing libpng (1.6.37-r1) 18:05:56 (42/80) Installing freetype (2.12.1-r0) 18:05:56 (43/80) Installing fontconfig (2.14.0-r0) 18:05:56 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 18:05:57 (45/80) Installing wayland-libs-egl (1.20.0-r0) 18:05:57 (46/80) Installing xkeyboard-config (2.35.1-r0) 18:05:57 (47/80) Installing xz-libs (5.2.5-r1) 18:05:57 (48/80) Installing libxml2 (2.9.14-r0) 18:05:57 (49/80) Installing libxkbcommon (1.4.1-r0) 18:05:57 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 18:05:57 (51/80) Installing mesa-egl (21.3.8-r1) 18:05:57 (52/80) Installing avahi-libs (0.8-r6) 18:05:57 (53/80) Installing nettle (3.7.3-r0) 18:05:58 (54/80) Installing p11-kit (0.24.1-r0) 18:05:58 (55/80) Installing libtasn1 (4.18.0-r0) 18:05:58 (56/80) Installing libunistring (1.0-r0) 18:05:58 (57/80) Installing gnutls (3.7.6-r0) 18:05:58 (58/80) Installing cups-libs (2.4.2-r0) 18:05:58 (59/80) Installing graphite2 (1.3.14-r1) 18:05:58 (60/80) Installing harfbuzz (4.3.0-r0) 18:05:58 (61/80) Installing libevdev (1.12.1-r0) 18:05:59 (62/80) Installing mtdev (1.1.6-r0) 18:05:59 (63/80) Installing eudev-libs (3.2.11-r0) 18:05:59 (64/80) Installing libinput-libs (1.20.1-r0) 18:05:59 (65/80) Installing libjpeg-turbo (2.1.3-r1) 18:05:59 (66/80) Installing xcb-util-wm (0.4.1-r1) 18:05:59 (67/80) Installing xcb-util (0.4.0-r3) 18:05:59 (68/80) Installing xcb-util-image (0.4.0-r1) 18:05:59 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 18:05:59 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 18:05:59 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 18:06:00 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r1) 18:06:00 (73/80) Installing v4l-utils-libs (1.22.1-r1) 18:06:00 (74/80) Installing v4l-utils (1.22.1-r1) 18:06:00 (75/80) Installing udev-init-scripts (35-r0) 18:06:00 Executing udev-init-scripts-35-r0.post-install 18:06:00 (76/80) Installing kmod-libs (29-r2) 18:06:00 (77/80) Installing eudev (3.2.11-r0) 18:06:01 (78/80) Installing eudev-dev (3.2.11-r0) 18:06:01 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 18:06:01 (80/80) Installing v4l-utils-dev (1.22.1-r1) 18:06:01 Executing busybox-1.35.0-r13.trigger 18:06:01 Executing eudev-3.2.11-r0.trigger 18:06:01 OK: 330 MiB in 131 packages 18:06:03 Removing intermediate container 748f56d4eb59 18:06:03 ---> 708a5ead148e 18:06:03 Step 8/13 : WORKDIR /device-usb-camera 18:06:03 ---> Running in cc976ffc69e2 18:06:03 Removing intermediate container cc976ffc69e2 18:06:03 ---> 7e8f9f8291ee 18:06:03 Step 9/13 : COPY go.mod vendor* ./ 18:06:03 ---> 48e1b8280b8c 18:06:03 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:06:03 ---> Running in ecbfc350f145 18:06:18 Removing intermediate container ecbfc350f145 18:06:18 ---> ec439ce124cc 18:06:18 Step 11/13 : COPY . . 18:06:18 ---> 9e3cd922ead7 18:06:18 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:06:18 ---> Running in 511a2784b4fd 18:06:18  % Total % Received % Xferd Average Speed Time Time Time Current 18:06:18  Dload Upload Total  Spent Left Speed 18:06:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6650 0 --:--:-- --:--:-- --:--:-- 6637 100 1062 100 1062 0 0 6646 0 --:--:-- --:--:-- --:--:-- 6637 18:06:19 Removing intermediate container 511a2784b4fd 18:06:19 ---> af70cd58441b 18:06:19 Step 13/13 : RUN ${MAKE} 18:06:19 ---> Running in a4cc81a2d80d 18:06:19 noop 18:06:19 Removing intermediate container a4cc81a2d80d 18:06:19 ---> 62c9d5b6401d 18:06:19 Successfully built 62c9d5b6401d 18:06:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:19 + docker inspect -f . ci-base-image-x86_64 18:06:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:20 prd-ubuntu20.04-docker-8c-8g-21254 does not seem to be running inside a container 18:06:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-63 -v /w/workspace/xfoundry_device-usb-camera_PR-63:/w/workspace/xfoundry_device-usb-camera_PR-63:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-63@tmp:/w/workspace/xfoundry_device-usb-camera_PR-63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:06:20 $ docker top 561ad8fa251a609a386bca174d26a4aaace2e954ee21f7822344003c9888d632 -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:21 + go version 18:06:21 go version go1.18.3 linux/amd64 [Pipeline] } 18:06:21 $ docker stop --time=1 561ad8fa251a609a386bca174d26a4aaace2e954ee21f7822344003c9888d632 18:06:22 $ docker rm -f 561ad8fa251a609a386bca174d26a4aaace2e954ee21f7822344003c9888d632 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:22 + docker inspect -f . ci-base-image-x86_64 18:06:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:22 prd-ubuntu20.04-docker-8c-8g-21254 does not seem to be running inside a container 18:06:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-usb-camera_PR-63 -v /w/workspace/xfoundry_device-usb-camera_PR-63:/w/workspace/xfoundry_device-usb-camera_PR-63:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-63@tmp:/w/workspace/xfoundry_device-usb-camera_PR-63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:06:23 $ docker top e51a42c9427cbd5ec5b79b33c9b3f324d06369002cc048e4b0813d4d575888b8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:23 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-63 [Pipeline] fileExists [Pipeline] sh 18:06:23 + make test 18:06:23 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 18:06:24 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:06:34 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:06:34 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.9% of statements 18:06:39 CGO_ENABLED=1 go vet ./... 18:06:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:06:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:06:42 ./bin/test-attribution-txt.sh [Pipeline] echo 18:06:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:06:42 $ docker stop --time=1 e51a42c9427cbd5ec5b79b33c9b3f324d06369002cc048e4b0813d4d575888b8 18:06:44 $ docker rm -f e51a42c9427cbd5ec5b79b33c9b3f324d06369002cc048e4b0813d4d575888b8 [Pipeline] // withDockerContainer [Pipeline] sh 18:06:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:06:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:06:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:06:46 + ls -al . 18:06:46 total 192 18:06:46 drwxrwxr-x 9 jenkins jenkins 4096 Jul 27 18:06 . 18:06:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 18:05 .. 18:06:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 18:06 .git 18:06:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 18:05 .github 18:06:46 -rw-rw-r-- 1 jenkins jenkins 414 Jul 27 18:05 .gitignore 18:06:46 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 18:05 .golangci.yml 18:06:46 -rw-rw-r-- 1 jenkins jenkins 77 Jul 27 18:05 .hadolint.yml 18:06:46 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 18:05 .semver 18:06:46 -rw-rw-r-- 1 jenkins jenkins 9065 Jul 27 18:05 Attribution.txt 18:06:46 -rw-rw-r-- 1 jenkins jenkins 181 Jul 27 18:05 CHANGELOG.md 18:06:46 -rw-rw-r-- 1 jenkins jenkins 2410 Jul 27 18:05 Dockerfile 18:06:46 -rw-rw-r-- 1 jenkins jenkins 678 Jul 27 18:05 GOVERNANCE.md 18:06:46 -rw-rw-r-- 1 jenkins jenkins 659 Jul 27 18:05 Jenkinsfile 18:06:46 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 27 18:05 LICENSE 18:06:46 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 27 18:05 Makefile 18:06:46 -rw-rw-r-- 1 jenkins jenkins 622 Jul 27 18:05 OWNERS.md 18:06:46 -rw-rw-r-- 1 jenkins jenkins 12159 Jul 27 18:05 README.md 18:06:46 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 18:05 VERSION 18:06:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 18:05 bin 18:06:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 18:05 cmd 18:06:46 -rw-r--r-- 1 jenkins jenkins 29387 Jul 27 18:06 coverage.out 18:06:46 -rwxrwxr-x 1 jenkins jenkins 140 Jul 27 18:05 docker-entrypoint.sh 18:06:46 -rw-rw-r-- 1 jenkins jenkins 3382 Jul 27 18:05 go.mod 18:06:46 -rw-rw-r-- 1 jenkins jenkins 35824 Jul 27 18:05 go.sum 18:06:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 18:05 internal 18:06:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 18:05 snap 18:06:46 -rw-rw-r-- 1 jenkins jenkins 231 Jul 27 18:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:46 + 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=d1186176c431a2adfc3e90978146acf3dc9d97c9 --label arch=amd64 --label version=0.0.0 . 18:06:46 Sending build context to Docker daemon 848.4kB 18:06:46 Step 1/35 : ARG BASE=golang:1.17-alpine3.15 18:06:46 Step 2/35 : FROM ${BASE} AS builder 18:06:46 ---> 62c9d5b6401d 18:06:46 Step 3/35 : ARG MAKE="make build" 18:06:46 ---> Running in c36de58d4f5f 18:06:46 Removing intermediate container c36de58d4f5f 18:06:46 ---> fa505952fb2b 18:06:46 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:06:46 ---> Running in 9de27554c74f 18:06:46 Removing intermediate container 9de27554c74f 18:06:46 ---> 8d7aa46c4868 18:06:46 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:06:46 ---> Running in 83fdce1f0556 18:06:46 Removing intermediate container 83fdce1f0556 18:06:46 ---> 3767720234f5 18:06:46 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:06:46 ---> Running in 069660fd2313 18:06:47 Removing intermediate container 069660fd2313 18:06:47 ---> c08cff5933bc 18:06:47 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:06:47 ---> Running in 9bf738aa1d8b 18:06:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:06:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:06:49 OK: 330 MiB in 131 packages 18:06:49 Removing intermediate container 9bf738aa1d8b 18:06:49 ---> 93ae151373c3 18:06:49 Step 8/35 : WORKDIR /device-usb-camera 18:06:49 ---> Running in 9cc947b593bd 18:06:49 Removing intermediate container 9cc947b593bd 18:06:49 ---> 946a5c09beb1 18:06:49 Step 9/35 : COPY go.mod vendor* ./ 18:06:49 ---> e98b8f02d1c1 18:06:49 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:06:49 ---> Running in 30740c617dda 18:06:50 Removing intermediate container 30740c617dda 18:06:50 ---> a92053e06237 18:06:50 Step 11/35 : COPY . . 18:06:50 ---> 2dcc41d87a51 18:06:50 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:06:50 ---> Running in 2526be42e5f7 18:06:50  % Total % Received % Xferd Average Speed Time Time Time Current 18:06:50  Dload Upload Total Spent Left Speed 18:06:50 0  0 0  0  0  0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 45799 0 --:--:-- --:--:-- --:--:-- 46173 18:06:51 Removing intermediate container 2526be42e5f7 18:06:51 ---> bdfefb40c5c4 18:06:51 Step 13/35 : RUN ${MAKE} 18:06:51 ---> Running in 5edca810051a 18:06:51 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 18:07:13 Removing intermediate container 5edca810051a 18:07:13 ---> 9a6fc44f4d24 18:07:13 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 18:07:13 v0.18.4: Pulling from aler9/rtsp-simple-server 18:07:13 af6660deedbd: Pulling fs layer 18:07:13 97cd0a44c592: Pulling fs layer 18:07:13 97cd0a44c592: Download complete 18:07:13 af6660deedbd: Download complete 18:07:13 af6660deedbd: Pull complete 18:07:13 97cd0a44c592: Pull complete 18:07:13 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 18:07:13 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 18:07:13 ---> fea57e182299 18:07:13 Step 15/35 : FROM alpine:3.15 18:07:13 3.15: Pulling from library/alpine 18:07:13 ab6db1bc80d0: Pulling fs layer 18:07:13 ab6db1bc80d0: Verifying Checksum 18:07:13 ab6db1bc80d0: Pull complete 18:07:13 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 18:07:13 Status: Downloaded newer image for alpine:3.15 18:07:13 ---> 2720e26172a0 18:07:13 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:07:13 ---> Running in 90404b9a40b5 18:07:13 Removing intermediate container 90404b9a40b5 18:07:13 ---> 24f5dd89cb33 18:07:13 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 18:07:13 ---> Running in f78ccfae2949 18:07:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:07:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:07:13 (1/74) Installing dumb-init (1.2.5-r1) 18:07:13 (2/74) Installing sdl2 (2.0.16-r4) 18:07:13 (3/74) Installing libxau (1.0.9-r0) 18:07:13 (4/74) Installing libmd (1.0.3-r0) 18:07:13 (5/74) Installing libbsd (0.11.3-r1) 18:07:13 (6/74) Installing libxdmcp (1.1.3-r0) 18:07:13 (7/74) Installing libxcb (1.14-r2) 18:07:14 (8/74) Installing libx11 (1.7.2-r0) 18:07:14 (9/74) Installing aom-libs (3.2.0-r0) 18:07:14 (10/74) Installing alsa-lib (1.2.5.1-r1) 18:07:14 (11/74) Installing expat (2.4.7-r0) 18:07:14 (12/74) Installing brotli-libs (1.0.9-r5) 18:07:14 (13/74) Installing libbz2 (1.0.8-r1) 18:07:14 (14/74) Installing libpng (1.6.37-r1) 18:07:14 (15/74) Installing freetype (2.11.1-r2) 18:07:14 (16/74) Installing libuuid (2.37.4-r0) 18:07:14 (17/74) Installing fontconfig (2.13.1-r4) 18:07:14 (18/74) Installing fribidi (1.0.11-r0) 18:07:14 (19/74) Installing libffi (3.4.2-r1) 18:07:14 (20/74) Installing libintl (0.21-r0) 18:07:14 (21/74) Installing libblkid (2.37.4-r0) 18:07:14 (22/74) Installing libmount (2.37.4-r0) 18:07:14 (23/74) Installing pcre (8.45-r1) 18:07:14 (24/74) Installing glib (2.70.1-r0) 18:07:14 (25/74) Installing graphite2 (1.3.14-r0) 18:07:14 (26/74) Installing harfbuzz (3.0.0-r2) 18:07:14 (27/74) Installing libass (0.15.2-r0) 18:07:14 (28/74) Installing libdav1d (0.9.2-r0) 18:07:14 (29/74) Installing gmp (6.2.1-r1) 18:07:14 (30/74) Installing nettle (3.7.3-r0) 18:07:14 (31/74) Installing p11-kit (0.24.0-r1) 18:07:14 (32/74) Installing libtasn1 (4.18.0-r0) 18:07:14 (33/74) Installing libunistring (0.9.10-r1) 18:07:14 (34/74) Installing gnutls (3.7.1-r0) 18:07:14 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r1) 18:07:14 (36/74) Installing ncurses-libs (6.3_p20211120-r1) 18:07:14 (37/74) Installing lame (3.100-r0) 18:07:14 (38/74) Installing opus (1.3.1-r1) 18:07:14 (39/74) Installing libgomp (10.3.1_git20211027-r0) 18:07:14 (40/74) Installing soxr (0.1.3-r2) 18:07:14 (41/74) Installing libgcc (10.3.1_git20211027-r0) 18:07:14 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 18:07:14 (43/74) Installing libsrt (1.4.2-r1) 18:07:14 (44/74) Installing libssh (0.9.6-r1) 18:07:14 (45/74) Installing libogg (1.3.5-r0) 18:07:14 (46/74) Installing libtheora (1.1.1-r16) 18:07:14 (47/74) Installing libjpeg-turbo (2.1.2-r0) 18:07:14 (48/74) Installing v4l-utils-libs (1.22.1-r1) 18:07:14 (49/74) Installing libxext (1.3.4-r0) 18:07:14 (50/74) Installing libxfixes (6.0.0-r0) 18:07:14 (51/74) Installing libpciaccess (0.16-r0) 18:07:14 (52/74) Installing libdrm (2.4.109-r0) 18:07:14 (53/74) Installing wayland-libs-client (1.19.0-r1) 18:07:14 (54/74) Installing libva (2.13.0-r0) 18:07:14 (55/74) Installing libvdpau (1.4-r0) 18:07:14 (56/74) Installing vidstab (1.1.0-r1) 18:07:14 (57/74) Installing libvorbis (1.3.7-r0) 18:07:14 (58/74) Installing libvpx (1.10.0-r0) 18:07:14 (59/74) Installing vulkan-loader (1.2.196-r0) 18:07:14 (60/74) Installing libwebp (1.2.2-r0) 18:07:14 (61/74) Installing x264-libs (20210613-r0) 18:07:14 (62/74) Installing x265-libs (3.5-r0) 18:07:14 (63/74) Installing xvidcore (1.3.7-r1) 18:07:14 (64/74) Installing ffmpeg-libs (4.4.1-r2) 18:07:14 (65/74) Installing ffmpeg (4.4.1-r2) 18:07:14 (66/74) Installing udev-init-scripts (35-r0) 18:07:14 Executing udev-init-scripts-35-r0.post-install 18:07:14 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 18:07:14 (68/74) Installing xz-libs (5.2.5-r1) 18:07:14 (69/74) Installing zstd-libs (1.5.0-r0) 18:07:14 (70/74) Installing kmod-libs (29-r2) 18:07:14 (71/74) Installing eudev (3.2.11_pre1-r0) 18:07:14 (72/74) Installing libsodium (1.0.18-r0) 18:07:14 (73/74) Installing libzmq (4.3.4-r0) 18:07:14 (74/74) Installing zeromq (4.3.4-r0) 18:07:14 Executing busybox-1.34.1-r7.trigger 18:07:14 Executing eudev-3.2.11_pre1-r0.trigger 18:07:14 OK: 78 MiB in 88 packages 18:07:16 Removing intermediate container f78ccfae2949 18:07:16 ---> f9fd1d2514a7 18:07:16 Step 18/35 : WORKDIR / 18:07:16 ---> Running in dd65d5de3a62 18:07:16 Removing intermediate container dd65d5de3a62 18:07:16 ---> 927dc7019408 18:07:16 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 18:07:17 ---> 79d92629c8a2 18:07:17 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 18:07:17 ---> d3e1dcfc9dd3 18:07:17 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:07:17 ---> 7c2c2f01aef7 18:07:17 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:07:17 ---> f9fd99ad4490 18:07:17 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:07:18 ---> 6f520289dd83 18:07:18 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 18:07:18 ---> 13b91e72fc86 18:07:18 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 18:07:18 ---> e4720004409d 18:07:18 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:07:18 ---> Running in 02a5b34fd5f6 18:07:19 Removing intermediate container 02a5b34fd5f6 18:07:19 ---> f073d20712c7 18:07:19 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:07:19 ---> Running in db64d68e7135 18:07:19 Removing intermediate container db64d68e7135 18:07:19 ---> 219a7ec38e3e 18:07:19 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:07:19 ---> Running in 12f23ed7a26f 18:07:20 Removing intermediate container 12f23ed7a26f 18:07:20 ---> 7f8d463a4275 18:07:20 Step 29/35 : EXPOSE 59983 18:07:20 ---> Running in a25d2f3f41be 18:07:20 Removing intermediate container a25d2f3f41be 18:07:20 ---> 2bfbc38c3a59 18:07:20 Step 30/35 : EXPOSE 8554 18:07:20 ---> Running in ad82181b3162 18:07:20 Removing intermediate container ad82181b3162 18:07:20 ---> 1b8f7b444443 18:07:20 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:07:20 ---> Running in cbd40d304b20 18:07:20 Removing intermediate container cbd40d304b20 18:07:20 ---> 29f710f78490 18:07:20 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 18:07:20 ---> Running in 743b04a53176 18:07:20 Removing intermediate container 743b04a53176 18:07:20 ---> 491282a35a8a 18:07:20 Step 33/35 : LABEL arch=amd64 18:07:20 ---> Running in bc5497105f6c 18:07:21 Removing intermediate container bc5497105f6c 18:07:21 ---> 5060b967e27f 18:07:21 Step 34/35 : LABEL git_sha=d1186176c431a2adfc3e90978146acf3dc9d97c9 18:07:21 ---> Running in e8c59babcd11 18:07:21 Removing intermediate container e8c59babcd11 18:07:21 ---> 52154bf41e9b 18:07:21 Step 35/35 : LABEL version=0.0.0 18:07:21 ---> Running in 1008a50d9022 18:07:21 Removing intermediate container 1008a50d9022 18:07:21 ---> 566bd303781f 18:07:21 [Warning] One or more build-args [ARCH] were not consumed 18:07:21 Successfully built 566bd303781f 18:07:21 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 18:07:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:21 18:07:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:22 latest: Pulling from edgex-lftools-log-publisher 18:07:22 5eb5b503b376: Pulling fs layer 18:07:22 5c69ac0246d0: Pulling fs layer 18:07:22 ec43610c2a17: Pulling fs layer 18:07:22 3a2ae6a8a46f: Pulling fs layer 18:07:22 33b1e0a273af: Pulling fs layer 18:07:22 5d3b04190fa2: Pulling fs layer 18:07:22 2f39f015ded8: Pulling fs layer 18:07:22 3a2ae6a8a46f: Waiting 18:07:22 5d3b04190fa2: Waiting 18:07:22 33b1e0a273af: Waiting 18:07:22 5c69ac0246d0: Download complete 18:07:22 3a2ae6a8a46f: Download complete 18:07:22 33b1e0a273af: Verifying Checksum 18:07:22 33b1e0a273af: Download complete 18:07:22 ec43610c2a17: Verifying Checksum 18:07:22 ec43610c2a17: Download complete 18:07:22 5d3b04190fa2: Verifying Checksum 18:07:22 5d3b04190fa2: Download complete 18:07:22 5eb5b503b376: Verifying Checksum 18:07:22 5eb5b503b376: Download complete 18:07:23 2f39f015ded8: Download complete 18:07:23 5eb5b503b376: Pull complete 18:07:23 5c69ac0246d0: Pull complete 18:07:24 ec43610c2a17: Pull complete 18:07:24 3a2ae6a8a46f: Pull complete 18:07:24 33b1e0a273af: Pull complete 18:07:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21255 in /w/workspace/xfoundry_device-usb-camera_PR-63 [Pipeline] { [Pipeline] ws 18:07:24 Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout 18:07:24 5d3b04190fa2: Pull complete 18:07:24 Selected Git installation does not exist. Using Default 18:07:24 The recommended git tool is: NONE 18:07:28 2f39f015ded8: Pull complete 18:07:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:07:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:29 prd-ubuntu20.04-docker-8c-8g-21254 does not seem to be running inside a container 18:07:29 $ 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/xfoundry_device-usb-camera_PR-63 -v /w/workspace/xfoundry_device-usb-camera_PR-63:/w/workspace/xfoundry_device-usb-camera_PR-63:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-63@tmp:/w/workspace/xfoundry_device-usb-camera_PR-63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:07:31 $ docker top dfa2701502fb46e12f7da966a4d5683f4839a9d81b4d3614f44b81b0b1528e5c -eo pid,comm [Pipeline] { 18:07:31 using credential edgex-jenkins-ssh 18:07:31 Cloning the remote Git repository [Pipeline] libraryResource [Pipeline] sh 18:07:31 ---> job-cost.sh 18:07:31 lf-activate-venv: SKIPPING 18:07:31 INFO: No Stack... 18:07:32 INFO: Retrieving Pricing Info for: v3-standard-8 18:07:31 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:07:31 > git init /w/workspace/device-usb-camera/3 # timeout=10 18:07:31 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:07:31 > git --version # timeout=10 18:07:31 > git --version # 'git version 2.25.1' 18:07:31 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:07:32 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:07:32 INFO: Archiving Costs [Pipeline] sh 18:07:32 + cat /w/workspace/xfoundry_device-usb-camera_PR-63/archives/cost.csv 18:07:32 + cut -d, -f6 [Pipeline] lock 18:07:32 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-63-3-stack-cost] 18:07:32 Resource [jenkins-edgexfoundry-device-usb-camera-PR-63-3-stack-cost] did not exist. Created. 18:07:32 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-63-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:07:32 Merging remotes/origin/main commit e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12 into PR head commit 7d6f96ed9e7c68a21d02afb34c0d9b9def39a8da 18:07:33 + echo total: 0.2199999988079071 [Pipeline] stash 18:07:33 Stashed 1 file(s) [Pipeline] } 18:07:33 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-63-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:07:33 Merge succeeded, producing e555cab263bc41d7fd2c231c4d99ffa4b9dbbc6b 18:07:33 Checking out Revision e555cab263bc41d7fd2c231c4d99ffa4b9dbbc6b (PR-63) 18:07:33 $ docker stop --time=1 dfa2701502fb46e12f7da966a4d5683f4839a9d81b4d3614f44b81b0b1528e5c 18:07:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:07:32 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:07:32 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:07:32 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:07:32 > git config core.sparsecheckout # timeout=10 18:07:32 > git checkout -f 7d6f96ed9e7c68a21d02afb34c0d9b9def39a8da # timeout=10 18:07:33 > git remote # timeout=10 18:07:33 > git config --get remote.origin.url # timeout=10 18:07:33 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:33 > git merge e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12 # timeout=10 18:07:33 > git rev-parse HEAD^{commit} # timeout=10 18:07:33 > git config core.sparsecheckout # timeout=10 18:07:33 > git checkout -f e555cab263bc41d7fd2c231c4d99ffa4b9dbbc6b # timeout=10 18:07:34 $ docker rm -f dfa2701502fb46e12f7da966a4d5683f4839a9d81b4d3614f44b81b0b1528e5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:07:37 Commit message: "Merge commit 'e07d484d1f5eb205c2c6f6ecd02e5a0c78a6dd12' into HEAD" 18:07:37 > git rev-list --no-walk c16a2a927e21884ea165465b1d6b4c75a69244ce # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:07:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:07:38 % Total % Received % Xferd Average Speed Time Time Time Current 18:07:38 Dload Upload Total Spent Left Speed 18:07:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 73844 0 --:--:-- --:--:-- --:--:-- 74289 [Pipeline] sh 18:07:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:07:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:07:39 + sudo tee /etc/docker/daemon.new 18:07:39 { 18:07:39 "registry-mirrors": [ 18:07:39 "https://nexus3.edgexfoundry.org:10001" 18:07:39 ], 18:07:39 "bip": "10.250.0.254/24", 18:07:39 "hosts": [ 18:07:39 "tcp://0.0.0.0:5555", 18:07:39 "unix:///var/run/docker.sock" 18:07:39 ], 18:07:39 "mtu": 1458, 18:07:39 "selinux-enabled": true, 18:07:39 "seccomp-profile": "/etc/docker/seccomp.json" 18:07:39 } [Pipeline] sh 18:07:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:07:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:07:58 provisioning config files... 18:07:58 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config9148244700721768037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:59 ---> docker-login.sh 18:07:59 nexus3.edgexfoundry.org:10001 18:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:00 Configure a credential helper to remove this warning. See 18:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:00 18:08:00 Login Succeeded 18:08:00 nexus3.edgexfoundry.org:10002 18:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:00 Configure a credential helper to remove this warning. See 18:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:00 18:08:00 Login Succeeded 18:08:00 nexus3.edgexfoundry.org:10003 18:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:00 Configure a credential helper to remove this warning. See 18:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:00 18:08:00 Login Succeeded 18:08:00 nexus3.edgexfoundry.org:10004 18:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:01 Configure a credential helper to remove this warning. See 18:08:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:01 18:08:01 Login Succeeded 18:08:01 docker.io 18:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:02 Configure a credential helper to remove this warning. See 18:08:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:02 18:08:02 Login Succeeded 18:08:02 ---> docker-login.sh ends [Pipeline] } 18:08:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:08:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:08:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:08:02 ========================================================= 18:08:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:08:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:02 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:08:03 Sending build context to Docker daemon 538.6kB 18:08:03 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 18:08:03 Step 2/13 : FROM ${BASE} AS builder 18:08:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:08:03 b3c136eddcbf: Pulling fs layer 18:08:03 c0a3192eca97: Pulling fs layer 18:08:03 a050256f5b6f: Pulling fs layer 18:08:03 656be50a0ddc: Pulling fs layer 18:08:03 2bbca73fdf42: Pulling fs layer 18:08:03 46d945488cbd: Pulling fs layer 18:08:03 8a5474983e97: Pulling fs layer 18:08:03 329c88fbcd65: Pulling fs layer 18:08:03 656be50a0ddc: Waiting 18:08:03 2bbca73fdf42: Waiting 18:08:03 46d945488cbd: Waiting 18:08:03 8a5474983e97: Waiting 18:08:03 329c88fbcd65: Waiting 18:08:03 a050256f5b6f: Download complete 18:08:03 c0a3192eca97: Verifying Checksum 18:08:03 c0a3192eca97: Download complete 18:08:03 2bbca73fdf42: Verifying Checksum 18:08:03 2bbca73fdf42: Download complete 18:08:03 46d945488cbd: Verifying Checksum 18:08:03 46d945488cbd: Download complete 18:08:03 b3c136eddcbf: Verifying Checksum 18:08:03 b3c136eddcbf: Download complete 18:08:04 b3c136eddcbf: Pull complete 18:08:04 329c88fbcd65: Verifying Checksum 18:08:04 329c88fbcd65: Download complete 18:08:04 c0a3192eca97: Pull complete 18:08:05 a050256f5b6f: Pull complete 18:08:05 8a5474983e97: Verifying Checksum 18:08:05 8a5474983e97: Download complete 18:08:06 656be50a0ddc: Verifying Checksum 18:08:06 656be50a0ddc: Download complete 18:08:18 656be50a0ddc: Pull complete 18:08:19 2bbca73fdf42: Pull complete 18:08:19 46d945488cbd: Pull complete 18:08:26 8a5474983e97: Pull complete 18:08:28 329c88fbcd65: Pull complete 18:08:28 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 18:08:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:08:28 ---> ff4287adb874 18:08:28 Step 3/13 : ARG MAKE="make build" 18:08:28 ---> Running in e90c88f90c70 18:08:29 Removing intermediate container e90c88f90c70 18:08:29 ---> cec6fcf37519 18:08:29 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:08:29 ---> Running in 261cbec75163 18:08:29 Removing intermediate container 261cbec75163 18:08:29 ---> 4515f0db32b0 18:08:29 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:08:29 ---> Running in 5292cee08994 18:08:29 Removing intermediate container 5292cee08994 18:08:29 ---> f2bc4cf8707a 18:08:29 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:08:29 ---> Running in 73d525590a74 18:08:31 Removing intermediate container 73d525590a74 18:08:31 ---> fa8ac1f15285 18:08:31 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:08:31 ---> Running in bdefb190d74a 18:08:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:08:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:08:34 (1/14) Installing libintl (0.21-r2) 18:08:34 (2/14) Installing eudev-libs (3.2.11-r0) 18:08:34 (3/14) Installing libjpeg-turbo (2.1.3-r1) 18:08:34 (4/14) Installing v4l-utils-libs (1.22.1-r1) 18:08:34 (5/14) Installing v4l-utils (1.22.1-r1) 18:08:34 (6/14) Installing udev-init-scripts (35-r0) 18:08:35 Executing udev-init-scripts-35-r0.post-install 18:08:35 (7/14) Installing libblkid (2.38-r1) 18:08:35 (8/14) Installing xz-libs (5.2.5-r1) 18:08:35 (9/14) Installing zstd-libs (1.5.2-r1) 18:08:35 (10/14) Installing kmod-libs (29-r2) 18:08:35 (11/14) Installing eudev (3.2.11-r0) 18:08:35 (12/14) Installing eudev-dev (3.2.11-r0) 18:08:35 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 18:08:35 (14/14) Installing v4l-utils-dev (1.22.1-r1) 18:08:35 Executing busybox-1.35.0-r13.trigger 18:08:35 Executing eudev-3.2.11-r0.trigger 18:08:35 OK: 228 MiB in 65 packages 18:08:37 Removing intermediate container bdefb190d74a 18:08:37 ---> 00ad38941c4b 18:08:37 Step 8/13 : WORKDIR /device-usb-camera 18:08:37 ---> Running in 7cb1cd4fd1eb 18:08:37 Removing intermediate container 7cb1cd4fd1eb 18:08:37 ---> 89489eb83c08 18:08:37 Step 9/13 : COPY go.mod vendor* ./ 18:08:38 ---> de61630f4039 18:08:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:08:38 ---> Running in 1753304613fe 18:09:25 Removing intermediate container 1753304613fe 18:09:25 ---> 21ca3293841e 18:09:25 Step 11/13 : COPY . . 18:09:25 ---> fdb9f85d18b9 18:09:25 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:09:25 ---> Running in 53c8ee1ee812 18:09:25   % Total % Received % Xferd Average Speed Time Time  Time Current 18:09:25 Dload Upload Total Spent Left Speed 18:09:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 16051 0 --:--:-- --:--:-- --:--:-- 16338 18:09:25 Removing intermediate container 53c8ee1ee812 18:09:25 ---> d68faca0b67d 18:09:25 Step 13/13 : RUN ${MAKE} 18:09:25 ---> Running in d45fd80c4d16 18:09:25 noop 18:09:25 Removing intermediate container d45fd80c4d16 18:09:25 ---> a288c81d40ff 18:09:25 Successfully built a288c81d40ff 18:09:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:25 + docker inspect -f . ci-base-image-arm64 18:09:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:25 prd-ubuntu20.04-docker-arm64-4c-16g-21255 does not seem to be running inside a container 18:09:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:09:27 $ docker top 6b85fd8ad113d3c437d42b885813c196440812a53509edea119094f9d74d802a -eo pid,comm [Pipeline] { [Pipeline] sh 18:09:28 + go version 18:09:28 go version go1.18.3 linux/arm64 [Pipeline] } 18:09:28 $ docker stop --time=1 6b85fd8ad113d3c437d42b885813c196440812a53509edea119094f9d74d802a 18:09:29 $ docker rm -f 6b85fd8ad113d3c437d42b885813c196440812a53509edea119094f9d74d802a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:30 + docker inspect -f . ci-base-image-arm64 18:09:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:30 prd-ubuntu20.04-docker-arm64-4c-16g-21255 does not seem to be running inside a container 18:09:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:09:32 $ docker top 9fdfc436c7a0b19bc7e3f3f19cab4b89a331580ab62c0eb017c2c23c8f7bad07 -eo pid,comm [Pipeline] { [Pipeline] sh 18:09:32 + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh 18:09:33 + make test 18:09:33 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 18:09:35 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:10:56 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:10:58 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.067s coverage: 1.9% of statements 18:10:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:10:59 CGO_ENABLED=1 go vet ./... 18:11:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:11:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:11:21 ./bin/test-attribution-txt.sh [Pipeline] echo 18:11:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:11:21 $ docker stop --time=1 9fdfc436c7a0b19bc7e3f3f19cab4b89a331580ab62c0eb017c2c23c8f7bad07 18:11:23 $ docker rm -f 9fdfc436c7a0b19bc7e3f3f19cab4b89a331580ab62c0eb017c2c23c8f7bad07 [Pipeline] // withDockerContainer [Pipeline] sh 18:11:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:11:24 Warning: overwriting stash ‘coverage-report’ 18:11:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:11:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:11:25 + ls -al . 18:11:25 total 188 18:11:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 18:11 . 18:11:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 18:07 .. 18:11:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 18:07 .git 18:11:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 18:07 .github 18:11:25 -rw-rw-r-- 1 jenkins jenkins 414 Jul 27 18:07 .gitignore 18:11:25 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 18:07 .golangci.yml 18:11:25 -rw-rw-r-- 1 jenkins jenkins 77 Jul 27 18:07 .hadolint.yml 18:11:25 -rw-rw-r-- 1 jenkins jenkins 9065 Jul 27 18:07 Attribution.txt 18:11:25 -rw-rw-r-- 1 jenkins jenkins 181 Jul 27 18:07 CHANGELOG.md 18:11:25 -rw-rw-r-- 1 jenkins jenkins 2410 Jul 27 18:07 Dockerfile 18:11:25 -rw-rw-r-- 1 jenkins jenkins 678 Jul 27 18:07 GOVERNANCE.md 18:11:25 -rw-rw-r-- 1 jenkins jenkins 659 Jul 27 18:07 Jenkinsfile 18:11:25 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 27 18:07 LICENSE 18:11:25 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 27 18:07 Makefile 18:11:25 -rw-rw-r-- 1 jenkins jenkins 622 Jul 27 18:07 OWNERS.md 18:11:25 -rw-rw-r-- 1 jenkins jenkins 12159 Jul 27 18:07 README.md 18:11:25 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 18:05 VERSION 18:11:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 18:07 bin 18:11:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 18:07 cmd 18:11:25 -rw-r--r-- 1 jenkins jenkins 29387 Jul 27 18:10 coverage.out 18:11:25 -rwxrwxr-x 1 jenkins jenkins 140 Jul 27 18:07 docker-entrypoint.sh 18:11:25 -rw-rw-r-- 1 jenkins jenkins 3382 Jul 27 18:07 go.mod 18:11:25 -rw-rw-r-- 1 jenkins jenkins 35824 Jul 27 18:07 go.sum 18:11:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 18:07 internal 18:11:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 18:07 snap 18:11:25 -rw-rw-r-- 1 jenkins jenkins 231 Jul 27 18:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:25 + 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=e555cab263bc41d7fd2c231c4d99ffa4b9dbbc6b --label arch=arm64 --label version=0.0.0 . 18:11:25 Sending build context to Docker daemon 568.8kB 18:11:25 Step 1/35 : ARG BASE=golang:1.17-alpine3.15 18:11:25 Step 2/35 : FROM ${BASE} AS builder 18:11:25 ---> a288c81d40ff 18:11:25 Step 3/35 : ARG MAKE="make build" 18:11:26 ---> Running in 1571cb9ad141 18:11:26 Removing intermediate container 1571cb9ad141 18:11:26 ---> 7245a7de4d5d 18:11:26 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:11:26 ---> Running in f195d328c79e 18:11:26 Removing intermediate container f195d328c79e 18:11:26 ---> 64c4a5e2f899 18:11:26 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:11:26 ---> Running in ae8a0ef740be 18:11:26 Removing intermediate container ae8a0ef740be 18:11:26 ---> f95d1121230d 18:11:26 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:11:27 ---> Running in ec687eb47b2f 18:11:28 Removing intermediate container ec687eb47b2f 18:11:28 ---> 4ada53f1ac02 18:11:28 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:11:28 ---> Running in 6d6e99a58090 18:11:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:11:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:11:31 OK: 228 MiB in 65 packages 18:11:32 Removing intermediate container 6d6e99a58090 18:11:32 ---> 566ef98d6912 18:11:32 Step 8/35 : WORKDIR /device-usb-camera 18:11:32 ---> Running in e6ea5d831c3b 18:11:32 Removing intermediate container e6ea5d831c3b 18:11:32 ---> 7bddf0a40ec9 18:11:32 Step 9/35 : COPY go.mod vendor* ./ 18:11:33 ---> 4caf552c0492 18:11:33 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:11:33 ---> Running in b7c2ff256eb4 18:11:35 Removing intermediate container b7c2ff256eb4 18:11:35 ---> 1975d9447b1f 18:11:35 Step 11/35 : COPY . . 18:11:35 ---> 86b541d1942a 18:11:35 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:11:35 ---> Running in 70709e416fb5 18:11:36  % Total % Received % Xferd Average Speed Time Time Time Current 18:11:36 Dload Upload Total Spent Left Speed 18:11:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5688 0 --:--:-- --:--:-- --:--:-- 5709 18:11:37 Removing intermediate container 70709e416fb5 18:11:37 ---> 0e586f84b2d0 18:11:37 Step 13/35 : RUN ${MAKE} 18:11:37 ---> Running in 427378dd798f 18:11:38 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 18:14:00 Removing intermediate container 427378dd798f 18:14:00 ---> 518dc07b91be 18:14:00 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 18:14:00 v0.18.4: Pulling from aler9/rtsp-simple-server 18:14:00 eab2503cf8f4: Pulling fs layer 18:14:00 97cd0a44c592: Pulling fs layer 18:14:00 97cd0a44c592: Verifying Checksum 18:14:00 97cd0a44c592: Download complete 18:14:00 eab2503cf8f4: Verifying Checksum 18:14:00 eab2503cf8f4: Download complete 18:14:00 eab2503cf8f4: Pull complete 18:14:00 97cd0a44c592: Pull complete 18:14:00 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 18:14:00 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 18:14:00 ---> 7f763cca56b3 18:14:00 Step 15/35 : FROM alpine:3.15 18:14:00 3.15: Pulling from library/alpine 18:14:00 e0295fd11fe2: Pulling fs layer 18:14:00 e0295fd11fe2: Verifying Checksum 18:14:00 e0295fd11fe2: Download complete 18:14:00 e0295fd11fe2: Pull complete 18:14:00 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 18:14:00 Status: Downloaded newer image for alpine:3.15 18:14:00 ---> 60f2846fe774 18:14:00 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:14:00 ---> Running in b727eaaffb73 18:14:00 Removing intermediate container b727eaaffb73 18:14:00 ---> ca62899d2fdf 18:14:00 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 18:14:00 ---> Running in 41c7c01bd5cb 18:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:14:00 (1/73) Installing dumb-init (1.2.5-r1) 18:14:00 (2/73) Installing sdl2 (2.0.16-r4) 18:14:00 (3/73) Installing libxau (1.0.9-r0) 18:14:00 (4/73) Installing libmd (1.0.3-r0) 18:14:00 (5/73) Installing libbsd (0.11.3-r1) 18:14:00 (6/73) Installing libxdmcp (1.1.3-r0) 18:14:00 (7/73) Installing libxcb (1.14-r2) 18:14:00 (8/73) Installing libx11 (1.7.2-r0) 18:14:00 (9/73) Installing aom-libs (3.2.0-r0) 18:14:00 (10/73) Installing alsa-lib (1.2.5.1-r1) 18:14:00 (11/73) Installing expat (2.4.7-r0) 18:14:00 (12/73) Installing brotli-libs (1.0.9-r5) 18:14:00 (13/73) Installing libbz2 (1.0.8-r1) 18:14:00 (14/73) Installing libpng (1.6.37-r1) 18:14:00 (15/73) Installing freetype (2.11.1-r2) 18:14:00 (16/73) Installing libuuid (2.37.4-r0) 18:14:00 (17/73) Installing fontconfig (2.13.1-r4) 18:14:00 (18/73) Installing fribidi (1.0.11-r0) 18:14:00 (19/73) Installing libffi (3.4.2-r1) 18:14:00 (20/73) Installing libintl (0.21-r0) 18:14:00 (21/73) Installing libblkid (2.37.4-r0) 18:14:00 (22/73) Installing libmount (2.37.4-r0) 18:14:00 (23/73) Installing pcre (8.45-r1) 18:14:00 (24/73) Installing glib (2.70.1-r0) 18:14:00 (25/73) Installing graphite2 (1.3.14-r0) 18:14:00 (26/73) Installing harfbuzz (3.0.0-r2) 18:14:00 (27/73) Installing libass (0.15.2-r0) 18:14:00 (28/73) Installing libdav1d (0.9.2-r0) 18:14:00 (29/73) Installing gmp (6.2.1-r1) 18:14:00 (30/73) Installing nettle (3.7.3-r0) 18:14:00 (31/73) Installing p11-kit (0.24.0-r1) 18:14:00 (32/73) Installing libtasn1 (4.18.0-r0) 18:14:00 (33/73) Installing libunistring (0.9.10-r1) 18:14:00 (34/73) Installing gnutls (3.7.1-r0) 18:14:00 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r1) 18:14:00 (36/73) Installing ncurses-libs (6.3_p20211120-r1) 18:14:00 (37/73) Installing lame (3.100-r0) 18:14:00 (38/73) Installing opus (1.3.1-r1) 18:14:00 (39/73) Installing libgomp (10.3.1_git20211027-r0) 18:14:00 (40/73) Installing soxr (0.1.3-r2) 18:14:00 (41/73) Installing libgcc (10.3.1_git20211027-r0) 18:14:00 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 18:14:00 (43/73) Installing libsrt (1.4.2-r1) 18:14:00 (44/73) Installing libssh (0.9.6-r1) 18:14:00 (45/73) Installing libogg (1.3.5-r0) 18:14:00 (46/73) Installing libtheora (1.1.1-r16) 18:14:00 (47/73) Installing libjpeg-turbo (2.1.2-r0) 18:14:00 (48/73) Installing v4l-utils-libs (1.22.1-r1) 18:14:00 (49/73) Installing libxext (1.3.4-r0) 18:14:00 (50/73) Installing libxfixes (6.0.0-r0) 18:14:00 (51/73) Installing libdrm (2.4.109-r0) 18:14:00 (52/73) Installing wayland-libs-client (1.19.0-r1) 18:14:00 (53/73) Installing libva (2.13.0-r0) 18:14:00 (54/73) Installing libvdpau (1.4-r0) 18:14:00 (55/73) Installing vidstab (1.1.0-r1) 18:14:00 (56/73) Installing libvorbis (1.3.7-r0) 18:14:00 (57/73) Installing libvpx (1.10.0-r0) 18:14:00 (58/73) Installing vulkan-loader (1.2.196-r0) 18:14:00 (59/73) Installing libwebp (1.2.2-r0) 18:14:00 (60/73) Installing x264-libs (20210613-r0) 18:14:00 (61/73) Installing x265-libs (3.5-r0) 18:14:00 (62/73) Installing xvidcore (1.3.7-r1) 18:14:00 (63/73) Installing ffmpeg-libs (4.4.1-r2) 18:14:00 (64/73) Installing ffmpeg (4.4.1-r2) 18:14:00 (65/73) Installing udev-init-scripts (35-r0) 18:14:00 Executing udev-init-scripts-35-r0.post-install 18:14:00 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 18:14:00 (67/73) Installing xz-libs (5.2.5-r1) 18:14:00 (68/73) Installing zstd-libs (1.5.0-r0) 18:14:00 (69/73) Installing kmod-libs (29-r2) 18:14:00 (70/73) Installing eudev (3.2.11_pre1-r0) 18:14:00 (71/73) Installing libsodium (1.0.18-r0) 18:14:00 (72/73) Installing libzmq (4.3.4-r0) 18:14:00 (73/73) Installing zeromq (4.3.4-r0) 18:14:00 Executing busybox-1.34.1-r7.trigger 18:14:00 Executing eudev-3.2.11_pre1-r0.trigger 18:14:00 OK: 67 MiB in 87 packages 18:14:00 Removing intermediate container 41c7c01bd5cb 18:14:00 ---> 497d1c595d33 18:14:00 Step 18/35 : WORKDIR / 18:14:00 ---> Running in 2ea7aa1d2465 18:14:00 Removing intermediate container 2ea7aa1d2465 18:14:00 ---> f9e574d14ac7 18:14:00 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 18:14:00 ---> 8c7a74f02b41 18:14:00 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 18:14:00 ---> 38b6eaad8cfc 18:14:00 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:14:00 ---> c409ee9c6c36 18:14:00 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:14:00 ---> 31d93324f78f 18:14:00 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:14:01 ---> 191d09fdc3ff 18:14:01 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 18:14:01 ---> 33dbc742eb8e 18:14:01 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 18:14:03 ---> 6b13bbf3f2eb 18:14:03 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:14:03 ---> Running in bcc15559fcc6 18:14:04 Removing intermediate container bcc15559fcc6 18:14:04 ---> 9b0ed4a33104 18:14:04 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:14:04 ---> Running in a73159af9619 18:14:06 Removing intermediate container a73159af9619 18:14:06 ---> da3d1523103d 18:14:06 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:14:06 ---> Running in 057fea97079c 18:14:07 Removing intermediate container 057fea97079c 18:14:07 ---> 3736b1d27e18 18:14:07 Step 29/35 : EXPOSE 59983 18:14:07 ---> Running in 084dfe9ddaba 18:14:08 Removing intermediate container 084dfe9ddaba 18:14:08 ---> c7f76a1d59fe 18:14:08 Step 30/35 : EXPOSE 8554 18:14:08 ---> Running in c1eb54d580f5 18:14:08 Removing intermediate container c1eb54d580f5 18:14:08 ---> c7ba5502b8cd 18:14:08 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:14:08 ---> Running in 2657c8b5b364 18:14:08 Removing intermediate container 2657c8b5b364 18:14:08 ---> 4ffac54469a4 18:14:08 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 18:14:09 ---> Running in 4c7fb690c384 18:14:09 Removing intermediate container 4c7fb690c384 18:14:09 ---> 7b4bce5dca6f 18:14:09 Step 33/35 : LABEL arch=arm64 18:14:09 ---> Running in bd66c30e1fd2 18:14:09 Removing intermediate container bd66c30e1fd2 18:14:09 ---> 4d13d52ef750 18:14:09 Step 34/35 : LABEL git_sha=e555cab263bc41d7fd2c231c4d99ffa4b9dbbc6b 18:14:09 ---> Running in 01bc7b4b166d 18:14:09 Removing intermediate container 01bc7b4b166d 18:14:09 ---> 8a44b4ac5f4f 18:14:09 Step 35/35 : LABEL version=0.0.0 18:14:10 ---> Running in 85d3d4926584 18:14:10 Removing intermediate container 85d3d4926584 18:14:10 ---> adccabd96139 18:14:10 [Warning] One or more build-args [ARCH] were not consumed 18:14:10 Successfully built adccabd96139 18:14:10 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 18:14:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:14:10 18:14:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:14:11 arm64: Pulling from edgex-lftools-log-publisher 18:14:11 8998bd30e6a1: Pulling fs layer 18:14:11 04944245beec: Pulling fs layer 18:14:11 699f458cf7ca: Pulling fs layer 18:14:11 765212b225bb: Pulling fs layer 18:14:11 f23df028b6ca: Pulling fs layer 18:14:11 d65c8cfc05b1: Pulling fs layer 18:14:11 2437ff75d9bd: Pulling fs layer 18:14:11 f23df028b6ca: Waiting 18:14:11 765212b225bb: Waiting 18:14:11 d65c8cfc05b1: Waiting 18:14:11 2437ff75d9bd: Waiting 18:14:11 04944245beec: Verifying Checksum 18:14:11 04944245beec: Download complete 18:14:11 765212b225bb: Verifying Checksum 18:14:11 765212b225bb: Download complete 18:14:11 f23df028b6ca: Verifying Checksum 18:14:11 f23df028b6ca: Download complete 18:14:11 d65c8cfc05b1: Verifying Checksum 18:14:11 d65c8cfc05b1: Download complete 18:14:11 699f458cf7ca: Verifying Checksum 18:14:11 699f458cf7ca: Download complete 18:14:12 8998bd30e6a1: Verifying Checksum 18:14:12 8998bd30e6a1: Download complete 18:14:14 2437ff75d9bd: Verifying Checksum 18:14:14 2437ff75d9bd: Download complete 18:14:16 8998bd30e6a1: Pull complete 18:14:17 04944245beec: Pull complete 18:14:18 699f458cf7ca: Pull complete 18:14:18 765212b225bb: Pull complete 18:14:19 f23df028b6ca: Pull complete 18:14:19 d65c8cfc05b1: Pull complete 18:14:34 2437ff75d9bd: Pull complete 18:14:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:14:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:14:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:35 prd-ubuntu20.04-docker-arm64-4c-16g-21255 does not seem to be running inside a container 18:14:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:14:37 $ docker top 1c5a0efc3be60f30416cdf2997e22057b10410c94017d835bb25c226d13e8564 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:38 ---> job-cost.sh 18:14:38 lf-activate-venv: SKIPPING 18:14:38 INFO: No Stack... 18:14:39 INFO: Retrieving Pricing Info for: v3-standard-4 18:14:40 INFO: Archiving Costs [Pipeline] sh 18:14:40 + cat /w/workspace/device-usb-camera/3/archives/cost.csv 18:14:40 + cut -d, -f6 [Pipeline] lock 18:14:40 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-63-3-stack-cost] 18:14:40 Resource [jenkins-edgexfoundry-device-usb-camera-PR-63-3-stack-cost] did not exist. Created. 18:14:40 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-63-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:14:41 /w/workspace/device-usb-camera/3@tmp/durable-bb326486/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:14:42 + echo total: 0.10999999940395355 [Pipeline] stash 18:14:42 Warning: overwriting stash ‘stack-cost’ 18:14:42 Stashed 1 file(s) [Pipeline] } 18:14:42 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-63-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:14:42 $ docker stop --time=1 1c5a0efc3be60f30416cdf2997e22057b10410c94017d835bb25c226d13e8564 18:14:43 $ docker rm -f 1c5a0efc3be60f30416cdf2997e22057b10410c94017d835bb25c226d13e8564 [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 18:14:44 provisioning config files... 18:14:44 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-63@tmp/config6654912232760337642tmp [Pipeline] { [Pipeline] sh 18:14:44 + set +x 18:14:44 + curl -s https://codecov.io/bash 18:14:44 + bash -s -- 18:14:44 18:14:44 _____ _ 18:14:44 / ____| | | 18:14:44 | | ___ __| | ___ ___ _____ __ 18:14:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:14:44 | |___| (_) | (_| | __/ (_| (_) \ V / 18:14:44 \_____\___/ \__,_|\___|\___\___/ \_/ 18:14:44 Bash-1.0.6 18:14:44 18:14:44 18:14:44 ==> git version 2.25.1 found 18:14:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:14:44 Release-Date: 2020-01-08 18:14:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:14:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:14:44 ==> Jenkins CI detected. 18:14:44 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-63 18:14:44 project root: . 18:14:44 --> token set from env 18:14:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:14:44 ==> Running gcov in . (disable via -X gcov) 18:14:44 ==> Python coveragepy not found 18:14:44 ==> Searching for coverage reports in: 18:14:44 + . 18:14:44 -> Found 1 reports 18:14:44 ==> Detecting git/mercurial file structure 18:14:44 ==> Reading reports 18:14:44 + ./coverage.out bytes=29387 18:14:44 ==> Appending adjustments 18:14:44 https://docs.codecov.io/docs/fixing-reports 18:14:44 + Found adjustments 18:14:44 ==> Gzipping contents 18:14:44 8.0K /tmp/codecov.Xc2jk3.gz 18:14:44 ==> Uploading reports 18:14:44 url: https://codecov.io 18:14:44 query: branch=PR-63&commit=d1186176c431a2adfc3e90978146acf3dc9d97c9&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-63%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=63&job=&cmd_args= 18:14:44 -> Pinging Codecov 18:14:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-63&commit=d1186176c431a2adfc3e90978146acf3dc9d97c9&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-63%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=63&job=&cmd_args= 18:14:45 -> Uploading to 18:14:45 https://storage.googleapis.com/codecov/v4/raw/2022-07-27/73D8F5FF140700D3E01443B452E23636/d1186176c431a2adfc3e90978146acf3dc9d97c9/ca8a2151-4d34-4faa-9707-a470711c7fb4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220727T181445Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0413cc96ddf92dda1a92a580ba0803b5b2fa4fd39b7f609efc18005e8226d87c 18:14:45 % Total % Received % Xferd Average Speed Time Time Time Current 18:14:45 Dload Upload Total Spent Left Speed 18:14:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4139 0 0 100 4139 0 15105 --:--:-- --:--:-- --:--:-- 15105 18:14:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/d1186176c431a2adfc3e90978146acf3dc9d97c9 [Pipeline] } 18:14:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:14:46 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-63/archives ] 18:14:46 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-63/archives 18:14:46 total 16 18:14:46 drwxr-xr-x 3 root root 4096 Jul 27 18:07 . 18:14:46 drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 18:07 .. 18:14:46 drwxr-xr-x 2 root root 4096 Jul 27 18:07 cost 18:14:46 -rw-r--r-- 1 root root 88 Jul 27 18:07 cost.csv 18:14:46 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-63/archives 18:14:46 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-63/archives 18:14:46 total 16 18:14:46 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 18:07 . 18:14:46 drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 18:07 .. 18:14:46 drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 18:07 cost 18:14:46 -rw-r--r-- 1 jenkins jenkins 88 Jul 27 18:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:14:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:14:47 ---> package-listing.sh 18:14:47 ++ facter osfamily 18:14:47 ++ tr '[:upper:]' '[:lower:]' 18:14:47 + OS_FAMILY=debian 18:14:47 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-63 18:14:47 + START_PACKAGES=/tmp/packages_start.txt 18:14:47 + END_PACKAGES=/tmp/packages_end.txt 18:14:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:14:47 + PACKAGES=/tmp/packages_start.txt 18:14:47 + '[' /w/workspace/xfoundry_device-usb-camera_PR-63 ']' 18:14:47 + PACKAGES=/tmp/packages_end.txt 18:14:47 + case "${OS_FAMILY}" in 18:14:47 + dpkg -l 18:14:47 + grep '^ii' 18:14:47 + '[' -f /tmp/packages_start.txt ']' 18:14:47 + '[' -f /tmp/packages_end.txt ']' 18:14:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:14:47 + '[' /w/workspace/xfoundry_device-usb-camera_PR-63 ']' 18:14:47 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-63/archives/ 18:14:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-63/archives/ [Pipeline] echo 18:14:47 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/xfoundry_device-usb-camera_PR-63/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:14:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:48 prd-ubuntu20.04-docker-8c-8g-21254 does not seem to be running inside a container 18:14:48 $ 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/xfoundry_device-usb-camera_PR-63/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-63 -v /w/workspace/xfoundry_device-usb-camera_PR-63:/w/workspace/xfoundry_device-usb-camera_PR-63:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-63@tmp:/w/workspace/xfoundry_device-usb-camera_PR-63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:14:48 $ docker top 8b69c9d686fe8cafe2e911852de6a0f685d00ca7e7697ea3be650e2af40da65e -eo pid,comm [Pipeline] { [Pipeline] sh 18:14:49 + touch /tmp/pre-build-complete [Pipeline] sh 18:14:49 + mkdir -p /var/log/sysstat [Pipeline] sh 18:14:49 + ls /var/log/sa-host 18:14:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:14:49 provisioning config files... 18:14:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-63@tmp/config7213196326459932675tmp [Pipeline] { [Pipeline] echo 18:14:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:14:50 ---> create-netrc.sh [Pipeline] } 18:14:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:14:50 ---> python-tools-install.sh [Pipeline] echo 18:14:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:14:50 ---> sudo-logs.sh 18:14:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:14:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:14:51 ---> job-cost.sh 18:14:51 lf-activate-venv: SKIPPING 18:14:51 DEBUG: total: 0.2199999988079071 18:14:51 INFO: Retrieving Stack Cost... 18:14:51 INFO: Retrieving Pricing Info for: v3-standard-8 18:14:52 INFO: Archiving Costs [Pipeline] echo 18:14:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:14:52 ---> logs-deploy.sh 18:14:52 lf-activate-venv: SKIPPING 18:14:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-63/3 18:14:52 INFO: archiving workspace using pattern(s): 18:14:53 Archives upload complete. 18:14:53 INFO: archiving logs to Nexus 18:14:54 ---> uname -a: 18:14:54 Linux prd-ubuntu20-04-docker-8c-8g-21254 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 18:14:54 18:14:54 18:14:54 ---> lscpu: 18:14:54 Architecture: x86_64 18:14:54 CPU op-mode(s): 32-bit, 64-bit 18:14:54 Byte Order: Little Endian 18:14:54 Address sizes: 40 bits physical, 48 bits virtual 18:14:54 CPU(s): 8 18:14:54 On-line CPU(s) list: 0-7 18:14:54 Thread(s) per core: 1 18:14:54 Core(s) per socket: 1 18:14:54 Socket(s): 8 18:14:54 NUMA node(s): 1 18:14:54 Vendor ID: AuthenticAMD 18:14:54 CPU family: 23 18:14:54 Model: 49 18:14:54 Model name: AMD EPYC-Rome Processor 18:14:54 Stepping: 0 18:14:54 CPU MHz: 2799.996 18:14:54 BogoMIPS: 5599.99 18:14:54 Virtualization: AMD-V 18:14:54 Hypervisor vendor: KVM 18:14:54 Virtualization type: full 18:14:54 L1d cache: 256 KiB 18:14:54 L1i cache: 256 KiB 18:14:54 L2 cache: 4 MiB 18:14:54 L3 cache: 128 MiB 18:14:54 NUMA node0 CPU(s): 0-7 18:14:54 Vulnerability Itlb multihit: Not affected 18:14:54 Vulnerability L1tf: Not affected 18:14:54 Vulnerability Mds: Not affected 18:14:54 Vulnerability Meltdown: Not affected 18:14:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:14:54 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:14:54 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:14:54 Vulnerability Srbds: Not affected 18:14:54 Vulnerability Tsx async abort: Not affected 18:14:54 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 18:14:54 18:14:54 18:14:54 ---> nproc: 18:14:54 8 18:14:54 18:14:54 18:14:54 ---> df -h: 18:14:54 Filesystem Size Used Avail Use% Mounted on 18:14:54 overlay 155G 11G 144G 8% / 18:14:54 tmpfs 64M 0 64M 0% /dev 18:14:54 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:14:54 shm 64M 0 64M 0% /dev/shm 18:14:54 /dev/vda1 155G 11G 144G 8% /facter-os 18:14:54 18:14:54 18:14:54 ---> sar -b -r -n DEV: 18:14:54 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-21254) 07/27/22 _x86_64_ (8 CPU) 18:14:54 18:14:54 18:04:39 LINUX RESTART (8 CPU) 18:14:54 18:14:54 18:05:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:14:54 18:06:01 372.10 46.54 325.56 0.00 4237.85 146795.86 0.00 18:14:54 18:07:01 201.47 1.33 200.13 0.00 19.73 45277.92 0.00 18:14:54 18:08:01 165.79 0.02 165.77 0.00 4.00 40704.42 0.00 18:14:54 18:09:01 2.67 0.00 2.67 0.00 0.00 32.41 0.00 18:14:54 18:10:01 1.18 0.02 1.17 0.00 0.13 14.13 0.00 18:14:54 18:11:01 1.07 0.00 1.07 0.00 0.00 13.46 0.00 18:14:54 18:12:01 1.15 0.00 1.15 0.00 0.00 13.86 0.00 18:14:54 18:13:01 2.65 0.17 2.48 0.00 18.26 30.12 0.00 18:14:54 18:14:01 1.03 0.00 1.03 0.00 0.00 11.06 0.00 18:14:54 Average: 82.16 5.19 76.97 0.00 461.60 25427.96 0.00 18:14:54 18:14:54 18:05:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:14:54 18:06:01 28741380 31751280 552324 1.68 119624 3154692 2132804 6.29 1125164 2630600 120720 18:14:54 18:07:01 27757792 31418456 873572 2.66 166848 3681160 2712388 7.99 1683672 2964952 207832 18:14:54 18:08:01 27481868 31781736 511512 1.56 176648 4262980 1808100 5.33 1291464 3586928 480 18:14:54 18:09:01 27482852 31782780 510368 1.55 176704 4262980 1808100 5.33 1290248 3586928 12 18:14:54 18:10:01 27490460 31790396 502664 1.53 176736 4262988 1808100 5.33 1283236 3586936 20 18:14:54 18:11:01 27490712 31790672 502324 1.53 176768 4262996 1808100 5.33 1283764 3586944 196 18:14:54 18:12:01 27493696 31793704 499260 1.52 176796 4262988 1808100 5.33 1280796 3586944 20 18:14:54 18:13:01 27492736 31793572 499788 1.52 176816 4263552 1817276 5.36 1280584 3587704 48 18:14:54 18:14:01 27492980 31793816 499460 1.52 176840 4263552 1817276 5.36 1280568 3587704 12 18:14:54 Average: 27658275 31744046 550141 1.67 169309 4075321 1946694 5.74 1311055 3411738 36593 18:14:54 18:14:54 18:05:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:14:54 18:06:01 docker0 67.24 128.80 4.59 786.49 0.00 0.00 0.00 0.00 18:14:54 18:06:01 vethb0e20ec 66.41 127.99 5.37 782.94 0.00 0.00 0.00 0.06 18:14:54 18:06:01 lo 6.96 6.96 0.67 0.67 0.00 0.00 0.00 0.00 18:14:54 18:06:01 ens3 890.74 579.89 7309.44 121.72 0.00 0.00 0.00 0.00 18:14:54 18:07:01 docker0 102.72 127.61 8.33 1031.50 0.00 0.00 0.00 0.00 18:14:54 18:07:01 vethb4831d9 0.05 0.20 0.00 0.02 0.00 0.00 0.00 0.00 18:14:54 18:07:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 18:14:54 18:07:01 ens3 208.48 163.84 1077.49 87.90 0.00 0.00 0.00 0.00 18:14:54 18:08:01 docker0 12.70 32.36 0.95 504.46 0.00 0.00 0.00 0.00 18:14:54 18:08:01 lo 2.33 2.33 0.23 0.23 0.00 0.00 0.00 0.00 18:14:54 18:08:01 ens3 199.60 126.93 3254.94 66.29 0.00 0.00 0.00 0.00 18:14:54 18:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:54 18:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:14:54 18:09:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 18:14:54 18:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:54 18:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:54 18:10:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 18:14:54 18:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:54 18:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:14:54 18:11:01 ens3 0.65 0.52 0.34 0.28 0.00 0.00 0.00 0.00 18:14:54 18:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:54 18:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:54 18:12:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:54 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:54 18:13:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 18:14:54 18:13:01 ens3 0.27 0.32 0.11 0.04 0.00 0.00 0.00 0.00 18:14:54 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:54 18:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:14:54 18:14:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 18:14:54 Average: docker0 20.12 31.73 1.53 256.08 0.00 0.00 0.00 0.00 18:14:54 Average: lo 1.14 1.14 0.11 0.11 0.00 0.00 0.00 0.00 18:14:54 Average: ens3 141.66 95.06 1271.25 30.35 0.00 0.00 0.00 0.00 18:14:54 18:14:54 18:14:54 ---> sar -P ALL: 18:14:54 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-21254) 07/27/22 _x86_64_ (8 CPU) 18:14:54 18:14:54 18:04:39 LINUX RESTART (8 CPU) 18:14:54 18:14:54 18:05:03 CPU %user %nice %system %iowait %steal %idle 18:14:54 18:06:01 all 10.52 0.00 4.16 2.30 0.06 82.96 18:14:54 18:06:01 0 9.56 0.00 3.38 0.10 0.09 86.87 18:14:54 18:06:01 1 8.01 0.00 3.77 0.45 0.03 87.73 18:14:54 18:06:01 2 12.42 0.00 3.66 0.28 0.05 83.59 18:14:54 18:06:01 3 9.73 0.00 3.95 2.66 0.05 83.60 18:14:54 18:06:01 4 10.18 0.00 4.24 5.41 0.07 80.09 18:14:54 18:06:01 5 13.54 0.00 3.81 1.77 0.05 80.83 18:14:54 18:06:01 6 10.80 0.00 4.26 1.36 0.03 83.55 18:14:54 18:06:01 7 9.94 0.00 6.22 6.42 0.07 77.35 18:14:54 18:07:01 all 34.78 0.00 7.38 1.35 0.10 56.39 18:14:54 18:07:01 0 34.58 0.00 6.79 0.66 0.08 57.88 18:14:54 18:07:01 1 34.28 0.00 7.42 1.69 0.10 56.51 18:14:54 18:07:01 2 35.31 0.00 7.41 0.41 0.08 56.79 18:14:54 18:07:01 3 34.16 0.00 8.23 1.00 0.08 56.52 18:14:54 18:07:01 4 34.48 0.00 8.04 4.87 0.10 52.51 18:14:54 18:07:01 5 34.61 0.00 6.98 0.66 0.10 57.66 18:14:54 18:07:01 6 35.55 0.00 6.77 0.95 0.10 56.63 18:14:54 18:07:01 7 35.31 0.00 7.42 0.58 0.10 56.59 18:14:54 18:08:01 all 9.31 0.00 2.81 1.28 0.04 86.56 18:14:54 18:08:01 0 8.64 0.00 2.35 2.08 0.03 86.89 18:14:54 18:08:01 1 9.44 0.00 2.90 3.45 0.03 84.17 18:14:54 18:08:01 2 10.49 0.00 3.04 0.24 0.05 86.19 18:14:54 18:08:01 3 9.16 0.00 3.01 0.25 0.03 87.54 18:14:54 18:08:01 4 8.78 0.00 2.28 0.07 0.03 88.83 18:14:54 18:08:01 5 8.54 0.00 2.97 0.20 0.03 88.25 18:14:54 18:08:01 6 10.39 0.00 3.23 3.25 0.03 83.10 18:14:54 18:08:01 7 9.00 0.00 2.74 0.71 0.05 87.50 18:14:54 18:09:01 all 0.02 0.00 0.01 0.01 0.00 99.95 18:14:54 18:09:01 0 0.02 0.00 0.00 0.00 0.00 99.98 18:14:54 18:09:01 1 0.05 0.00 0.03 0.03 0.02 99.87 18:14:54 18:09:01 2 0.02 0.00 0.00 0.00 0.00 99.98 18:14:54 18:09:01 3 0.02 0.00 0.02 0.00 0.02 99.95 18:14:54 18:09:01 4 0.02 0.00 0.00 0.00 0.00 99.98 18:14:54 18:09:01 5 0.03 0.00 0.02 0.00 0.00 99.95 18:14:54 18:09:01 6 0.02 0.00 0.02 0.07 0.00 99.90 18:14:54 18:09:01 7 0.00 0.00 0.02 0.00 0.00 99.98 18:14:54 18:10:01 all 0.04 0.00 0.03 0.00 0.00 99.92 18:14:54 18:10:01 0 0.00 0.00 0.00 0.00 0.00 100.00 18:14:54 18:10:01 1 0.03 0.00 0.07 0.00 0.02 99.88 18:14:54 18:10:01 2 0.17 0.00 0.02 0.00 0.00 99.82 18:14:54 18:10:01 3 0.03 0.00 0.03 0.00 0.00 99.93 18:14:54 18:10:01 4 0.02 0.00 0.02 0.00 0.00 99.97 18:14:54 18:10:01 5 0.00 0.00 0.05 0.00 0.00 99.95 18:14:54 18:10:01 6 0.05 0.00 0.08 0.02 0.00 99.85 18:14:54 18:10:01 7 0.05 0.00 0.00 0.00 0.00 99.95 18:14:54 18:11:01 all 0.27 0.00 0.01 0.01 0.00 99.71 18:14:54 18:11:01 0 0.00 0.00 0.00 0.00 0.00 100.00 18:14:54 18:11:01 1 0.03 0.00 0.00 0.03 0.00 99.93 18:14:54 18:11:01 2 2.03 0.00 0.00 0.00 0.02 97.95 18:14:54 18:11:01 3 0.02 0.00 0.02 0.00 0.00 99.97 18:14:54 18:11:01 4 0.02 0.00 0.00 0.00 0.00 99.98 18:14:54 18:11:01 5 0.03 0.00 0.03 0.00 0.00 99.93 18:14:54 18:11:01 6 0.00 0.00 0.02 0.02 0.02 99.95 18:14:54 18:11:01 7 0.00 0.00 0.02 0.00 0.00 99.98 18:14:54 18:12:01 all 0.27 0.00 0.01 0.00 0.00 99.72 18:14:54 18:12:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:14:54 18:12:01 1 0.02 0.00 0.02 0.02 0.00 99.95 18:14:54 18:12:01 2 1.99 0.00 0.00 0.00 0.00 98.01 18:14:54 18:12:01 3 0.02 0.00 0.00 0.00 0.00 99.98 18:14:54 18:12:01 4 0.02 0.00 0.00 0.00 0.00 99.98 18:14:54 18:12:01 5 0.02 0.00 0.00 0.00 0.00 99.98 18:14:54 18:12:01 6 0.03 0.00 0.02 0.02 0.00 99.93 18:14:54 18:12:01 7 0.02 0.00 0.02 0.00 0.00 99.97 18:14:54 18:13:01 all 0.32 0.00 0.04 0.01 0.00 99.63 18:14:54 18:13:01 0 0.03 0.00 0.03 0.00 0.00 99.93 18:14:54 18:13:01 1 0.03 0.00 0.03 0.03 0.02 99.88 18:14:54 18:13:01 2 1.97 0.00 0.05 0.00 0.00 97.98 18:14:54 18:13:01 3 0.02 0.00 0.05 0.02 0.00 99.92 18:14:54 18:13:01 4 0.00 0.00 0.03 0.00 0.00 99.97 18:14:54 18:13:01 5 0.43 0.00 0.08 0.00 0.00 99.48 18:14:54 18:13:01 6 0.02 0.00 0.02 0.03 0.00 99.93 18:14:54 18:13:01 7 0.02 0.00 0.03 0.00 0.00 99.95 18:14:54 18:14:01 all 0.27 0.00 0.01 0.00 0.01 99.71 18:14:54 18:14:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:14:54 18:14:01 1 0.03 0.00 0.02 0.00 0.02 99.93 18:14:54 18:14:01 2 1.99 0.00 0.00 0.00 0.02 98.00 18:14:54 18:14:01 3 0.05 0.00 0.00 0.02 0.02 99.92 18:14:54 18:14:01 4 0.02 0.00 0.00 0.00 0.00 99.98 18:14:54 18:14:01 5 0.00 0.00 0.02 0.00 0.00 99.98 18:14:54 18:14:01 6 0.02 0.00 0.00 0.00 0.00 99.98 18:14:54 18:14:01 7 0.03 0.00 0.00 0.00 0.02 99.95 18:14:54 Average: all 6.13 0.00 1.58 0.54 0.02 91.73 18:14:54 Average: 0 5.81 0.00 1.38 0.32 0.02 92.47 18:14:54 Average: 1 5.72 0.00 1.57 0.63 0.03 92.06 18:14:54 Average: 2 7.28 0.00 1.55 0.10 0.02 91.05 18:14:54 Average: 3 5.83 0.00 1.68 0.43 0.02 92.05 18:14:54 Average: 4 5.88 0.00 1.60 1.12 0.02 91.38 18:14:54 Average: 5 6.28 0.00 1.53 0.29 0.02 91.88 18:14:54 Average: 6 6.25 0.00 1.58 0.63 0.02 91.52 18:14:54 Average: 7 5.95 0.00 1.79 0.83 0.03 91.40 18:14:54 18:14:54 18:14:54