Pull request #207 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at ed435512d23c0fe6735192e03ad24dc623114abf rather than d7891e1e8fa6e1bc32895871a5a425a2b63a699f Obtained Jenkinsfile from ed435512d23c0fe6735192e03ad24dc623114abf 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-ssh6106687655863241681.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh16829082880694240861.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-207/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-onvif-camera/branches/PR-207/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16796953538704931485.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh10473800591142776853.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-207/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-onvif-camera/branches/PR-207/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14274234154627822607.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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-onvif-camera-settings PROJECT: device-onvif-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-onvif-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: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1712 in /w/workspace/undry_device-onvif-camera_PR-207 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-207 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-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-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/207/head:refs/remotes/origin/PR-207 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ed435512d23c0fe6735192e03ad24dc623114abf into PR head commit d7891e1e8fa6e1bc32895871a5a425a2b63a699f Merge succeeded, producing d7891e1e8fa6e1bc32895871a5a425a2b63a699f Checking out Revision d7891e1e8fa6e1bc32895871a5a425a2b63a699f (PR-207) > git config core.sparsecheckout # timeout=10 > git checkout -f d7891e1e8fa6e1bc32895871a5a425a2b63a699f # 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 ed435512d23c0fe6735192e03ad24dc623114abf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7891e1e8fa6e1bc32895871a5a425a2b63a699f # timeout=10 Commit message: "feat!: code review comments addressed" > git rev-list --no-walk 41ee95682e3387b69edf47b58477820fa5b799a8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:28:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:28:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:28:40 ========================================================= 21:28:40 EdgeX Global Pipelines Version Info 21:28:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:28:41 ------------------- 21:28:41 stable info: 21:28:41 ------------------- 21:28:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:28:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:28:41 Message: update stable to v1.0.244 21:28:42 ------------------- 21:28:42 experimental info: 21:28:42 ------------------- 21:28:42 Commited By: **** collab-it+edgex@linuxfoundation.org 21:28:42 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:28:42 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-207 [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-207 [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-207 [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7891e1e8fa6e1bc32895871a5a425a2b63a699f [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7891e1 [Pipeline] echo 21:28:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:28:42 provisioning config files... 21:28:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-207@tmp/config6854118812500407815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:42 ---> docker-login.sh 21:28:42 nexus3.edgexfoundry.org:10001 21:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:43 Configure a credential helper to remove this warning. See 21:28:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:43 21:28:43 Login Succeeded 21:28:43 nexus3.edgexfoundry.org:10002 21:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:43 Configure a credential helper to remove this warning. See 21:28:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:43 21:28:43 Login Succeeded 21:28:43 nexus3.edgexfoundry.org:10003 21:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:43 Configure a credential helper to remove this warning. See 21:28:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:43 21:28:43 Login Succeeded 21:28:43 nexus3.edgexfoundry.org:10004 21:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:43 Configure a credential helper to remove this warning. See 21:28:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:43 21:28:43 Login Succeeded 21:28:43 docker.io 21:28:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:44 Configure a credential helper to remove this warning. See 21:28:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:44 21:28:44 Login Succeeded 21:28:44 ---> docker-login.sh ends [Pipeline] } 21:28:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:28:44 + git rev-list -1 --merges d7891e1e8fa6e1bc32895871a5a425a2b63a699f~1..d7891e1e8fa6e1bc32895871a5a425a2b63a699f [Pipeline] echo 21:28:44 -----------> git rev-list -1 --merges d7891e1e8fa6e1bc32895871a5a425a2b63a699f~1..d7891e1e8fa6e1bc32895871a5a425a2b63a699f d7891e1e8fa6e1bc32895871a5a425a2b63a699f [false] [Pipeline] sh 21:28:44 + git log --format=format:%s -1 d7891e1e8fa6e1bc32895871a5a425a2b63a699f [Pipeline] echo 21:28:44 ========================================================= 21:28:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:28:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:28:45 + git log --format=format:%s -1 d7891e1e8fa6e1bc32895871a5a425a2b63a699f [Pipeline] echo 21:28:45 [semverPrep] GIT_COMMIT: d7891e1e8fa6e1bc32895871a5a425a2b63a699f, Commit Message: feat!: code review comments addressed [Pipeline] echo 21:28:45 [semverPrep] This is not a build commit. [Pipeline] sh 21:28:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:28:45 + grep -v github /etc/ssh/ssh_known_hosts 21:28:45 + [ -e /tmp/ssh_known_hosts ] 21:28:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:28:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:28:45 + sudo tee -a /etc/ssh/ssh_known_hosts 21:28:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:45 21:28:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:46 0.1.4: Pulling from edgex-devops/py-git-semver 21:28:46 b85a868b505f: Pulling fs layer 21:28:46 e2be974225ed: Pulling fs layer 21:28:46 339a4e72a1f5: Pulling fs layer 21:28:46 988bab9f4d93: Pulling fs layer 21:28:46 1469e6f7b9e6: Pulling fs layer 21:28:46 eaf3925da568: Pulling fs layer 21:28:46 bab4dde63d76: Pulling fs layer 21:28:46 bde34c3a00c8: Pulling fs layer 21:28:46 b352a97aabf1: Pulling fs layer 21:28:46 4872d77fe225: Pulling fs layer 21:28:46 5851b861e8e6: Pulling fs layer 21:28:46 bab4dde63d76: Waiting 21:28:46 bde34c3a00c8: Waiting 21:28:46 b352a97aabf1: Waiting 21:28:46 4872d77fe225: Waiting 21:28:46 988bab9f4d93: Waiting 21:28:46 5851b861e8e6: Waiting 21:28:46 eaf3925da568: Waiting 21:28:46 1469e6f7b9e6: Waiting 21:28:46 e2be974225ed: Verifying Checksum 21:28:46 e2be974225ed: Download complete 21:28:46 988bab9f4d93: Verifying Checksum 21:28:46 988bab9f4d93: Download complete 21:28:46 1469e6f7b9e6: Verifying Checksum 21:28:46 1469e6f7b9e6: Download complete 21:28:46 339a4e72a1f5: Verifying Checksum 21:28:46 339a4e72a1f5: Download complete 21:28:46 eaf3925da568: Download complete 21:28:46 bde34c3a00c8: Verifying Checksum 21:28:46 bde34c3a00c8: Download complete 21:28:46 b352a97aabf1: Verifying Checksum 21:28:46 b352a97aabf1: Download complete 21:28:46 4872d77fe225: Verifying Checksum 21:28:46 4872d77fe225: Download complete 21:28:46 5851b861e8e6: Download complete 21:28:46 b85a868b505f: Download complete 21:28:47 bab4dde63d76: Verifying Checksum 21:28:47 bab4dde63d76: Download complete 21:28:47 b85a868b505f: Pull complete 21:28:47 e2be974225ed: Pull complete 21:28:48 339a4e72a1f5: Pull complete 21:28:48 988bab9f4d93: Pull complete 21:28:48 1469e6f7b9e6: Pull complete 21:28:48 eaf3925da568: Pull complete 21:28:50 bab4dde63d76: Pull complete 21:28:50 bde34c3a00c8: Pull complete 21:28:50 b352a97aabf1: Pull complete 21:28:50 4872d77fe225: Pull complete 21:28:50 5851b861e8e6: Pull complete 21:28:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:28:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:28:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:51 prd-ubuntu20.04-docker-8c-8g-1712 does not seem to be running inside a container 21:28:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-207 -v /w/workspace/undry_device-onvif-camera_PR-207:/w/workspace/undry_device-onvif-camera_PR-207:rw,z -v /w/workspace/undry_device-onvif-camera_PR-207@tmp:/w/workspace/undry_device-onvif-camera_PR-207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:28:52 $ docker top d483e99ae9ac1069abc4dc04f23caf0724d00cf4da6d8259a5d601d9b5d9391e -eo pid,comm 21:28:52 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). 21:28:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:28:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:52 [ssh-agent] Looking for ssh-agent implementation... 21:28:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:52 $ docker exec d483e99ae9ac1069abc4dc04f23caf0724d00cf4da6d8259a5d601d9b5d9391e ssh-agent 21:28:52 SSH_AUTH_SOCK=/tmp/ssh-hKDwCYy6PsfW/agent.32 21:28:52 SSH_AGENT_PID=38 21:28:52 Running ssh-add (command line suppressed) 21:28:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-207@tmp/private_key_4734814709974318276.key (/w/workspace/undry_device-onvif-camera_PR-207@tmp/private_key_4734814709974318276.key) 21:28:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:52 + git tag --points-at HEAD [Pipeline] } 21:28:52 $ docker exec --env ******** --env ******** d483e99ae9ac1069abc4dc04f23caf0724d00cf4da6d8259a5d601d9b5d9391e ssh-agent -k 21:28:53 unset SSH_AUTH_SOCK; 21:28:53 unset SSH_AGENT_PID; 21:28:53 echo Agent pid 38 killed; 21:28:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:28:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:28:53 [ssh-agent] Looking for ssh-agent implementation... 21:28:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:28:53 $ docker exec d483e99ae9ac1069abc4dc04f23caf0724d00cf4da6d8259a5d601d9b5d9391e ssh-agent 21:28:53 SSH_AUTH_SOCK=/tmp/ssh-OhQzD3sd6Q57/agent.70 21:28:53 SSH_AGENT_PID=77 21:28:53 Running ssh-add (command line suppressed) 21:28:53 Identity added: /w/workspace/undry_device-onvif-camera_PR-207@tmp/private_key_3951669381142897129.key (/w/workspace/undry_device-onvif-camera_PR-207@tmp/private_key_3951669381142897129.key) 21:28:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:28:53 + git semver init 21:28:54 2023-01-10 21:28:53,944 [run_init] DEBUG init version:0.0.0 force:False 21:28:54 2023-01-10 21:28:53,945 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-207/.semver 21:28:54 2023-01-10 21:28:53,945 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-207/.semver 21:28:54 2023-01-10 21:28:53,946 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-207/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-207, universal_newlines=False, shell=None, istream=None) 21:28:54 2023-01-10 21:28:54,816 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-207/.git/info/exclude 21:28:54 2023-01-10 21:28:54,817 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-207/.semver/PR-207 with force:False 21:28:54 2023-01-10 21:28:54,817 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-207/.semver/PR-207 21:28:54 2023-01-10 21:28:54,822 [execute] INFO git cat-file --batch-check 21:28:54 2023-01-10 21:28:54,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-207/.semver, universal_newlines=False, shell=None, istream=) 21:28:54 2023-01-10 21:28:54,829 [execute] INFO git cat-file --batch 21:28:54 2023-01-10 21:28:54,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-207/.semver, universal_newlines=False, shell=None, istream=) 21:28:54 2023-01-10 21:28:54,835 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-207/.semver/PR-207 21:28:54 0.0.0 [Pipeline] } 21:28:54 $ docker exec --env ******** --env ******** d483e99ae9ac1069abc4dc04f23caf0724d00cf4da6d8259a5d601d9b5d9391e ssh-agent -k 21:28:55 unset SSH_AUTH_SOCK; 21:28:55 unset SSH_AGENT_PID; 21:28:55 echo Agent pid 77 killed; 21:28:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:28:55 + git semver [Pipeline] } 21:28:55 $ docker stop --time=1 d483e99ae9ac1069abc4dc04f23caf0724d00cf4da6d8259a5d601d9b5d9391e 21:28:56 $ docker rm -f --volumes d483e99ae9ac1069abc4dc04f23caf0724d00cf4da6d8259a5d601d9b5d9391e [Pipeline] // withDockerContainer [Pipeline] sh 21:28:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:28:57 Stashed 1 file(s) [Pipeline] echo 21:28:57 [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 21:28:57 provisioning config files... 21:28:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-207@tmp/config17672629716003818601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:57 ---> docker-login.sh 21:28:57 nexus3.edgexfoundry.org:10001 21:28:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:57 Configure a credential helper to remove this warning. See 21:28:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:57 21:28:57 Login Succeeded 21:28:57 nexus3.edgexfoundry.org:10002 21:28:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:57 Configure a credential helper to remove this warning. See 21:28:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:57 21:28:57 Login Succeeded 21:28:57 nexus3.edgexfoundry.org:10003 21:28:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:58 Configure a credential helper to remove this warning. See 21:28:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:58 21:28:58 Login Succeeded 21:28:58 nexus3.edgexfoundry.org:10004 21:28:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:58 Configure a credential helper to remove this warning. See 21:28:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:58 21:28:58 Login Succeeded 21:28:58 docker.io 21:28:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:58 Configure a credential helper to remove this warning. See 21:28:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:58 21:28:58 Login Succeeded 21:28:58 ---> docker-login.sh ends [Pipeline] } 21:28:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:28:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:28:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:28:58 ========================================================= 21:28:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:28:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:58 + 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 . 21:28:58 Sending build context to Docker daemon 27.67MB 21:28:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:28:58 Step 2/13 : FROM ${BASE} AS builder 21:28:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:28:59 213ec9aee27d: Pulling fs layer 21:28:59 4583459ba037: Pulling fs layer 21:28:59 93c1e223e6f2: Pulling fs layer 21:28:59 53926ce57604: Pulling fs layer 21:28:59 21b2b0c7a3f4: Pulling fs layer 21:28:59 22ff95d597cd: Pulling fs layer 21:28:59 12d6caf4c0d1: Pulling fs layer 21:28:59 96b7cbca73a9: Pulling fs layer 21:28:59 a7acece74701: Pulling fs layer 21:28:59 53926ce57604: Waiting 21:28:59 21b2b0c7a3f4: Waiting 21:28:59 22ff95d597cd: Waiting 21:28:59 12d6caf4c0d1: Waiting 21:28:59 a7acece74701: Waiting 21:28:59 93c1e223e6f2: Verifying Checksum 21:28:59 93c1e223e6f2: Download complete 21:28:59 4583459ba037: Verifying Checksum 21:28:59 4583459ba037: Download complete 21:28:59 21b2b0c7a3f4: Download complete 21:28:59 22ff95d597cd: Download complete 21:28:59 213ec9aee27d: Download complete 21:28:59 12d6caf4c0d1: Download complete 21:28:59 213ec9aee27d: Pull complete 21:28:59 4583459ba037: Pull complete 21:28:59 93c1e223e6f2: Pull complete 21:28:59 a7acece74701: Verifying Checksum 21:28:59 a7acece74701: Download complete 21:29:00 53926ce57604: Verifying Checksum 21:29:00 53926ce57604: Download complete 21:29:00 96b7cbca73a9: Verifying Checksum 21:29:00 96b7cbca73a9: Download complete 21:29:04 53926ce57604: Pull complete 21:29:04 21b2b0c7a3f4: Pull complete 21:29:04 22ff95d597cd: Pull complete 21:29:04 12d6caf4c0d1: Pull complete 21:29:06 96b7cbca73a9: Pull complete 21:29:07 a7acece74701: Pull complete 21:29:07 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:29:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:29:07 ---> db6d94c90886 21:29:07 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:29:08 ---> Running in f833c64d810a 21:29:08 Removing intermediate container f833c64d810a 21:29:08 ---> 091ae476188e 21:29:08 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:29:08 ---> Running in f5b769227c97 21:29:08 Removing intermediate container f5b769227c97 21:29:08 ---> 8ef40d17ca9b 21:29:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:29:08 ---> Running in 1735ade0ab4b 21:29:08 Removing intermediate container 1735ade0ab4b 21:29:08 ---> 5ab48eaf40dd 21:29:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:29:08 ---> Running in b3be389fe955 21:29:08 Removing intermediate container b3be389fe955 21:29:08 ---> fbe94130644f 21:29:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:29:08 ---> Running in 2527e6cb50b0 21:29:08 Removing intermediate container 2527e6cb50b0 21:29:08 ---> 208d261a87de 21:29:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:29:08 ---> Running in c27a90430b0d 21:29:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:29:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:29:09 OK: 211 MiB in 51 packages 21:29:09 Removing intermediate container c27a90430b0d 21:29:09 ---> 711d5a58acd8 21:29:09 Step 9/13 : WORKDIR /device-onvif-camera 21:29:09 ---> Running in 84b7dc548878 21:29:09 Removing intermediate container 84b7dc548878 21:29:09 ---> a4495e6e1df2 21:29:09 Step 10/13 : COPY go.mod vendor* ./ 21:29:09 ---> a2fe2334502f 21:29:10 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:29:10 ---> Running in 38d111109064 21:29:12 Still waiting to schedule task 21:29:12 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:29:28 Removing intermediate container 38d111109064 21:29:28 ---> adaf9e6b643b 21:29:28 Step 12/13 : COPY . . 21:29:28 ---> 426c391794ec 21:29:28 Step 13/13 : RUN ${MAKE} 21:29:28 ---> Running in 7f28c4f5f555 21:29:28 noop 21:29:28 Removing intermediate container 7f28c4f5f555 21:29:28 ---> 2c25cb1698f3 21:29:28 Successfully built 2c25cb1698f3 21:29:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:29 + docker inspect -f . ci-base-image-x86_64 21:29:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:29 prd-ubuntu20.04-docker-8c-8g-1712 does not seem to be running inside a container 21:29:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-207 -v /w/workspace/undry_device-onvif-camera_PR-207:/w/workspace/undry_device-onvif-camera_PR-207:rw,z -v /w/workspace/undry_device-onvif-camera_PR-207@tmp:/w/workspace/undry_device-onvif-camera_PR-207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:29:29 $ docker top f895766eed3e59e84568f5ebcd23be0154652581ee096ef17324c8ac2071f74b -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:29 + go version 21:29:29 go version go1.18.7 linux/amd64 [Pipeline] } 21:29:29 $ docker stop --time=1 f895766eed3e59e84568f5ebcd23be0154652581ee096ef17324c8ac2071f74b 21:29:31 $ docker rm -f --volumes f895766eed3e59e84568f5ebcd23be0154652581ee096ef17324c8ac2071f74b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:31 + docker inspect -f . ci-base-image-x86_64 21:29:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:31 prd-ubuntu20.04-docker-8c-8g-1712 does not seem to be running inside a container 21:29:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-207 -v /w/workspace/undry_device-onvif-camera_PR-207:/w/workspace/undry_device-onvif-camera_PR-207:rw,z -v /w/workspace/undry_device-onvif-camera_PR-207@tmp:/w/workspace/undry_device-onvif-camera_PR-207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:29:32 $ docker top d0dfb07371907fc776e7105d334db0ed3308aad0eb00ed123da3a2d5378526c0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:32 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-207 [Pipeline] fileExists [Pipeline] sh 21:29:32 + make test 21:29:32 go test ./... -coverprofile=coverage.out ./... 21:29:33 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:29:45 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:29:47 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 29.3% of statements 21:29:47 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:29:47 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.570s coverage: 86.5% of statements 21:29:55 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:29:55 go vet ./... 21:29:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:29:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:29:58 ./bin/test-attribution-txt.sh [Pipeline] echo 21:29:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:29:58 $ docker stop --time=1 d0dfb07371907fc776e7105d334db0ed3308aad0eb00ed123da3a2d5378526c0 21:30:00 $ docker rm -f --volumes d0dfb07371907fc776e7105d334db0ed3308aad0eb00ed123da3a2d5378526c0 [Pipeline] // withDockerContainer [Pipeline] sh 21:30:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:30:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:30:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:30:01 + ls -al . 21:30:01 total 248 21:30:01 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 21:29 . 21:30:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:28 .. 21:30:01 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:29 .git 21:30:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:28 .github 21:30:01 -rw-rw-r-- 1 jenkins jenkins 496 Jan 10 21:28 .gitignore 21:30:01 -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 21:28 .golangci.yml 21:30:01 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:28 .semver 21:30:01 -rw-rw-r-- 1 jenkins jenkins 9638 Jan 10 21:28 Attribution.txt 21:30:01 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 10 21:28 CHANGELOG.md 21:30:01 -rw-rw-r-- 1 jenkins jenkins 1574 Jan 10 21:28 Dockerfile 21:30:01 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:28 GOVERNANCE.md 21:30:01 -rw-rw-r-- 1 jenkins jenkins 734 Jan 10 21:28 Jenkinsfile 21:30:01 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 10 21:28 LICENSE 21:30:01 -rw-rw-r-- 1 jenkins jenkins 2575 Jan 10 21:28 Makefile 21:30:01 -rw-rw-r-- 1 jenkins jenkins 625 Jan 10 21:28 OWNERS.md 21:30:01 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 10 21:28 README.md 21:30:01 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 21:28 VERSION 21:30:01 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:28 bin 21:30:01 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:28 cmd 21:30:01 -rw-r--r-- 1 jenkins jenkins 79184 Jan 10 21:29 coverage.out 21:30:01 drwxrwxr-x 6 jenkins jenkins 4096 Jan 10 21:28 doc 21:30:01 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 10 21:28 go.mod 21:30:01 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 10 21:28 go.sum 21:30:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:28 internal 21:30:01 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:28 snap 21:30:01 -rw-rw-r-- 1 jenkins jenkins 236 Jan 10 21:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:01 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d7891e1e8fa6e1bc32895871a5a425a2b63a699f --label arch=amd64 --label version=0.0.0 . 21:30:01 Sending build context to Docker daemon 27.75MB 21:30:01 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:30:01 Step 2/26 : FROM ${BASE} AS builder 21:30:01 ---> 2c25cb1698f3 21:30:01 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:30:02 ---> Running in ed03fcc2ca82 21:30:02 Removing intermediate container ed03fcc2ca82 21:30:02 ---> 4a62d011f925 21:30:02 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:30:02 ---> Running in 5f314aacf8b7 21:30:02 Removing intermediate container 5f314aacf8b7 21:30:02 ---> 8756e08a6843 21:30:02 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:30:02 ---> Running in 8665e4de0f7f 21:30:02 Removing intermediate container 8665e4de0f7f 21:30:02 ---> 88ff510112b7 21:30:02 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:30:02 ---> Running in 6379baae7093 21:30:02 Removing intermediate container 6379baae7093 21:30:02 ---> 6d3ec63fb8bd 21:30:02 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:30:02 ---> Running in 24432bd9a703 21:30:02 Removing intermediate container 24432bd9a703 21:30:02 ---> 06c3408d520c 21:30:02 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:30:02 ---> Running in 0d10bb924f1b 21:30:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:30:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:30:03 OK: 211 MiB in 51 packages 21:30:03 Removing intermediate container 0d10bb924f1b 21:30:03 ---> e95865dae032 21:30:03 Step 9/26 : WORKDIR /device-onvif-camera 21:30:03 ---> Running in 7d85098d2940 21:30:03 Removing intermediate container 7d85098d2940 21:30:03 ---> dd34bd5cd372 21:30:03 Step 10/26 : COPY go.mod vendor* ./ 21:30:03 ---> 0b6e6c302cc5 21:30:03 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:03 ---> Running in de318318c6f9 21:30:04 Removing intermediate container de318318c6f9 21:30:04 ---> c4f0aa811120 21:30:04 Step 12/26 : COPY . . 21:30:04 ---> 5d502c27de08 21:30:04 Step 13/26 : RUN ${MAKE} 21:30:04 ---> Running in d95d17fad86f 21:30:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 21:30:27 Removing intermediate container d95d17fad86f 21:30:27 ---> b3142a533ae3 21:30:27 Step 14/26 : FROM alpine:3.16 21:30:27 3.16: Pulling from library/alpine 21:30:27 ca7dd9ec2225: Pulling fs layer 21:30:27 ca7dd9ec2225: Verifying Checksum 21:30:27 ca7dd9ec2225: Download complete 21:30:27 ca7dd9ec2225: Pull complete 21:30:27 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:30:27 Status: Downloaded newer image for alpine:3.16 21:30:27 ---> bfe296a52501 21:30:27 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:30:27 ---> Running in fcb49b5bf3a1 21:30:27 Removing intermediate container fcb49b5bf3a1 21:30:27 ---> 475a130e22e4 21:30:27 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:30:27 ---> Running in e773e21d7770 21:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:30:27 (1/1) Installing dumb-init (1.2.5-r1) 21:30:27 Executing busybox-1.35.0-r17.trigger 21:30:27 OK: 6 MiB in 15 packages 21:30:27 Removing intermediate container e773e21d7770 21:30:27 ---> 8d412b0e239e 21:30:27 Step 17/26 : WORKDIR / 21:30:27 ---> Running in 17428489b368 21:30:27 Removing intermediate container 17428489b368 21:30:27 ---> 885e508c5a20 21:30:27 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:30:27 ---> a13fd89f3c66 21:30:27 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:30:27 ---> 80234422a51d 21:30:27 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:30:27 ---> 09b2418bee72 21:30:27 Step 21/26 : EXPOSE 59984 21:30:27 ---> Running in 145c6ae3e4ff 21:30:27 Removing intermediate container 145c6ae3e4ff 21:30:27 ---> a017c08a6794 21:30:27 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:30:27 ---> Running in 0b4ba37d66a2 21:30:27 Removing intermediate container 0b4ba37d66a2 21:30:27 ---> 424795d26978 21:30:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:30:27 ---> Running in f0ae5f790610 21:30:27 Removing intermediate container f0ae5f790610 21:30:27 ---> 546d1e55ab93 21:30:27 Step 24/26 : LABEL arch=amd64 21:30:27 ---> Running in 6a3b61a93881 21:30:27 Removing intermediate container 6a3b61a93881 21:30:27 ---> bb7180c9309e 21:30:27 Step 25/26 : LABEL git_sha=d7891e1e8fa6e1bc32895871a5a425a2b63a699f 21:30:27 ---> Running in 0f325d918ed5 21:30:28 Removing intermediate container 0f325d918ed5 21:30:28 ---> 280a1eb95801 21:30:28 Step 26/26 : LABEL version=0.0.0 21:30:28 ---> Running in 244a96468345 21:30:28 Removing intermediate container 244a96468345 21:30:28 ---> 7c50593366c4 21:30:28 [Warning] One or more build-args [ARCH] were not consumed 21:30:28 Successfully built 7c50593366c4 21:30:28 Successfully tagged device-onvif-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 21:30:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:28 21:30:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:28 latest: Pulling from edgex-lftools-log-publisher 21:30:28 5eb5b503b376: Pulling fs layer 21:30:28 5c69ac0246d0: Pulling fs layer 21:30:28 ec43610c2a17: Pulling fs layer 21:30:28 3a2ae6a8a46f: Pulling fs layer 21:30:28 33b1e0a273af: Pulling fs layer 21:30:28 5d3b04190fa2: Pulling fs layer 21:30:28 2f39f015ded8: Pulling fs layer 21:30:28 5d3b04190fa2: Waiting 21:30:28 2f39f015ded8: Waiting 21:30:28 3a2ae6a8a46f: Waiting 21:30:28 33b1e0a273af: Waiting 21:30:28 5c69ac0246d0: Verifying Checksum 21:30:28 5c69ac0246d0: Download complete 21:30:28 3a2ae6a8a46f: Download complete 21:30:29 33b1e0a273af: Verifying Checksum 21:30:29 33b1e0a273af: Download complete 21:30:29 5d3b04190fa2: Verifying Checksum 21:30:29 5d3b04190fa2: Download complete 21:30:29 ec43610c2a17: Verifying Checksum 21:30:29 ec43610c2a17: Download complete 21:30:29 5eb5b503b376: Download complete 21:30:29 2f39f015ded8: Download complete 21:30:30 5eb5b503b376: Pull complete 21:30:30 5c69ac0246d0: Pull complete 21:30:31 ec43610c2a17: Pull complete 21:30:31 3a2ae6a8a46f: Pull complete 21:30:31 33b1e0a273af: Pull complete 21:30:31 5d3b04190fa2: Pull complete 21:30:35 2f39f015ded8: Pull complete 21:30:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:30:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:35 prd-ubuntu20.04-docker-8c-8g-1712 does not seem to be running inside a container 21:30: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/undry_device-onvif-camera_PR-207 -v /w/workspace/undry_device-onvif-camera_PR-207:/w/workspace/undry_device-onvif-camera_PR-207:rw,z -v /w/workspace/undry_device-onvif-camera_PR-207@tmp:/w/workspace/undry_device-onvif-camera_PR-207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:30:36 $ docker top 4fbcf647679ef60c6b82557b29f862caf31224fd3524b728762ca945b20b8352 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:37 ---> job-cost.sh 21:30:37 lf-activate-venv: SKIPPING 21:30:37 INFO: No Stack... 21:30:37 INFO: Retrieving Pricing Info for: v3-standard-8 21:30:37 INFO: Archiving Costs [Pipeline] sh 21:30:38 + cat /w/workspace/undry_device-onvif-camera_PR-207/archives/cost.csv 21:30:38 + cut -d, -f6 [Pipeline] lock 21:30:38 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-207-2-stack-cost] 21:30:38 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-207-2-stack-cost] did not exist. Created. 21:30:38 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-207-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:30:38 + echo total: 0.2199999988079071 [Pipeline] stash 21:30:38 Stashed 1 file(s) [Pipeline] } 21:30:38 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-207-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:30:38 $ docker stop --time=1 4fbcf647679ef60c6b82557b29f862caf31224fd3524b728762ca945b20b8352 21:30:39 $ docker rm -f --volumes 4fbcf647679ef60c6b82557b29f862caf31224fd3524b728762ca945b20b8352 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:31:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1714 in /w/workspace/undry_device-onvif-camera_PR-207 [Pipeline] { [Pipeline] ws 21:31:40 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 21:31:40 The recommended git tool is: git 21:31:45 using credential edgex-jenkins-ssh 21:31:45 Cloning the remote Git repository 21:31:45 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 21:31:45 > git init /w/workspace/device-onvif-camera/2 # timeout=10 21:31:45 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:31:45 > git --version # timeout=10 21:31:45 > git --version # 'git version 2.25.1' 21:31:45 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:31:47 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:31:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:31:48 Merging remotes/origin/main commit ed435512d23c0fe6735192e03ad24dc623114abf into PR head commit d7891e1e8fa6e1bc32895871a5a425a2b63a699f 21:31:47 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:31:48 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:31:48 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/207/head:refs/remotes/origin/PR-207 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:31:48 > git config core.sparsecheckout # timeout=10 21:31:48 > git checkout -f d7891e1e8fa6e1bc32895871a5a425a2b63a699f # timeout=10 21:31:49 Merge succeeded, producing d7891e1e8fa6e1bc32895871a5a425a2b63a699f 21:31:49 Checking out Revision d7891e1e8fa6e1bc32895871a5a425a2b63a699f (PR-207) 21:31:49 > git remote # timeout=10 21:31:49 > git config --get remote.origin.url # timeout=10 21:31:49 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:49 > git merge ed435512d23c0fe6735192e03ad24dc623114abf # timeout=10 21:31:49 > git rev-parse HEAD^{commit} # timeout=10 21:31:49 > git config core.sparsecheckout # timeout=10 21:31:49 > git checkout -f d7891e1e8fa6e1bc32895871a5a425a2b63a699f # timeout=10 21:31:53 Commit message: "feat!: code review comments addressed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:31:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:31:54 % Total % Received % Xferd Average Speed Time Time Time Current 21:31:54 Dload Upload Total Spent Left Speed 21:31:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 69298 0 --:--:-- --:--:-- --:--:-- 68924 100 12751 100 12751 0 0 68553 0 --:--:-- --:--:-- --:--:-- 68553 [Pipeline] sh 21:31:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:31:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:31:55 + sudo tee /etc/docker/daemon.new 21:31:55 { 21:31:55 "registry-mirrors": [ 21:31:55 "https://nexus3.edgexfoundry.org:10001" 21:31:55 ], 21:31:55 "bip": "10.250.0.254/24", 21:31:55 "hosts": [ 21:31:55 "tcp://0.0.0.0:5555", 21:31:55 "unix:///var/run/docker.sock" 21:31:55 ], 21:31:55 "mtu": 1458, 21:31:55 "selinux-enabled": true, 21:31:55 "seccomp-profile": "/etc/docker/seccomp.json" 21:31:55 } [Pipeline] sh 21:31:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:31:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:32:14 provisioning config files... 21:32:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config8236929946814555075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:14 ---> docker-login.sh 21:32:14 nexus3.edgexfoundry.org:10001 21:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:15 Configure a credential helper to remove this warning. See 21:32:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:15 21:32:15 Login Succeeded 21:32:15 nexus3.edgexfoundry.org:10002 21:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:15 Configure a credential helper to remove this warning. See 21:32:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:15 21:32:15 Login Succeeded 21:32:15 nexus3.edgexfoundry.org:10003 21:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:15 Configure a credential helper to remove this warning. See 21:32:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:15 21:32:15 Login Succeeded 21:32:15 nexus3.edgexfoundry.org:10004 21:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:16 Configure a credential helper to remove this warning. See 21:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:16 21:32:16 Login Succeeded 21:32:16 docker.io 21:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:17 Configure a credential helper to remove this warning. See 21:32:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:17 21:32:17 Login Succeeded 21:32:17 ---> docker-login.sh ends [Pipeline] } 21:32:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:32:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:32:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:32:17 ========================================================= 21:32:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:32:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:17 + 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 . 21:32:18 Sending build context to Docker daemon 20.55MB 21:32:18 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:32:18 Step 2/13 : FROM ${BASE} AS builder 21:32:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:32:18 9b18e9b68314: Pulling fs layer 21:32:18 35d82f9e3411: Pulling fs layer 21:32:18 e16973657156: Pulling fs layer 21:32:18 fc693d55d65f: Pulling fs layer 21:32:18 7e9fc2657dce: Pulling fs layer 21:32:18 dda99020689f: Pulling fs layer 21:32:18 db1c61fa0a46: Pulling fs layer 21:32:18 891c053d2c06: Pulling fs layer 21:32:18 7e9fc2657dce: Waiting 21:32:18 dda99020689f: Waiting 21:32:18 db1c61fa0a46: Waiting 21:32:18 fc693d55d65f: Waiting 21:32:18 891c053d2c06: Waiting 21:32:18 e16973657156: Download complete 21:32:18 35d82f9e3411: Verifying Checksum 21:32:18 35d82f9e3411: Download complete 21:32:18 7e9fc2657dce: Verifying Checksum 21:32:18 7e9fc2657dce: Download complete 21:32:18 dda99020689f: Verifying Checksum 21:32:18 dda99020689f: Download complete 21:32:18 9b18e9b68314: Verifying Checksum 21:32:18 9b18e9b68314: Download complete 21:32:19 9b18e9b68314: Pull complete 21:32:19 891c053d2c06: Verifying Checksum 21:32:19 891c053d2c06: Download complete 21:32:20 35d82f9e3411: Pull complete 21:32:20 e16973657156: Pull complete 21:32:21 db1c61fa0a46: Verifying Checksum 21:32:21 db1c61fa0a46: Download complete 21:32:21 fc693d55d65f: Verifying Checksum 21:32:21 fc693d55d65f: Download complete 21:32:33 fc693d55d65f: Pull complete 21:32:33 7e9fc2657dce: Pull complete 21:32:33 dda99020689f: Pull complete 21:32:40 db1c61fa0a46: Pull complete 21:32:43 891c053d2c06: Pull complete 21:32:43 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:32:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:32:43 ---> f96f9c87975a 21:32:43 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:32:44 ---> Running in 279bb3509522 21:32:44 Removing intermediate container 279bb3509522 21:32:44 ---> b9ef10ef68e5 21:32:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:32:45 ---> Running in 626d296c1908 21:32:45 Removing intermediate container 626d296c1908 21:32:45 ---> e5c21092c458 21:32:45 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:32:45 ---> Running in 3a7d9640998a 21:32:45 Removing intermediate container 3a7d9640998a 21:32:45 ---> fd48e44408b6 21:32:45 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:32:45 ---> Running in 3605fbf105a2 21:32:46 Removing intermediate container 3605fbf105a2 21:32:46 ---> f40db77007b1 21:32:46 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:32:46 ---> Running in ce44cb335d6d 21:32:46 Removing intermediate container ce44cb335d6d 21:32:46 ---> 352f20d6011c 21:32:46 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:32:46 ---> Running in 3cf612b44ce1 21:32:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:32:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:32:49 OK: 221 MiB in 51 packages 21:32:50 Removing intermediate container 3cf612b44ce1 21:32:50 ---> 640f9b0b9060 21:32:50 Step 9/13 : WORKDIR /device-onvif-camera 21:32:50 ---> Running in 9262f98868a7 21:32:50 Removing intermediate container 9262f98868a7 21:32:50 ---> 51493a81fd25 21:32:50 Step 10/13 : COPY go.mod vendor* ./ 21:32:51 ---> d733326108bd 21:32:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:32:51 ---> Running in e3a41d1cfec5 21:33:58 Removing intermediate container e3a41d1cfec5 21:33:58 ---> a94a1675a73b 21:33:58 Step 12/13 : COPY . . 21:33:58 ---> 71f4b6456ff8 21:33:58 Step 13/13 : RUN ${MAKE} 21:33:58 ---> Running in 05687fb07854 21:33:58 noop 21:33:58 Removing intermediate container 05687fb07854 21:33:58 ---> 2a8bcb6ae52f 21:33:58 Successfully built 2a8bcb6ae52f 21:33:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:59 + docker inspect -f . ci-base-image-arm64 21:33:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:59 prd-ubuntu20.04-docker-arm64-4c-16g-1714 does not seem to be running inside a container 21:33:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:34:00 $ docker top 85b46348b4999d0f517b4bc7616ef9544e845723c850ce12daab228b6ce2740e -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:01 + go version 21:34:01 go version go1.18.7 linux/arm64 [Pipeline] } 21:34:01 $ docker stop --time=1 85b46348b4999d0f517b4bc7616ef9544e845723c850ce12daab228b6ce2740e 21:34:03 $ docker rm -f --volumes 85b46348b4999d0f517b4bc7616ef9544e845723c850ce12daab228b6ce2740e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:03 + docker inspect -f . ci-base-image-arm64 21:34:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:04 prd-ubuntu20.04-docker-arm64-4c-16g-1714 does not seem to be running inside a container 21:34:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:34:05 $ docker top 6ccfe424a08468d7c5a692c17e7691ff6ca0ff0181c8fb447bbfcdfe59654a68 -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:06 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 21:34:06 + make test 21:34:06 go test ./... -coverprofile=coverage.out ./... 21:34:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:35:45 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:35:45 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.191s coverage: 29.3% of statements 21:35:45 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:36:03 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.031s coverage: 86.5% of statements 21:36:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:36:03 go vet ./... 21:36:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:36:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:36:36 ./bin/test-attribution-txt.sh [Pipeline] echo 21:36:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:36:36 $ docker stop --time=1 6ccfe424a08468d7c5a692c17e7691ff6ca0ff0181c8fb447bbfcdfe59654a68 21:36:37 $ docker rm -f --volumes 6ccfe424a08468d7c5a692c17e7691ff6ca0ff0181c8fb447bbfcdfe59654a68 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:36:39 Warning: overwriting stash ‘coverage-report’ 21:36:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:36:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:36:40 + ls -al . 21:36:40 total 244 21:36:40 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 21:34 . 21:36:40 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:31 .. 21:36:40 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:31 .git 21:36:40 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:31 .github 21:36:40 -rw-rw-r-- 1 jenkins jenkins 496 Jan 10 21:31 .gitignore 21:36:40 -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 21:31 .golangci.yml 21:36:40 -rw-rw-r-- 1 jenkins jenkins 9638 Jan 10 21:31 Attribution.txt 21:36:40 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 10 21:31 CHANGELOG.md 21:36:40 -rw-rw-r-- 1 jenkins jenkins 1574 Jan 10 21:31 Dockerfile 21:36:40 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:31 GOVERNANCE.md 21:36:40 -rw-rw-r-- 1 jenkins jenkins 734 Jan 10 21:31 Jenkinsfile 21:36:40 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 10 21:31 LICENSE 21:36:40 -rw-rw-r-- 1 jenkins jenkins 2575 Jan 10 21:31 Makefile 21:36:40 -rw-rw-r-- 1 jenkins jenkins 625 Jan 10 21:31 OWNERS.md 21:36:40 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 10 21:31 README.md 21:36:40 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 21:28 VERSION 21:36:40 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:31 bin 21:36:40 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:31 cmd 21:36:40 -rw-r--r-- 1 jenkins jenkins 79184 Jan 10 21:36 coverage.out 21:36:40 drwxrwxr-x 6 jenkins jenkins 4096 Jan 10 21:31 doc 21:36:40 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 10 21:31 go.mod 21:36:40 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 10 21:31 go.sum 21:36:40 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:31 internal 21:36:40 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:31 snap 21:36:40 -rw-rw-r-- 1 jenkins jenkins 236 Jan 10 21:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:40 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d7891e1e8fa6e1bc32895871a5a425a2b63a699f --label arch=arm64 --label version=0.0.0 . 21:36:41 Sending build context to Docker daemon 20.63MB 21:36:41 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:36:41 Step 2/26 : FROM ${BASE} AS builder 21:36:41 ---> 2a8bcb6ae52f 21:36:41 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:36:41 ---> Running in cc7de2a0d1cd 21:36:41 Removing intermediate container cc7de2a0d1cd 21:36:41 ---> f597ad2b7211 21:36:41 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:36:41 ---> Running in 0559af837dc3 21:36:42 Removing intermediate container 0559af837dc3 21:36:42 ---> 2256ffff1814 21:36:42 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:36:42 ---> Running in e949e771af0e 21:36:42 Removing intermediate container e949e771af0e 21:36:42 ---> 2f3a6f624a01 21:36:42 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:36:42 ---> Running in 808b1139e649 21:36:42 Removing intermediate container 808b1139e649 21:36:42 ---> 47a1d91dec19 21:36:42 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:36:42 ---> Running in 47972f0ec7eb 21:36:43 Removing intermediate container 47972f0ec7eb 21:36:43 ---> b8a341164073 21:36:43 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:36:43 ---> Running in 181b7400f764 21:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:36:45 OK: 221 MiB in 51 packages 21:36:46 Removing intermediate container 181b7400f764 21:36:46 ---> 518c61246876 21:36:46 Step 9/26 : WORKDIR /device-onvif-camera 21:36:46 ---> Running in 4d079cd0de0d 21:36:47 Removing intermediate container 4d079cd0de0d 21:36:47 ---> 14138e608012 21:36:47 Step 10/26 : COPY go.mod vendor* ./ 21:36:47 ---> 2ab3a4689bb4 21:36:47 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:36:47 ---> Running in 47494f678dc2 21:36:49 Removing intermediate container 47494f678dc2 21:36:49 ---> 0b27ac726c5a 21:36:49 Step 12/26 : COPY . . 21:36:51 ---> e86c0b277bc6 21:36:51 Step 13/26 : RUN ${MAKE} 21:36:51 ---> Running in ae32839a91ab 21:36:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 21:39:14 Removing intermediate container ae32839a91ab 21:39:14 ---> a378f0b816d3 21:39:14 Step 14/26 : FROM alpine:3.16 21:39:14 3.16: Pulling from library/alpine 21:39:14 6875df1f5354: Pulling fs layer 21:39:14 6875df1f5354: Verifying Checksum 21:39:14 6875df1f5354: Download complete 21:39:14 6875df1f5354: Pull complete 21:39:14 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:39:14 Status: Downloaded newer image for alpine:3.16 21:39:14 ---> 2b4661558fb8 21:39:14 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:39:14 ---> Running in d516c5927175 21:39:14 Removing intermediate container d516c5927175 21:39:14 ---> 9dcfe7c138e4 21:39:14 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:39:14 ---> Running in 5abb467c4079 21:39:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:39:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:39:14 (1/1) Installing dumb-init (1.2.5-r1) 21:39:14 Executing busybox-1.35.0-r17.trigger 21:39:14 OK: 5 MiB in 15 packages 21:39:14 Removing intermediate container 5abb467c4079 21:39:14 ---> a70d23316894 21:39:14 Step 17/26 : WORKDIR / 21:39:14 ---> Running in 0056785b0d49 21:39:14 Removing intermediate container 0056785b0d49 21:39:14 ---> 788369d795bd 21:39:14 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:39:14 ---> 33698693fa49 21:39:14 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:39:14 ---> 7f871155804e 21:39:14 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:39:15 ---> 462cebb50bd5 21:39:15 Step 21/26 : EXPOSE 59984 21:39:15 ---> Running in 6dfca7539e6a 21:39:15 Removing intermediate container 6dfca7539e6a 21:39:15 ---> bf44fe50cd7f 21:39:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:39:15 ---> Running in e3b0b8d93d2b 21:39:15 Removing intermediate container e3b0b8d93d2b 21:39:15 ---> 86eebb02b490 21:39:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:39:15 ---> Running in 9a829f9d84bd 21:39:16 Removing intermediate container 9a829f9d84bd 21:39:16 ---> 1373c48278ca 21:39:16 Step 24/26 : LABEL arch=arm64 21:39:16 ---> Running in 922dca767515 21:39:16 Removing intermediate container 922dca767515 21:39:16 ---> 577ac9759a6b 21:39:16 Step 25/26 : LABEL git_sha=d7891e1e8fa6e1bc32895871a5a425a2b63a699f 21:39:16 ---> Running in b29c7a1f889f 21:39:17 Removing intermediate container b29c7a1f889f 21:39:17 ---> 5af1b72a94d6 21:39:17 Step 26/26 : LABEL version=0.0.0 21:39:17 ---> Running in 0fe716f5d190 21:39:17 Removing intermediate container 0fe716f5d190 21:39:17 ---> 31dcb282d5ee 21:39:17 [Warning] One or more build-args [ARCH] were not consumed 21:39:17 Successfully built 31dcb282d5ee 21:39:17 Successfully tagged device-onvif-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 21:39:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:18 21:39:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:18 arm64: Pulling from edgex-lftools-log-publisher 21:39:18 8998bd30e6a1: Pulling fs layer 21:39:18 04944245beec: Pulling fs layer 21:39:18 699f458cf7ca: Pulling fs layer 21:39:18 765212b225bb: Pulling fs layer 21:39:18 f23df028b6ca: Pulling fs layer 21:39:18 d65c8cfc05b1: Pulling fs layer 21:39:18 765212b225bb: Waiting 21:39:18 f23df028b6ca: Waiting 21:39:18 d65c8cfc05b1: Waiting 21:39:18 2437ff75d9bd: Pulling fs layer 21:39:18 2437ff75d9bd: Waiting 21:39:18 04944245beec: Verifying Checksum 21:39:18 04944245beec: Download complete 21:39:18 765212b225bb: Verifying Checksum 21:39:18 765212b225bb: Download complete 21:39:18 f23df028b6ca: Verifying Checksum 21:39:18 f23df028b6ca: Download complete 21:39:18 d65c8cfc05b1: Verifying Checksum 21:39:18 d65c8cfc05b1: Download complete 21:39:18 699f458cf7ca: Verifying Checksum 21:39:18 699f458cf7ca: Download complete 21:39:19 8998bd30e6a1: Download complete 21:39:21 2437ff75d9bd: Verifying Checksum 21:39:21 2437ff75d9bd: Download complete 21:39:23 8998bd30e6a1: Pull complete 21:39:23 04944245beec: Pull complete 21:39:25 699f458cf7ca: Pull complete 21:39:25 765212b225bb: Pull complete 21:39:26 f23df028b6ca: Pull complete 21:39:26 d65c8cfc05b1: Pull complete 21:39:41 2437ff75d9bd: Pull complete 21:39:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:39:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:41 prd-ubuntu20.04-docker-arm64-4c-16g-1714 does not seem to be running inside a container 21:39:41 $ 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-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:39:44 $ docker top 83ee727afc9edfb99381b524ee0cc76a0f7710b6adabc88bc09c804818102a1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:45 ---> job-cost.sh 21:39:45 lf-activate-venv: SKIPPING 21:39:45 INFO: No Stack... 21:39:45 INFO: Retrieving Pricing Info for: v3-standard-4 21:39:46 INFO: Archiving Costs [Pipeline] sh 21:39:47 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 21:39:47 + cut -d, -f6 [Pipeline] lock 21:39:47 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-207-2-stack-cost] 21:39:47 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-207-2-stack-cost] did not exist. Created. 21:39:47 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-207-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:39:47 /w/workspace/device-onvif-camera/2@tmp/durable-2fbd2931/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:39:48 + echo total: 0.10999999940395355 [Pipeline] stash 21:39:48 Warning: overwriting stash ‘stack-cost’ 21:39:48 Stashed 1 file(s) [Pipeline] } 21:39:48 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-207-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:39:48 $ docker stop --time=1 83ee727afc9edfb99381b524ee0cc76a0f7710b6adabc88bc09c804818102a1c 21:39:50 $ docker rm -f --volumes 83ee727afc9edfb99381b524ee0cc76a0f7710b6adabc88bc09c804818102a1c [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 21:39:50 provisioning config files... 21:39:50 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-207@tmp/config11386587689862550117tmp [Pipeline] { [Pipeline] sh 21:39:50 + set +x 21:39:50 + curl -s https://codecov.io/bash 21:39:50 + bash -s -- 21:39:50 21:39:50 _____ _ 21:39:50 / ____| | | 21:39:50 | | ___ __| | ___ ___ _____ __ 21:39:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:39:50 | |___| (_) | (_| | __/ (_| (_) \ V / 21:39:50 \_____\___/ \__,_|\___|\___\___/ \_/ 21:39:50 Bash-1.0.6 21:39:50 21:39:50 21:39:50 ==> git version 2.25.1 found 21:39:50 ==> 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 21:39:50 Release-Date: 2020-01-08 21:39:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:39:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:39:50 ==> Jenkins CI detected. 21:39:50 current dir:  /w/workspace/undry_device-onvif-camera_PR-207 21:39:50 project root: . 21:39:50 --> token set from env 21:39:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:39:50 ==> Running gcov in . (disable via -X gcov) 21:39:50 ==> Python coveragepy not found 21:39:50 ==> Searching for coverage reports in: 21:39:50 + . 21:39:50 -> Found 1 reports 21:39:50 ==> Detecting git/mercurial file structure 21:39:50 ==> Reading reports 21:39:50 + ./coverage.out bytes=79184 21:39:51 ==> Appending adjustments 21:39:51 https://docs.codecov.io/docs/fixing-reports 21:39:51 + Found adjustments 21:39:51 ==> Gzipping contents 21:39:51 12K /tmp/codecov.9AJXfz.gz 21:39:51 ==> Uploading reports 21:39:51 url: https://codecov.io 21:39:51 query: branch=PR-207&commit=d7891e1e8fa6e1bc32895871a5a425a2b63a699f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-207%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=207&job=&cmd_args= 21:39:51 -> Pinging Codecov 21:39:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-207&commit=d7891e1e8fa6e1bc32895871a5a425a2b63a699f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-207%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=207&job=&cmd_args= 21:39:51 -> Uploading to 21:39:51 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/F29A59C45E3A92E06B3E522C9905F8EF/d7891e1e8fa6e1bc32895871a5a425a2b63a699f/9c72a2cd-89b0-4896-91be-7a3ae1a31034.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T213951Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=de9eb7a0095ba5f11e3c492ee762b12c0495145d7dc302cd30bf2d9b2775b6d6 21:39:51 % Total % Received % Xferd Average Speed Time Time Time Current 21:39:51 Dload Upload Total Spent Left Speed 21:39:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10865 0 0 100 10865 0 40692 --:--:-- --:--:-- --:--:-- 40692 21:39:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d7891e1e8fa6e1bc32895871a5a425a2b63a699f [Pipeline] } 21:39:51 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 21:39:52 + [ -d /w/workspace/undry_device-onvif-camera_PR-207/archives ] 21:39:52 + ls -al /w/workspace/undry_device-onvif-camera_PR-207/archives 21:39:52 total 16 21:39:52 drwxr-xr-x 3 root root 4096 Jan 10 21:30 . 21:39:52 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 21:30 .. 21:39:52 drwxr-xr-x 2 root root 4096 Jan 10 21:30 cost 21:39:52 -rw-r--r-- 1 root root 91 Jan 10 21:30 cost.csv 21:39:52 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-207/archives 21:39:52 + ls -al /w/workspace/undry_device-onvif-camera_PR-207/archives 21:39:52 total 16 21:39:52 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:30 . 21:39:52 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 21:30 .. 21:39:52 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 21:30 cost 21:39:52 -rw-r--r-- 1 jenkins jenkins 91 Jan 10 21:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:39:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:39:53 ---> package-listing.sh 21:39:53 ++ facter osfamily 21:39:53 ++ tr '[:upper:]' '[:lower:]' 21:39:53 + OS_FAMILY=debian 21:39:53 + workspace=/w/workspace/undry_device-onvif-camera_PR-207 21:39:53 + START_PACKAGES=/tmp/packages_start.txt 21:39:53 + END_PACKAGES=/tmp/packages_end.txt 21:39:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:39:53 + PACKAGES=/tmp/packages_start.txt 21:39:53 + '[' /w/workspace/undry_device-onvif-camera_PR-207 ']' 21:39:53 + PACKAGES=/tmp/packages_end.txt 21:39:53 + case "${OS_FAMILY}" in 21:39:53 + dpkg -l 21:39:53 + grep '^ii' 21:39:53 + '[' -f /tmp/packages_start.txt ']' 21:39:53 + '[' -f /tmp/packages_end.txt ']' 21:39:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:39:53 + '[' /w/workspace/undry_device-onvif-camera_PR-207 ']' 21:39:53 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-207/archives/ 21:39:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-207/archives/ [Pipeline] echo 21:39:53 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/undry_device-onvif-camera_PR-207/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:39:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:54 prd-ubuntu20.04-docker-8c-8g-1712 does not seem to be running inside a container 21:39:54 $ 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/undry_device-onvif-camera_PR-207/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-207 -v /w/workspace/undry_device-onvif-camera_PR-207:/w/workspace/undry_device-onvif-camera_PR-207:rw,z -v /w/workspace/undry_device-onvif-camera_PR-207@tmp:/w/workspace/undry_device-onvif-camera_PR-207@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 21:39:55 $ docker top 30a157f8bef4381872f92f153311eb911a81f47454641ec06738430779d2b72e -eo pid,comm [Pipeline] { [Pipeline] sh 21:39:55 + touch /tmp/pre-build-complete [Pipeline] sh 21:39:55 + mkdir -p /var/log/sysstat [Pipeline] sh 21:39:56 + ls /var/log/sa-host 21:39:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:39:56 provisioning config files... 21:39:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-207@tmp/config1748247397589868660tmp [Pipeline] { [Pipeline] echo 21:39:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:39:56 ---> create-netrc.sh [Pipeline] } 21:39:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:39:56 ---> python-tools-install.sh [Pipeline] echo 21:39:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:39:57 ---> sudo-logs.sh 21:39:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:39:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:39:57 ---> job-cost.sh 21:39:57 lf-activate-venv: SKIPPING 21:39:57 DEBUG: total: 0.2199999988079071 21:39:57 INFO: Retrieving Stack Cost... 21:39:58 INFO: Retrieving Pricing Info for: v3-standard-8 21:39:58 INFO: Archiving Costs [Pipeline] echo 21:39:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:39:58 ---> logs-deploy.sh 21:39:58 lf-activate-venv: SKIPPING 21:39:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-207/2 21:39:58 INFO: archiving workspace using pattern(s): 21:39:59 Archives upload complete. 21:40:00 INFO: archiving logs to Nexus