Push event to branch docker-fix Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5500b7e240a30b6364fa95a4790f179cbb2842ab 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-ssh13413837826482007666.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-ssh6631584431107682190.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/docker-fix/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/docker-fix/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17181443867687943883.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/docker-fix/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3103865071057877224.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6748397611717262879.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/docker-fix/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/docker-fix/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6426615012299693938.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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-20710 in /w/workspace/dry_device-usb-camera_docker-fix [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 Avoid second fetch Checking out Revision 5500b7e240a30b6364fa95a4790f179cbb2842ab (docker-fix) Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/dry_device-usb-camera_docker-fix # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5500b7e240a30b6364fa95a4790f179cbb2842ab # timeout=10 Commit message: "fix: make docker-entrypoint.sh executable" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:31:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:31:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:31:03 ========================================================= 22:31:03 EdgeX Global Pipelines Version Info 22:31:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:31:04 ------------------- 22:31:04 stable info: 22:31:04 ------------------- 22:31:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:31:04 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 22:31:04 Message: update stable to v1.0.238 22:31:05 ------------------- 22:31:05 experimental info: 22:31:05 ------------------- 22:31:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:31:05 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 22:31:05 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:31:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 22:31:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 22:31:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:31:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:31:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:31:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:31:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:31:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:31:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:31:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:31:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:31:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 22:31:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = docker-fix [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = docker-fix [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = docker-fix [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5500b7e240a30b6364fa95a4790f179cbb2842ab [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5500b7e [Pipeline] echo 22:31:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:31:06 provisioning config files... 22:31:06 copy managed file [device-usb-camera-settings] to file:/w/workspace/dry_device-usb-camera_docker-fix@tmp/config9151367395806395710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:07 ---> docker-login.sh 22:31:07 nexus3.edgexfoundry.org:10001 22:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:07 Configure a credential helper to remove this warning. See 22:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:07 22:31:07 Login Succeeded 22:31:07 nexus3.edgexfoundry.org:10002 22:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:07 Configure a credential helper to remove this warning. See 22:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:07 22:31:07 Login Succeeded 22:31:07 nexus3.edgexfoundry.org:10003 22:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:07 Configure a credential helper to remove this warning. See 22:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:07 22:31:07 Login Succeeded 22:31:07 nexus3.edgexfoundry.org:10004 22:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:08 Configure a credential helper to remove this warning. See 22:31:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:08 22:31:08 Login Succeeded 22:31:08 docker.io 22:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:08 Configure a credential helper to remove this warning. See 22:31:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:08 22:31:08 Login Succeeded 22:31:08 ---> docker-login.sh ends [Pipeline] } 22:31:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:31:08 + git rev-list -1 --merges 5500b7e240a30b6364fa95a4790f179cbb2842ab~1..5500b7e240a30b6364fa95a4790f179cbb2842ab [Pipeline] echo 22:31:08 -----------> git rev-list -1 --merges 5500b7e240a30b6364fa95a4790f179cbb2842ab~1..5500b7e240a30b6364fa95a4790f179cbb2842ab 5500b7e240a30b6364fa95a4790f179cbb2842ab [false] [Pipeline] sh 22:31:09 + git log --format=format:%s -1 5500b7e240a30b6364fa95a4790f179cbb2842ab [Pipeline] echo 22:31:09 ========================================================= 22:31:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:31:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:31:09 + git log --format=format:%s -1 5500b7e240a30b6364fa95a4790f179cbb2842ab [Pipeline] echo 22:31:09 [semverPrep] GIT_COMMIT: 5500b7e240a30b6364fa95a4790f179cbb2842ab, Commit Message: fix: make docker-entrypoint.sh executable [Pipeline] echo 22:31:09 [semverPrep] This is not a build commit. [Pipeline] sh 22:31:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:31:10 + grep -v github /etc/ssh/ssh_known_hosts 22:31:10 + [ -e /tmp/ssh_known_hosts ] 22:31:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:31:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:31:10 + sudo tee -a /etc/ssh/ssh_known_hosts 22:31:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:31:10 22:31:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:31:11 0.1.4: Pulling from edgex-devops/py-git-semver 22:31:11 b85a868b505f: Pulling fs layer 22:31:11 e2be974225ed: Pulling fs layer 22:31:11 339a4e72a1f5: Pulling fs layer 22:31:11 988bab9f4d93: Pulling fs layer 22:31:11 1469e6f7b9e6: Pulling fs layer 22:31:11 eaf3925da568: Pulling fs layer 22:31:11 bab4dde63d76: Pulling fs layer 22:31:11 bde34c3a00c8: Pulling fs layer 22:31:11 b352a97aabf1: Pulling fs layer 22:31:11 4872d77fe225: Pulling fs layer 22:31:11 5851b861e8e6: Pulling fs layer 22:31:11 eaf3925da568: Waiting 22:31:11 bab4dde63d76: Waiting 22:31:11 bde34c3a00c8: Waiting 22:31:11 b352a97aabf1: Waiting 22:31:11 4872d77fe225: Waiting 22:31:11 5851b861e8e6: Waiting 22:31:11 988bab9f4d93: Waiting 22:31:11 1469e6f7b9e6: Waiting 22:31:11 e2be974225ed: Verifying Checksum 22:31:11 e2be974225ed: Download complete 22:31:11 988bab9f4d93: Verifying Checksum 22:31:11 988bab9f4d93: Download complete 22:31:11 1469e6f7b9e6: Verifying Checksum 22:31:11 1469e6f7b9e6: Download complete 22:31:11 eaf3925da568: Verifying Checksum 22:31:11 eaf3925da568: Download complete 22:31:11 339a4e72a1f5: Verifying Checksum 22:31:11 339a4e72a1f5: Download complete 22:31:11 bde34c3a00c8: Verifying Checksum 22:31:11 bde34c3a00c8: Download complete 22:31:11 b352a97aabf1: Verifying Checksum 22:31:11 b352a97aabf1: Download complete 22:31:11 4872d77fe225: Download complete 22:31:11 5851b861e8e6: Verifying Checksum 22:31:11 5851b861e8e6: Download complete 22:31:11 b85a868b505f: Verifying Checksum 22:31:11 b85a868b505f: Download complete 22:31:11 bab4dde63d76: Verifying Checksum 22:31:11 bab4dde63d76: Download complete 22:31:12 b85a868b505f: Pull complete 22:31:12 e2be974225ed: Pull complete 22:31:13 339a4e72a1f5: Pull complete 22:31:13 988bab9f4d93: Pull complete 22:31:13 1469e6f7b9e6: Pull complete 22:31:13 eaf3925da568: Pull complete 22:31:15 bab4dde63d76: Pull complete 22:31:15 bde34c3a00c8: Pull complete 22:31:15 b352a97aabf1: Pull complete 22:31:15 4872d77fe225: Pull complete 22:31:15 5851b861e8e6: Pull complete 22:31:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:31:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:31:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:16 prd-ubuntu20.04-docker-8c-8g-20710 does not seem to be running inside a container 22:31:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_device-usb-camera_docker-fix -v /w/workspace/dry_device-usb-camera_docker-fix:/w/workspace/dry_device-usb-camera_docker-fix:rw,z -v /w/workspace/dry_device-usb-camera_docker-fix@tmp:/w/workspace/dry_device-usb-camera_docker-fix@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:31:17 $ docker top 02da9adeae882f37f192fb1c88fd2cb038998f2a934cebcbf02020f41299ef99 -eo pid,comm 22:31:17 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). 22:31:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:31:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:31:17 [ssh-agent] Looking for ssh-agent implementation... 22:31:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:31:17 $ docker exec 02da9adeae882f37f192fb1c88fd2cb038998f2a934cebcbf02020f41299ef99 ssh-agent 22:31:18 SSH_AUTH_SOCK=/tmp/ssh-ETZaoRkTloMI/agent.32 22:31:18 SSH_AGENT_PID=38 22:31:18 Running ssh-add (command line suppressed) 22:31:18 Identity added: /w/workspace/dry_device-usb-camera_docker-fix@tmp/private_key_986589464459940137.key (/w/workspace/dry_device-usb-camera_docker-fix@tmp/private_key_986589464459940137.key) 22:31:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:31:18 + git tag --points-at HEAD [Pipeline] } 22:31:18 $ docker exec --env ******** --env ******** 02da9adeae882f37f192fb1c88fd2cb038998f2a934cebcbf02020f41299ef99 ssh-agent -k 22:31:18 unset SSH_AUTH_SOCK; 22:31:18 unset SSH_AGENT_PID; 22:31:18 echo Agent pid 38 killed; 22:31:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:31:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:31:18 [ssh-agent] Looking for ssh-agent implementation... 22:31:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:31:18 $ docker exec 02da9adeae882f37f192fb1c88fd2cb038998f2a934cebcbf02020f41299ef99 ssh-agent 22:31:19 SSH_AUTH_SOCK=/tmp/ssh-UWV7wBmISgEe/agent.72 22:31:19 SSH_AGENT_PID=79 22:31:19 Running ssh-add (command line suppressed) 22:31:19 Identity added: /w/workspace/dry_device-usb-camera_docker-fix@tmp/private_key_803533197795881391.key (/w/workspace/dry_device-usb-camera_docker-fix@tmp/private_key_803533197795881391.key) 22:31:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:31:19 + git semver init 22:31:19 2022-07-21 22:31:19,709 [run_init] DEBUG init version:0.0.0 force:False 22:31:19 2022-07-21 22:31:19,710 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_device-usb-camera_docker-fix/.semver 22:31:19 2022-07-21 22:31:19,711 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/dry_device-usb-camera_docker-fix/.semver 22:31:19 2022-07-21 22:31:19,711 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/dry_device-usb-camera_docker-fix/.semver'], cwd=/w/workspace/dry_device-usb-camera_docker-fix, universal_newlines=False, shell=None, istream=None) 22:31:20 2022-07-21 22:31:20,292 [append_file] DEBUG append to file:/w/workspace/dry_device-usb-camera_docker-fix/.git/info/exclude 22:31:20 2022-07-21 22:31:20,292 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_device-usb-camera_docker-fix/.semver/docker-fix with force:False 22:31:20 2022-07-21 22:31:20,292 [write_file] DEBUG write to file:/w/workspace/dry_device-usb-camera_docker-fix/.semver/docker-fix 22:31:20 2022-07-21 22:31:20,296 [execute] INFO git cat-file --batch-check 22:31:20 2022-07-21 22:31:20,297 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_device-usb-camera_docker-fix/.semver, universal_newlines=False, shell=None, istream=) 22:31:20 2022-07-21 22:31:20,303 [execute] INFO git cat-file --batch 22:31:20 2022-07-21 22:31:20,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_device-usb-camera_docker-fix/.semver, universal_newlines=False, shell=None, istream=) 22:31:20 2022-07-21 22:31:20,308 [read_version] DEBUG read version from /w/workspace/dry_device-usb-camera_docker-fix/.semver/docker-fix 22:31:20 0.0.0 [Pipeline] } 22:31:20 $ docker exec --env ******** --env ******** 02da9adeae882f37f192fb1c88fd2cb038998f2a934cebcbf02020f41299ef99 ssh-agent -k 22:31:20 unset SSH_AUTH_SOCK; 22:31:20 unset SSH_AGENT_PID; 22:31:20 echo Agent pid 79 killed; 22:31:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:31:20 + git semver [Pipeline] } 22:31:21 $ docker stop --time=1 02da9adeae882f37f192fb1c88fd2cb038998f2a934cebcbf02020f41299ef99 22:31:22 $ docker rm -f 02da9adeae882f37f192fb1c88fd2cb038998f2a934cebcbf02020f41299ef99 [Pipeline] // withDockerContainer [Pipeline] sh 22:31:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:31:23 Stashed 1 file(s) [Pipeline] echo 22:31:23 [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 22:31:23 provisioning config files... 22:31:23 copy managed file [device-usb-camera-settings] to file:/w/workspace/dry_device-usb-camera_docker-fix@tmp/config3786016206119563171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:24 ---> docker-login.sh 22:31:24 nexus3.edgexfoundry.org:10001 22:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:24 Configure a credential helper to remove this warning. See 22:31:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:24 22:31:24 Login Succeeded 22:31:24 nexus3.edgexfoundry.org:10002 22:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:24 Configure a credential helper to remove this warning. See 22:31:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:24 22:31:24 Login Succeeded 22:31:24 nexus3.edgexfoundry.org:10003 22:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:24 Configure a credential helper to remove this warning. See 22:31:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:24 22:31:24 Login Succeeded 22:31:24 nexus3.edgexfoundry.org:10004 22:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:24 Configure a credential helper to remove this warning. See 22:31:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:24 22:31:24 Login Succeeded 22:31:24 docker.io 22:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:31:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:31:24 Configure a credential helper to remove this warning. See 22:31:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:31:24 22:31:24 Login Succeeded 22:31:24 ---> docker-login.sh ends [Pipeline] } 22:31:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:31:25 [edgeX.isLTS] Checking if [docker-fix] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:31:25 [edgeX.isLTS] Checking if [docker-fix] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:31:25 ========================================================= 22:31:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:31:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:25 + 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 . 22:31:25 Sending build context to Docker daemon 702.5kB 22:31:25 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 22:31:25 Step 2/12 : FROM ${BASE} AS builder 22:31:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:31:25 2408cc74d12b: Pulling fs layer 22:31:25 ea60b727a1ce: Pulling fs layer 22:31:25 30c4a7721957: Pulling fs layer 22:31:25 370296b7ddb6: Pulling fs layer 22:31:25 7c6cee850709: Pulling fs layer 22:31:25 39a5fcdaea64: Pulling fs layer 22:31:25 d94ebbe4e438: Pulling fs layer 22:31:25 bcfd1f05c69d: Pulling fs layer 22:31:25 59ccb84bbe0f: Pulling fs layer 22:31:25 7c6cee850709: Waiting 22:31:25 39a5fcdaea64: Waiting 22:31:25 d94ebbe4e438: Waiting 22:31:25 bcfd1f05c69d: Waiting 22:31:25 59ccb84bbe0f: Waiting 22:31:25 370296b7ddb6: Waiting 22:31:25 30c4a7721957: Verifying Checksum 22:31:25 30c4a7721957: Download complete 22:31:25 ea60b727a1ce: Verifying Checksum 22:31:25 ea60b727a1ce: Download complete 22:31:25 7c6cee850709: Verifying Checksum 22:31:25 7c6cee850709: Download complete 22:31:25 39a5fcdaea64: Verifying Checksum 22:31:25 39a5fcdaea64: Download complete 22:31:25 2408cc74d12b: Verifying Checksum 22:31:25 2408cc74d12b: Download complete 22:31:26 d94ebbe4e438: Verifying Checksum 22:31:26 d94ebbe4e438: Download complete 22:31:26 2408cc74d12b: Pull complete 22:31:26 ea60b727a1ce: Pull complete 22:31:26 30c4a7721957: Pull complete 22:31:26 59ccb84bbe0f: Verifying Checksum 22:31:26 bcfd1f05c69d: Verifying Checksum 22:31:26 bcfd1f05c69d: Download complete 22:31:26 370296b7ddb6: Verifying Checksum 22:31:26 370296b7ddb6: Download complete 22:31:32 370296b7ddb6: Pull complete 22:31:32 7c6cee850709: Pull complete 22:31:32 39a5fcdaea64: Pull complete 22:31:32 d94ebbe4e438: Pull complete 22:31:33 bcfd1f05c69d: Pull complete 22:31:34 59ccb84bbe0f: Pull complete 22:31:34 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:31:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:31:34 ---> a4fb48ad2a94 22:31:34 Step 3/12 : ARG MAKE="make build" 22:31:35 ---> Running in 86461883c250 22:31:36 Removing intermediate container 86461883c250 22:31:36 ---> 60814831c415 22:31:36 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:31:36 ---> Running in b038e8d8f54a 22:31:36 Removing intermediate container b038e8d8f54a 22:31:36 ---> 699c98310828 22:31:36 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:31:36 ---> Running in 74b93ce858fc 22:31:36 Removing intermediate container 74b93ce858fc 22:31:36 ---> 195d3f8d8de7 22:31:36 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:31:36 ---> Running in dde35348819c 22:31:37 Removing intermediate container dde35348819c 22:31:37 ---> d3b7a09c8791 22:31:37 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:31:37 ---> Running in e7aadb3d9f8b 22:31:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:31:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:31:38 (1/80) Installing mesa (21.3.8-r1) 22:31:38 (2/80) Installing libxau (1.0.9-r0) 22:31:38 Still waiting to schedule task 22:31:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:31:38 (3/80) Installing libxdmcp (1.1.3-r0) 22:31:38 (4/80) Installing libxcb (1.15-r0) 22:31:38 (5/80) Installing libx11 (1.8-r0) 22:31:39 (6/80) Installing libxext (1.3.4-r0) 22:31:39 (7/80) Installing libxfixes (6.0.0-r0) 22:31:39 (8/80) Installing libxxf86vm (1.1.4-r2) 22:31:39 (9/80) Installing libpciaccess (0.16-r0) 22:31:39 (10/80) Installing libdrm (2.4.110-r0) 22:31:39 (11/80) Installing mesa-glapi (21.3.8-r1) 22:31:39 (12/80) Installing libxshmfence (1.3-r1) 22:31:39 (13/80) Installing mesa-gl (21.3.8-r1) 22:31:39 (14/80) Installing icu-data-full (71.1-r2) 22:31:40 (15/80) Installing libice (1.0.10-r0) 22:31:40 (16/80) Installing libuuid (2.38-r1) 22:31:40 (17/80) Installing libsm (1.2.3-r0) 22:31:40 (18/80) Installing libxt (1.2.1-r0) 22:31:40 (19/80) Installing libxmu (1.1.3-r0) 22:31:40 (20/80) Installing xset (1.2.4-r0) 22:31:40 (21/80) Installing xprop (1.2.5-r0) 22:31:40 (22/80) Installing xdg-utils (1.1.3-r3) 22:31:40 (23/80) Installing dbus-libs (1.14.0-r1) 22:31:41 (24/80) Installing libffi (3.4.2-r1) 22:31:41 (25/80) Installing libintl (0.21-r2) 22:31:41 (26/80) Installing libblkid (2.38-r1) 22:31:41 (27/80) Installing libmount (2.38-r1) 22:31:41 (28/80) Installing pcre (8.45-r2) 22:31:41 (29/80) Installing glib (2.72.1-r0) 22:31:41 (30/80) Installing icu-libs (71.1-r2) 22:31:41 (31/80) Installing libpcre2-16 (10.40-r0) 22:31:41 (32/80) Installing zstd-libs (1.5.2-r1) 22:31:41 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r1) 22:31:42 (34/80) Installing hicolor-icon-theme (0.17-r1) 22:31:42 (35/80) Installing wayland-libs-server (1.20.0-r0) 22:31:42 (36/80) Installing mesa-gbm (21.3.8-r1) 22:31:42 (37/80) Installing wayland-libs-client (1.20.0-r0) 22:31:42 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r0) 22:31:42 (39/80) Installing libxcomposite (0.4.5-r0) 22:31:42 (40/80) Installing libbz2 (1.0.8-r1) 22:31:43 (41/80) Installing libpng (1.6.37-r1) 22:31:43 (42/80) Installing freetype (2.12.1-r0) 22:31:43 (43/80) Installing fontconfig (2.14.0-r0) 22:31:43 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 22:31:43 (45/80) Installing wayland-libs-egl (1.20.0-r0) 22:31:43 (46/80) Installing xkeyboard-config (2.35.1-r0) 22:31:43 (47/80) Installing xz-libs (5.2.5-r1) 22:31:43 (48/80) Installing libxml2 (2.9.14-r0) 22:31:44 (49/80) Installing libxkbcommon (1.4.1-r0) 22:31:44 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 22:31:44 (51/80) Installing mesa-egl (21.3.8-r1) 22:31:44 (52/80) Installing avahi-libs (0.8-r6) 22:31:44 (53/80) Installing nettle (3.7.3-r0) 22:31:44 (54/80) Installing p11-kit (0.24.1-r0) 22:31:44 (55/80) Installing libtasn1 (4.18.0-r0) 22:31:44 (56/80) Installing libunistring (1.0-r0) 22:31:44 (57/80) Installing gnutls (3.7.6-r0) 22:31:44 (58/80) Installing cups-libs (2.4.2-r0) 22:31:44 (59/80) Installing graphite2 (1.3.14-r1) 22:31:45 (60/80) Installing harfbuzz (4.3.0-r0) 22:31:45 (61/80) Installing libevdev (1.12.1-r0) 22:31:45 (62/80) Installing mtdev (1.1.6-r0) 22:31:45 (63/80) Installing eudev-libs (3.2.11-r0) 22:31:45 (64/80) Installing libinput-libs (1.20.1-r0) 22:31:45 (65/80) Installing libjpeg-turbo (2.1.3-r1) 22:31:45 (66/80) Installing xcb-util-wm (0.4.1-r1) 22:31:45 (67/80) Installing xcb-util (0.4.0-r3) 22:31:45 (68/80) Installing xcb-util-image (0.4.0-r1) 22:31:45 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 22:31:45 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 22:31:45 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 22:31:46 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r1) 22:31:46 (73/80) Installing v4l-utils-libs (1.22.1-r1) 22:31:46 (74/80) Installing v4l-utils (1.22.1-r1) 22:31:46 (75/80) Installing udev-init-scripts (35-r0) 22:31:46 Executing udev-init-scripts-35-r0.post-install 22:31:46 (76/80) Installing kmod-libs (29-r2) 22:31:46 (77/80) Installing eudev (3.2.11-r0) 22:31:46 (78/80) Installing eudev-dev (3.2.11-r0) 22:31:47 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 22:31:47 (80/80) Installing v4l-utils-dev (1.22.1-r1) 22:31:47 Executing busybox-1.35.0-r13.trigger 22:31:47 Executing eudev-3.2.11-r0.trigger 22:31:47 OK: 330 MiB in 131 packages 22:31:49 Removing intermediate container e7aadb3d9f8b 22:31:49 ---> b22f3d2f3e43 22:31:49 Step 8/12 : WORKDIR /device-usb-camera 22:31:49 ---> Running in 58a63c44f539 22:31:49 Removing intermediate container 58a63c44f539 22:31:49 ---> d0f71138be52 22:31:49 Step 9/12 : COPY go.mod vendor* ./ 22:31:49 ---> 7825e8f12507 22:31:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:31:49 ---> Running in 4b86927f1e81 22:32:07 Removing intermediate container 4b86927f1e81 22:32:07 ---> 2184be531c27 22:32:07 Step 11/12 : COPY . . 22:32:07 ---> e509f303d21e 22:32:07 Step 12/12 : RUN ${MAKE} 22:32:07 ---> Running in 640840897a13 22:32:08 noop 22:32:08 Removing intermediate container 640840897a13 22:32:08 ---> 107e4ccee6b6 22:32:08 Successfully built 107e4ccee6b6 22:32:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:08 + docker inspect -f . ci-base-image-x86_64 22:32:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:09 prd-ubuntu20.04-docker-8c-8g-20710 does not seem to be running inside a container 22:32:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_device-usb-camera_docker-fix -v /w/workspace/dry_device-usb-camera_docker-fix:/w/workspace/dry_device-usb-camera_docker-fix:rw,z -v /w/workspace/dry_device-usb-camera_docker-fix@tmp:/w/workspace/dry_device-usb-camera_docker-fix@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 ******** ci-base-image-x86_64 cat 22:32:09 $ docker top d1cb6401ee3edc6304660d576969e4250c0a7b63c248a4245aa49fd25c939bc1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:32:09 + go version 22:32:09 go version go1.18.3 linux/amd64 [Pipeline] } 22:32:09 $ docker stop --time=1 d1cb6401ee3edc6304660d576969e4250c0a7b63c248a4245aa49fd25c939bc1 22:32:11 $ docker rm -f d1cb6401ee3edc6304660d576969e4250c0a7b63c248a4245aa49fd25c939bc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:11 + docker inspect -f . ci-base-image-x86_64 22:32:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:12 prd-ubuntu20.04-docker-8c-8g-20710 does not seem to be running inside a container 22:32:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/dry_device-usb-camera_docker-fix -v /w/workspace/dry_device-usb-camera_docker-fix:/w/workspace/dry_device-usb-camera_docker-fix:rw,z -v /w/workspace/dry_device-usb-camera_docker-fix@tmp:/w/workspace/dry_device-usb-camera_docker-fix@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 ******** ci-base-image-x86_64 cat 22:32:12 $ docker top 57fd631be642916eaee1ee30df8c8a46c7914585fd37d69314e7ece3ff389915 -eo pid,comm [Pipeline] { [Pipeline] sh 22:32:12 + git config --global --add safe.directory /w/workspace/dry_device-usb-camera_docker-fix [Pipeline] fileExists [Pipeline] sh 22:32:13 + make test 22:32:13 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 22:32:13 ? github.com/edgexfoundry/device-usb-camera [no test files] 22:32:23 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 22:32:23 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 22:32:30 CGO_ENABLED=1 go vet ./... 22:32:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:32:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:32:34 ./bin/test-attribution-txt.sh [Pipeline] echo 22:32:34 [edgeX.isLTS] Checking if [docker-fix] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:32:34 $ docker stop --time=1 57fd631be642916eaee1ee30df8c8a46c7914585fd37d69314e7ece3ff389915 22:32:36 $ docker rm -f 57fd631be642916eaee1ee30df8c8a46c7914585fd37d69314e7ece3ff389915 [Pipeline] // withDockerContainer [Pipeline] sh 22:32:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:32:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:32:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:32:37 + ls -al . 22:32:37 total 164 22:32:37 drwxrwxr-x 9 jenkins jenkins 4096 Jul 21 22:32 . 22:32:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 22:30 .. 22:32:37 drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 22:32 .git 22:32:37 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 22:30 .github 22:32:37 -rw-rw-r-- 1 jenkins jenkins 414 Jul 21 22:30 .gitignore 22:32:37 -rw-rw-r-- 1 jenkins jenkins 42 Jul 21 22:30 .golangci.yml 22:32:37 -rw-rw-r-- 1 jenkins jenkins 77 Jul 21 22:30 .hadolint.yml 22:32:37 drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 22:31 .semver 22:32:37 -rw-rw-r-- 1 jenkins jenkins 8706 Jul 21 22:30 Attribution.txt 22:32:37 -rw-rw-r-- 1 jenkins jenkins 181 Jul 21 22:30 CHANGELOG.md 22:32:37 -rw-rw-r-- 1 jenkins jenkins 1940 Jul 21 22:30 Dockerfile 22:32:37 -rw-rw-r-- 1 jenkins jenkins 678 Jul 21 22:30 GOVERNANCE.md 22:32:37 -rw-rw-r-- 1 jenkins jenkins 659 Jul 21 22:30 Jenkinsfile 22:32:37 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 21 22:30 LICENSE 22:32:37 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 21 22:30 Makefile 22:32:37 -rw-rw-r-- 1 jenkins jenkins 622 Jul 21 22:30 OWNERS.md 22:32:37 -rw-rw-r-- 1 jenkins jenkins 11243 Jul 21 22:30 README.md 22:32:37 -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 22:31 VERSION 22:32:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 22:30 bin 22:32:37 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 22:30 cmd 22:32:37 -rw-r--r-- 1 jenkins jenkins 10 Jul 21 22:32 coverage.out 22:32:37 -rwxrwxr-x 1 jenkins jenkins 140 Jul 21 22:30 docker-entrypoint.sh 22:32:37 -rw-rw-r-- 1 jenkins jenkins 3277 Jul 21 22:30 go.mod 22:32:37 -rw-rw-r-- 1 jenkins jenkins 35596 Jul 21 22:30 go.sum 22:32:37 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 22:30 internal 22:32:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 22:30 snap 22:32:37 -rw-rw-r-- 1 jenkins jenkins 231 Jul 21 22:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:38 + 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=5500b7e240a30b6364fa95a4790f179cbb2842ab --label arch=amd64 --label version=0.0.0 . 22:32:38 Sending build context to Docker daemon 703.5kB 22:32:38 Step 1/30 : ARG BASE=golang:1.17-alpine3.15 22:32:38 Step 2/30 : FROM ${BASE} AS builder 22:32:38 ---> 107e4ccee6b6 22:32:38 Step 3/30 : ARG MAKE="make build" 22:32:38 ---> Running in 86717a6387fb 22:32:38 Removing intermediate container 86717a6387fb 22:32:38 ---> 7c0804d43a77 22:32:38 Step 4/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:32:38 ---> Running in 6ff031aeb28f 22:32:38 Removing intermediate container 6ff031aeb28f 22:32:38 ---> 41d7007c4dfd 22:32:38 Step 5/30 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:32:38 ---> Running in d74398af1b76 22:32:38 Removing intermediate container d74398af1b76 22:32:38 ---> 49f5bb34d9cf 22:32:38 Step 6/30 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:32:38 ---> Running in 5f98f0caf392 22:32:39 Removing intermediate container 5f98f0caf392 22:32:39 ---> b362638b9a69 22:32:39 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:32:39 ---> Running in d859d20b20da 22:32:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:32:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:32:40 OK: 330 MiB in 131 packages 22:32:41 Removing intermediate container d859d20b20da 22:32:41 ---> aaf938e7280a 22:32:41 Step 8/30 : WORKDIR /device-usb-camera 22:32:41 ---> Running in 811f5829e2f6 22:32:41 Removing intermediate container 811f5829e2f6 22:32:41 ---> 1cabcde1d84b 22:32:41 Step 9/30 : COPY go.mod vendor* ./ 22:32:41 ---> d6b1c462695d 22:32:41 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:32:41 ---> Running in 60f448dba52a 22:32:42 Removing intermediate container 60f448dba52a 22:32:42 ---> ef39ea165f02 22:32:42 Step 11/30 : COPY . . 22:32:42 ---> 33f4803787f2 22:32:42 Step 12/30 : RUN ${MAKE} 22:32:42 ---> Running in 2c1677aded1c 22:32:42 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 22:33:04 Removing intermediate container 2c1677aded1c 22:33:04 ---> c75638cbe121 22:33:04 Step 13/30 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 22:33:04 v0.18.4: Pulling from aler9/rtsp-simple-server 22:33:04 af6660deedbd: Pulling fs layer 22:33:04 97cd0a44c592: Pulling fs layer 22:33:04 97cd0a44c592: Download complete 22:33:05 af6660deedbd: Verifying Checksum 22:33:05 af6660deedbd: Download complete 22:33:06 af6660deedbd: Pull complete 22:33:06 97cd0a44c592: Pull complete 22:33:06 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 22:33:06 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 22:33:06 ---> fea57e182299 22:33:06 Step 14/30 : FROM alpine:3.15 22:33:06 3.15: Pulling from library/alpine 22:33:06 ab6db1bc80d0: Pulling fs layer 22:33:07 ab6db1bc80d0: Verifying Checksum 22:33:07 ab6db1bc80d0: Download complete 22:33:07 ab6db1bc80d0: Pull complete 22:33:07 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 22:33:07 Status: Downloaded newer image for alpine:3.15 22:33:07 ---> 2720e26172a0 22:33:07 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:33:07 ---> Running in f1731d0eac07 22:33:07 Removing intermediate container f1731d0eac07 22:33:07 ---> 0d754ae96685 22:33:07 Step 16/30 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 22:33:07 ---> Running in f2f4a86398f8 22:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:33:08 (1/74) Installing dumb-init (1.2.5-r1) 22:33:08 (2/74) Installing sdl2 (2.0.16-r4) 22:33:08 (3/74) Installing libxau (1.0.9-r0) 22:33:08 (4/74) Installing libmd (1.0.3-r0) 22:33:08 (5/74) Installing libbsd (0.11.3-r1) 22:33:08 (6/74) Installing libxdmcp (1.1.3-r0) 22:33:08 (7/74) Installing libxcb (1.14-r2) 22:33:08 (8/74) Installing libx11 (1.7.2-r0) 22:33:08 (9/74) Installing aom-libs (3.2.0-r0) 22:33:08 (10/74) Installing alsa-lib (1.2.5.1-r1) 22:33:08 (11/74) Installing expat (2.4.7-r0) 22:33:08 (12/74) Installing brotli-libs (1.0.9-r5) 22:33:08 (13/74) Installing libbz2 (1.0.8-r1) 22:33:08 (14/74) Installing libpng (1.6.37-r1) 22:33:08 (15/74) Installing freetype (2.11.1-r2) 22:33:08 (16/74) Installing libuuid (2.37.4-r0) 22:33:08 (17/74) Installing fontconfig (2.13.1-r4) 22:33:08 (18/74) Installing fribidi (1.0.11-r0) 22:33:08 (19/74) Installing libffi (3.4.2-r1) 22:33:08 (20/74) Installing libintl (0.21-r0) 22:33:08 (21/74) Installing libblkid (2.37.4-r0) 22:33:08 (22/74) Installing libmount (2.37.4-r0) 22:33:08 (23/74) Installing pcre (8.45-r1) 22:33:08 (24/74) Installing glib (2.70.1-r0) 22:33:08 (25/74) Installing graphite2 (1.3.14-r0) 22:33:08 (26/74) Installing harfbuzz (3.0.0-r2) 22:33:08 (27/74) Installing libass (0.15.2-r0) 22:33:08 (28/74) Installing libdav1d (0.9.2-r0) 22:33:08 (29/74) Installing gmp (6.2.1-r1) 22:33:08 (30/74) Installing nettle (3.7.3-r0) 22:33:08 (31/74) Installing p11-kit (0.24.0-r1) 22:33:08 (32/74) Installing libtasn1 (4.18.0-r0) 22:33:08 (33/74) Installing libunistring (0.9.10-r1) 22:33:08 (34/74) Installing gnutls (3.7.1-r0) 22:33:08 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r1) 22:33:08 (36/74) Installing ncurses-libs (6.3_p20211120-r1) 22:33:08 (37/74) Installing lame (3.100-r0) 22:33:08 (38/74) Installing opus (1.3.1-r1) 22:33:08 (39/74) Installing libgomp (10.3.1_git20211027-r0) 22:33:08 (40/74) Installing soxr (0.1.3-r2) 22:33:08 (41/74) Installing libgcc (10.3.1_git20211027-r0) 22:33:08 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 22:33:08 (43/74) Installing libsrt (1.4.2-r1) 22:33:08 (44/74) Installing libssh (0.9.6-r1) 22:33:08 (45/74) Installing libogg (1.3.5-r0) 22:33:08 (46/74) Installing libtheora (1.1.1-r16) 22:33:08 (47/74) Installing libjpeg-turbo (2.1.2-r0) 22:33:08 (48/74) Installing v4l-utils-libs (1.22.1-r1) 22:33:08 (49/74) Installing libxext (1.3.4-r0) 22:33:08 (50/74) Installing libxfixes (6.0.0-r0) 22:33:08 (51/74) Installing libpciaccess (0.16-r0) 22:33:08 (52/74) Installing libdrm (2.4.109-r0) 22:33:08 (53/74) Installing wayland-libs-client (1.19.0-r1) 22:33:08 (54/74) Installing libva (2.13.0-r0) 22:33:08 (55/74) Installing libvdpau (1.4-r0) 22:33:08 (56/74) Installing vidstab (1.1.0-r1) 22:33:08 (57/74) Installing libvorbis (1.3.7-r0) 22:33:08 (58/74) Installing libvpx (1.10.0-r0) 22:33:08 (59/74) Installing vulkan-loader (1.2.196-r0) 22:33:08 (60/74) Installing libwebp (1.2.2-r0) 22:33:08 (61/74) Installing x264-libs (20210613-r0) 22:33:08 (62/74) Installing x265-libs (3.5-r0) 22:33:08 (63/74) Installing xvidcore (1.3.7-r1) 22:33:08 (64/74) Installing ffmpeg-libs (4.4.1-r2) 22:33:09 (65/74) Installing ffmpeg (4.4.1-r2) 22:33:09 (66/74) Installing udev-init-scripts (35-r0) 22:33:09 Executing udev-init-scripts-35-r0.post-install 22:33:09 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 22:33:09 (68/74) Installing xz-libs (5.2.5-r1) 22:33:09 (69/74) Installing zstd-libs (1.5.0-r0) 22:33:09 (70/74) Installing kmod-libs (29-r2) 22:33:09 (71/74) Installing eudev (3.2.11_pre1-r0) 22:33:09 (72/74) Installing libsodium (1.0.18-r0) 22:33:09 (73/74) Installing libzmq (4.3.4-r0) 22:33:09 (74/74) Installing zeromq (4.3.4-r0) 22:33:09 Executing busybox-1.34.1-r7.trigger 22:33:09 Executing eudev-3.2.11_pre1-r0.trigger 22:33:09 OK: 78 MiB in 88 packages 22:33:10 Removing intermediate container f2f4a86398f8 22:33:10 ---> 6462b52fb5f9 22:33:10 Step 17/30 : WORKDIR / 22:33:10 ---> Running in af8275abd2df 22:33:10 Removing intermediate container af8275abd2df 22:33:10 ---> 11ae6d54c43a 22:33:10 Step 18/30 : COPY --from=builder /device-usb-camera/cmd / 22:33:11 ---> 2d74ef37e955 22:33:11 Step 19/30 : COPY --from=builder /device-usb-camera/LICENSE / 22:33:11 ---> a6c91753a9d8 22:33:11 Step 20/30 : COPY --from=builder /device-usb-camera/Attribution.txt / 22:33:11 ---> 5fb392147ffa 22:33:11 Step 21/30 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 22:33:11 ---> ee42a0627439 22:33:11 Step 22/30 : COPY --from=rtsp /rtsp-simple-server.yml / 22:33:11 ---> b243726c6e9e 22:33:11 Step 23/30 : COPY --from=rtsp /rtsp-simple-server / 22:33:12 ---> 422eb55f6de5 22:33:12 Step 24/30 : EXPOSE 59983 22:33:12 ---> Running in 29594e558790 22:33:12 Removing intermediate container 29594e558790 22:33:12 ---> c1b66431e79c 22:33:12 Step 25/30 : EXPOSE 8554 22:33:12 ---> Running in 1b3cce747e41 22:33:12 Removing intermediate container 1b3cce747e41 22:33:12 ---> 6b3dfa22aad4 22:33:12 Step 26/30 : ENTRYPOINT ["/docker-entrypoint.sh"] 22:33:12 ---> Running in f095487a35d6 22:33:12 Removing intermediate container f095487a35d6 22:33:12 ---> 20f4ac8ef9f1 22:33:12 Step 27/30 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 22:33:12 ---> Running in 7a27459ae42b 22:33:12 Removing intermediate container 7a27459ae42b 22:33:12 ---> 69752ce5b20a 22:33:12 Step 28/30 : LABEL arch=amd64 22:33:12 ---> Running in a282aca89cc2 22:33:12 Removing intermediate container a282aca89cc2 22:33:12 ---> 76f1bd3bc8d1 22:33:12 Step 29/30 : LABEL git_sha=5500b7e240a30b6364fa95a4790f179cbb2842ab 22:33:12 ---> Running in feff13ed7bb5 22:33:12 Removing intermediate container feff13ed7bb5 22:33:12 ---> 942f9394a790 22:33:12 Step 30/30 : LABEL version=0.0.0 22:33:12 ---> Running in fcce2c5bdf1f 22:33:12 Removing intermediate container fcce2c5bdf1f 22:33:12 ---> 828b066dfb56 22:33:12 [Warning] One or more build-args [ARCH] were not consumed 22:33:12 Successfully built 828b066dfb56 22:33:12 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 22:33:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:33:13 22:33:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:33:14 latest: Pulling from edgex-lftools-log-publisher 22:33:14 5eb5b503b376: Pulling fs layer 22:33:14 5c69ac0246d0: Pulling fs layer 22:33:14 ec43610c2a17: Pulling fs layer 22:33:14 3a2ae6a8a46f: Pulling fs layer 22:33:14 33b1e0a273af: Pulling fs layer 22:33:14 5d3b04190fa2: Pulling fs layer 22:33:14 2f39f015ded8: Pulling fs layer 22:33:14 5d3b04190fa2: Waiting 22:33:14 3a2ae6a8a46f: Waiting 22:33:14 33b1e0a273af: Waiting 22:33:14 2f39f015ded8: Waiting 22:33:14 5c69ac0246d0: Download complete 22:33:14 3a2ae6a8a46f: Download complete 22:33:14 33b1e0a273af: Verifying Checksum 22:33:14 33b1e0a273af: Download complete 22:33:14 5d3b04190fa2: Verifying Checksum 22:33:14 ec43610c2a17: Verifying Checksum 22:33:14 ec43610c2a17: Download complete 22:33:14 5eb5b503b376: Verifying Checksum 22:33:14 5eb5b503b376: Download complete 22:33:14 2f39f015ded8: Download complete 22:33:15 5eb5b503b376: Pull complete 22:33:15 5c69ac0246d0: Pull complete 22:33:16 ec43610c2a17: Pull complete 22:33:16 3a2ae6a8a46f: Pull complete 22:33:16 33b1e0a273af: Pull complete 22:33:16 5d3b04190fa2: Pull complete 22:33:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20712 in /w/workspace/dry_device-usb-camera_docker-fix [Pipeline] { [Pipeline] ws 22:33:17 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 22:33:17 Selected Git installation does not exist. Using Default 22:33:17 The recommended git tool is: NONE 22:33:21 2f39f015ded8: Pull complete 22:33:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:33:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:33:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:22 prd-ubuntu20.04-docker-8c-8g-20710 does not seem to be running inside a container 22:33:22 $ 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/dry_device-usb-camera_docker-fix -v /w/workspace/dry_device-usb-camera_docker-fix:/w/workspace/dry_device-usb-camera_docker-fix:rw,z -v /w/workspace/dry_device-usb-camera_docker-fix@tmp:/w/workspace/dry_device-usb-camera_docker-fix@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:33:23 $ docker top aad5444c090596802a2e9c9715453255583c4f93455064623d6279d69c4418d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:33:24 ---> job-cost.sh 22:33:24 lf-activate-venv: SKIPPING 22:33:24 INFO: No Stack... 22:33:24 INFO: Retrieving Pricing Info for: v3-standard-8 22:33:24 INFO: Archiving Costs [Pipeline] sh 22:33:25 + cat /w/workspace/dry_device-usb-camera_docker-fix/archives/cost.csv 22:33:25 + cut -d, -f6 [Pipeline] lock 22:33:25 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-docker-fix-1-stack-cost] 22:33:25 Resource [jenkins-edgexfoundry-device-usb-camera-docker-fix-1-stack-cost] did not exist. Created. 22:33:25 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-docker-fix-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:33:25 + echo total: 0.2199999988079071 22:33:25 using credential edgex-jenkins-ssh [Pipeline] stash 22:33:25 Cloning the remote Git repository 22:33:25 Stashed 1 file(s) [Pipeline] } 22:33:25 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-docker-fix-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:33:25 $ docker stop --time=1 aad5444c090596802a2e9c9715453255583c4f93455064623d6279d69c4418d7 22:33:25 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 22:33:25 > git init /w/workspace/device-usb-camera/1 # timeout=10 22:33:26 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 22:33:26 > git --version # timeout=10 22:33:26 > git --version # 'git version 2.25.1' 22:33:27 Avoid second fetch 22:33:27 Checking out Revision 5500b7e240a30b6364fa95a4790f179cbb2842ab (docker-fix) 22:33:27 $ docker rm -f aad5444c090596802a2e9c9715453255583c4f93455064623d6279d69c4418d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:33:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:33:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:33:26 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 22:33:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:33:27 > git config core.sparsecheckout # timeout=10 22:33:27 > git checkout -f 5500b7e240a30b6364fa95a4790f179cbb2842ab # timeout=10 22:33:31 Commit message: "fix: make docker-entrypoint.sh executable" 22:33:31 > git --version # timeout=10 22:33:31 > git --version # 'git version 2.25.1' 22:33:31 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:33:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:33:32 % Total % Received % Xferd Average Speed Time Time Time Current 22:33:32 Dload Upload Total Spent Left Speed 22:33:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 79561 0 --:--:-- --:--:-- --:--:-- 80077 [Pipeline] sh 22:33:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:33:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:33:33 + sudo tee /etc/docker/daemon.new 22:33:33 { 22:33:33 "registry-mirrors": [ 22:33:33 "https://nexus3.edgexfoundry.org:10001" 22:33:33 ], 22:33:33 "bip": "10.250.0.254/24", 22:33:33 "hosts": [ 22:33:33 "tcp://0.0.0.0:5555", 22:33:33 "unix:///var/run/docker.sock" 22:33:33 ], 22:33:33 "mtu": 1458, 22:33:33 "selinux-enabled": true, 22:33:33 "seccomp-profile": "/etc/docker/seccomp.json" 22:33:33 } [Pipeline] sh 22:33:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:33:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:33:52 provisioning config files... 22:33:52 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config56741393115054514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:33:53 ---> docker-login.sh 22:33:53 nexus3.edgexfoundry.org:10001 22:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:54 Configure a credential helper to remove this warning. See 22:33:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:54 22:33:54 Login Succeeded 22:33:54 nexus3.edgexfoundry.org:10002 22:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:54 Configure a credential helper to remove this warning. See 22:33:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:54 22:33:54 Login Succeeded 22:33:54 nexus3.edgexfoundry.org:10003 22:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:55 Configure a credential helper to remove this warning. See 22:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:55 22:33:55 Login Succeeded 22:33:55 nexus3.edgexfoundry.org:10004 22:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:55 Configure a credential helper to remove this warning. See 22:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:55 22:33:55 Login Succeeded 22:33:55 docker.io 22:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:56 Configure a credential helper to remove this warning. See 22:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:56 22:33:56 Login Succeeded 22:33:56 ---> docker-login.sh ends [Pipeline] } 22:33:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:33:56 [edgeX.isLTS] Checking if [docker-fix] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:33:56 [edgeX.isLTS] Checking if [docker-fix] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:33:57 ========================================================= 22:33:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:33:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:57 + 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 . 22:33:57 Sending build context to Docker daemon 459.3kB 22:33:57 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 22:33:57 Step 2/12 : FROM ${BASE} AS builder 22:33:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:33:58 b3c136eddcbf: Pulling fs layer 22:33:58 c0a3192eca97: Pulling fs layer 22:33:58 a050256f5b6f: Pulling fs layer 22:33:58 656be50a0ddc: Pulling fs layer 22:33:58 2bbca73fdf42: Pulling fs layer 22:33:58 46d945488cbd: Pulling fs layer 22:33:58 8a5474983e97: Pulling fs layer 22:33:58 329c88fbcd65: Pulling fs layer 22:33:58 46d945488cbd: Waiting 22:33:58 8a5474983e97: Waiting 22:33:58 656be50a0ddc: Waiting 22:33:58 2bbca73fdf42: Waiting 22:33:58 329c88fbcd65: Waiting 22:33:58 a050256f5b6f: Verifying Checksum 22:33:58 a050256f5b6f: Download complete 22:33:58 c0a3192eca97: Verifying Checksum 22:33:58 c0a3192eca97: Download complete 22:33:58 2bbca73fdf42: Verifying Checksum 22:33:58 2bbca73fdf42: Download complete 22:33:58 46d945488cbd: Verifying Checksum 22:33:58 46d945488cbd: Download complete 22:33:58 b3c136eddcbf: Verifying Checksum 22:33:58 b3c136eddcbf: Download complete 22:33:59 b3c136eddcbf: Pull complete 22:33:59 329c88fbcd65: Verifying Checksum 22:33:59 329c88fbcd65: Download complete 22:33:59 c0a3192eca97: Pull complete 22:33:59 a050256f5b6f: Pull complete 22:34:00 8a5474983e97: Verifying Checksum 22:34:00 8a5474983e97: Download complete 22:34:01 656be50a0ddc: Verifying Checksum 22:34:01 656be50a0ddc: Download complete 22:34:16 656be50a0ddc: Pull complete 22:34:16 2bbca73fdf42: Pull complete 22:34:16 46d945488cbd: Pull complete 22:34:21 8a5474983e97: Pull complete 22:34:23 329c88fbcd65: Pull complete 22:34:23 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:34:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:34:23 ---> ff4287adb874 22:34:23 Step 3/12 : ARG MAKE="make build" 22:34:25 ---> Running in 6a5d4a47a81a 22:34:25 Removing intermediate container 6a5d4a47a81a 22:34:25 ---> 0f0cb54f76aa 22:34:25 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:34:25 ---> Running in 00020a24498d 22:34:25 Removing intermediate container 00020a24498d 22:34:25 ---> 6aa98e66383e 22:34:25 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:34:26 ---> Running in f64ab1a42239 22:34:26 Removing intermediate container f64ab1a42239 22:34:26 ---> 99f58e65971a 22:34:26 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:34:26 ---> Running in b1ec9af5c32b 22:34:28 Removing intermediate container b1ec9af5c32b 22:34:28 ---> bf8cc01ca318 22:34:28 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:34:28 ---> Running in bf315a9c52f3 22:34:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:34:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:34:32 (1/14) Installing libintl (0.21-r2) 22:34:32 (2/14) Installing eudev-libs (3.2.11-r0) 22:34:32 (3/14) Installing libjpeg-turbo (2.1.3-r1) 22:34:32 (4/14) Installing v4l-utils-libs (1.22.1-r1) 22:34:33 (5/14) Installing v4l-utils (1.22.1-r1) 22:34:33 (6/14) Installing udev-init-scripts (35-r0) 22:34:33 Executing udev-init-scripts-35-r0.post-install 22:34:33 (7/14) Installing libblkid (2.38-r1) 22:34:33 (8/14) Installing xz-libs (5.2.5-r1) 22:34:33 (9/14) Installing zstd-libs (1.5.2-r1) 22:34:33 (10/14) Installing kmod-libs (29-r2) 22:34:33 (11/14) Installing eudev (3.2.11-r0) 22:34:34 (12/14) Installing eudev-dev (3.2.11-r0) 22:34:34 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 22:34:34 (14/14) Installing v4l-utils-dev (1.22.1-r1) 22:34:34 Executing busybox-1.35.0-r13.trigger 22:34:34 Executing eudev-3.2.11-r0.trigger 22:34:34 OK: 228 MiB in 65 packages 22:34:35 Removing intermediate container bf315a9c52f3 22:34:35 ---> 74ac7a2440b6 22:34:35 Step 8/12 : WORKDIR /device-usb-camera 22:34:35 ---> Running in 9550fccf3776 22:34:36 Removing intermediate container 9550fccf3776 22:34:36 ---> 794f0b401212 22:34:36 Step 9/12 : COPY go.mod vendor* ./ 22:34:36 ---> 9643acc97940 22:34:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:34:36 ---> Running in 0da92781ee88 22:35:23 Removing intermediate container 0da92781ee88 22:35:23 ---> 71ffbe4c50a5 22:35:23 Step 11/12 : COPY . . 22:35:23 ---> 60602e89a82d 22:35:23 Step 12/12 : RUN ${MAKE} 22:35:23 ---> Running in bac8947ab00a 22:35:23 noop 22:35:23 Removing intermediate container bac8947ab00a 22:35:23 ---> 150c519b6bba 22:35:23 Successfully built 150c519b6bba 22:35:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:24 + docker inspect -f . ci-base-image-arm64 22:35:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:24 prd-ubuntu20.04-docker-arm64-4c-16g-20712 does not seem to be running inside a container 22:35:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:35:25 $ docker top 4cf48705b0889ec040413caeafe241eade356aee2853ac63c7eb5bbc34397b12 -eo pid,comm [Pipeline] { [Pipeline] sh 22:35:26 + go version 22:35:26 go version go1.18.3 linux/arm64 [Pipeline] } 22:35:26 $ docker stop --time=1 4cf48705b0889ec040413caeafe241eade356aee2853ac63c7eb5bbc34397b12 22:35:28 $ docker rm -f 4cf48705b0889ec040413caeafe241eade356aee2853ac63c7eb5bbc34397b12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:29 + docker inspect -f . ci-base-image-arm64 22:35:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:29 prd-ubuntu20.04-docker-arm64-4c-16g-20712 does not seem to be running inside a container 22:35:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:35:30 $ docker top 3f278948bc4da151a03256a062f7a4e7b6bd275e41631c13060fb8f6bdf9f87e -eo pid,comm [Pipeline] { [Pipeline] sh 22:35:31 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 22:35:32 + make test 22:35:32 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 22:35:33 ? github.com/edgexfoundry/device-usb-camera [no test files] 22:37:10 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 22:37:10 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 22:37:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:37:10 CGO_ENABLED=1 go vet ./... 22:37:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:37:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:37:19 ./bin/test-attribution-txt.sh [Pipeline] echo 22:37:21 [edgeX.isLTS] Checking if [docker-fix] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:37:21 $ docker stop --time=1 3f278948bc4da151a03256a062f7a4e7b6bd275e41631c13060fb8f6bdf9f87e 22:37:23 $ docker rm -f 3f278948bc4da151a03256a062f7a4e7b6bd275e41631c13060fb8f6bdf9f87e [Pipeline] // withDockerContainer [Pipeline] sh 22:37:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:37:24 Warning: overwriting stash ‘coverage-report’ 22:37:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:37:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:37:25 + ls -al . 22:37:25 total 160 22:37:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 22:37 . 22:37:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 22:33 .. 22:37:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 22:33 .git 22:37:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 22:33 .github 22:37:25 -rw-rw-r-- 1 jenkins jenkins 414 Jul 21 22:33 .gitignore 22:37:25 -rw-rw-r-- 1 jenkins jenkins 42 Jul 21 22:33 .golangci.yml 22:37:25 -rw-rw-r-- 1 jenkins jenkins 77 Jul 21 22:33 .hadolint.yml 22:37:25 -rw-rw-r-- 1 jenkins jenkins 8706 Jul 21 22:33 Attribution.txt 22:37:25 -rw-rw-r-- 1 jenkins jenkins 181 Jul 21 22:33 CHANGELOG.md 22:37:25 -rw-rw-r-- 1 jenkins jenkins 1940 Jul 21 22:33 Dockerfile 22:37:25 -rw-rw-r-- 1 jenkins jenkins 678 Jul 21 22:33 GOVERNANCE.md 22:37:25 -rw-rw-r-- 1 jenkins jenkins 659 Jul 21 22:33 Jenkinsfile 22:37:25 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 21 22:33 LICENSE 22:37:25 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 21 22:33 Makefile 22:37:25 -rw-rw-r-- 1 jenkins jenkins 622 Jul 21 22:33 OWNERS.md 22:37:25 -rw-rw-r-- 1 jenkins jenkins 11243 Jul 21 22:33 README.md 22:37:25 -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 22:31 VERSION 22:37:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 22:33 bin 22:37:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 22:33 cmd 22:37:25 -rw-r--r-- 1 jenkins jenkins 10 Jul 21 22:35 coverage.out 22:37:25 -rwxrwxr-x 1 jenkins jenkins 140 Jul 21 22:33 docker-entrypoint.sh 22:37:25 -rw-rw-r-- 1 jenkins jenkins 3277 Jul 21 22:33 go.mod 22:37:25 -rw-rw-r-- 1 jenkins jenkins 35596 Jul 21 22:33 go.sum 22:37:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 22:33 internal 22:37:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 22:33 snap 22:37:25 -rw-rw-r-- 1 jenkins jenkins 231 Jul 21 22:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:26 + 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=5500b7e240a30b6364fa95a4790f179cbb2842ab --label arch=arm64 --label version=0.0.0 . 22:37:26 Sending build context to Docker daemon 460.3kB 22:37:26 Step 1/30 : ARG BASE=golang:1.17-alpine3.15 22:37:26 Step 2/30 : FROM ${BASE} AS builder 22:37:26 ---> 150c519b6bba 22:37:26 Step 3/30 : ARG MAKE="make build" 22:37:26 ---> Running in 98218b619c7f 22:37:27 Removing intermediate container 98218b619c7f 22:37:27 ---> 18f761cd3569 22:37:27 Step 4/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:37:27 ---> Running in 45aa19516bd9 22:37:27 Removing intermediate container 45aa19516bd9 22:37:27 ---> e43d2b9e161d 22:37:27 Step 5/30 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:37:27 ---> Running in c7d4be47d270 22:37:27 Removing intermediate container c7d4be47d270 22:37:27 ---> 49aae52ab118 22:37:27 Step 6/30 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:37:28 ---> Running in e4d6ee2bf89a 22:37:29 Removing intermediate container e4d6ee2bf89a 22:37:29 ---> ef516261212c 22:37:29 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:37:29 ---> Running in 52abb703bb75 22:37:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:37:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:37:32 OK: 228 MiB in 65 packages 22:37:33 Removing intermediate container 52abb703bb75 22:37:33 ---> 2f0d47f0d1aa 22:37:33 Step 8/30 : WORKDIR /device-usb-camera 22:37:33 ---> Running in 70f6264087a5 22:37:34 Removing intermediate container 70f6264087a5 22:37:34 ---> 0e4318a511dc 22:37:34 Step 9/30 : COPY go.mod vendor* ./ 22:37:34 ---> 783a4d2dddbb 22:37:34 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:37:34 ---> Running in 68c2c5aaa1ec 22:37:36 Removing intermediate container 68c2c5aaa1ec 22:37:36 ---> 8ba84f65cead 22:37:36 Step 11/30 : COPY . . 22:37:37 ---> 24a78e329125 22:37:37 Step 12/30 : RUN ${MAKE} 22:37:37 ---> Running in e01a0f500a22 22:37: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 22:40:15 Removing intermediate container e01a0f500a22 22:40:15 ---> b2044bf253d4 22:40:15 Step 13/30 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 22:40:15 v0.18.4: Pulling from aler9/rtsp-simple-server 22:40:15 eab2503cf8f4: Pulling fs layer 22:40:15 97cd0a44c592: Pulling fs layer 22:40:15 97cd0a44c592: Download complete 22:40:15 eab2503cf8f4: Verifying Checksum 22:40:15 eab2503cf8f4: Download complete 22:40:15 eab2503cf8f4: Pull complete 22:40:15 97cd0a44c592: Pull complete 22:40:15 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 22:40:15 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 22:40:15 ---> 7f763cca56b3 22:40:15 Step 14/30 : FROM alpine:3.15 22:40:15 3.15: Pulling from library/alpine 22:40:15 e0295fd11fe2: Pulling fs layer 22:40:15 e0295fd11fe2: Verifying Checksum 22:40:15 e0295fd11fe2: Download complete 22:40:15 e0295fd11fe2: Pull complete 22:40:15 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 22:40:15 Status: Downloaded newer image for alpine:3.15 22:40:15 ---> 60f2846fe774 22:40:15 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:40:15 ---> Running in d3102a58add1 22:40:15 Removing intermediate container d3102a58add1 22:40:15 ---> 0d3e001378fd 22:40:15 Step 16/30 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 22:40:15 ---> Running in 23c5a18fd37f 22:40:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:40:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:40:15 (1/73) Installing dumb-init (1.2.5-r1) 22:40:15 (2/73) Installing sdl2 (2.0.16-r4) 22:40:15 (3/73) Installing libxau (1.0.9-r0) 22:40:15 (4/73) Installing libmd (1.0.3-r0) 22:40:15 (5/73) Installing libbsd (0.11.3-r1) 22:40:15 (6/73) Installing libxdmcp (1.1.3-r0) 22:40:15 (7/73) Installing libxcb (1.14-r2) 22:40:15 (8/73) Installing libx11 (1.7.2-r0) 22:40:15 (9/73) Installing aom-libs (3.2.0-r0) 22:40:15 (10/73) Installing alsa-lib (1.2.5.1-r1) 22:40:15 (11/73) Installing expat (2.4.7-r0) 22:40:15 (12/73) Installing brotli-libs (1.0.9-r5) 22:40:15 (13/73) Installing libbz2 (1.0.8-r1) 22:40:15 (14/73) Installing libpng (1.6.37-r1) 22:40:15 (15/73) Installing freetype (2.11.1-r2) 22:40:15 (16/73) Installing libuuid (2.37.4-r0) 22:40:15 (17/73) Installing fontconfig (2.13.1-r4) 22:40:15 (18/73) Installing fribidi (1.0.11-r0) 22:40:15 (19/73) Installing libffi (3.4.2-r1) 22:40:15 (20/73) Installing libintl (0.21-r0) 22:40:15 (21/73) Installing libblkid (2.37.4-r0) 22:40:15 (22/73) Installing libmount (2.37.4-r0) 22:40:15 (23/73) Installing pcre (8.45-r1) 22:40:15 (24/73) Installing glib (2.70.1-r0) 22:40:15 (25/73) Installing graphite2 (1.3.14-r0) 22:40:15 (26/73) Installing harfbuzz (3.0.0-r2) 22:40:15 (27/73) Installing libass (0.15.2-r0) 22:40:15 (28/73) Installing libdav1d (0.9.2-r0) 22:40:15 (29/73) Installing gmp (6.2.1-r1) 22:40:15 (30/73) Installing nettle (3.7.3-r0) 22:40:15 (31/73) Installing p11-kit (0.24.0-r1) 22:40:15 (32/73) Installing libtasn1 (4.18.0-r0) 22:40:15 (33/73) Installing libunistring (0.9.10-r1) 22:40:15 (34/73) Installing gnutls (3.7.1-r0) 22:40:15 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r1) 22:40:15 (36/73) Installing ncurses-libs (6.3_p20211120-r1) 22:40:15 (37/73) Installing lame (3.100-r0) 22:40:15 (38/73) Installing opus (1.3.1-r1) 22:40:15 (39/73) Installing libgomp (10.3.1_git20211027-r0) 22:40:15 (40/73) Installing soxr (0.1.3-r2) 22:40:15 (41/73) Installing libgcc (10.3.1_git20211027-r0) 22:40:15 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 22:40:15 (43/73) Installing libsrt (1.4.2-r1) 22:40:15 (44/73) Installing libssh (0.9.6-r1) 22:40:15 (45/73) Installing libogg (1.3.5-r0) 22:40:15 (46/73) Installing libtheora (1.1.1-r16) 22:40:15 (47/73) Installing libjpeg-turbo (2.1.2-r0) 22:40:15 (48/73) Installing v4l-utils-libs (1.22.1-r1) 22:40:15 (49/73) Installing libxext (1.3.4-r0) 22:40:15 (50/73) Installing libxfixes (6.0.0-r0) 22:40:15 (51/73) Installing libdrm (2.4.109-r0) 22:40:15 (52/73) Installing wayland-libs-client (1.19.0-r1) 22:40:15 (53/73) Installing libva (2.13.0-r0) 22:40:15 (54/73) Installing libvdpau (1.4-r0) 22:40:15 (55/73) Installing vidstab (1.1.0-r1) 22:40:15 (56/73) Installing libvorbis (1.3.7-r0) 22:40:15 (57/73) Installing libvpx (1.10.0-r0) 22:40:15 (58/73) Installing vulkan-loader (1.2.196-r0) 22:40:15 (59/73) Installing libwebp (1.2.2-r0) 22:40:15 (60/73) Installing x264-libs (20210613-r0) 22:40:15 (61/73) Installing x265-libs (3.5-r0) 22:40:15 (62/73) Installing xvidcore (1.3.7-r1) 22:40:15 (63/73) Installing ffmpeg-libs (4.4.1-r2) 22:40:15 (64/73) Installing ffmpeg (4.4.1-r2) 22:40:15 (65/73) Installing udev-init-scripts (35-r0) 22:40:15 Executing udev-init-scripts-35-r0.post-install 22:40:15 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 22:40:15 (67/73) Installing xz-libs (5.2.5-r1) 22:40:15 (68/73) Installing zstd-libs (1.5.0-r0) 22:40:15 (69/73) Installing kmod-libs (29-r2) 22:40:16 (70/73) Installing eudev (3.2.11_pre1-r0) 22:40:16 (71/73) Installing libsodium (1.0.18-r0) 22:40:16 (72/73) Installing libzmq (4.3.4-r0) 22:40:16 (73/73) Installing zeromq (4.3.4-r0) 22:40:16 Executing busybox-1.34.1-r7.trigger 22:40:16 Executing eudev-3.2.11_pre1-r0.trigger 22:40:16 OK: 67 MiB in 87 packages 22:40:19 Removing intermediate container 23c5a18fd37f 22:40:19 ---> 4cb169a1cd79 22:40:19 Step 17/30 : WORKDIR / 22:40:19 ---> Running in f1a07fc87464 22:40:19 Removing intermediate container f1a07fc87464 22:40:19 ---> e6122d150b5e 22:40:19 Step 18/30 : COPY --from=builder /device-usb-camera/cmd / 22:40:21 ---> 1429cdfe33a2 22:40:21 Step 19/30 : COPY --from=builder /device-usb-camera/LICENSE / 22:40:21 ---> 418f6e3b6fa1 22:40:21 Step 20/30 : COPY --from=builder /device-usb-camera/Attribution.txt / 22:40:22 ---> ecd028ed68c4 22:40:22 Step 21/30 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 22:40:22 ---> e9ac338f9cd4 22:40:22 Step 22/30 : COPY --from=rtsp /rtsp-simple-server.yml / 22:40:23 ---> 4f7c1575783e 22:40:23 Step 23/30 : COPY --from=rtsp /rtsp-simple-server / 22:40:24 ---> 358ce2fd5171 22:40:24 Step 24/30 : EXPOSE 59983 22:40:24 ---> Running in ec0a5e823aad 22:40:25 Removing intermediate container ec0a5e823aad 22:40:25 ---> 3dda38e34536 22:40:25 Step 25/30 : EXPOSE 8554 22:40:25 ---> Running in d2a22c45c438 22:40:25 Removing intermediate container d2a22c45c438 22:40:25 ---> f81d416957d8 22:40:25 Step 26/30 : ENTRYPOINT ["/docker-entrypoint.sh"] 22:40:25 ---> Running in 7efcc102fd1b 22:40:26 Removing intermediate container 7efcc102fd1b 22:40:26 ---> d02afa059857 22:40:26 Step 27/30 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 22:40:26 ---> Running in c9e16a291478 22:40:26 Removing intermediate container c9e16a291478 22:40:26 ---> 20ee54ffabc4 22:40:26 Step 28/30 : LABEL arch=arm64 22:40:26 ---> Running in 661e882e6f4f 22:40:27 Removing intermediate container 661e882e6f4f 22:40:27 ---> de90f84af117 22:40:27 Step 29/30 : LABEL git_sha=5500b7e240a30b6364fa95a4790f179cbb2842ab 22:40:27 ---> Running in fdbadbca978e 22:40:27 Removing intermediate container fdbadbca978e 22:40:27 ---> 537bca731314 22:40:27 Step 30/30 : LABEL version=0.0.0 22:40:27 ---> Running in 7a80e3c0e45c 22:40:27 Removing intermediate container 7a80e3c0e45c 22:40:27 ---> 8c9ff41f4ee7 22:40:27 [Warning] One or more build-args [ARCH] were not consumed 22:40:27 Successfully built 8c9ff41f4ee7 22:40:27 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 22:40:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:40:28 22:40:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:40:29 arm64: Pulling from edgex-lftools-log-publisher 22:40:29 8998bd30e6a1: Pulling fs layer 22:40:29 04944245beec: Pulling fs layer 22:40:29 699f458cf7ca: Pulling fs layer 22:40:29 765212b225bb: Pulling fs layer 22:40:29 f23df028b6ca: Pulling fs layer 22:40:29 d65c8cfc05b1: Pulling fs layer 22:40:29 2437ff75d9bd: Pulling fs layer 22:40:29 765212b225bb: Waiting 22:40:29 f23df028b6ca: Waiting 22:40:29 d65c8cfc05b1: Waiting 22:40:29 04944245beec: Verifying Checksum 22:40:29 04944245beec: Download complete 22:40:29 765212b225bb: Download complete 22:40:29 f23df028b6ca: Verifying Checksum 22:40:29 f23df028b6ca: Download complete 22:40:29 d65c8cfc05b1: Verifying Checksum 22:40:29 d65c8cfc05b1: Download complete 22:40:29 699f458cf7ca: Verifying Checksum 22:40:29 699f458cf7ca: Download complete 22:40:29 8998bd30e6a1: Verifying Checksum 22:40:29 8998bd30e6a1: Download complete 22:40:32 2437ff75d9bd: Verifying Checksum 22:40:32 2437ff75d9bd: Download complete 22:40:34 8998bd30e6a1: Pull complete 22:40:34 04944245beec: Pull complete 22:40:36 699f458cf7ca: Pull complete 22:40:36 765212b225bb: Pull complete 22:40:37 f23df028b6ca: Pull complete 22:40:37 d65c8cfc05b1: Pull complete 22:40:52 2437ff75d9bd: Pull complete 22:40:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:40:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:40:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:53 prd-ubuntu20.04-docker-arm64-4c-16g-20712 does not seem to be running inside a container 22:40:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:40:56 $ docker top 34a8c8295a9aea7a82e47e6a4405920b7fff9bdf6649f7ee6dcccd0145b4a744 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:57 ---> job-cost.sh 22:40:57 lf-activate-venv: SKIPPING 22:40:57 INFO: No Stack... 22:40:58 INFO: Retrieving Pricing Info for: v3-standard-4 22:40:59 INFO: Archiving Costs [Pipeline] sh 22:40:59 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 22:40:59 + cut -d, -f6 [Pipeline] lock 22:40:59 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-docker-fix-1-stack-cost] 22:40:59 Resource [jenkins-edgexfoundry-device-usb-camera-docker-fix-1-stack-cost] did not exist. Created. 22:40:59 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-docker-fix-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:41:00 /w/workspace/device-usb-camera/1@tmp/durable-65b05489/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:41:01 + echo total: 0.10999999940395355 [Pipeline] stash 22:41:01 Warning: overwriting stash ‘stack-cost’ 22:41:01 Stashed 1 file(s) [Pipeline] } 22:41:01 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-docker-fix-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:41:01 $ docker stop --time=1 34a8c8295a9aea7a82e47e6a4405920b7fff9bdf6649f7ee6dcccd0145b4a744 22:41:03 $ docker rm -f 34a8c8295a9aea7a82e47e6a4405920b7fff9bdf6649f7ee6dcccd0145b4a744 [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 22:41:04 provisioning config files... 22:41:04 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/dry_device-usb-camera_docker-fix@tmp/config2562853136277485622tmp [Pipeline] { [Pipeline] sh 22:41:04 + set +x 22:41:04 + curl -s https://codecov.io/bash 22:41:04 + bash -s -- 22:41:04 22:41:04 _____ _ 22:41:04 / ____| | | 22:41:04 | | ___ __| | ___ ___ _____ __ 22:41:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:41:04 | |___| (_) | (_| | __/ (_| (_) \ V / 22:41:04 \_____\___/ \__,_|\___|\___\___/ \_/ 22:41:04 Bash-1.0.6 22:41:04 22:41:04 22:41:04 ==> git version 2.25.1 found 22:41:04 ==> 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 22:41:04 Release-Date: 2020-01-08 22:41:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:41:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:41:04 ==> Jenkins CI detected. 22:41:04 current dir:  /w/workspace/dry_device-usb-camera_docker-fix 22:41:04 project root: . 22:41:04 --> token set from env 22:41:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:41:04 ==> Running gcov in . (disable via -X gcov) 22:41:04 ==> Python coveragepy not found 22:41:04 ==> Searching for coverage reports in: 22:41:04 + . 22:41:04 -> Found 1 reports 22:41:04 ==> Detecting git/mercurial file structure 22:41:04 ==> Reading reports 22:41:04 + ./coverage.out bytes=10 22:41:04 ==> Appending adjustments 22:41:04 https://docs.codecov.io/docs/fixing-reports 22:41:04 + Found adjustments 22:41:04 ==> Gzipping contents 22:41:04 4.0K /tmp/codecov.FoJ8MU.gz 22:41:04 ==> Uploading reports 22:41:04 url: https://codecov.io 22:41:04 query: branch=docker-fix&commit=5500b7e240a30b6364fa95a4790f179cbb2842ab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fdocker-fix%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 22:41:04 -> Pinging Codecov 22:41:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=docker-fix&commit=5500b7e240a30b6364fa95a4790f179cbb2842ab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fdocker-fix%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 22:41:04 -> Uploading to 22:41:04 https://storage.googleapis.com/codecov/v4/raw/2022-07-21/73D8F5FF140700D3E01443B452E23636/5500b7e240a30b6364fa95a4790f179cbb2842ab/a5b8c8a8-5f91-4dc3-8501-d56678d2d6f5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220721%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220721T224104Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45eeedbb2674fe0551f9f9eb022509dc23be404ef5d4eaad9d294272dba852f2 22:41:04 % Total % Received % Xferd Average Speed Time Time Time Current 22:41:04 Dload Upload Total Spent Left Speed 22:41:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1187 0 0 100 1187 0 5818 --:--:-- --:--:-- --:--:-- 5818 100 1187 0 0 100 1187 0 5546 --:--:-- --:--:-- --:--:-- 5520 22:41:05 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/5500b7e240a30b6364fa95a4790f179cbb2842ab [Pipeline] } 22:41:05 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 22:41:06 + [ -d /w/workspace/dry_device-usb-camera_docker-fix/archives ] 22:41:06 + ls -al /w/workspace/dry_device-usb-camera_docker-fix/archives 22:41:06 total 16 22:41:06 drwxr-xr-x 3 root root 4096 Jul 21 22:33 . 22:41:06 drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 22:33 .. 22:41:06 drwxr-xr-x 2 root root 4096 Jul 21 22:33 cost 22:41:06 -rw-r--r-- 1 root root 92 Jul 21 22:33 cost.csv 22:41:06 + sudo chown -R jenkins:jenkins /w/workspace/dry_device-usb-camera_docker-fix/archives 22:41:06 + ls -al /w/workspace/dry_device-usb-camera_docker-fix/archives 22:41:06 total 16 22:41:06 drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 22:33 . 22:41:06 drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 22:33 .. 22:41:06 drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 22:33 cost 22:41:06 -rw-r--r-- 1 jenkins jenkins 92 Jul 21 22:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:41:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:41:08 ---> package-listing.sh 22:41:08 ++ facter osfamily 22:41:08 ++ tr '[:upper:]' '[:lower:]' 22:41:08 + OS_FAMILY=debian 22:41:08 + workspace=/w/workspace/dry_device-usb-camera_docker-fix 22:41:08 + START_PACKAGES=/tmp/packages_start.txt 22:41:08 + END_PACKAGES=/tmp/packages_end.txt 22:41:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:41:08 + PACKAGES=/tmp/packages_start.txt 22:41:08 + '[' /w/workspace/dry_device-usb-camera_docker-fix ']' 22:41:08 + PACKAGES=/tmp/packages_end.txt 22:41:08 + case "${OS_FAMILY}" in 22:41:08 + dpkg -l 22:41:08 + grep '^ii' 22:41:08 + '[' -f /tmp/packages_start.txt ']' 22:41:08 + '[' -f /tmp/packages_end.txt ']' 22:41:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:41:08 + '[' /w/workspace/dry_device-usb-camera_docker-fix ']' 22:41:08 + mkdir -p /w/workspace/dry_device-usb-camera_docker-fix/archives/ 22:41:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_device-usb-camera_docker-fix/archives/ [Pipeline] echo 22:41:08 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/dry_device-usb-camera_docker-fix/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:41:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:41:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:09 prd-ubuntu20.04-docker-8c-8g-20710 does not seem to be running inside a container 22:41:09 $ 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/dry_device-usb-camera_docker-fix/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_device-usb-camera_docker-fix -v /w/workspace/dry_device-usb-camera_docker-fix:/w/workspace/dry_device-usb-camera_docker-fix:rw,z -v /w/workspace/dry_device-usb-camera_docker-fix@tmp:/w/workspace/dry_device-usb-camera_docker-fix@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:41:09 $ docker top 997876b9424071c22818340d46d4521315876a78e196d8e46a162dc2f75babbd -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:10 + touch /tmp/pre-build-complete [Pipeline] sh 22:41:10 + mkdir -p /var/log/sysstat [Pipeline] sh 22:41:10 + ls /var/log/sa-host 22:41:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:41:10 provisioning config files... 22:41:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_device-usb-camera_docker-fix@tmp/config6878979587901131363tmp [Pipeline] { [Pipeline] echo 22:41:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:41:11 ---> create-netrc.sh [Pipeline] } 22:41:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:41:11 ---> python-tools-install.sh [Pipeline] echo 22:41:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:41:12 ---> sudo-logs.sh 22:41:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:41:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:41:12 ---> job-cost.sh 22:41:12 lf-activate-venv: SKIPPING 22:41:12 DEBUG: total: 0.2199999988079071 22:41:12 INFO: Retrieving Stack Cost... 22:41:12 INFO: Retrieving Pricing Info for: v3-standard-8 22:41:13 INFO: Archiving Costs [Pipeline] echo 22:41:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:41:13 ---> logs-deploy.sh 22:41:13 lf-activate-venv: SKIPPING 22:41:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/docker-fix/1 22:41:13 INFO: archiving workspace using pattern(s): 22:41:14 Archives upload complete. 22:41:14 INFO: archiving logs to Nexus 22:41:15 ---> uname -a: 22:41:15 Linux prd-ubuntu20-04-docker-8c-8g-20710 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 22:41:15 22:41:15 22:41:15 ---> lscpu: 22:41:15 Architecture: x86_64 22:41:15 CPU op-mode(s): 32-bit, 64-bit 22:41:15 Byte Order: Little Endian 22:41:15 Address sizes: 40 bits physical, 48 bits virtual 22:41:15 CPU(s): 8 22:41:15 On-line CPU(s) list: 0-7 22:41:15 Thread(s) per core: 1 22:41:15 Core(s) per socket: 1 22:41:15 Socket(s): 8 22:41:15 NUMA node(s): 1 22:41:15 Vendor ID: AuthenticAMD 22:41:15 CPU family: 23 22:41:15 Model: 49 22:41:15 Model name: AMD EPYC-Rome Processor 22:41:15 Stepping: 0 22:41:15 CPU MHz: 2799.998 22:41:15 BogoMIPS: 5599.99 22:41:15 Virtualization: AMD-V 22:41:15 Hypervisor vendor: KVM 22:41:15 Virtualization type: full 22:41:15 L1d cache: 256 KiB 22:41:15 L1i cache: 256 KiB 22:41:15 L2 cache: 4 MiB 22:41:15 L3 cache: 128 MiB 22:41:15 NUMA node0 CPU(s): 0-7 22:41:15 Vulnerability Itlb multihit: Not affected 22:41:15 Vulnerability L1tf: Not affected 22:41:15 Vulnerability Mds: Not affected 22:41:15 Vulnerability Meltdown: Not affected 22:41:15 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:41:15 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:41:15 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:41:15 Vulnerability Srbds: Not affected 22:41:15 Vulnerability Tsx async abort: Not affected 22:41:15 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 22:41:15 22:41:15