Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b755987a34d69a916b66ca09834a5024b38876fb+d65f0f9877c5d27f36bd97c93e7d86cd57609692 (14054fe66161d9283dbdc6b7ed9ca5ffdc432aff) 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-ssh3872213772973697034.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-ssh12683740474084389275.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-242/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-242/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11766862337898598202.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-ssh9908313234107088775.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-242/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-242/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7266994752179473407.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8194 in /w/workspace/undry_device-onvif-camera_PR-242 [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-242 # 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/242/head:refs/remotes/origin/PR-242 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d65f0f9877c5d27f36bd97c93e7d86cd57609692 into PR head commit b755987a34d69a916b66ca09834a5024b38876fb Merge succeeded, producing 4206493ad9a3d80ddf94c7545eecd6cd20c5703c Checking out Revision 4206493ad9a3d80ddf94c7545eecd6cd20c5703c (PR-242) > git config core.sparsecheckout # timeout=10 > git checkout -f b755987a34d69a916b66ca09834a5024b38876fb # 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 d65f0f9877c5d27f36bd97c93e7d86cd57609692 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4206493ad9a3d80ddf94c7545eecd6cd20c5703c # timeout=10 Commit message: "Merge commit 'd65f0f9877c5d27f36bd97c93e7d86cd57609692' into HEAD" > git rev-list --no-walk b755987a34d69a916b66ca09834a5024b38876fb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:11:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:11:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:11:56 ========================================================= 22:11:56 EdgeX Global Pipelines Version Info 22:11:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:11:57 ------------------- 22:11:57 stable info: 22:11:57 ------------------- 22:11:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:11:57 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:11:57 Message: update stable to v1.0.244 22:11:58 ------------------- 22:11:58 experimental info: 22:11:58 ------------------- 22:11:58 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:58 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:11:58 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-242 [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-242 [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-242 [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4206493ad9a3d80ddf94c7545eecd6cd20c5703c [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4206493 [Pipeline] echo 22:11:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:58 provisioning config files... 22:11:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-242@tmp/config18305698366402210975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:59 ---> docker-login.sh 22:11:59 nexus3.edgexfoundry.org:10001 22:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:59 Configure a credential helper to remove this warning. See 22:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:59 22:11:59 Login Succeeded 22:11:59 nexus3.edgexfoundry.org:10002 22:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:59 Configure a credential helper to remove this warning. See 22:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:59 22:11:59 Login Succeeded 22:11:59 nexus3.edgexfoundry.org:10003 22:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:59 Configure a credential helper to remove this warning. See 22:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:59 22:11:59 Login Succeeded 22:11:59 nexus3.edgexfoundry.org:10004 22:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:59 Configure a credential helper to remove this warning. See 22:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:59 22:11:59 Login Succeeded 22:11:59 docker.io 22:11:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:59 Configure a credential helper to remove this warning. See 22:11:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:59 22:11:59 Login Succeeded 22:11:59 ---> docker-login.sh ends [Pipeline] } 22:11:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:12:00 + git rev-list -1 --merges 4206493ad9a3d80ddf94c7545eecd6cd20c5703c~1..4206493ad9a3d80ddf94c7545eecd6cd20c5703c [Pipeline] echo 22:12:00 -----------> git rev-list -1 --merges 4206493ad9a3d80ddf94c7545eecd6cd20c5703c~1..4206493ad9a3d80ddf94c7545eecd6cd20c5703c 4206493ad9a3d80ddf94c7545eecd6cd20c5703c 22:12:00 4206493ad9a3d80ddf94c7545eecd6cd20c5703c [false] [Pipeline] sh 22:12:00 + git log --format=format:%s -1 4206493ad9a3d80ddf94c7545eecd6cd20c5703c [Pipeline] echo 22:12:00 ========================================================= 22:12:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:12:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:12:00 + git log --format=format:%s -1 4206493ad9a3d80ddf94c7545eecd6cd20c5703c [Pipeline] echo 22:12:00 [semverPrep] GIT_COMMIT: 4206493ad9a3d80ddf94c7545eecd6cd20c5703c, Commit Message: Merge commit 'd65f0f9877c5d27f36bd97c93e7d86cd57609692' into HEAD [Pipeline] echo 22:12:00 [semverPrep] This is not a build commit. [Pipeline] sh 22:12:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:12:01 + grep -v github /etc/ssh/ssh_known_hosts 22:12:01 + [ -e /tmp/ssh_known_hosts ] 22:12:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:12:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:12:01 + sudo tee -a /etc/ssh/ssh_known_hosts 22:12:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:12:01 22:12:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:12:01 0.1.4: Pulling from edgex-devops/py-git-semver 22:12:01 b85a868b505f: Pulling fs layer 22:12:01 e2be974225ed: Pulling fs layer 22:12:01 339a4e72a1f5: Pulling fs layer 22:12:01 988bab9f4d93: Pulling fs layer 22:12:01 1469e6f7b9e6: Pulling fs layer 22:12:01 eaf3925da568: Pulling fs layer 22:12:01 bab4dde63d76: Pulling fs layer 22:12:01 bde34c3a00c8: Pulling fs layer 22:12:01 b352a97aabf1: Pulling fs layer 22:12:01 4872d77fe225: Pulling fs layer 22:12:01 5851b861e8e6: Pulling fs layer 22:12:01 bab4dde63d76: Waiting 22:12:01 bde34c3a00c8: Waiting 22:12:01 b352a97aabf1: Waiting 22:12:01 4872d77fe225: Waiting 22:12:01 988bab9f4d93: Waiting 22:12:01 1469e6f7b9e6: Waiting 22:12:01 eaf3925da568: Waiting 22:12:01 5851b861e8e6: Waiting 22:12:01 e2be974225ed: Verifying Checksum 22:12:01 e2be974225ed: Download complete 22:12:01 988bab9f4d93: Verifying Checksum 22:12:01 988bab9f4d93: Download complete 22:12:02 1469e6f7b9e6: Verifying Checksum 22:12:02 1469e6f7b9e6: Download complete 22:12:02 eaf3925da568: Download complete 22:12:02 339a4e72a1f5: Verifying Checksum 22:12:02 339a4e72a1f5: Download complete 22:12:02 bde34c3a00c8: Download complete 22:12:02 b352a97aabf1: Verifying Checksum 22:12:02 b352a97aabf1: Download complete 22:12:02 4872d77fe225: Verifying Checksum 22:12:02 4872d77fe225: Download complete 22:12:02 5851b861e8e6: Verifying Checksum 22:12:02 5851b861e8e6: Download complete 22:12:02 b85a868b505f: Verifying Checksum 22:12:02 b85a868b505f: Download complete 22:12:02 bab4dde63d76: Verifying Checksum 22:12:02 bab4dde63d76: Download complete 22:12:03 b85a868b505f: Pull complete 22:12:03 e2be974225ed: Pull complete 22:12:03 339a4e72a1f5: Pull complete 22:12:03 988bab9f4d93: Pull complete 22:12:04 1469e6f7b9e6: Pull complete 22:12:04 eaf3925da568: Pull complete 22:12:06 bab4dde63d76: Pull complete 22:12:06 bde34c3a00c8: Pull complete 22:12:06 b352a97aabf1: Pull complete 22:12:06 4872d77fe225: Pull complete 22:12:06 5851b861e8e6: Pull complete 22:12:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:12:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:12:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:06 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 22:12:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-242 -v /w/workspace/undry_device-onvif-camera_PR-242:/w/workspace/undry_device-onvif-camera_PR-242:rw,z -v /w/workspace/undry_device-onvif-camera_PR-242@tmp:/w/workspace/undry_device-onvif-camera_PR-242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:12:12 $ docker top 2c200c4a39b503c78862236533b2dff9d931c3dc609ae0448a176df1a69abfe3 -eo pid,comm 22:12:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:12:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:12:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:12:12 [ssh-agent] Looking for ssh-agent implementation... 22:12:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:12:12 $ docker exec 2c200c4a39b503c78862236533b2dff9d931c3dc609ae0448a176df1a69abfe3 ssh-agent 22:12:13 SSH_AUTH_SOCK=/tmp/ssh-itQX8fA5JRnz/agent.14 22:12:13 SSH_AGENT_PID=20 22:12:13 Running ssh-add (command line suppressed) 22:12:13 Identity added: /w/workspace/undry_device-onvif-camera_PR-242@tmp/private_key_16309415060854908255.key (/w/workspace/undry_device-onvif-camera_PR-242@tmp/private_key_16309415060854908255.key) 22:12:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:12:13 + git tag --points-at HEAD [Pipeline] } 22:12:13 $ docker exec --env ******** --env ******** 2c200c4a39b503c78862236533b2dff9d931c3dc609ae0448a176df1a69abfe3 ssh-agent -k 22:12:13 unset SSH_AUTH_SOCK; 22:12:13 unset SSH_AGENT_PID; 22:12:13 echo Agent pid 20 killed; 22:12:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:12:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:12:13 [ssh-agent] Looking for ssh-agent implementation... 22:12:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:12:13 $ docker exec 2c200c4a39b503c78862236533b2dff9d931c3dc609ae0448a176df1a69abfe3 ssh-agent 22:12:13 SSH_AUTH_SOCK=/tmp/ssh-Vm6eD99KDD7q/agent.70 22:12:13 SSH_AGENT_PID=76 22:12:13 Running ssh-add (command line suppressed) 22:12:14 Identity added: /w/workspace/undry_device-onvif-camera_PR-242@tmp/private_key_17195049148457781485.key (/w/workspace/undry_device-onvif-camera_PR-242@tmp/private_key_17195049148457781485.key) 22:12:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:12:14 + git semver init 22:12:14 2023-03-03 22:12:14,512 [run_init] DEBUG init version:0.0.0 force:False 22:12:14 2023-03-03 22:12:14,513 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-242/.semver 22:12:14 2023-03-03 22:12:14,514 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-242/.semver 22:12:14 2023-03-03 22:12:14,514 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-242/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-242, universal_newlines=False, shell=None, istream=None) 22:12:15 2023-03-03 22:12:15,593 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-242/.git/info/exclude 22:12:15 2023-03-03 22:12:15,594 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-242/.semver/PR-242 with force:False 22:12:15 2023-03-03 22:12:15,594 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-242/.semver/PR-242 22:12:15 2023-03-03 22:12:15,597 [execute] INFO git cat-file --batch-check 22:12:15 2023-03-03 22:12:15,598 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-242/.semver, universal_newlines=False, shell=None, istream=) 22:12:15 2023-03-03 22:12:15,604 [execute] INFO git cat-file --batch 22:12:15 2023-03-03 22:12:15,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-242/.semver, universal_newlines=False, shell=None, istream=) 22:12:15 2023-03-03 22:12:15,608 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-242/.semver/PR-242 22:12:15 0.0.0 [Pipeline] } 22:12:15 $ docker exec --env ******** --env ******** 2c200c4a39b503c78862236533b2dff9d931c3dc609ae0448a176df1a69abfe3 ssh-agent -k 22:12:16 unset SSH_AUTH_SOCK; 22:12:16 unset SSH_AGENT_PID; 22:12:16 echo Agent pid 76 killed; 22:12:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:12:16 + git semver [Pipeline] } 22:12:16 $ docker stop --time=1 2c200c4a39b503c78862236533b2dff9d931c3dc609ae0448a176df1a69abfe3 22:12:17 $ docker rm -f --volumes 2c200c4a39b503c78862236533b2dff9d931c3dc609ae0448a176df1a69abfe3 [Pipeline] // withDockerContainer [Pipeline] sh 22:12:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:12:18 Stashed 1 file(s) [Pipeline] echo 22:12:18 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:12:18 provisioning config files... 22:12:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-242@tmp/config6762474673568200342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:18 ---> docker-login.sh 22:12:18 nexus3.edgexfoundry.org:10001 22:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:18 Configure a credential helper to remove this warning. See 22:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:18 22:12:18 Login Succeeded 22:12:18 nexus3.edgexfoundry.org:10002 22:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:18 Configure a credential helper to remove this warning. See 22:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:18 22:12:18 Login Succeeded 22:12:18 nexus3.edgexfoundry.org:10003 22:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:19 Configure a credential helper to remove this warning. See 22:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:19 22:12:19 Login Succeeded 22:12:19 nexus3.edgexfoundry.org:10004 22:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:19 Configure a credential helper to remove this warning. See 22:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:19 22:12:19 Login Succeeded 22:12:19 docker.io 22:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:19 Configure a credential helper to remove this warning. See 22:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:19 22:12:19 Login Succeeded 22:12:19 ---> docker-login.sh ends [Pipeline] } 22:12:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:12:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:19 ========================================================= 22:12:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:12:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:12:19 Sending build context to Docker daemon 27.8MB 22:12:19 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:12:19 Step 2/13 : FROM ${BASE} AS builder 22:12:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:12:20 213ec9aee27d: Pulling fs layer 22:12:20 4583459ba037: Pulling fs layer 22:12:20 93c1e223e6f2: Pulling fs layer 22:12:20 53926ce57604: Pulling fs layer 22:12:20 21b2b0c7a3f4: Pulling fs layer 22:12:20 22ff95d597cd: Pulling fs layer 22:12:20 12d6caf4c0d1: Pulling fs layer 22:12:20 96b7cbca73a9: Pulling fs layer 22:12:20 a7acece74701: Pulling fs layer 22:12:20 53926ce57604: Waiting 22:12:20 21b2b0c7a3f4: Waiting 22:12:20 22ff95d597cd: Waiting 22:12:20 12d6caf4c0d1: Waiting 22:12:20 96b7cbca73a9: Waiting 22:12:20 a7acece74701: Waiting 22:12:20 4583459ba037: Download complete 22:12:20 21b2b0c7a3f4: Verifying Checksum 22:12:20 21b2b0c7a3f4: Download complete 22:12:20 22ff95d597cd: Download complete 22:12:20 213ec9aee27d: Download complete 22:12:20 12d6caf4c0d1: Verifying Checksum 22:12:20 12d6caf4c0d1: Download complete 22:12:20 213ec9aee27d: Pull complete 22:12:20 4583459ba037: Pull complete 22:12:20 93c1e223e6f2: Pull complete 22:12:20 a7acece74701: Verifying Checksum 22:12:20 a7acece74701: Download complete 22:12:20 96b7cbca73a9: Verifying Checksum 22:12:20 96b7cbca73a9: Download complete 22:12:20 53926ce57604: Verifying Checksum 22:12:20 53926ce57604: Download complete 22:12:24 53926ce57604: Pull complete 22:12:24 21b2b0c7a3f4: Pull complete 22:12:24 22ff95d597cd: Pull complete 22:12:24 12d6caf4c0d1: Pull complete 22:12:26 96b7cbca73a9: Pull complete 22:12:27 a7acece74701: Pull complete 22:12:27 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:12:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:12:27 ---> db6d94c90886 22:12:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:12:33 Still waiting to schedule task 22:12:33 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8198’ is offline 22:12:42 ---> Running in 3ee97e571771 22:12:42 Removing intermediate container 3ee97e571771 22:12:42 ---> 070fdd7d8e41 22:12:42 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:42 ---> Running in edc586a47970 22:12:42 Removing intermediate container edc586a47970 22:12:42 ---> a584ecbe7d51 22:12:42 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:12:42 ---> Running in a89f508fb033 22:12:42 Removing intermediate container a89f508fb033 22:12:42 ---> 9cf8a103ef1b 22:12:42 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:12:42 ---> Running in a0fe5d9b520c 22:12:42 Removing intermediate container a0fe5d9b520c 22:12:42 ---> 9b97499a0eb5 22:12:42 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:12:42 ---> Running in 505ab6947a77 22:12:42 Removing intermediate container 505ab6947a77 22:12:42 ---> 8471dd10d0e6 22:12:42 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:42 ---> Running in 155c69fae780 22:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:12:43 OK: 211 MiB in 51 packages 22:12:43 Removing intermediate container 155c69fae780 22:12:43 ---> 6ff77a122b9f 22:12:43 Step 9/13 : WORKDIR /device-onvif-camera 22:12:43 ---> Running in 30cdb4a50d1c 22:12:43 Removing intermediate container 30cdb4a50d1c 22:12:43 ---> b0a45184e463 22:12:43 Step 10/13 : COPY go.mod vendor* ./ 22:12:43 ---> c9f724c86771 22:12:43 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:43 ---> Running in c6dded0e274e 22:13:40 Removing intermediate container c6dded0e274e 22:13:40 ---> 1557da27b7a1 22:13:40 Step 12/13 : COPY . . 22:13:40 ---> a4b6a24eade7 22:13:40 Step 13/13 : RUN ${MAKE} 22:13:40 ---> Running in 2d6b58c82bf3 22:13:40 noop 22:13:40 Removing intermediate container 2d6b58c82bf3 22:13:40 ---> 07a6726d3697 22:13:40 Successfully built 07a6726d3697 22:13:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:40 + docker inspect -f . ci-base-image-x86_64 22:13:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:40 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 22:13:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-242 -v /w/workspace/undry_device-onvif-camera_PR-242:/w/workspace/undry_device-onvif-camera_PR-242:rw,z -v /w/workspace/undry_device-onvif-camera_PR-242@tmp:/w/workspace/undry_device-onvif-camera_PR-242@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 ******** ci-base-image-x86_64 cat 22:13:40 $ docker top a0b2a4bf1f56f68b86dfcd32880a0dd6fbbd2d411657d531f9a17a6f170ddd2e -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:41 + go version 22:13:41 go version go1.18.7 linux/amd64 [Pipeline] } 22:13:41 $ docker stop --time=1 a0b2a4bf1f56f68b86dfcd32880a0dd6fbbd2d411657d531f9a17a6f170ddd2e 22:13:42 $ docker rm -f --volumes a0b2a4bf1f56f68b86dfcd32880a0dd6fbbd2d411657d531f9a17a6f170ddd2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:43 + docker inspect -f . ci-base-image-x86_64 22:13:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:43 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 22:13:43 $ 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-242 -v /w/workspace/undry_device-onvif-camera_PR-242:/w/workspace/undry_device-onvif-camera_PR-242:rw,z -v /w/workspace/undry_device-onvif-camera_PR-242@tmp:/w/workspace/undry_device-onvif-camera_PR-242@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 ******** ci-base-image-x86_64 cat 22:13:43 $ docker top 22f088bc2318d311475109364a8b7947e1212cdfc2a4222651ca52102c7abf03 -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:43 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-242 [Pipeline] fileExists [Pipeline] sh 22:13:44 + make test 22:13:44 go test ./... -coverprofile=coverage.out ./... 22:13:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:13:54 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:13:56 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.026s coverage: 29.3% of statements 22:13:56 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:13:56 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.456s coverage: 86.5% of statements 22:14:03 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." 22:14:03 go vet ./... 22:14:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:14:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:14:06 ./bin/test-attribution-txt.sh [Pipeline] echo 22:14:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:14:06 $ docker stop --time=1 22f088bc2318d311475109364a8b7947e1212cdfc2a4222651ca52102c7abf03 22:14:09 $ docker rm -f --volumes 22f088bc2318d311475109364a8b7947e1212cdfc2a4222651ca52102c7abf03 [Pipeline] // withDockerContainer [Pipeline] sh 22:14:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:14:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:14:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:14:11 + ls -al . 22:14:11 total 236 22:14:11 drwxrwxr-x 10 jenkins jenkins 4096 Mar 3 22:13 . 22:14:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 22:11 .. 22:14:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 22:13 .git 22:14:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 22:11 .github 22:14:11 -rw-rw-r-- 1 jenkins jenkins 496 Mar 3 22:11 .gitignore 22:14:11 -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 22:11 .golangci.yml 22:14:11 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 22:12 .semver 22:14:11 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 3 22:11 Attribution.txt 22:14:11 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 3 22:11 CHANGELOG.md 22:14:11 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 3 22:11 Dockerfile 22:14:11 -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 22:11 GOVERNANCE.md 22:14:11 -rw-rw-r-- 1 jenkins jenkins 734 Mar 3 22:11 Jenkinsfile 22:14:11 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 3 22:11 LICENSE 22:14:11 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 3 22:11 Makefile 22:14:11 -rw-rw-r-- 1 jenkins jenkins 625 Mar 3 22:11 OWNERS.md 22:14:11 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 3 22:11 README.md 22:14:11 -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 22:12 VERSION 22:14:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 22:11 bin 22:14:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 22:11 cmd 22:14:11 -rw-r--r-- 1 jenkins jenkins 79184 Mar 3 22:13 coverage.out 22:14:11 drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 22:11 doc 22:14:11 -rw-rw-r-- 1 jenkins jenkins 3600 Mar 3 22:11 go.mod 22:14:11 -rw-rw-r-- 1 jenkins jenkins 34701 Mar 3 22:11 go.sum 22:14:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 22:11 internal 22:14:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 22:11 snap 22:14:11 -rw-rw-r-- 1 jenkins jenkins 236 Mar 3 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:11 + 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=4206493ad9a3d80ddf94c7545eecd6cd20c5703c --label arch=amd64 --label version=0.0.0 . 22:14:11 Sending build context to Docker daemon 27.88MB 22:14:11 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:14:11 Step 2/26 : FROM ${BASE} AS builder 22:14:11 ---> 07a6726d3697 22:14:11 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:14:11 ---> Running in 4c8696e7b871 22:14:11 Removing intermediate container 4c8696e7b871 22:14:11 ---> eb1c0bbe4305 22:14:11 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:14:11 ---> Running in e48475248106 22:14:11 Removing intermediate container e48475248106 22:14:11 ---> 7aea3efc0fdf 22:14:11 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:14:11 ---> Running in 1248de0c166d 22:14:12 Removing intermediate container 1248de0c166d 22:14:12 ---> 46b7388112da 22:14:12 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:14:12 ---> Running in 6abf8a8a2baf 22:14:12 Removing intermediate container 6abf8a8a2baf 22:14:12 ---> 3235e552e688 22:14:12 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:14:12 ---> Running in 8cfc1907b5e8 22:14:12 Removing intermediate container 8cfc1907b5e8 22:14:12 ---> eeb336031c33 22:14:12 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:12 ---> Running in 382b5fc8f464 22:14:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:14:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:14:12 OK: 211 MiB in 51 packages 22:14:13 Removing intermediate container 382b5fc8f464 22:14:13 ---> e73d3be3f3ea 22:14:13 Step 9/26 : WORKDIR /device-onvif-camera 22:14:13 ---> Running in 634e24e36669 22:14:13 Removing intermediate container 634e24e36669 22:14:13 ---> bce6cb190501 22:14:13 Step 10/26 : COPY go.mod vendor* ./ 22:14:13 ---> 51673febf4d9 22:14:13 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:13 ---> Running in f89c07d30d56 22:14:14 Removing intermediate container f89c07d30d56 22:14:14 ---> fe18890c22ea 22:14:14 Step 12/26 : COPY . . 22:14:15 ---> 6438a7f2d9b2 22:14:15 Step 13/26 : RUN ${MAKE} 22:14:15 ---> Running in 96e9dcbdc6e0 22:14:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:14:37 Removing intermediate container 96e9dcbdc6e0 22:14:37 ---> 574383562b74 22:14:37 Step 14/26 : FROM alpine:3.16 22:14:37 3.16: Pulling from library/alpine 22:14:37 ef5531b6e74e: Pulling fs layer 22:14:37 ef5531b6e74e: Download complete 22:14:37 ef5531b6e74e: Pull complete 22:14:37 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 22:14:37 Status: Downloaded newer image for alpine:3.16 22:14:37 ---> dfd21b5a31f5 22:14:37 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:14:37 ---> Running in 538fec4e2c20 22:14:37 Removing intermediate container 538fec4e2c20 22:14:37 ---> e2cc60863e92 22:14:37 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:14:37 ---> Running in 80af139f4ef7 22:14:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:14:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:14:37 (1/1) Installing dumb-init (1.2.5-r1) 22:14:37 Executing busybox-1.35.0-r17.trigger 22:14:37 OK: 6 MiB in 15 packages 22:14:37 Removing intermediate container 80af139f4ef7 22:14:37 ---> b4f6da449f8a 22:14:37 Step 17/26 : WORKDIR / 22:14:37 ---> Running in d27b7e33b2b7 22:14:37 Removing intermediate container d27b7e33b2b7 22:14:37 ---> aec36bce3ef6 22:14:37 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:14:38 ---> e1f52742dbd1 22:14:38 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:14:38 ---> bb4fbf3d3767 22:14:38 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:14:39 ---> f9ef3de15489 22:14:39 Step 21/26 : EXPOSE 59984 22:14:39 ---> Running in a36e82fd195d 22:14:39 Removing intermediate container a36e82fd195d 22:14:39 ---> 8e09539817a8 22:14:39 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:14:39 ---> Running in a736b945518b 22:14:39 Removing intermediate container a736b945518b 22:14:39 ---> d10c946127e9 22:14:39 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:14:39 ---> Running in d8668fbcdb0e 22:14:39 Removing intermediate container d8668fbcdb0e 22:14:39 ---> 6bb120f1a11f 22:14:39 Step 24/26 : LABEL arch=amd64 22:14:39 ---> Running in 0b47532e0932 22:14:39 Removing intermediate container 0b47532e0932 22:14:39 ---> 1fa426acacda 22:14:39 Step 25/26 : LABEL git_sha=4206493ad9a3d80ddf94c7545eecd6cd20c5703c 22:14:39 ---> Running in e89c50527170 22:14:39 Removing intermediate container e89c50527170 22:14:39 ---> 5f06192e06e0 22:14:39 Step 26/26 : LABEL version=0.0.0 22:14:39 ---> Running in e2335da41c72 22:14:39 Removing intermediate container e2335da41c72 22:14:39 ---> 997aa9a37eef 22:14:39 [Warning] One or more build-args [ARCH] were not consumed 22:14:39 Successfully built 997aa9a37eef 22:14:39 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 22:14:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:40 22:14:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:40 latest: Pulling from edgex-lftools-log-publisher 22:14:40 5eb5b503b376: Pulling fs layer 22:14:40 5c69ac0246d0: Pulling fs layer 22:14:40 ec43610c2a17: Pulling fs layer 22:14:40 3a2ae6a8a46f: Pulling fs layer 22:14:40 33b1e0a273af: Pulling fs layer 22:14:40 5d3b04190fa2: Pulling fs layer 22:14:40 2f39f015ded8: Pulling fs layer 22:14:40 3a2ae6a8a46f: Waiting 22:14:40 33b1e0a273af: Waiting 22:14:40 5d3b04190fa2: Waiting 22:14:40 2f39f015ded8: Waiting 22:14:40 5c69ac0246d0: Verifying Checksum 22:14:40 5c69ac0246d0: Download complete 22:14:40 3a2ae6a8a46f: Verifying Checksum 22:14:40 3a2ae6a8a46f: Download complete 22:14:40 33b1e0a273af: Verifying Checksum 22:14:40 33b1e0a273af: Download complete 22:14:40 5d3b04190fa2: Download complete 22:14:40 ec43610c2a17: Verifying Checksum 22:14:40 ec43610c2a17: Download complete 22:14:40 5eb5b503b376: Verifying Checksum 22:14:40 5eb5b503b376: Download complete 22:14:41 2f39f015ded8: Download complete 22:14:41 5eb5b503b376: Pull complete 22:14:41 5c69ac0246d0: Pull complete 22:14:42 ec43610c2a17: Pull complete 22:14:43 3a2ae6a8a46f: Pull complete 22:14:44 33b1e0a273af: Pull complete 22:14:44 5d3b04190fa2: Pull complete 22:14:48 2f39f015ded8: Pull complete 22:14:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:14:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:48 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 22:14:48 $ 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-242 -v /w/workspace/undry_device-onvif-camera_PR-242:/w/workspace/undry_device-onvif-camera_PR-242:rw,z -v /w/workspace/undry_device-onvif-camera_PR-242@tmp:/w/workspace/undry_device-onvif-camera_PR-242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:14:51 $ docker top a638903b54d1476d946093a85fb47cc045fbcabc186ac3f4cba0eccc5b923b8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:51 ---> job-cost.sh 22:14:51 lf-activate-venv: SKIPPING 22:14:51 INFO: No Stack... 22:14:51 INFO: Retrieving Pricing Info for: v3-standard-8 22:14:52 INFO: Archiving Costs [Pipeline] sh 22:14:52 + cat /w/workspace/undry_device-onvif-camera_PR-242/archives/cost.csv 22:14:52 + cut -d, -f6 [Pipeline] lock 22:14:52 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-242-2-stack-cost] 22:14:52 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-242-2-stack-cost] did not exist. Created. 22:14:52 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-242-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:14:52 + echo total: 0.2199999988079071 [Pipeline] stash 22:14:52 Stashed 1 file(s) [Pipeline] } 22:14:52 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-242-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:14:52 $ docker stop --time=1 a638903b54d1476d946093a85fb47cc045fbcabc186ac3f4cba0eccc5b923b8e 22:14:54 $ docker rm -f --volumes a638903b54d1476d946093a85fb47cc045fbcabc186ac3f4cba0eccc5b923b8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:15:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8202 in /w/workspace/undry_device-onvif-camera_PR-242 [Pipeline] { [Pipeline] ws 22:15:14 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 22:15:14 The recommended git tool is: git 22:15:21 using credential edgex-jenkins-ssh 22:15:21 Cloning the remote Git repository 22:15:21 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:15:21 > git init /w/workspace/device-onvif-camera/2 # timeout=10 22:15:21 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:15:21 > git --version # timeout=10 22:15:21 > git --version # 'git version 2.25.1' 22:15:21 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:15:23 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:15:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:15:25 Merging remotes/origin/main commit d65f0f9877c5d27f36bd97c93e7d86cd57609692 into PR head commit b755987a34d69a916b66ca09834a5024b38876fb 22:15:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:15:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:15:24 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/242/head:refs/remotes/origin/PR-242 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:15:25 > git config core.sparsecheckout # timeout=10 22:15:25 > git checkout -f b755987a34d69a916b66ca09834a5024b38876fb # timeout=10 22:15:25 > git remote # timeout=10 22:15:25 > git config --get remote.origin.url # timeout=10 22:15:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:25 > git merge d65f0f9877c5d27f36bd97c93e7d86cd57609692 # timeout=10 22:15:26 Merge succeeded, producing 1fc87a5d9ac06f73e37693f547ae075dbc4873e5 22:15:26 Checking out Revision 1fc87a5d9ac06f73e37693f547ae075dbc4873e5 (PR-242) 22:15:26 > git rev-parse HEAD^{commit} # timeout=10 22:15:26 > git config core.sparsecheckout # timeout=10 22:15:26 > git checkout -f 1fc87a5d9ac06f73e37693f547ae075dbc4873e5 # timeout=10 22:15:30 Commit message: "Merge commit 'd65f0f9877c5d27f36bd97c93e7d86cd57609692' into HEAD" 22:15:30 > git rev-list --no-walk b755987a34d69a916b66ca09834a5024b38876fb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:15:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:15:31 % Total % Received % Xferd Average Speed Time Time Time Current 22:15:31 Dload Upload Total Spent Left Speed 22:15:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 22:15:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:15:32 + sudo tee /etc/docker/daemon.new 22:15:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:15:32 { 22:15:32 "registry-mirrors": [ 22:15:32 "https://nexus3.edgexfoundry.org:10001" 22:15:32 ], 22:15:32 "bip": "10.250.0.254/24", 22:15:32 "hosts": [ 22:15:32 "tcp://0.0.0.0:5555", 22:15:32 "unix:///var/run/docker.sock" 22:15:32 ], 22:15:32 "mtu": 1458, 22:15:32 "selinux-enabled": true, 22:15:32 "seccomp-profile": "/etc/docker/seccomp.json" 22:15:32 } [Pipeline] sh 22:15:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:15:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:15:51 provisioning config files... 22:15:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config14295761017388078743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:51 ---> docker-login.sh 22:15:51 nexus3.edgexfoundry.org:10001 22:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:57 Configure a credential helper to remove this warning. See 22:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:57 22:15:57 Login Succeeded 22:15:57 nexus3.edgexfoundry.org:10002 22:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:57 Configure a credential helper to remove this warning. See 22:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:57 22:15:57 Login Succeeded 22:15:57 nexus3.edgexfoundry.org:10003 22:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:58 Configure a credential helper to remove this warning. See 22:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:58 22:15:58 Login Succeeded 22:15:58 nexus3.edgexfoundry.org:10004 22:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:58 Configure a credential helper to remove this warning. See 22:15:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:58 22:15:58 Login Succeeded 22:15:58 docker.io 22:15:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:59 Configure a credential helper to remove this warning. See 22:15:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:59 22:15:59 Login Succeeded 22:15:59 ---> docker-login.sh ends [Pipeline] } 22:15:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:15:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:15:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:15:59 ========================================================= 22:15:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:15:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:59 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:16:00 Sending build context to Docker daemon 20.59MB 22:16:00 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:16:00 Step 2/13 : FROM ${BASE} AS builder 22:16:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:16:00 9b18e9b68314: Pulling fs layer 22:16:00 35d82f9e3411: Pulling fs layer 22:16:00 e16973657156: Pulling fs layer 22:16:00 fc693d55d65f: Pulling fs layer 22:16:00 7e9fc2657dce: Pulling fs layer 22:16:00 dda99020689f: Pulling fs layer 22:16:00 db1c61fa0a46: Pulling fs layer 22:16:00 891c053d2c06: Pulling fs layer 22:16:00 fc693d55d65f: Waiting 22:16:00 dda99020689f: Waiting 22:16:00 7e9fc2657dce: Waiting 22:16:00 db1c61fa0a46: Waiting 22:16:00 891c053d2c06: Waiting 22:16:00 e16973657156: Verifying Checksum 22:16:00 e16973657156: Download complete 22:16:00 35d82f9e3411: Download complete 22:16:00 7e9fc2657dce: Verifying Checksum 22:16:00 7e9fc2657dce: Download complete 22:16:00 dda99020689f: Verifying Checksum 22:16:00 dda99020689f: Download complete 22:16:00 9b18e9b68314: Verifying Checksum 22:16:00 9b18e9b68314: Download complete 22:16:02 9b18e9b68314: Pull complete 22:16:02 891c053d2c06: Verifying Checksum 22:16:02 891c053d2c06: Download complete 22:16:02 35d82f9e3411: Pull complete 22:16:02 e16973657156: Pull complete 22:16:03 db1c61fa0a46: Verifying Checksum 22:16:03 db1c61fa0a46: Download complete 22:16:04 fc693d55d65f: Verifying Checksum 22:16:04 fc693d55d65f: Download complete 22:16:16 fc693d55d65f: Pull complete 22:16:16 7e9fc2657dce: Pull complete 22:16:16 dda99020689f: Pull complete 22:16:23 db1c61fa0a46: Pull complete 22:16:26 891c053d2c06: Pull complete 22:16:26 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:16:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:16:26 ---> f96f9c87975a 22:16:26 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:16:28 ---> Running in b39f2cf16174 22:16:28 Removing intermediate container b39f2cf16174 22:16:28 ---> a3391155cfe2 22:16:28 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:16:29 ---> Running in 9e99bf266bd9 22:16:29 Removing intermediate container 9e99bf266bd9 22:16:29 ---> e80a6474c1f9 22:16:29 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:16:29 ---> Running in a132a27f707d 22:16:30 Removing intermediate container a132a27f707d 22:16:30 ---> b365d733eeb0 22:16:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:16:30 ---> Running in 82d20a45ec96 22:16:30 Removing intermediate container 82d20a45ec96 22:16:30 ---> 0cc78adef40c 22:16:30 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:16:30 ---> Running in ce0491a18a10 22:16:31 Removing intermediate container ce0491a18a10 22:16:31 ---> ff2789393d5d 22:16:31 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:16:31 ---> Running in 055e484cb8af 22:16:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:16:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:16:34 OK: 221 MiB in 51 packages 22:16:37 Removing intermediate container 055e484cb8af 22:16:37 ---> b513c3e80b63 22:16:37 Step 9/13 : WORKDIR /device-onvif-camera 22:16:37 ---> Running in f9c0cebee678 22:16:37 Removing intermediate container f9c0cebee678 22:16:37 ---> e7447f46a9c1 22:16:37 Step 10/13 : COPY go.mod vendor* ./ 22:16:38 ---> 0a320d242744 22:16:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:16:38 ---> Running in f020d82d86b4 22:18:00 Removing intermediate container f020d82d86b4 22:18:00 ---> 4caffd488083 22:18:00 Step 12/13 : COPY . . 22:18:00 ---> e8d0afeb7798 22:18:00 Step 13/13 : RUN ${MAKE} 22:18:00 ---> Running in 5b51f254cafa 22:18:00 noop 22:18:00 Removing intermediate container 5b51f254cafa 22:18:00 ---> 886d2fa800ff 22:18:00 Successfully built 886d2fa800ff 22:18:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:00 + docker inspect -f . ci-base-image-arm64 22:18:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:00 prd-ubuntu20.04-docker-arm64-4c-16g-8202 does not seem to be running inside a container 22:18:01 $ 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 ******** ci-base-image-arm64 cat 22:18:02 $ docker top 55440a494d57457378eab76c1327bd0a1c0818b8ae450ae8686baea60b4a5b89 -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:03 + go version 22:18:03 go version go1.18.7 linux/arm64 [Pipeline] } 22:18:03 $ docker stop --time=1 55440a494d57457378eab76c1327bd0a1c0818b8ae450ae8686baea60b4a5b89 22:18:05 $ docker rm -f --volumes 55440a494d57457378eab76c1327bd0a1c0818b8ae450ae8686baea60b4a5b89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:05 + docker inspect -f . ci-base-image-arm64 22:18:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:06 prd-ubuntu20.04-docker-arm64-4c-16g-8202 does not seem to be running inside a container 22:18:06 $ 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 ******** ci-base-image-arm64 cat 22:18:07 $ docker top 134871b45362db510e78b2913e7e1351ef6daa936b8fe695834d2068ae99a56f -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:08 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 22:18:09 + make test 22:18:09 go test ./... -coverprofile=coverage.out ./... 22:18:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:20:32 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:20:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.248s coverage: 29.3% of statements 22:20:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:20:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.766s coverage: 86.5% of statements 22:20:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:20:51 go vet ./... 22:21:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:21:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:21:24 ./bin/test-attribution-txt.sh [Pipeline] echo 22:21:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:21:24 $ docker stop --time=1 134871b45362db510e78b2913e7e1351ef6daa936b8fe695834d2068ae99a56f 22:21:25 $ docker rm -f --volumes 134871b45362db510e78b2913e7e1351ef6daa936b8fe695834d2068ae99a56f [Pipeline] // withDockerContainer [Pipeline] sh 22:21:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:21:27 Warning: overwriting stash ‘coverage-report’ 22:21:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:21:28 + ls -al . 22:21:28 total 232 22:21:28 drwxrwxr-x 9 jenkins jenkins 4096 Mar 3 22:18 . 22:21:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 22:15 .. 22:21:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 22:15 .git 22:21:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 22:15 .github 22:21:28 -rw-rw-r-- 1 jenkins jenkins 496 Mar 3 22:15 .gitignore 22:21:28 -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 22:15 .golangci.yml 22:21:28 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 3 22:15 Attribution.txt 22:21:28 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 3 22:15 CHANGELOG.md 22:21:28 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 3 22:15 Dockerfile 22:21:28 -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 22:15 GOVERNANCE.md 22:21:28 -rw-rw-r-- 1 jenkins jenkins 734 Mar 3 22:15 Jenkinsfile 22:21:28 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 3 22:15 LICENSE 22:21:28 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 3 22:15 Makefile 22:21:28 -rw-rw-r-- 1 jenkins jenkins 625 Mar 3 22:15 OWNERS.md 22:21:28 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 3 22:15 README.md 22:21:28 -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 22:12 VERSION 22:21:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 22:15 bin 22:21:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 22:15 cmd 22:21:28 -rw-r--r-- 1 jenkins jenkins 79184 Mar 3 22:20 coverage.out 22:21:28 drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 22:15 doc 22:21:28 -rw-rw-r-- 1 jenkins jenkins 3600 Mar 3 22:15 go.mod 22:21:28 -rw-rw-r-- 1 jenkins jenkins 34701 Mar 3 22:15 go.sum 22:21:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 22:15 internal 22:21:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 22:15 snap 22:21:28 -rw-rw-r-- 1 jenkins jenkins 236 Mar 3 22:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:28 + 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=1fc87a5d9ac06f73e37693f547ae075dbc4873e5 --label arch=arm64 --label version=0.0.0 . 22:21:29 Sending build context to Docker daemon 20.67MB 22:21:29 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:21:29 Step 2/26 : FROM ${BASE} AS builder 22:21:29 ---> 886d2fa800ff 22:21:29 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:21:29 ---> Running in 0fb34b0fa4d7 22:21:29 Removing intermediate container 0fb34b0fa4d7 22:21:29 ---> d4f9d9fcbe38 22:21:29 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:21:29 ---> Running in 7e91073e400a 22:21:30 Removing intermediate container 7e91073e400a 22:21:30 ---> 79f556c284a2 22:21:30 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:21:30 ---> Running in 908b5b33ed7b 22:21:30 Removing intermediate container 908b5b33ed7b 22:21:30 ---> 7c28412203c0 22:21:30 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:21:30 ---> Running in 45d1e6fc33da 22:21:30 Removing intermediate container 45d1e6fc33da 22:21:30 ---> 0f78eafc20c7 22:21:30 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:21:31 ---> Running in 991a0e94e81b 22:21:31 Removing intermediate container 991a0e94e81b 22:21:31 ---> a152fc4a7bf8 22:21:31 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:31 ---> Running in 390ecca1fe1d 22:21:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:21:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:21:34 OK: 221 MiB in 51 packages 22:21:35 Removing intermediate container 390ecca1fe1d 22:21:35 ---> be14ddf70d02 22:21:35 Step 9/26 : WORKDIR /device-onvif-camera 22:21:35 ---> Running in 539bcbf1dd36 22:21:35 Removing intermediate container 539bcbf1dd36 22:21:35 ---> f88e3ac67409 22:21:35 Step 10/26 : COPY go.mod vendor* ./ 22:21:36 ---> 8c8ff684449e 22:21:36 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:21:36 ---> Running in 81a0ec1b6ce8 22:21:39 Removing intermediate container 81a0ec1b6ce8 22:21:39 ---> fa43f8c760f7 22:21:39 Step 12/26 : COPY . . 22:21:40 ---> a84dac9d2a33 22:21:40 Step 13/26 : RUN ${MAKE} 22:21:40 ---> Running in 38bee7fb3c11 22:21:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:24:18 Removing intermediate container 38bee7fb3c11 22:24:18 ---> 6e7d1663cbfb 22:24:18 Step 14/26 : FROM alpine:3.16 22:24:18 3.16: Pulling from library/alpine 22:24:18 3760b48202b3: Pulling fs layer 22:24:18 3760b48202b3: Pull complete 22:24:18 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 22:24:18 Status: Downloaded newer image for alpine:3.16 22:24:18 ---> 4c81e5bf8899 22:24:18 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:24:18 ---> Running in d892d65870f8 22:24:18 Removing intermediate container d892d65870f8 22:24:18 ---> c14d17092597 22:24:18 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:24:18 ---> Running in 4220268a331f 22:24:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:24:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:24:18 (1/1) Installing dumb-init (1.2.5-r1) 22:24:18 Executing busybox-1.35.0-r17.trigger 22:24:18 OK: 5 MiB in 15 packages 22:24:18 Removing intermediate container 4220268a331f 22:24:18 ---> 373d6c1578a6 22:24:18 Step 17/26 : WORKDIR / 22:24:18 ---> Running in 775c6764cab3 22:24:18 Removing intermediate container 775c6764cab3 22:24:18 ---> d2176647e996 22:24:18 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:24:18 ---> cbe13f11c2ca 22:24:18 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:24:18 ---> 37c86ee2590d 22:24:18 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:24:18 ---> 8f86ca2622a6 22:24:18 Step 21/26 : EXPOSE 59984 22:24:18 ---> Running in 3cde939b9b81 22:24:19 Removing intermediate container 3cde939b9b81 22:24:19 ---> 9f025b3761e3 22:24:19 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:24:19 ---> Running in 58a2fc73bf21 22:24:19 Removing intermediate container 58a2fc73bf21 22:24:19 ---> bdc1260a5439 22:24:19 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:24:19 ---> Running in 06280666e674 22:24:20 Removing intermediate container 06280666e674 22:24:20 ---> a55b2a4d4932 22:24:20 Step 24/26 : LABEL arch=arm64 22:24:20 ---> Running in 8b17138f1880 22:24:20 Removing intermediate container 8b17138f1880 22:24:20 ---> 6fe07555f5eb 22:24:20 Step 25/26 : LABEL git_sha=1fc87a5d9ac06f73e37693f547ae075dbc4873e5 22:24:20 ---> Running in 1ddd0d197abb 22:24:20 Removing intermediate container 1ddd0d197abb 22:24:20 ---> 52f22f8f595f 22:24:20 Step 26/26 : LABEL version=0.0.0 22:24:20 ---> Running in 2defb1561cea 22:24:21 Removing intermediate container 2defb1561cea 22:24:21 ---> 658136cad0df 22:24:21 [Warning] One or more build-args [ARCH] were not consumed 22:24:21 Successfully built 658136cad0df 22:24:21 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 22:24:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:21 22:24:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:21 arm64: Pulling from edgex-lftools-log-publisher 22:24:21 8998bd30e6a1: Pulling fs layer 22:24:21 04944245beec: Pulling fs layer 22:24:21 699f458cf7ca: Pulling fs layer 22:24:21 765212b225bb: Pulling fs layer 22:24:21 f23df028b6ca: Pulling fs layer 22:24:21 d65c8cfc05b1: Pulling fs layer 22:24:21 2437ff75d9bd: Pulling fs layer 22:24:21 765212b225bb: Waiting 22:24:21 f23df028b6ca: Waiting 22:24:21 d65c8cfc05b1: Waiting 22:24:21 2437ff75d9bd: Waiting 22:24:22 04944245beec: Verifying Checksum 22:24:22 04944245beec: Download complete 22:24:22 765212b225bb: Download complete 22:24:22 f23df028b6ca: Download complete 22:24:22 d65c8cfc05b1: Verifying Checksum 22:24:22 d65c8cfc05b1: Download complete 22:24:22 699f458cf7ca: Verifying Checksum 22:24:22 699f458cf7ca: Download complete 22:24:22 8998bd30e6a1: Verifying Checksum 22:24:22 8998bd30e6a1: Download complete 22:24:25 2437ff75d9bd: Verifying Checksum 22:24:25 2437ff75d9bd: Download complete 22:24:26 8998bd30e6a1: Pull complete 22:24:27 04944245beec: Pull complete 22:24:28 699f458cf7ca: Pull complete 22:24:28 765212b225bb: Pull complete 22:24:29 f23df028b6ca: Pull complete 22:24:29 d65c8cfc05b1: Pull complete 22:24:44 2437ff75d9bd: Pull complete 22:24:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:24:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:44 prd-ubuntu20.04-docker-arm64-4c-16g-8202 does not seem to be running inside a container 22:24:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:24:47 $ docker top 14f94cffaa2e134081b3210adbfb139d0c201862264bda9be0cd323bfc04c250 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:24:48 ---> job-cost.sh 22:24:48 lf-activate-venv: SKIPPING 22:24:48 INFO: No Stack... 22:24:49 INFO: Retrieving Pricing Info for: v3-standard-4 22:24:50 INFO: Archiving Costs [Pipeline] sh 22:24:50 + cut -d,+ -f6 22:24:50 cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock 22:24:50 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-242-2-stack-cost] 22:24:50 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-242-2-stack-cost] did not exist. Created. 22:24:50 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-242-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:24:51 /w/workspace/device-onvif-camera/2@tmp/durable-b9aa4486/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:24:52 + echo total: 0.10999999940395355 [Pipeline] stash 22:24:52 Warning: overwriting stash ‘stack-cost’ 22:24:52 Stashed 1 file(s) [Pipeline] } 22:24:52 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-242-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:24:52 $ docker stop --time=1 14f94cffaa2e134081b3210adbfb139d0c201862264bda9be0cd323bfc04c250 22:24:53 $ docker rm -f --volumes 14f94cffaa2e134081b3210adbfb139d0c201862264bda9be0cd323bfc04c250 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:24:54 provisioning config files... 22:24:54 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-242@tmp/config3512387800152959663tmp [Pipeline] { [Pipeline] sh 22:24:54 + set +x 22:24:54 + + bashcurl -s -s -- https://codecov.io/bash 22:24:54 22:24:54 22:24:54 _____ _ 22:24:54 / ____| | | 22:24:54 | | ___ __| | ___ ___ _____ __ 22:24:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:24:54 | |___| (_) | (_| | __/ (_| (_) \ V / 22:24:54 \_____\___/ \__,_|\___|\___\___/ \_/ 22:24:54 Bash-1.0.6 22:24:54 22:24:54 22:24:54 ==> git version 2.25.1 found 22:24:54 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:24:54 Release-Date: 2020-01-08 22:24:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:24:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:24:54 ==> Jenkins CI detected. 22:24:54 current dir:  /w/workspace/undry_device-onvif-camera_PR-242 22:24:54 project root: . 22:24:54 --> token set from env 22:24:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:24:54 ==> Running gcov in . (disable via -X gcov) 22:24:54 ==> Python coveragepy not found 22:24:54 ==> Searching for coverage reports in: 22:24:54 + . 22:24:54 -> Found 1 reports 22:24:54 ==> Detecting git/mercurial file structure 22:24:54 ==> Reading reports 22:24:54 + ./coverage.out bytes=79184 22:24:54 ==> Appending adjustments 22:24:54 https://docs.codecov.io/docs/fixing-reports 22:24:54 + Found adjustments 22:24:54 ==> Gzipping contents 22:24:54 12K /tmp/codecov.VB9CgS.gz 22:24:54 ==> Uploading reports 22:24:54 url: https://codecov.io 22:24:54 query: branch=PR-242&commit=4206493ad9a3d80ddf94c7545eecd6cd20c5703c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-242%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=242&job=&cmd_args= 22:24:54 -> Pinging Codecov 22:24:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-242&commit=4206493ad9a3d80ddf94c7545eecd6cd20c5703c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-242%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=242&job=&cmd_args= 22:24:54 -> Uploading to 22:24:54 https://storage.googleapis.com/codecov/v4/raw/2023-03-03/F29A59C45E3A92E06B3E522C9905F8EF/4206493ad9a3d80ddf94c7545eecd6cd20c5703c/5a954902-b3b4-4704-b782-b6e6700c99d2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230303%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230303T222454Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d89758634f3d2c6eb893eff9ad594c38bf5f53e137311724c2a42a14347f4d7b 22:24:54 % Total % Received % Xferd Average Speed Time Time Time Current 22:24:54 Dload Upload Total Spent Left Speed 22:24:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10884 0 0 100 10884 0 34012 --:--:-- --:--:-- --:--:-- 34012 22:24:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4206493ad9a3d80ddf94c7545eecd6cd20c5703c [Pipeline] } 22:24:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:24:55 + [ -d /w/workspace/undry_device-onvif-camera_PR-242/archives ] 22:24:55 + ls -al /w/workspace/undry_device-onvif-camera_PR-242/archives 22:24:55 total 16 22:24:55 drwxr-xr-x 3 root root 4096 Mar 3 22:14 . 22:24:55 drwxrwxr-x 11 jenkins jenkins 4096 Mar 3 22:14 .. 22:24:55 drwxr-xr-x 2 root root 4096 Mar 3 22:14 cost 22:24:55 -rw-r--r-- 1 root root 91 Mar 3 22:14 cost.csv 22:24:55 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-242/archives 22:24:55 + ls -al /w/workspace/undry_device-onvif-camera_PR-242/archives 22:24:55 total 16 22:24:55 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 22:14 . 22:24:55 drwxrwxr-x 11 jenkins jenkins 4096 Mar 3 22:14 .. 22:24:55 drwxr-xr-x 2 jenkins jenkins 4096 Mar 3 22:14 cost 22:24:55 -rw-r--r-- 1 jenkins jenkins 91 Mar 3 22:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:24:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:24:56 ---> package-listing.sh 22:24:56 ++ facter osfamily 22:24:56 ++ tr '[:upper:]' '[:lower:]' 22:24:57 + OS_FAMILY=debian 22:24:57 + workspace=/w/workspace/undry_device-onvif-camera_PR-242 22:24:57 + START_PACKAGES=/tmp/packages_start.txt 22:24:57 + END_PACKAGES=/tmp/packages_end.txt 22:24:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:24:57 + PACKAGES=/tmp/packages_start.txt 22:24:57 + '[' /w/workspace/undry_device-onvif-camera_PR-242 ']' 22:24:57 + PACKAGES=/tmp/packages_end.txt 22:24:57 + case "${OS_FAMILY}" in 22:24:57 + dpkg -l 22:24:57 + grep '^ii' 22:24:57 + '[' -f /tmp/packages_start.txt ']' 22:24:57 + '[' -f /tmp/packages_end.txt ']' 22:24:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:24:57 + '[' /w/workspace/undry_device-onvif-camera_PR-242 ']' 22:24:57 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-242/archives/ 22:24:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-242/archives/ [Pipeline] echo 22:24:57 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-242/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:24:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:24:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:58 prd-ubuntu20.04-docker-8c-8g-8194 does not seem to be running inside a container 22:24:58 $ 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-242/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-242 -v /w/workspace/undry_device-onvif-camera_PR-242:/w/workspace/undry_device-onvif-camera_PR-242:rw,z -v /w/workspace/undry_device-onvif-camera_PR-242@tmp:/w/workspace/undry_device-onvif-camera_PR-242@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-lftools-log-publisher:latest cat 22:24:58 $ docker top 3fdc6384b7be5d4b69105ac126d70352fd856373998d7ca9d1d8b526eb3f5f7c -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:58 + touch /tmp/pre-build-complete [Pipeline] sh 22:24:58 + mkdir -p /var/log/sysstat [Pipeline] sh 22:24:59 + ls /var/log/sa-host 22:24:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:24:59 provisioning config files... 22:24:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-242@tmp/config1500460399301893062tmp [Pipeline] { [Pipeline] echo 22:24:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:24:59 ---> create-netrc.sh [Pipeline] } 22:24:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:24:59 ---> python-tools-install.sh [Pipeline] echo 22:24:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:25:00 ---> sudo-logs.sh 22:25:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:25:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:25:00 ---> job-cost.sh 22:25:00 lf-activate-venv: SKIPPING 22:25:00 DEBUG: total: 0.2199999988079071 22:25:00 INFO: Retrieving Stack Cost... 22:25:01 INFO: Retrieving Pricing Info for: v3-standard-8 22:25:01 INFO: Archiving Costs [Pipeline] echo 22:25:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:25:01 ---> logs-deploy.sh 22:25:01 lf-activate-venv: SKIPPING 22:25:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-242/2 22:25:01 INFO: archiving workspace using pattern(s): 22:25:02 Archives upload complete. 22:25:02 INFO: archiving logs to Nexus