Pull request #52 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 910b1a6e48eab79c950f15b9abe2a9e2e0276b90+d52eed5e0bdf095fe71ab1c2620e174378e09b3d (39346d6a908d2414b64ddd9b30036ed576df0eae) 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-ssh12083641725186850284.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-ssh3266123055560602374.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-52/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-52/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh987301804858339357.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3377084214953896621.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-52/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-52/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2589493987700466172.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-20503 in /w/workspace/xfoundry_device-usb-camera_PR-52 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-52 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d52eed5e0bdf095fe71ab1c2620e174378e09b3d into PR head commit 910b1a6e48eab79c950f15b9abe2a9e2e0276b90 Merge succeeded, producing 910b1a6e48eab79c950f15b9abe2a9e2e0276b90 Checking out Revision 910b1a6e48eab79c950f15b9abe2a9e2e0276b90 (PR-52) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/52/head:refs/remotes/origin/PR-52 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 910b1a6e48eab79c950f15b9abe2a9e2e0276b90 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d52eed5e0bdf095fe71ab1c2620e174378e09b3d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 910b1a6e48eab79c950f15b9abe2a9e2e0276b90 # timeout=10 Commit message: "Replace obsolete alpine package repo mirror" > git rev-list --no-walk c3e052e24842ef06867c60dda62c9380c5339b83 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:49:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:49:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:49:29 ========================================================= 17:49:29 EdgeX Global Pipelines Version Info 17:49:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:49:30 ------------------- 17:49:30 stable info: 17:49:30 ------------------- 17:49:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:49:30 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 17:49:30 Message: update stable to v1.0.238 17:49:31 ------------------- 17:49:31 experimental info: 17:49:31 ------------------- 17:49:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:49:31 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 17:49:31 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-52 [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-52 [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-52 [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 910b1a6e48eab79c950f15b9abe2a9e2e0276b90 [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 910b1a6 [Pipeline] echo 17:49:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:49:31 provisioning config files... 17:49:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-52@tmp/config5395100306544141722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:32 ---> docker-login.sh 17:49:32 nexus3.edgexfoundry.org:10001 17:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:32 Configure a credential helper to remove this warning. See 17:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:32 17:49:32 Login Succeeded 17:49:32 nexus3.edgexfoundry.org:10002 17:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:32 Configure a credential helper to remove this warning. See 17:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:32 17:49:32 Login Succeeded 17:49:32 nexus3.edgexfoundry.org:10003 17:49:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:32 Configure a credential helper to remove this warning. See 17:49:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:32 17:49:32 Login Succeeded 17:49:32 nexus3.edgexfoundry.org:10004 17:49:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:33 Configure a credential helper to remove this warning. See 17:49:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:33 17:49:33 Login Succeeded 17:49:33 docker.io 17:49:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:33 Configure a credential helper to remove this warning. See 17:49:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:33 17:49:33 Login Succeeded 17:49:33 ---> docker-login.sh ends [Pipeline] } 17:49:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:49:33 + git rev-list -1 --merges 910b1a6e48eab79c950f15b9abe2a9e2e0276b90~1..910b1a6e48eab79c950f15b9abe2a9e2e0276b90 [Pipeline] echo 17:49:33 -----------> git rev-list -1 --merges 910b1a6e48eab79c950f15b9abe2a9e2e0276b90~1..910b1a6e48eab79c950f15b9abe2a9e2e0276b90 910b1a6e48eab79c950f15b9abe2a9e2e0276b90 [false] [Pipeline] sh 17:49:34 + git log --format=format:%s -1 910b1a6e48eab79c950f15b9abe2a9e2e0276b90 [Pipeline] echo 17:49:34 ========================================================= 17:49:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:49:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:49:34 + git log --format=format:%s -1 910b1a6e48eab79c950f15b9abe2a9e2e0276b90 [Pipeline] echo 17:49:34 [semverPrep] GIT_COMMIT: 910b1a6e48eab79c950f15b9abe2a9e2e0276b90, Commit Message: Replace obsolete alpine package repo mirror [Pipeline] echo 17:49:34 [semverPrep] This is not a build commit. [Pipeline] sh 17:49:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:49:34 + grep -v github /etc/ssh/ssh_known_hosts 17:49:34 + [ -e /tmp/ssh_known_hosts ] 17:49:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:49:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:49:34 + sudo tee -a /etc/ssh/ssh_known_hosts 17:49:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:35 17:49:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:35 0.1.4: Pulling from edgex-devops/py-git-semver 17:49:35 b85a868b505f: Pulling fs layer 17:49:35 e2be974225ed: Pulling fs layer 17:49:35 339a4e72a1f5: Pulling fs layer 17:49:35 988bab9f4d93: Pulling fs layer 17:49:35 1469e6f7b9e6: Pulling fs layer 17:49:35 eaf3925da568: Pulling fs layer 17:49:35 bab4dde63d76: Pulling fs layer 17:49:35 1469e6f7b9e6: Waiting 17:49:35 bde34c3a00c8: Pulling fs layer 17:49:35 b352a97aabf1: Pulling fs layer 17:49:35 988bab9f4d93: Waiting 17:49:35 4872d77fe225: Pulling fs layer 17:49:35 5851b861e8e6: Pulling fs layer 17:49:35 eaf3925da568: Waiting 17:49:35 bab4dde63d76: Waiting 17:49:35 bde34c3a00c8: Waiting 17:49:35 b352a97aabf1: Waiting 17:49:35 4872d77fe225: Waiting 17:49:35 5851b861e8e6: Waiting 17:49:35 e2be974225ed: Verifying Checksum 17:49:35 e2be974225ed: Download complete 17:49:35 988bab9f4d93: Verifying Checksum 17:49:35 988bab9f4d93: Download complete 17:49:35 1469e6f7b9e6: Download complete 17:49:35 eaf3925da568: Verifying Checksum 17:49:35 eaf3925da568: Download complete 17:49:35 339a4e72a1f5: Verifying Checksum 17:49:35 339a4e72a1f5: Download complete 17:49:35 bde34c3a00c8: Verifying Checksum 17:49:35 bde34c3a00c8: Download complete 17:49:35 b352a97aabf1: Verifying Checksum 17:49:35 b352a97aabf1: Download complete 17:49:35 4872d77fe225: Verifying Checksum 17:49:35 4872d77fe225: Download complete 17:49:35 5851b861e8e6: Download complete 17:49:35 b85a868b505f: Verifying Checksum 17:49:35 b85a868b505f: Download complete 17:49:36 bab4dde63d76: Download complete 17:49:37 b85a868b505f: Pull complete 17:49:37 e2be974225ed: Pull complete 17:49:37 339a4e72a1f5: Pull complete 17:49:37 988bab9f4d93: Pull complete 17:49:38 1469e6f7b9e6: Pull complete 17:49:38 eaf3925da568: Pull complete 17:49:40 bab4dde63d76: Pull complete 17:49:40 bde34c3a00c8: Pull complete 17:49:40 b352a97aabf1: Pull complete 17:49:40 4872d77fe225: Pull complete 17:49:40 5851b861e8e6: Pull complete 17:49:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:49:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:49:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:40 prd-ubuntu20.04-docker-8c-8g-20503 does not seem to be running inside a container 17:49:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-52 -v /w/workspace/xfoundry_device-usb-camera_PR-52:/w/workspace/xfoundry_device-usb-camera_PR-52:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-52@tmp:/w/workspace/xfoundry_device-usb-camera_PR-52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:49:42 $ docker top 15e85e0adf5c36a2f6ebb5bacc8db68875c07584ab8b8a9f887e0eb088a4fb29 -eo pid,comm 17:49:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:49:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:49:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:42 [ssh-agent] Looking for ssh-agent implementation... 17:49:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:42 $ docker exec 15e85e0adf5c36a2f6ebb5bacc8db68875c07584ab8b8a9f887e0eb088a4fb29 ssh-agent 17:49:42 SSH_AUTH_SOCK=/tmp/ssh-AdQaDiH9srsr/agent.35 17:49:42 SSH_AGENT_PID=41 17:49:42 Running ssh-add (command line suppressed) 17:49:42 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-52@tmp/private_key_7646144935500015050.key (/w/workspace/xfoundry_device-usb-camera_PR-52@tmp/private_key_7646144935500015050.key) 17:49:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:43 + git tag --points-at HEAD [Pipeline] } 17:49:43 $ docker exec --env ******** --env ******** 15e85e0adf5c36a2f6ebb5bacc8db68875c07584ab8b8a9f887e0eb088a4fb29 ssh-agent -k 17:49:43 unset SSH_AUTH_SOCK; 17:49:43 unset SSH_AGENT_PID; 17:49:43 echo Agent pid 41 killed; 17:49:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:49:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:49:43 [ssh-agent] Looking for ssh-agent implementation... 17:49:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:49:43 $ docker exec 15e85e0adf5c36a2f6ebb5bacc8db68875c07584ab8b8a9f887e0eb088a4fb29 ssh-agent 17:49:43 SSH_AUTH_SOCK=/tmp/ssh-ojypKl0v7u4y/agent.77 17:49:43 SSH_AGENT_PID=84 17:49:43 Running ssh-add (command line suppressed) 17:49:43 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-52@tmp/private_key_5295571057193765831.key (/w/workspace/xfoundry_device-usb-camera_PR-52@tmp/private_key_5295571057193765831.key) 17:49:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:49:43 + git semver init 17:49:44 2022-07-19 17:49:44,116 [run_init] DEBUG init version:0.0.0 force:False 17:49:44 2022-07-19 17:49:44,117 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-52/.semver 17:49:44 2022-07-19 17:49:44,118 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-52/.semver 17:49:44 2022-07-19 17:49:44,118 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-52/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-52, universal_newlines=False, shell=None, istream=None) 17:49:44 2022-07-19 17:49:44,634 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-52/.git/info/exclude 17:49:44 2022-07-19 17:49:44,635 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-52/.semver/PR-52 with force:False 17:49:44 2022-07-19 17:49:44,635 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-52/.semver/PR-52 17:49:44 2022-07-19 17:49:44,639 [execute] INFO git cat-file --batch-check 17:49:44 2022-07-19 17:49:44,640 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-52/.semver, universal_newlines=False, shell=None, istream=) 17:49:44 2022-07-19 17:49:44,646 [execute] INFO git cat-file --batch 17:49:44 2022-07-19 17:49:44,646 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-52/.semver, universal_newlines=False, shell=None, istream=) 17:49:44 2022-07-19 17:49:44,651 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-52/.semver/PR-52 17:49:44 0.0.0 [Pipeline] } 17:49:44 $ docker exec --env ******** --env ******** 15e85e0adf5c36a2f6ebb5bacc8db68875c07584ab8b8a9f887e0eb088a4fb29 ssh-agent -k 17:49:44 unset SSH_AUTH_SOCK; 17:49:44 unset SSH_AGENT_PID; 17:49:44 echo Agent pid 84 killed; 17:49:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:49:45 + git semver [Pipeline] } 17:49:45 $ docker stop --time=1 15e85e0adf5c36a2f6ebb5bacc8db68875c07584ab8b8a9f887e0eb088a4fb29 17:49:46 $ docker rm -f 15e85e0adf5c36a2f6ebb5bacc8db68875c07584ab8b8a9f887e0eb088a4fb29 [Pipeline] // withDockerContainer [Pipeline] sh 17:49:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:49:47 Stashed 1 file(s) [Pipeline] echo 17:49:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:49:47 provisioning config files... 17:49:47 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-52@tmp/config1307277680873805284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:47 ---> docker-login.sh 17:49:47 nexus3.edgexfoundry.org:10001 17:49:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:47 Configure a credential helper to remove this warning. See 17:49:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:47 17:49:47 Login Succeeded 17:49:47 nexus3.edgexfoundry.org:10002 17:49:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:48 Configure a credential helper to remove this warning. See 17:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:48 17:49:48 Login Succeeded 17:49:48 nexus3.edgexfoundry.org:10003 17:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:48 Configure a credential helper to remove this warning. See 17:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:48 17:49:48 Login Succeeded 17:49:48 nexus3.edgexfoundry.org:10004 17:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:48 Configure a credential helper to remove this warning. See 17:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:48 17:49:48 Login Succeeded 17:49:48 docker.io 17:49:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:49:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:49:48 Configure a credential helper to remove this warning. See 17:49:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:49:48 17:49:48 Login Succeeded 17:49:48 ---> docker-login.sh ends [Pipeline] } 17:49:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:49:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:49:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:49:48 ========================================================= 17:49:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:49:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:49 + 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 . 17:49:49 Sending build context to Docker daemon 697.9kB 17:49:49 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:49:49 Step 2/12 : FROM ${BASE} AS builder 17:49:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:49:49 2408cc74d12b: Pulling fs layer 17:49:49 ea60b727a1ce: Pulling fs layer 17:49:49 30c4a7721957: Pulling fs layer 17:49:49 370296b7ddb6: Pulling fs layer 17:49:49 7c6cee850709: Pulling fs layer 17:49:49 39a5fcdaea64: Pulling fs layer 17:49:49 d94ebbe4e438: Pulling fs layer 17:49:49 bcfd1f05c69d: Pulling fs layer 17:49:49 59ccb84bbe0f: Pulling fs layer 17:49:49 370296b7ddb6: Waiting 17:49:49 7c6cee850709: Waiting 17:49:49 39a5fcdaea64: Waiting 17:49:49 d94ebbe4e438: Waiting 17:49:49 bcfd1f05c69d: Waiting 17:49:49 59ccb84bbe0f: Waiting 17:49:49 30c4a7721957: Download complete 17:49:49 ea60b727a1ce: Download complete 17:49:49 7c6cee850709: Verifying Checksum 17:49:49 7c6cee850709: Download complete 17:49:49 39a5fcdaea64: Download complete 17:49:49 2408cc74d12b: Verifying Checksum 17:49:49 2408cc74d12b: Download complete 17:49:49 d94ebbe4e438: Verifying Checksum 17:49:49 d94ebbe4e438: Download complete 17:49:49 2408cc74d12b: Pull complete 17:49:49 ea60b727a1ce: Pull complete 17:49:49 30c4a7721957: Pull complete 17:49:49 59ccb84bbe0f: Verifying Checksum 17:49:49 59ccb84bbe0f: Download complete 17:49:49 bcfd1f05c69d: Verifying Checksum 17:49:49 bcfd1f05c69d: Download complete 17:49:49 370296b7ddb6: Download complete 17:49:55 370296b7ddb6: Pull complete 17:49:55 7c6cee850709: Pull complete 17:49:55 39a5fcdaea64: Pull complete 17:49:55 d94ebbe4e438: Pull complete 17:49:56 bcfd1f05c69d: Pull complete 17:49:57 59ccb84bbe0f: Pull complete 17:49:57 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 17:49:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:49:57 ---> a4fb48ad2a94 17:49:57 Step 3/12 : ARG MAKE="make build" 17:49:59 ---> Running in a6fe71bd1820 17:49:59 Removing intermediate container a6fe71bd1820 17:49:59 ---> 3e9b0e60cb2e 17:49:59 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:49:59 ---> Running in da39de275ae0 17:49:59 Removing intermediate container da39de275ae0 17:49:59 ---> bfe49484670b 17:49:59 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:49:59 ---> Running in 90d55b5340f0 17:49:59 Removing intermediate container 90d55b5340f0 17:49:59 ---> d4010f1e4e61 17:49:59 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:49:59 ---> Running in 0a3cdc8c5a46 17:50:00 Removing intermediate container 0a3cdc8c5a46 17:50:00 ---> 0071e4b15d93 17:50:00 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:50:00 ---> Running in 35616a3b7bd6 17:50:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:50:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:50:01 (1/80) Installing mesa (21.3.8-r1) 17:50:01 (2/80) Installing libxau (1.0.9-r0) 17:50:01 (3/80) Installing libxdmcp (1.1.3-r0) 17:50:01 (4/80) Installing libxcb (1.15-r0) 17:50:02 (5/80) Installing libx11 (1.8-r0) 17:50:02 (6/80) Installing libxext (1.3.4-r0) 17:50:02 (7/80) Installing libxfixes (6.0.0-r0) 17:50:02 (8/80) Installing libxxf86vm (1.1.4-r2) 17:50:02 (9/80) Installing libpciaccess (0.16-r0) 17:50:02 Still waiting to schedule task 17:50:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:50:02 (10/80) Installing libdrm (2.4.110-r0) 17:50:02 (11/80) Installing mesa-glapi (21.3.8-r1) 17:50:02 (12/80) Installing libxshmfence (1.3-r1) 17:50:03 (13/80) Installing mesa-gl (21.3.8-r1) 17:50:03 (14/80) Installing icu-data-full (71.1-r2) 17:50:03 (15/80) Installing libice (1.0.10-r0) 17:50:03 (16/80) Installing libuuid (2.38-r1) 17:50:03 (17/80) Installing libsm (1.2.3-r0) 17:50:03 (18/80) Installing libxt (1.2.1-r0) 17:50:04 (19/80) Installing libxmu (1.1.3-r0) 17:50:04 (20/80) Installing xset (1.2.4-r0) 17:50:04 (21/80) Installing xprop (1.2.5-r0) 17:50:04 (22/80) Installing xdg-utils (1.1.3-r3) 17:50:04 (23/80) Installing dbus-libs (1.14.0-r1) 17:50:04 (24/80) Installing libffi (3.4.2-r1) 17:50:04 (25/80) Installing libintl (0.21-r2) 17:50:04 (26/80) Installing libblkid (2.38-r1) 17:50:04 (27/80) Installing libmount (2.38-r1) 17:50:04 (28/80) Installing pcre (8.45-r2) 17:50:04 (29/80) Installing glib (2.72.1-r0) 17:50:05 (30/80) Installing icu-libs (71.1-r2) 17:50:06 (31/80) Installing libpcre2-16 (10.40-r0) 17:50:06 (32/80) Installing zstd-libs (1.5.2-r1) 17:50:06 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r1) 17:50:06 (34/80) Installing hicolor-icon-theme (0.17-r1) 17:50:06 (35/80) Installing wayland-libs-server (1.20.0-r0) 17:50:06 (36/80) Installing mesa-gbm (21.3.8-r1) 17:50:06 (37/80) Installing wayland-libs-client (1.20.0-r0) 17:50:06 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r0) 17:50:07 (39/80) Installing libxcomposite (0.4.5-r0) 17:50:07 (40/80) Installing libbz2 (1.0.8-r1) 17:50:07 (41/80) Installing libpng (1.6.37-r1) 17:50:08 (42/80) Installing freetype (2.12.1-r0) 17:50:08 (43/80) Installing fontconfig (2.14.0-r0) 17:50:08 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 17:50:08 (45/80) Installing wayland-libs-egl (1.20.0-r0) 17:50:08 (46/80) Installing xkeyboard-config (2.35.1-r0) 17:50:08 (47/80) Installing xz-libs (5.2.5-r1) 17:50:08 (48/80) Installing libxml2 (2.9.14-r0) 17:50:08 (49/80) Installing libxkbcommon (1.4.1-r0) 17:50:08 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 17:50:08 (51/80) Installing mesa-egl (21.3.8-r1) 17:50:09 (52/80) Installing avahi-libs (0.8-r6) 17:50:09 (53/80) Installing nettle (3.7.3-r0) 17:50:09 (54/80) Installing p11-kit (0.24.1-r0) 17:50:09 (55/80) Installing libtasn1 (4.18.0-r0) 17:50:09 (56/80) Installing libunistring (1.0-r0) 17:50:09 (57/80) Installing gnutls (3.7.6-r0) 17:50:09 (58/80) Installing cups-libs (2.4.2-r0) 17:50:09 (59/80) Installing graphite2 (1.3.14-r1) 17:50:09 (60/80) Installing harfbuzz (4.3.0-r0) 17:50:09 (61/80) Installing libevdev (1.12.1-r0) 17:50:09 (62/80) Installing mtdev (1.1.6-r0) 17:50:10 (63/80) Installing eudev-libs (3.2.11-r0) 17:50:10 (64/80) Installing libinput-libs (1.20.1-r0) 17:50:10 (65/80) Installing libjpeg-turbo (2.1.3-r1) 17:50:10 (66/80) Installing xcb-util-wm (0.4.1-r1) 17:50:10 (67/80) Installing xcb-util (0.4.0-r3) 17:50:10 (68/80) Installing xcb-util-image (0.4.0-r1) 17:50:10 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 17:50:10 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 17:50:11 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 17:50:11 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r1) 17:50:11 (73/80) Installing v4l-utils-libs (1.22.1-r1) 17:50:11 (74/80) Installing v4l-utils (1.22.1-r1) 17:50:11 (75/80) Installing udev-init-scripts (35-r0) 17:50:11 Executing udev-init-scripts-35-r0.post-install 17:50:11 (76/80) Installing kmod-libs (29-r2) 17:50:12 (77/80) Installing eudev (3.2.11-r0) 17:50:12 (78/80) Installing eudev-dev (3.2.11-r0) 17:50:12 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:50:12 (80/80) Installing v4l-utils-dev (1.22.1-r1) 17:50:12 Executing busybox-1.35.0-r13.trigger 17:50:12 Executing eudev-3.2.11-r0.trigger 17:50:12 OK: 330 MiB in 131 packages 17:50:15 Removing intermediate container 35616a3b7bd6 17:50:15 ---> c453b04da618 17:50:15 Step 8/12 : WORKDIR /device-usb-camera 17:50:15 ---> Running in ed875ad4f264 17:50:15 Removing intermediate container ed875ad4f264 17:50:15 ---> ff9b6f852535 17:50:15 Step 9/12 : COPY go.mod vendor* ./ 17:50:15 ---> b886dd3f796d 17:50:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:50:15 ---> Running in 94403746563f 17:50:29 Removing intermediate container 94403746563f 17:50:29 ---> 665cfe786cfd 17:50:29 Step 11/12 : COPY . . 17:50:29 ---> d15ed51e93bc 17:50:29 Step 12/12 : RUN ${MAKE} 17:50:29 ---> Running in cc8f54d6d55f 17:50:29 noop 17:50:29 Removing intermediate container cc8f54d6d55f 17:50:29 ---> d3b4fa0ce25a 17:50:29 Successfully built d3b4fa0ce25a 17:50:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:30 + docker inspect -f . ci-base-image-x86_64 17:50:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:30 prd-ubuntu20.04-docker-8c-8g-20503 does not seem to be running inside a container 17:50:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-52 -v /w/workspace/xfoundry_device-usb-camera_PR-52:/w/workspace/xfoundry_device-usb-camera_PR-52:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-52@tmp:/w/workspace/xfoundry_device-usb-camera_PR-52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:50:30 $ docker top 3d4b16dd67146e31310dcf478641eebb1f4bf572fd687f92d978789d38404064 -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:31 + go version 17:50:31 go version go1.18.3 linux/amd64 [Pipeline] } 17:50:31 $ docker stop --time=1 3d4b16dd67146e31310dcf478641eebb1f4bf572fd687f92d978789d38404064 17:50:32 $ docker rm -f 3d4b16dd67146e31310dcf478641eebb1f4bf572fd687f92d978789d38404064 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:32 + docker inspect -f . ci-base-image-x86_64 17:50:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:33 prd-ubuntu20.04-docker-8c-8g-20503 does not seem to be running inside a container 17:50:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-usb-camera_PR-52 -v /w/workspace/xfoundry_device-usb-camera_PR-52:/w/workspace/xfoundry_device-usb-camera_PR-52:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-52@tmp:/w/workspace/xfoundry_device-usb-camera_PR-52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:50:33 $ docker top 599813f1624ab176c74b843fc3e63505c886a02c9222f2914ca81928549188a7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:33 + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-52 [Pipeline] fileExists [Pipeline] sh 17:50:34 + make test 17:50:34 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 17:50:34 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:50:44 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:50:44 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 17:50:48 CGO_ENABLED=1 go vet ./... 17:50:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:50:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:50:51 ./bin/test-attribution-txt.sh [Pipeline] echo 17:50:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:50:51 $ docker stop --time=1 599813f1624ab176c74b843fc3e63505c886a02c9222f2914ca81928549188a7 17:50:53 $ docker rm -f 599813f1624ab176c74b843fc3e63505c886a02c9222f2914ca81928549188a7 [Pipeline] // withDockerContainer [Pipeline] sh 17:50:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:50:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:50:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:50:54 + ls -al . 17:50:54 total 164 17:50:54 drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 17:50 . 17:50:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 17:49 .. 17:50:54 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 17:50 .git 17:50:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:49 .github 17:50:54 -rw-rw-r-- 1 jenkins jenkins 414 Jul 19 17:49 .gitignore 17:50:54 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 17:49 .golangci.yml 17:50:54 -rw-rw-r-- 1 jenkins jenkins 77 Jul 19 17:49 .hadolint.yml 17:50:54 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 17:49 .semver 17:50:54 -rw-rw-r-- 1 jenkins jenkins 8706 Jul 19 17:49 Attribution.txt 17:50:54 -rw-rw-r-- 1 jenkins jenkins 181 Jul 19 17:49 CHANGELOG.md 17:50:54 -rw-rw-r-- 1 jenkins jenkins 1940 Jul 19 17:49 Dockerfile 17:50:54 -rw-rw-r-- 1 jenkins jenkins 678 Jul 19 17:49 GOVERNANCE.md 17:50:54 -rw-rw-r-- 1 jenkins jenkins 659 Jul 19 17:49 Jenkinsfile 17:50:54 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 17:49 LICENSE 17:50:54 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 19 17:49 Makefile 17:50:54 -rw-rw-r-- 1 jenkins jenkins 622 Jul 19 17:49 OWNERS.md 17:50:54 -rw-rw-r-- 1 jenkins jenkins 11243 Jul 19 17:49 README.md 17:50:54 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 17:49 VERSION 17:50:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 17:49 bin 17:50:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:49 cmd 17:50:54 -rw-r--r-- 1 jenkins jenkins 10 Jul 19 17:50 coverage.out 17:50:54 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 17:49 docker-entrypoint.sh 17:50:54 -rw-rw-r-- 1 jenkins jenkins 3277 Jul 19 17:49 go.mod 17:50:54 -rw-rw-r-- 1 jenkins jenkins 35596 Jul 19 17:49 go.sum 17:50:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:49 internal 17:50:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 17:49 snap 17:50:54 -rw-rw-r-- 1 jenkins jenkins 231 Jul 19 17:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:55 + 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=910b1a6e48eab79c950f15b9abe2a9e2e0276b90 --label arch=amd64 --label version=0.0.0 . 17:50:55 Sending build context to Docker daemon 698.9kB 17:50:55 Step 1/30 : ARG BASE=golang:1.17-alpine3.15 17:50:55 Step 2/30 : FROM ${BASE} AS builder 17:50:55 ---> d3b4fa0ce25a 17:50:55 Step 3/30 : ARG MAKE="make build" 17:50:55 ---> Running in 2adf2ce577be 17:50:55 Removing intermediate container 2adf2ce577be 17:50:55 ---> e072ac73244f 17:50:55 Step 4/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:50:55 ---> Running in 78132a4da19a 17:50:55 Removing intermediate container 78132a4da19a 17:50:55 ---> a1a1ff3d07d7 17:50:55 Step 5/30 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:50:55 ---> Running in b89011de909f 17:50:55 Removing intermediate container b89011de909f 17:50:55 ---> 26adc2137907 17:50:55 Step 6/30 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:50:55 ---> Running in e0da5d619728 17:50:56 Removing intermediate container e0da5d619728 17:50:56 ---> e3bcd01df43a 17:50:56 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:50:56 ---> Running in b507902f9af2 17:50:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:50:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:50:57 OK: 330 MiB in 131 packages 17:50:58 Removing intermediate container b507902f9af2 17:50:58 ---> 3402d837ba72 17:50:58 Step 8/30 : WORKDIR /device-usb-camera 17:50:58 ---> Running in f4be8aea8e97 17:50:58 Removing intermediate container f4be8aea8e97 17:50:58 ---> 99ea03fba8d7 17:50:58 Step 9/30 : COPY go.mod vendor* ./ 17:50:58 ---> fb5a8a099192 17:50:58 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:50:58 ---> Running in 2f385973b588 17:50:59 Removing intermediate container 2f385973b588 17:50:59 ---> 16d9087b14e8 17:50:59 Step 11/30 : COPY . . 17:50:59 ---> 5161d70718e5 17:50:59 Step 12/30 : RUN ${MAKE} 17:50:59 ---> Running in e7cfbb680956 17:50:59 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 17:51:21 Removing intermediate container e7cfbb680956 17:51:21 ---> a1ccb2d10f47 17:51:21 Step 13/30 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 17:51:21 v0.18.4: Pulling from aler9/rtsp-simple-server 17:51:21 af6660deedbd: Pulling fs layer 17:51:21 97cd0a44c592: Pulling fs layer 17:51:21 97cd0a44c592: Verifying Checksum 17:51:21 97cd0a44c592: Download complete 17:51:21 af6660deedbd: Verifying Checksum 17:51:21 af6660deedbd: Download complete 17:51:21 af6660deedbd: Pull complete 17:51:21 97cd0a44c592: Pull complete 17:51:21 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 17:51:21 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 17:51:21 ---> fea57e182299 17:51:21 Step 14/30 : FROM alpine:3.15 17:51:21 3.15: Pulling from library/alpine 17:51:21 df9b9388f04a: Pulling fs layer 17:51:21 df9b9388f04a: Verifying Checksum 17:51:21 df9b9388f04a: Download complete 17:51:21 df9b9388f04a: Pull complete 17:51:21 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 17:51:21 Status: Downloaded newer image for alpine:3.15 17:51:21 ---> 0ac33e5f5afa 17:51:21 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:51:21 ---> Running in 4bfc0a2cf6cf 17:51:21 Removing intermediate container 4bfc0a2cf6cf 17:51:21 ---> 64746216263f 17:51:21 Step 16/30 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 17:51:21 ---> Running in 3df7fca1ee96 17:51:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:51:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:51:21 (1/74) Installing dumb-init (1.2.5-r1) 17:51:21 (2/74) Installing sdl2 (2.0.16-r4) 17:51:21 (3/74) Installing libxau (1.0.9-r0) 17:51:21 (4/74) Installing libmd (1.0.3-r0) 17:51:21 (5/74) Installing libbsd (0.11.3-r1) 17:51:21 (6/74) Installing libxdmcp (1.1.3-r0) 17:51:21 (7/74) Installing libxcb (1.14-r2) 17:51:21 (8/74) Installing libx11 (1.7.2-r0) 17:51:21 (9/74) Installing aom-libs (3.2.0-r0) 17:51:21 (10/74) Installing alsa-lib (1.2.5.1-r1) 17:51:21 (11/74) Installing expat (2.4.7-r0) 17:51:21 (12/74) Installing brotli-libs (1.0.9-r5) 17:51:21 (13/74) Installing libbz2 (1.0.8-r1) 17:51:21 (14/74) Installing libpng (1.6.37-r1) 17:51:21 (15/74) Installing freetype (2.11.1-r2) 17:51:21 (16/74) Installing libuuid (2.37.4-r0) 17:51:21 (17/74) Installing fontconfig (2.13.1-r4) 17:51:21 (18/74) Installing fribidi (1.0.11-r0) 17:51:21 (19/74) Installing libffi (3.4.2-r1) 17:51:21 (20/74) Installing libintl (0.21-r0) 17:51:21 (21/74) Installing libblkid (2.37.4-r0) 17:51:21 (22/74) Installing libmount (2.37.4-r0) 17:51:21 (23/74) Installing pcre (8.45-r1) 17:51:21 (24/74) Installing glib (2.70.1-r0) 17:51:21 (25/74) Installing graphite2 (1.3.14-r0) 17:51:21 (26/74) Installing harfbuzz (3.0.0-r2) 17:51:21 (27/74) Installing libass (0.15.2-r0) 17:51:21 (28/74) Installing libdav1d (0.9.2-r0) 17:51:22 (29/74) Installing gmp (6.2.1-r1) 17:51:22 (30/74) Installing nettle (3.7.3-r0) 17:51:22 (31/74) Installing p11-kit (0.24.0-r1) 17:51:22 (32/74) Installing libtasn1 (4.18.0-r0) 17:51:22 (33/74) Installing libunistring (0.9.10-r1) 17:51:22 (34/74) Installing gnutls (3.7.1-r0) 17:51:22 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r1) 17:51:22 (36/74) Installing ncurses-libs (6.3_p20211120-r1) 17:51:22 (37/74) Installing lame (3.100-r0) 17:51:22 (38/74) Installing opus (1.3.1-r1) 17:51:22 (39/74) Installing libgomp (10.3.1_git20211027-r0) 17:51:22 (40/74) Installing soxr (0.1.3-r2) 17:51:22 (41/74) Installing libgcc (10.3.1_git20211027-r0) 17:51:22 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 17:51:22 (43/74) Installing libsrt (1.4.2-r1) 17:51:22 (44/74) Installing libssh (0.9.6-r1) 17:51:22 (45/74) Installing libogg (1.3.5-r0) 17:51:22 (46/74) Installing libtheora (1.1.1-r16) 17:51:22 (47/74) Installing libjpeg-turbo (2.1.2-r0) 17:51:22 (48/74) Installing v4l-utils-libs (1.22.1-r1) 17:51:22 (49/74) Installing libxext (1.3.4-r0) 17:51:22 (50/74) Installing libxfixes (6.0.0-r0) 17:51:22 (51/74) Installing libpciaccess (0.16-r0) 17:51:22 (52/74) Installing libdrm (2.4.109-r0) 17:51:22 (53/74) Installing wayland-libs-client (1.19.0-r1) 17:51:22 (54/74) Installing libva (2.13.0-r0) 17:51:22 (55/74) Installing libvdpau (1.4-r0) 17:51:22 (56/74) Installing vidstab (1.1.0-r1) 17:51:22 (57/74) Installing libvorbis (1.3.7-r0) 17:51:22 (58/74) Installing libvpx (1.10.0-r0) 17:51:22 (59/74) Installing vulkan-loader (1.2.196-r0) 17:51:22 (60/74) Installing libwebp (1.2.2-r0) 17:51:22 (61/74) Installing x264-libs (20210613-r0) 17:51:22 (62/74) Installing x265-libs (3.5-r0) 17:51:22 (63/74) Installing xvidcore (1.3.7-r1) 17:51:22 (64/74) Installing ffmpeg-libs (4.4.1-r2) 17:51:22 (65/74) Installing ffmpeg (4.4.1-r2) 17:51:22 (66/74) Installing udev-init-scripts (35-r0) 17:51:22 Executing udev-init-scripts-35-r0.post-install 17:51:22 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 17:51:22 (68/74) Installing xz-libs (5.2.5-r1) 17:51:22 (69/74) Installing zstd-libs (1.5.0-r0) 17:51:22 (70/74) Installing kmod-libs (29-r2) 17:51:22 (71/74) Installing eudev (3.2.11_pre1-r0) 17:51:22 (72/74) Installing libsodium (1.0.18-r0) 17:51:22 (73/74) Installing libzmq (4.3.4-r0) 17:51:22 (74/74) Installing zeromq (4.3.4-r0) 17:51:22 Executing busybox-1.34.1-r5.trigger 17:51:22 Executing eudev-3.2.11_pre1-r0.trigger 17:51:22 OK: 78 MiB in 88 packages 17:51:24 Removing intermediate container 3df7fca1ee96 17:51:24 ---> 32fd6a0cfa9a 17:51:24 Step 17/30 : WORKDIR / 17:51:24 ---> Running in 956c8954c502 17:51:24 Removing intermediate container 956c8954c502 17:51:24 ---> 86c7c08d57a7 17:51:24 Step 18/30 : COPY --from=builder /device-usb-camera/cmd / 17:51:24 ---> 0d4647859c7f 17:51:24 Step 19/30 : COPY --from=builder /device-usb-camera/LICENSE / 17:51:24 ---> 3a690362bdd3 17:51:24 Step 20/30 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:51:24 ---> 8d63a220fd29 17:51:24 Step 21/30 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:51:25 ---> f1dba8a8cb91 17:51:25 Step 22/30 : COPY --from=rtsp /rtsp-simple-server.yml / 17:51:25 ---> 98be546317bb 17:51:25 Step 23/30 : COPY --from=rtsp /rtsp-simple-server / 17:51:25 ---> 62ceced4ecf2 17:51:25 Step 24/30 : EXPOSE 59983 17:51:25 ---> Running in 67e84abb9838 17:51:25 Removing intermediate container 67e84abb9838 17:51:25 ---> 945a34cca03e 17:51:25 Step 25/30 : EXPOSE 8554 17:51:25 ---> Running in 83689dc892d5 17:51:25 Removing intermediate container 83689dc892d5 17:51:25 ---> 62f4b69f2370 17:51:25 Step 26/30 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:51:26 ---> Running in bc2e0e7dac68 17:51:26 Removing intermediate container bc2e0e7dac68 17:51:26 ---> 43d56aa2b983 17:51:26 Step 27/30 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 17:51:26 ---> Running in 8e704bc9e906 17:51:26 Removing intermediate container 8e704bc9e906 17:51:26 ---> f695674ed63b 17:51:26 Step 28/30 : LABEL arch=amd64 17:51:26 ---> Running in 6c334bfb4e37 17:51:26 Removing intermediate container 6c334bfb4e37 17:51:26 ---> 5cb850722a67 17:51:26 Step 29/30 : LABEL git_sha=910b1a6e48eab79c950f15b9abe2a9e2e0276b90 17:51:26 ---> Running in 6a795038725d 17:51:26 Removing intermediate container 6a795038725d 17:51:26 ---> 1cdfa4b57ea5 17:51:26 Step 30/30 : LABEL version=0.0.0 17:51:26 ---> Running in 8c87d41fc646 17:51:26 Removing intermediate container 8c87d41fc646 17:51:26 ---> e3321752d74f 17:51:26 [Warning] One or more build-args [ARCH] were not consumed 17:51:26 Successfully built e3321752d74f 17:51:26 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:51:27 17:51:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:51:27 latest: Pulling from edgex-lftools-log-publisher 17:51:27 5eb5b503b376: Pulling fs layer 17:51:27 5c69ac0246d0: Pulling fs layer 17:51:27 ec43610c2a17: Pulling fs layer 17:51:27 3a2ae6a8a46f: Pulling fs layer 17:51:27 33b1e0a273af: Pulling fs layer 17:51:27 5d3b04190fa2: Pulling fs layer 17:51:27 2f39f015ded8: Pulling fs layer 17:51:27 3a2ae6a8a46f: Waiting 17:51:27 33b1e0a273af: Waiting 17:51:27 5d3b04190fa2: Waiting 17:51:27 2f39f015ded8: Waiting 17:51:27 5c69ac0246d0: Verifying Checksum 17:51:27 5c69ac0246d0: Download complete 17:51:27 3a2ae6a8a46f: Verifying Checksum 17:51:27 3a2ae6a8a46f: Download complete 17:51:27 33b1e0a273af: Verifying Checksum 17:51:27 33b1e0a273af: Download complete 17:51:27 5d3b04190fa2: Verifying Checksum 17:51:27 5d3b04190fa2: Download complete 17:51:27 ec43610c2a17: Verifying Checksum 17:51:27 ec43610c2a17: Download complete 17:51:27 5eb5b503b376: Verifying Checksum 17:51:27 5eb5b503b376: Download complete 17:51:28 2f39f015ded8: Download complete 17:51:28 5eb5b503b376: Pull complete 17:51:29 5c69ac0246d0: Pull complete 17:51:29 ec43610c2a17: Pull complete 17:51:29 3a2ae6a8a46f: Pull complete 17:51:30 33b1e0a273af: Pull complete 17:51:30 5d3b04190fa2: Pull complete 17:51:35 2f39f015ded8: Pull complete 17:51:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:51:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:51:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:51:35 prd-ubuntu20.04-docker-8c-8g-20503 does not seem to be running inside a container 17:51:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-52 -v /w/workspace/xfoundry_device-usb-camera_PR-52:/w/workspace/xfoundry_device-usb-camera_PR-52:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-52@tmp:/w/workspace/xfoundry_device-usb-camera_PR-52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:51:37 $ docker top 04f5274263674c6e6560259cc9f9ed095ce2043cea902444e0509fa5dd2071cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:51:37 ---> job-cost.sh 17:51:37 lf-activate-venv: SKIPPING 17:51:37 INFO: No Stack... 17:51:37 INFO: Retrieving Pricing Info for: v3-standard-8 17:51:38 INFO: Archiving Costs [Pipeline] sh 17:51:38 + cat /w/workspace/xfoundry_device-usb-camera_PR-52/archives/cost.csv 17:51:38 + cut -d, -f6 [Pipeline] lock 17:51:38 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-52-3-stack-cost] 17:51:38 Resource [jenkins-edgexfoundry-device-usb-camera-PR-52-3-stack-cost] did not exist. Created. 17:51:38 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-52-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:51:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20504 in /w/workspace/xfoundry_device-usb-camera_PR-52 [Pipeline] { [Pipeline] ws 17:51:38 Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout 17:51:39 + echo total: 0.2199999988079071 [Pipeline] stash 17:51:39 Stashed 1 file(s) [Pipeline] } 17:51:39 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-52-3-stack-cost] 17:51:39 Selected Git installation does not exist. Using Default 17:51:39 The recommended git tool is: NONE [Pipeline] // lock [Pipeline] } 17:51:39 $ docker stop --time=1 04f5274263674c6e6560259cc9f9ed095ce2043cea902444e0509fa5dd2071cf 17:51:40 $ docker rm -f 04f5274263674c6e6560259cc9f9ed095ce2043cea902444e0509fa5dd2071cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:51:45 using credential edgex-jenkins-ssh 17:51:45 Cloning the remote Git repository 17:51:45 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:51:45 > git init /w/workspace/device-usb-camera/3 # timeout=10 17:51:45 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:51:45 > git --version # timeout=10 17:51:45 > git --version # 'git version 2.25.1' 17:51:45 using GIT_SSH to set credentials SSH Credentials for GitHub 17:51:46 Merging remotes/origin/main commit d52eed5e0bdf095fe71ab1c2620e174378e09b3d into PR head commit 910b1a6e48eab79c950f15b9abe2a9e2e0276b90 17:51:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:51:46 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:51:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:51:46 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:51:46 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:51:46 using GIT_SSH to set credentials SSH Credentials for GitHub 17:51:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/52/head:refs/remotes/origin/PR-52 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:51:46 > git config core.sparsecheckout # timeout=10 17:51:46 > git checkout -f 910b1a6e48eab79c950f15b9abe2a9e2e0276b90 # timeout=10 17:51:46 Merge succeeded, producing 910b1a6e48eab79c950f15b9abe2a9e2e0276b90 17:51:46 Checking out Revision 910b1a6e48eab79c950f15b9abe2a9e2e0276b90 (PR-52) 17:51:46 > git remote # timeout=10 17:51:46 > git config --get remote.origin.url # timeout=10 17:51:46 using GIT_SSH to set credentials SSH Credentials for GitHub 17:51:46 > git merge d52eed5e0bdf095fe71ab1c2620e174378e09b3d # timeout=10 17:51:46 > git rev-parse HEAD^{commit} # timeout=10 17:51:46 > git config core.sparsecheckout # timeout=10 17:51:46 > git checkout -f 910b1a6e48eab79c950f15b9abe2a9e2e0276b90 # timeout=10 17:51:51 Commit message: "Replace obsolete alpine package repo mirror" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:51:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:51:51 % Total % Received % Xferd Average Speed Time Time Time Current 17:51:51 Dload Upload Total Spent Left Speed 17:51:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 87460 0 --:--:-- --:--:-- --:--:-- 87460 [Pipeline] sh 17:51:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:51:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:51:52 + sudo tee /etc/docker/daemon.new 17:51:52 { 17:51:52 "registry-mirrors": [ 17:51:52 "https://nexus3.edgexfoundry.org:10001" 17:51:52 ], 17:51:52 "bip": "10.250.0.254/24", 17:51:52 "hosts": [ 17:51:52 "tcp://0.0.0.0:5555", 17:51:52 "unix:///var/run/docker.sock" 17:51:52 ], 17:51:52 "mtu": 1458, 17:51:52 "selinux-enabled": true, 17:51:52 "seccomp-profile": "/etc/docker/seccomp.json" 17:51:52 } [Pipeline] sh 17:51:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:51:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:11 provisioning config files... 17:52:12 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config3860149878601686101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:12 ---> docker-login.sh 17:52:12 nexus3.edgexfoundry.org:10001 17:52:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:13 Configure a credential helper to remove this warning. See 17:52:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:13 17:52:13 Login Succeeded 17:52:13 nexus3.edgexfoundry.org:10002 17:52:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:13 Configure a credential helper to remove this warning. See 17:52:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:13 17:52:13 Login Succeeded 17:52:13 nexus3.edgexfoundry.org:10003 17:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:14 Configure a credential helper to remove this warning. See 17:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:14 17:52:14 Login Succeeded 17:52:14 nexus3.edgexfoundry.org:10004 17:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:14 Configure a credential helper to remove this warning. See 17:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:14 17:52:14 Login Succeeded 17:52:14 docker.io 17:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:15 Configure a credential helper to remove this warning. See 17:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:15 17:52:15 Login Succeeded 17:52:15 ---> docker-login.sh ends [Pipeline] } 17:52:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:52:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:15 ========================================================= 17:52:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:52:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:16 + 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 . 17:52:16 Sending build context to Docker daemon 458.2kB 17:52:16 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:52:16 Step 2/12 : FROM ${BASE} AS builder 17:52:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:52:16 b3c136eddcbf: Pulling fs layer 17:52:16 c0a3192eca97: Pulling fs layer 17:52:16 a050256f5b6f: Pulling fs layer 17:52:16 656be50a0ddc: Pulling fs layer 17:52:16 2bbca73fdf42: Pulling fs layer 17:52:16 46d945488cbd: Pulling fs layer 17:52:16 8a5474983e97: Pulling fs layer 17:52:16 329c88fbcd65: Pulling fs layer 17:52:16 46d945488cbd: Waiting 17:52:16 8a5474983e97: Waiting 17:52:16 656be50a0ddc: Waiting 17:52:16 2bbca73fdf42: Waiting 17:52:16 329c88fbcd65: Waiting 17:52:16 a050256f5b6f: Verifying Checksum 17:52:16 a050256f5b6f: Download complete 17:52:16 c0a3192eca97: Verifying Checksum 17:52:16 c0a3192eca97: Download complete 17:52:16 2bbca73fdf42: Verifying Checksum 17:52:16 2bbca73fdf42: Download complete 17:52:16 46d945488cbd: Download complete 17:52:16 b3c136eddcbf: Verifying Checksum 17:52:16 b3c136eddcbf: Download complete 17:52:17 b3c136eddcbf: Pull complete 17:52:17 329c88fbcd65: Verifying Checksum 17:52:17 329c88fbcd65: Download complete 17:52:18 c0a3192eca97: Pull complete 17:52:18 a050256f5b6f: Pull complete 17:52:18 8a5474983e97: Download complete 17:52:19 656be50a0ddc: Verifying Checksum 17:52:19 656be50a0ddc: Download complete 17:52:34 656be50a0ddc: Pull complete 17:52:34 2bbca73fdf42: Pull complete 17:52:34 46d945488cbd: Pull complete 17:52:38 8a5474983e97: Pull complete 17:52:40 329c88fbcd65: Pull complete 17:52:41 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:52:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:52:41 ---> ff4287adb874 17:52:41 Step 3/12 : ARG MAKE="make build" 17:52:41 ---> Running in 393f63765ee2 17:52:41 Removing intermediate container 393f63765ee2 17:52:41 ---> 358aba4fa4d5 17:52:41 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:52:42 ---> Running in 2266d60c07c3 17:52:42 Removing intermediate container 2266d60c07c3 17:52:42 ---> 60f22674b0e1 17:52:42 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:52:42 ---> Running in 39c793292f04 17:52:42 Removing intermediate container 39c793292f04 17:52:42 ---> f75841774317 17:52:42 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:52:42 ---> Running in f4299251b62a 17:52:46 Removing intermediate container f4299251b62a 17:52:46 ---> c1fa0236b409 17:52:46 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:52:46 ---> Running in cad78161a1e0 17:52:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:52:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:52:48 (1/14) Installing libintl (0.21-r2) 17:52:48 (2/14) Installing eudev-libs (3.2.11-r0) 17:52:48 (3/14) Installing libjpeg-turbo (2.1.3-r1) 17:52:48 (4/14) Installing v4l-utils-libs (1.22.1-r1) 17:52:49 (5/14) Installing v4l-utils (1.22.1-r1) 17:52:49 (6/14) Installing udev-init-scripts (35-r0) 17:52:49 Executing udev-init-scripts-35-r0.post-install 17:52:49 (7/14) Installing libblkid (2.38-r1) 17:52:49 (8/14) Installing xz-libs (5.2.5-r1) 17:52:49 (9/14) Installing zstd-libs (1.5.2-r1) 17:52:49 (10/14) Installing kmod-libs (29-r2) 17:52:49 (11/14) Installing eudev (3.2.11-r0) 17:52:49 (12/14) Installing eudev-dev (3.2.11-r0) 17:52:49 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:52:50 (14/14) Installing v4l-utils-dev (1.22.1-r1) 17:52:50 Executing busybox-1.35.0-r13.trigger 17:52:50 Executing eudev-3.2.11-r0.trigger 17:52:50 OK: 228 MiB in 65 packages 17:52:51 Removing intermediate container cad78161a1e0 17:52:51 ---> cf8ee517c278 17:52:51 Step 8/12 : WORKDIR /device-usb-camera 17:52:51 ---> Running in fbc2945548b6 17:52:51 Removing intermediate container fbc2945548b6 17:52:51 ---> 3f2c504cbb8d 17:52:51 Step 9/12 : COPY go.mod vendor* ./ 17:52:52 ---> 33d04053761e 17:52:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:52:52 ---> Running in 5e8e37810826 17:53:39 Removing intermediate container 5e8e37810826 17:53:39 ---> 6aea86a5b9be 17:53:39 Step 11/12 : COPY . . 17:53:39 ---> cc5128ebefc3 17:53:39 Step 12/12 : RUN ${MAKE} 17:53:39 ---> Running in 5d0f7393d00b 17:53:39 noop 17:53:39 Removing intermediate container 5d0f7393d00b 17:53:39 ---> d46a05f5f828 17:53:39 Successfully built d46a05f5f828 17:53:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:39 + docker inspect -f . ci-base-image-arm64 17:53:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:39 prd-ubuntu20.04-docker-arm64-4c-16g-20504 does not seem to be running inside a container 17:53:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:53:41 $ docker top 3e6c4080a64843fd410c16537dcf738c548f8323452e538ca0ea0663a2aa6e57 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:42 + go version 17:53:42 go version go1.18.3 linux/arm64 [Pipeline] } 17:53:42 $ docker stop --time=1 3e6c4080a64843fd410c16537dcf738c548f8323452e538ca0ea0663a2aa6e57 17:53:43 $ docker rm -f 3e6c4080a64843fd410c16537dcf738c548f8323452e538ca0ea0663a2aa6e57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:44 + docker inspect -f . ci-base-image-arm64 17:53:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:46 prd-ubuntu20.04-docker-arm64-4c-16g-20504 does not seem to be running inside a container 17:53:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:53:47 $ docker top 99df1a0de6f87b52113bfa0e5ffd934c134b208142d0b42f64260de2dcf0f032 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:48 + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh 17:53:49 + make test 17:53:49 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 17:53:50 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:55:12 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:55:12 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 17:55:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:55:12 CGO_ENABLED=1 go vet ./... 17:55:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:55:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:55:31 ./bin/test-attribution-txt.sh [Pipeline] echo 17:55:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:55:31 $ docker stop --time=1 99df1a0de6f87b52113bfa0e5ffd934c134b208142d0b42f64260de2dcf0f032 17:55:32 $ docker rm -f 99df1a0de6f87b52113bfa0e5ffd934c134b208142d0b42f64260de2dcf0f032 [Pipeline] // withDockerContainer [Pipeline] sh 17:55:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:55:33 Warning: overwriting stash ‘coverage-report’ 17:55:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:55:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:55:35 + ls -al . 17:55:35 total 160 17:55:35 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 17:55 . 17:55:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 17:51 .. 17:55:35 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 17:51 .git 17:55:35 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:51 .github 17:55:35 -rw-rw-r-- 1 jenkins jenkins 414 Jul 19 17:51 .gitignore 17:55:35 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 17:51 .golangci.yml 17:55:35 -rw-rw-r-- 1 jenkins jenkins 77 Jul 19 17:51 .hadolint.yml 17:55:35 -rw-rw-r-- 1 jenkins jenkins 8706 Jul 19 17:51 Attribution.txt 17:55:35 -rw-rw-r-- 1 jenkins jenkins 181 Jul 19 17:51 CHANGELOG.md 17:55:35 -rw-rw-r-- 1 jenkins jenkins 1940 Jul 19 17:51 Dockerfile 17:55:35 -rw-rw-r-- 1 jenkins jenkins 678 Jul 19 17:51 GOVERNANCE.md 17:55:35 -rw-rw-r-- 1 jenkins jenkins 659 Jul 19 17:51 Jenkinsfile 17:55:35 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 17:51 LICENSE 17:55:35 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 19 17:51 Makefile 17:55:35 -rw-rw-r-- 1 jenkins jenkins 622 Jul 19 17:51 OWNERS.md 17:55:35 -rw-rw-r-- 1 jenkins jenkins 11243 Jul 19 17:51 README.md 17:55:35 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 17:49 VERSION 17:55:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 17:51 bin 17:55:35 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:51 cmd 17:55:35 -rw-r--r-- 1 jenkins jenkins 10 Jul 19 17:53 coverage.out 17:55:35 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 17:51 docker-entrypoint.sh 17:55:35 -rw-rw-r-- 1 jenkins jenkins 3277 Jul 19 17:51 go.mod 17:55:35 -rw-rw-r-- 1 jenkins jenkins 35596 Jul 19 17:51 go.sum 17:55:35 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 17:51 internal 17:55:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 17:51 snap 17:55:35 -rw-rw-r-- 1 jenkins jenkins 231 Jul 19 17:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:35 + 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=910b1a6e48eab79c950f15b9abe2a9e2e0276b90 --label arch=arm64 --label version=0.0.0 . 17:55:35 Sending build context to Docker daemon 459.3kB 17:55:35 Step 1/30 : ARG BASE=golang:1.17-alpine3.15 17:55:35 Step 2/30 : FROM ${BASE} AS builder 17:55:35 ---> d46a05f5f828 17:55:35 Step 3/30 : ARG MAKE="make build" 17:55:35 ---> Running in c7f8c7eeda46 17:55:36 Removing intermediate container c7f8c7eeda46 17:55:36 ---> 5336aea4988b 17:55:36 Step 4/30 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:55:36 ---> Running in 42436d7b24b3 17:55:36 Removing intermediate container 42436d7b24b3 17:55:36 ---> 8b2226bb60fe 17:55:36 Step 5/30 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:55:36 ---> Running in e83a4a6a35ac 17:55:36 Removing intermediate container e83a4a6a35ac 17:55:36 ---> 6f3ff85c0ff9 17:55:36 Step 6/30 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:55:37 ---> Running in edf49597a6bf 17:55:38 Removing intermediate container edf49597a6bf 17:55:38 ---> fa8d85eff26d 17:55:38 Step 7/30 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:55:38 ---> Running in c5998de5370c 17:55:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:55:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:55:41 OK: 228 MiB in 65 packages 17:55:42 Removing intermediate container c5998de5370c 17:55:42 ---> 56327f8b87b5 17:55:42 Step 8/30 : WORKDIR /device-usb-camera 17:55:42 ---> Running in f5223b9e12cd 17:55:42 Removing intermediate container f5223b9e12cd 17:55:42 ---> afde0602efb0 17:55:42 Step 9/30 : COPY go.mod vendor* ./ 17:55:42 ---> e3f0e26a9b67 17:55:42 Step 10/30 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:55:43 ---> Running in 058517f12a13 17:55:45 Removing intermediate container 058517f12a13 17:55:45 ---> 0af73ff13159 17:55:45 Step 11/30 : COPY . . 17:55:45 ---> e5a93194256e 17:55:45 Step 12/30 : RUN ${MAKE} 17:55:45 ---> Running in 63e72c7af1e9 17:55:46 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 17:58:08 Removing intermediate container 63e72c7af1e9 17:58:08 ---> 02b1957131b0 17:58:08 Step 13/30 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 17:58:08 v0.18.4: Pulling from aler9/rtsp-simple-server 17:58:08 eab2503cf8f4: Pulling fs layer 17:58:08 97cd0a44c592: Pulling fs layer 17:58:08 97cd0a44c592: Verifying Checksum 17:58:08 97cd0a44c592: Download complete 17:58:08 eab2503cf8f4: Verifying Checksum 17:58:08 eab2503cf8f4: Download complete 17:58:08 eab2503cf8f4: Pull complete 17:58:08 97cd0a44c592: Pull complete 17:58:08 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 17:58:08 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 17:58:08 ---> 7f763cca56b3 17:58:08 Step 14/30 : FROM alpine:3.15 17:58:08 3.15: Pulling from library/alpine 17:58:08 9981e73032c8: Pulling fs layer 17:58:08 9981e73032c8: Verifying Checksum 17:58:08 9981e73032c8: Download complete 17:58:08 9981e73032c8: Pull complete 17:58:08 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 17:58:08 Status: Downloaded newer image for alpine:3.15 17:58:08 ---> 3fb3c9af89a9 17:58:08 Step 15/30 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:58:08 ---> Running in 11bc40fec9a0 17:58:08 Removing intermediate container 11bc40fec9a0 17:58:08 ---> 5c57a6e556c1 17:58:08 Step 16/30 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 17:58:08 ---> Running in 586ac0b2f653 17:58:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:58:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:58:08 (1/73) Installing dumb-init (1.2.5-r1) 17:58:08 (2/73) Installing sdl2 (2.0.16-r4) 17:58:08 (3/73) Installing libxau (1.0.9-r0) 17:58:08 (4/73) Installing libmd (1.0.3-r0) 17:58:08 (5/73) Installing libbsd (0.11.3-r1) 17:58:08 (6/73) Installing libxdmcp (1.1.3-r0) 17:58:08 (7/73) Installing libxcb (1.14-r2) 17:58:08 (8/73) Installing libx11 (1.7.2-r0) 17:58:08 (9/73) Installing aom-libs (3.2.0-r0) 17:58:08 (10/73) Installing alsa-lib (1.2.5.1-r1) 17:58:08 (11/73) Installing expat (2.4.7-r0) 17:58:08 (12/73) Installing brotli-libs (1.0.9-r5) 17:58:08 (13/73) Installing libbz2 (1.0.8-r1) 17:58:08 (14/73) Installing libpng (1.6.37-r1) 17:58:08 (15/73) Installing freetype (2.11.1-r2) 17:58:08 (16/73) Installing libuuid (2.37.4-r0) 17:58:08 (17/73) Installing fontconfig (2.13.1-r4) 17:58:08 (18/73) Installing fribidi (1.0.11-r0) 17:58:08 (19/73) Installing libffi (3.4.2-r1) 17:58:08 (20/73) Installing libintl (0.21-r0) 17:58:08 (21/73) Installing libblkid (2.37.4-r0) 17:58:08 (22/73) Installing libmount (2.37.4-r0) 17:58:08 (23/73) Installing pcre (8.45-r1) 17:58:08 (24/73) Installing glib (2.70.1-r0) 17:58:08 (25/73) Installing graphite2 (1.3.14-r0) 17:58:08 (26/73) Installing harfbuzz (3.0.0-r2) 17:58:08 (27/73) Installing libass (0.15.2-r0) 17:58:08 (28/73) Installing libdav1d (0.9.2-r0) 17:58:08 (29/73) Installing gmp (6.2.1-r1) 17:58:08 (30/73) Installing nettle (3.7.3-r0) 17:58:08 (31/73) Installing p11-kit (0.24.0-r1) 17:58:08 (32/73) Installing libtasn1 (4.18.0-r0) 17:58:08 (33/73) Installing libunistring (0.9.10-r1) 17:58:08 (34/73) Installing gnutls (3.7.1-r0) 17:58:08 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r1) 17:58:08 (36/73) Installing ncurses-libs (6.3_p20211120-r1) 17:58:08 (37/73) Installing lame (3.100-r0) 17:58:08 (38/73) Installing opus (1.3.1-r1) 17:58:08 (39/73) Installing libgomp (10.3.1_git20211027-r0) 17:58:08 (40/73) Installing soxr (0.1.3-r2) 17:58:08 (41/73) Installing libgcc (10.3.1_git20211027-r0) 17:58:08 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 17:58:08 (43/73) Installing libsrt (1.4.2-r1) 17:58:08 (44/73) Installing libssh (0.9.6-r1) 17:58:08 (45/73) Installing libogg (1.3.5-r0) 17:58:08 (46/73) Installing libtheora (1.1.1-r16) 17:58:08 (47/73) Installing libjpeg-turbo (2.1.2-r0) 17:58:08 (48/73) Installing v4l-utils-libs (1.22.1-r1) 17:58:08 (49/73) Installing libxext (1.3.4-r0) 17:58:08 (50/73) Installing libxfixes (6.0.0-r0) 17:58:08 (51/73) Installing libdrm (2.4.109-r0) 17:58:08 (52/73) Installing wayland-libs-client (1.19.0-r1) 17:58:08 (53/73) Installing libva (2.13.0-r0) 17:58:08 (54/73) Installing libvdpau (1.4-r0) 17:58:08 (55/73) Installing vidstab (1.1.0-r1) 17:58:08 (56/73) Installing libvorbis (1.3.7-r0) 17:58:08 (57/73) Installing libvpx (1.10.0-r0) 17:58:08 (58/73) Installing vulkan-loader (1.2.196-r0) 17:58:08 (59/73) Installing libwebp (1.2.2-r0) 17:58:08 (60/73) Installing x264-libs (20210613-r0) 17:58:08 (61/73) Installing x265-libs (3.5-r0) 17:58:08 (62/73) Installing xvidcore (1.3.7-r1) 17:58:08 (63/73) Installing ffmpeg-libs (4.4.1-r2) 17:58:08 (64/73) Installing ffmpeg (4.4.1-r2) 17:58:08 (65/73) Installing udev-init-scripts (35-r0) 17:58:08 Executing udev-init-scripts-35-r0.post-install 17:58:08 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 17:58:08 (67/73) Installing xz-libs (5.2.5-r1) 17:58:08 (68/73) Installing zstd-libs (1.5.0-r0) 17:58:08 (69/73) Installing kmod-libs (29-r2) 17:58:08 (70/73) Installing eudev (3.2.11_pre1-r0) 17:58:08 (71/73) Installing libsodium (1.0.18-r0) 17:58:08 (72/73) Installing libzmq (4.3.4-r0) 17:58:08 (73/73) Installing zeromq (4.3.4-r0) 17:58:08 Executing busybox-1.34.1-r5.trigger 17:58:08 Executing eudev-3.2.11_pre1-r0.trigger 17:58:08 OK: 67 MiB in 87 packages 17:58:08 Removing intermediate container 586ac0b2f653 17:58:08 ---> fc2d0124773d 17:58:08 Step 17/30 : WORKDIR / 17:58:08 ---> Running in ecbd64708fad 17:58:08 Removing intermediate container ecbd64708fad 17:58:08 ---> 57a95d5902c9 17:58:08 Step 18/30 : COPY --from=builder /device-usb-camera/cmd / 17:58:08 ---> ca16ae66f48b 17:58:08 Step 19/30 : COPY --from=builder /device-usb-camera/LICENSE / 17:58:08 ---> 3042bf4af275 17:58:08 Step 20/30 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:58:08 ---> ec940341a907 17:58:08 Step 21/30 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:58:09 ---> 7a48e19fce5f 17:58:09 Step 22/30 : COPY --from=rtsp /rtsp-simple-server.yml / 17:58:10 ---> d93342323071 17:58:10 Step 23/30 : COPY --from=rtsp /rtsp-simple-server / 17:58:11 ---> 7d1808fcb170 17:58:11 Step 24/30 : EXPOSE 59983 17:58:11 ---> Running in 4ce750dbb409 17:58:11 Removing intermediate container 4ce750dbb409 17:58:11 ---> f7a08a9d8241 17:58:11 Step 25/30 : EXPOSE 8554 17:58:11 ---> Running in 77841d5ad448 17:58:12 Removing intermediate container 77841d5ad448 17:58:12 ---> 60b85f9dc5c9 17:58:12 Step 26/30 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:58:12 ---> Running in e8cd4cdf57bb 17:58:12 Removing intermediate container e8cd4cdf57bb 17:58:12 ---> b259b047509a 17:58:12 Step 27/30 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 17:58:12 ---> Running in 283ca3147216 17:58:12 Removing intermediate container 283ca3147216 17:58:12 ---> 462a445779e7 17:58:12 Step 28/30 : LABEL arch=arm64 17:58:12 ---> Running in a1e145e3ce01 17:58:13 Removing intermediate container a1e145e3ce01 17:58:13 ---> b00c5e222df3 17:58:13 Step 29/30 : LABEL git_sha=910b1a6e48eab79c950f15b9abe2a9e2e0276b90 17:58:13 ---> Running in 6534de278374 17:58:13 Removing intermediate container 6534de278374 17:58:13 ---> fd149f0010e0 17:58:13 Step 30/30 : LABEL version=0.0.0 17:58:13 ---> Running in ab778f9a0876 17:58:13 Removing intermediate container ab778f9a0876 17:58:13 ---> b17665f37abf 17:58:13 [Warning] One or more build-args [ARCH] were not consumed 17:58:13 Successfully built b17665f37abf 17:58:13 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:58:14 17:58:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:58:15 arm64: Pulling from edgex-lftools-log-publisher 17:58:15 8998bd30e6a1: Pulling fs layer 17:58:15 04944245beec: Pulling fs layer 17:58:15 699f458cf7ca: Pulling fs layer 17:58:15 765212b225bb: Pulling fs layer 17:58:15 f23df028b6ca: Pulling fs layer 17:58:15 d65c8cfc05b1: Pulling fs layer 17:58:15 2437ff75d9bd: Pulling fs layer 17:58:15 f23df028b6ca: Waiting 17:58:15 d65c8cfc05b1: Waiting 17:58:15 765212b225bb: Waiting 17:58:15 2437ff75d9bd: Waiting 17:58:15 04944245beec: Verifying Checksum 17:58:15 04944245beec: Download complete 17:58:15 765212b225bb: Verifying Checksum 17:58:15 765212b225bb: Download complete 17:58:15 f23df028b6ca: Verifying Checksum 17:58:15 f23df028b6ca: Download complete 17:58:15 d65c8cfc05b1: Verifying Checksum 17:58:15 d65c8cfc05b1: Download complete 17:58:15 699f458cf7ca: Verifying Checksum 17:58:15 699f458cf7ca: Download complete 17:58:15 8998bd30e6a1: Verifying Checksum 17:58:15 8998bd30e6a1: Download complete 17:58:18 2437ff75d9bd: Verifying Checksum 17:58:18 2437ff75d9bd: Download complete 17:58:20 8998bd30e6a1: Pull complete 17:58:20 04944245beec: Pull complete 17:58:21 699f458cf7ca: Pull complete 17:58:21 765212b225bb: Pull complete 17:58:22 f23df028b6ca: Pull complete 17:58:22 d65c8cfc05b1: Pull complete 17:58:38 2437ff75d9bd: Pull complete 17:58:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:58:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:58:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:38 prd-ubuntu20.04-docker-arm64-4c-16g-20504 does not seem to be running inside a container 17:58:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:58:40 $ docker top 1b7071aeb3ed2ea66b06a91649fedbd280bc4fa6d6eae68cfb5023a8d450c0fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:58:41 ---> job-cost.sh 17:58:41 lf-activate-venv: SKIPPING 17:58:41 INFO: No Stack... 17:58:42 INFO: Retrieving Pricing Info for: v3-standard-4 17:58:42 INFO: Archiving Costs [Pipeline] sh 17:58:43 + cat /w/workspace/device-usb-camera/3/archives/cost.csv 17:58:43 + cut -d, -f6 [Pipeline] lock 17:58:43 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-52-3-stack-cost] 17:58:43 Resource [jenkins-edgexfoundry-device-usb-camera-PR-52-3-stack-cost] did not exist. Created. 17:58:43 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-52-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:58:44 /w/workspace/device-usb-camera/3@tmp/durable-d7e0c066/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:58:45 + echo total: 0.10999999940395355 [Pipeline] stash 17:58:45 Warning: overwriting stash ‘stack-cost’ 17:58:45 Stashed 1 file(s) [Pipeline] } 17:58:45 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-52-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:58:45 $ docker stop --time=1 1b7071aeb3ed2ea66b06a91649fedbd280bc4fa6d6eae68cfb5023a8d450c0fc 17:58:46 $ docker rm -f 1b7071aeb3ed2ea66b06a91649fedbd280bc4fa6d6eae68cfb5023a8d450c0fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:58:47 provisioning config files... 17:58:47 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-52@tmp/config1266863264045544589tmp [Pipeline] { [Pipeline] sh 17:58:47 + set +x 17:58:47 + curl -s https://codecov.io/bash 17:58:47 + bash -s -- 17:58:47 17:58:47 _____ _ 17:58:47 / ____| | | 17:58:47 | | ___ __| | ___ ___ _____ __ 17:58:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:58:47 | |___| (_) | (_| | __/ (_| (_) \ V / 17:58:47 \_____\___/ \__,_|\___|\___\___/ \_/ 17:58:47 Bash-1.0.6 17:58:47 17:58:47 17:58:47 ==> git version 2.25.1 found 17:58:47 ==> 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 17:58:47 Release-Date: 2020-01-08 17:58:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:58:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:58:47 ==> Jenkins CI detected. 17:58:47 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-52 17:58:47 project root: . 17:58:47 --> token set from env 17:58:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:58:47 ==> Running gcov in . (disable via -X gcov) 17:58:47 ==> Python coveragepy not found 17:58:47 ==> Searching for coverage reports in: 17:58:47 + . 17:58:47 -> Found 1 reports 17:58:47 ==> Detecting git/mercurial file structure 17:58:47 ==> Reading reports 17:58:47 + ./coverage.out bytes=10 17:58:47 ==> Appending adjustments 17:58:47 https://docs.codecov.io/docs/fixing-reports 17:58:47 + Found adjustments 17:58:47 ==> Gzipping contents 17:58:47 4.0K /tmp/codecov.eFf4If.gz 17:58:47 ==> Uploading reports 17:58:47 url: https://codecov.io 17:58:47 query: branch=PR-52&commit=910b1a6e48eab79c950f15b9abe2a9e2e0276b90&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-52%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=52&job=&cmd_args= 17:58:47 -> Pinging Codecov 17:58:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-52&commit=910b1a6e48eab79c950f15b9abe2a9e2e0276b90&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-52%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=52&job=&cmd_args= 17:58:47 -> Uploading to 17:58:47 https://storage.googleapis.com/codecov/v4/raw/2022-07-19/73D8F5FF140700D3E01443B452E23636/910b1a6e48eab79c950f15b9abe2a9e2e0276b90/5be87574-1400-4aac-a571-f0c192a0cad8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220719T175847Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75e2602b9bea3b33d3512c8049be4065087f1cc65a36c9eac6be2a6d45d1ec7e 17:58:47 % Total % Received % Xferd Average Speed Time Time Time Current 17:58:47 Dload Upload Total Spent Left Speed 17:58:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1200 0 0 100 1200 0 5263 --:--:-- --:--:-- --:--:-- 5263 17:58:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/910b1a6e48eab79c950f15b9abe2a9e2e0276b90 [Pipeline] } 17:58:48 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 17:58:48 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-52/archives ] 17:58:48 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-52/archives 17:58:48 total 16 17:58:48 drwxr-xr-x 3 root root 4096 Jul 19 17:51 . 17:58:48 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 17:51 .. 17:58:48 drwxr-xr-x 2 root root 4096 Jul 19 17:51 cost 17:58:48 -rw-r--r-- 1 root root 87 Jul 19 17:51 cost.csv 17:58:48 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-52/archives 17:58:48 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-52/archives 17:58:48 total 16 17:58:48 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 17:51 . 17:58:48 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 17:51 .. 17:58:48 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 17:51 cost 17:58:48 -rw-r--r-- 1 jenkins jenkins 87 Jul 19 17:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:58:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:58:50 ---> package-listing.sh 17:58:50 ++ tr '[:upper:]' '[:lower:]' 17:58:50 ++ facter osfamily 17:58:50 + OS_FAMILY=debian 17:58:50 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-52 17:58:50 + START_PACKAGES=/tmp/packages_start.txt 17:58:50 + END_PACKAGES=/tmp/packages_end.txt 17:58:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:58:50 + PACKAGES=/tmp/packages_start.txt 17:58:50 + '[' /w/workspace/xfoundry_device-usb-camera_PR-52 ']' 17:58:50 + PACKAGES=/tmp/packages_end.txt 17:58:50 + case "${OS_FAMILY}" in 17:58:50 + dpkg -l 17:58:50 + grep '^ii' 17:58:50 + '[' -f /tmp/packages_start.txt ']' 17:58:50 + '[' -f /tmp/packages_end.txt ']' 17:58:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:58:50 + '[' /w/workspace/xfoundry_device-usb-camera_PR-52 ']' 17:58:50 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-52/archives/ 17:58:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-52/archives/ [Pipeline] echo 17:58:50 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-52/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:58:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:58:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:51 prd-ubuntu20.04-docker-8c-8g-20503 does not seem to be running inside a container 17:58:51 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-52/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-52 -v /w/workspace/xfoundry_device-usb-camera_PR-52:/w/workspace/xfoundry_device-usb-camera_PR-52:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-52@tmp:/w/workspace/xfoundry_device-usb-camera_PR-52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:58:51 $ docker top b860c339eaf36521f0b6a3be5b368395092651a620060f94683042074c271e88 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:51 + touch /tmp/pre-build-complete [Pipeline] sh 17:58:52 + mkdir -p /var/log/sysstat [Pipeline] sh 17:58:52 + ls /var/log/sa-host 17:58:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:58:52 provisioning config files... 17:58:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-52@tmp/config8522479279529499819tmp [Pipeline] { [Pipeline] echo 17:58:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:58:52 ---> create-netrc.sh [Pipeline] } 17:58:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:58:53 ---> python-tools-install.sh [Pipeline] echo 17:58:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:58:53 ---> sudo-logs.sh 17:58:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:58:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:58:53 ---> job-cost.sh 17:58:53 lf-activate-venv: SKIPPING 17:58:53 DEBUG: total: 0.2199999988079071 17:58:53 INFO: Retrieving Stack Cost... 17:58:54 INFO: Retrieving Pricing Info for: v3-standard-8 17:58:54 INFO: Archiving Costs [Pipeline] echo 17:58:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:58:54 ---> logs-deploy.sh 17:58:54 lf-activate-venv: SKIPPING 17:58:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-52/3 17:58:54 INFO: archiving workspace using pattern(s): 17:58:55 Archives upload complete. 17:58:55 INFO: archiving logs to Nexus