Pull request #210 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d+ac647965ab1b942a087d699135cd6fee27db47f4 (17bbfb5ffce9cdb0f496c7408ce9cca0251f879a) 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-ssh2048855990034821179.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-ssh8277996081609921334.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-210/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-210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17538969489476354426.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-ssh14678331889894157337.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-210/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-210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2782449578753574154.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 Running on prd-ubuntu20.04-docker-8c-8g-1894 in /w/workspace/undry_device-onvif-camera_PR-210 [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-210 # 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 Merging remotes/origin/main commit ac647965ab1b942a087d699135cd6fee27db47f4 into PR head commit 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d > 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/210/head:refs/remotes/origin/PR-210 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d # timeout=10 Merge succeeded, producing 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d Checking out Revision 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d (PR-210) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ac647965ab1b942a087d699135cd6fee27db47f4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d # timeout=10 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" First time build. Skipping changelog. > git rev-list --no-walk f6eb3024e45870f228bada2f7b48045a500ee5d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:52:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:52:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:52:02 ========================================================= 17:52:02 EdgeX Global Pipelines Version Info 17:52:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:52:03 ------------------- 17:52:03 stable info: 17:52:03 ------------------- 17:52:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:52:03 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:52:03 Message: update stable to v1.0.244 17:52:03 ------------------- 17:52:03 experimental info: 17:52:03 ------------------- 17:52:03 Commited By: **** collab-it+edgex@linuxfoundation.org 17:52:03 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:52:03 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-210 [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-210 [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-210 [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02bb8f7 [Pipeline] echo 17:52:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:04 provisioning config files... 17:52:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-210@tmp/config1956790365890776549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:04 ---> docker-login.sh 17:52:04 nexus3.edgexfoundry.org:10001 17:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:05 Configure a credential helper to remove this warning. See 17:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:05 17:52:05 Login Succeeded 17:52:05 nexus3.edgexfoundry.org:10002 17:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:05 Configure a credential helper to remove this warning. See 17:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:05 17:52:05 Login Succeeded 17:52:05 nexus3.edgexfoundry.org:10003 17:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:05 Configure a credential helper to remove this warning. See 17:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:05 17:52:05 Login Succeeded 17:52:05 nexus3.edgexfoundry.org:10004 17:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:05 Configure a credential helper to remove this warning. See 17:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:05 17:52:05 Login Succeeded 17:52:05 docker.io 17:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:05 Configure a credential helper to remove this warning. See 17:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:05 17:52:05 Login Succeeded 17:52:05 ---> docker-login.sh ends [Pipeline] } 17:52:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:52:06 + git rev-list -1 --merges 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d~1..02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [Pipeline] echo 17:52:06 -----------> git rev-list -1 --merges 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d~1..02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [false] [Pipeline] sh 17:52:06 + git log --format=format:%s -1 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [Pipeline] echo 17:52:06 ========================================================= 17:52:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:52:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:06 + git log --format=format:%s -1 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [Pipeline] echo 17:52:06 [semverPrep] GIT_COMMIT: 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d, Commit Message: refactor!: Rework code for refactored MessageBus Configuration [Pipeline] echo 17:52:06 [semverPrep] This is not a build commit. [Pipeline] sh 17:52:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:52:07 + grep -v github /etc/ssh/ssh_known_hosts 17:52:07 + [ -e /tmp/ssh_known_hosts ] 17:52:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:52:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:52:07 + sudo tee -a /etc/ssh/ssh_known_hosts 17:52:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:07 17:52:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:07 0.1.4: Pulling from edgex-devops/py-git-semver 17:52:07 b85a868b505f: Pulling fs layer 17:52:07 e2be974225ed: Pulling fs layer 17:52:07 339a4e72a1f5: Pulling fs layer 17:52:07 988bab9f4d93: Pulling fs layer 17:52:07 1469e6f7b9e6: Pulling fs layer 17:52:07 eaf3925da568: Pulling fs layer 17:52:07 bab4dde63d76: Pulling fs layer 17:52:07 bde34c3a00c8: Pulling fs layer 17:52:07 b352a97aabf1: Pulling fs layer 17:52:07 4872d77fe225: Pulling fs layer 17:52:07 5851b861e8e6: Pulling fs layer 17:52:07 988bab9f4d93: Waiting 17:52:07 1469e6f7b9e6: Waiting 17:52:07 eaf3925da568: Waiting 17:52:07 bab4dde63d76: Waiting 17:52:07 bde34c3a00c8: Waiting 17:52:07 b352a97aabf1: Waiting 17:52:07 4872d77fe225: Waiting 17:52:07 5851b861e8e6: Waiting 17:52:07 e2be974225ed: Download complete 17:52:07 988bab9f4d93: Verifying Checksum 17:52:07 988bab9f4d93: Download complete 17:52:07 339a4e72a1f5: Verifying Checksum 17:52:07 339a4e72a1f5: Download complete 17:52:07 1469e6f7b9e6: Verifying Checksum 17:52:07 1469e6f7b9e6: Download complete 17:52:07 eaf3925da568: Verifying Checksum 17:52:07 eaf3925da568: Download complete 17:52:07 bde34c3a00c8: Verifying Checksum 17:52:07 bde34c3a00c8: Download complete 17:52:07 b352a97aabf1: Download complete 17:52:07 4872d77fe225: Verifying Checksum 17:52:07 4872d77fe225: Download complete 17:52:07 5851b861e8e6: Verifying Checksum 17:52:07 5851b861e8e6: Download complete 17:52:07 b85a868b505f: Verifying Checksum 17:52:07 b85a868b505f: Download complete 17:52:08 bab4dde63d76: Download complete 17:52:09 b85a868b505f: Pull complete 17:52:09 e2be974225ed: Pull complete 17:52:09 339a4e72a1f5: Pull complete 17:52:09 988bab9f4d93: Pull complete 17:52:09 1469e6f7b9e6: Pull complete 17:52:09 eaf3925da568: Pull complete 17:52:11 bab4dde63d76: Pull complete 17:52:11 bde34c3a00c8: Pull complete 17:52:11 b352a97aabf1: Pull complete 17:52:11 4872d77fe225: Pull complete 17:52:12 5851b861e8e6: Pull complete 17:52:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:52:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:12 prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container 17:52:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:52:13 $ docker top 8afafe5a983a314ab6eb729fddb43a2dd0622bda31d18ab989ca787e06c5f398 -eo pid,comm 17:52:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:52:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:52:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:13 [ssh-agent] Looking for ssh-agent implementation... 17:52:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:13 $ docker exec 8afafe5a983a314ab6eb729fddb43a2dd0622bda31d18ab989ca787e06c5f398 ssh-agent 17:52:13 SSH_AUTH_SOCK=/tmp/ssh-UA7XTjQWglTt/agent.33 17:52:13 SSH_AGENT_PID=39 17:52:13 Running ssh-add (command line suppressed) 17:52:14 Identity added: /w/workspace/undry_device-onvif-camera_PR-210@tmp/private_key_5706313472913711698.key (/w/workspace/undry_device-onvif-camera_PR-210@tmp/private_key_5706313472913711698.key) 17:52:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:14 + git tag --points-at HEAD [Pipeline] } 17:52:14 $ docker exec --env ******** --env ******** 8afafe5a983a314ab6eb729fddb43a2dd0622bda31d18ab989ca787e06c5f398 ssh-agent -k 17:52:14 unset SSH_AUTH_SOCK; 17:52:14 unset SSH_AGENT_PID; 17:52:14 echo Agent pid 39 killed; 17:52:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:52:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:14 [ssh-agent] Looking for ssh-agent implementation... 17:52:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:14 $ docker exec 8afafe5a983a314ab6eb729fddb43a2dd0622bda31d18ab989ca787e06c5f398 ssh-agent 17:52:14 SSH_AUTH_SOCK=/tmp/ssh-c8r4xn0oWqTz/agent.71 17:52:14 SSH_AGENT_PID=78 17:52:14 Running ssh-add (command line suppressed) 17:52:14 Identity added: /w/workspace/undry_device-onvif-camera_PR-210@tmp/private_key_14383773424581178266.key (/w/workspace/undry_device-onvif-camera_PR-210@tmp/private_key_14383773424581178266.key) 17:52:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:15 + git semver init 17:52:15 2023-01-11 17:52:15,333 [run_init] DEBUG init version:0.0.0 force:False 17:52:15 2023-01-11 17:52:15,334 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-210/.semver 17:52:15 2023-01-11 17:52:15,335 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-210/.semver 17:52:15 2023-01-11 17:52:15,335 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-210/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-210, universal_newlines=False, shell=None, istream=None) 17:52:16 2023-01-11 17:52:16,170 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-210/.git/info/exclude 17:52:16 2023-01-11 17:52:16,170 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-210/.semver/PR-210 with force:False 17:52:16 2023-01-11 17:52:16,170 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-210/.semver/PR-210 17:52:16 2023-01-11 17:52:16,174 [execute] INFO git cat-file --batch-check 17:52:16 2023-01-11 17:52:16,175 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-210/.semver, universal_newlines=False, shell=None, istream=) 17:52:16 2023-01-11 17:52:16,181 [execute] INFO git cat-file --batch 17:52:16 2023-01-11 17:52:16,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-210/.semver, universal_newlines=False, shell=None, istream=) 17:52:16 2023-01-11 17:52:16,184 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-210/.semver/PR-210 17:52:16 0.0.0 [Pipeline] } 17:52:16 $ docker exec --env ******** --env ******** 8afafe5a983a314ab6eb729fddb43a2dd0622bda31d18ab989ca787e06c5f398 ssh-agent -k 17:52:16 unset SSH_AUTH_SOCK; 17:52:16 unset SSH_AGENT_PID; 17:52:16 echo Agent pid 78 killed; 17:52:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:52:16 + git semver [Pipeline] } 17:52:17 $ docker stop --time=1 8afafe5a983a314ab6eb729fddb43a2dd0622bda31d18ab989ca787e06c5f398 17:52:18 $ docker rm -f --volumes 8afafe5a983a314ab6eb729fddb43a2dd0622bda31d18ab989ca787e06c5f398 [Pipeline] // withDockerContainer [Pipeline] sh 17:52:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:52:19 Stashed 1 file(s) [Pipeline] echo 17:52:19 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:19 provisioning config files... 17:52:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-210@tmp/config13202670100197999113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:19 ---> docker-login.sh 17:52:19 nexus3.edgexfoundry.org:10001 17:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:19 Configure a credential helper to remove this warning. See 17:52:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:19 17:52:19 Login Succeeded 17:52:19 nexus3.edgexfoundry.org:10002 17:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:19 Configure a credential helper to remove this warning. See 17:52:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:19 17:52:19 Login Succeeded 17:52:19 nexus3.edgexfoundry.org:10003 17:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:19 Configure a credential helper to remove this warning. See 17:52:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:19 17:52:19 Login Succeeded 17:52:19 nexus3.edgexfoundry.org:10004 17:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:19 Configure a credential helper to remove this warning. See 17:52:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:19 17:52:19 Login Succeeded 17:52:19 docker.io 17:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:20 Configure a credential helper to remove this warning. See 17:52:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:20 17:52:20 Login Succeeded 17:52:20 ---> docker-login.sh ends [Pipeline] } 17:52:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:52:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:20 ========================================================= 17:52:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:52:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:52:20 Sending build context to Docker daemon 27.68MB 17:52:20 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:52:20 Step 2/13 : FROM ${BASE} AS builder 17:52:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:52:21 213ec9aee27d: Pulling fs layer 17:52:21 4583459ba037: Pulling fs layer 17:52:21 93c1e223e6f2: Pulling fs layer 17:52:21 53926ce57604: Pulling fs layer 17:52:21 21b2b0c7a3f4: Pulling fs layer 17:52:21 22ff95d597cd: Pulling fs layer 17:52:21 12d6caf4c0d1: Pulling fs layer 17:52:21 96b7cbca73a9: Pulling fs layer 17:52:21 a7acece74701: Pulling fs layer 17:52:21 53926ce57604: Waiting 17:52:21 22ff95d597cd: Waiting 17:52:21 12d6caf4c0d1: Waiting 17:52:21 21b2b0c7a3f4: Waiting 17:52:21 96b7cbca73a9: Waiting 17:52:21 a7acece74701: Waiting 17:52:21 93c1e223e6f2: Verifying Checksum 17:52:21 93c1e223e6f2: Download complete 17:52:21 4583459ba037: Download complete 17:52:21 21b2b0c7a3f4: Verifying Checksum 17:52:21 21b2b0c7a3f4: Download complete 17:52:21 22ff95d597cd: Download complete 17:52:21 213ec9aee27d: Verifying Checksum 17:52:21 213ec9aee27d: Download complete 17:52:21 12d6caf4c0d1: Verifying Checksum 17:52:21 12d6caf4c0d1: Download complete 17:52:21 213ec9aee27d: Pull complete 17:52:21 4583459ba037: Pull complete 17:52:21 93c1e223e6f2: Pull complete 17:52:22 a7acece74701: Verifying Checksum 17:52:22 a7acece74701: Download complete 17:52:22 96b7cbca73a9: Verifying Checksum 17:52:22 96b7cbca73a9: Download complete 17:52:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1899 in /w/workspace/undry_device-onvif-camera_PR-210 [Pipeline] { [Pipeline] ws 17:52:22 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 17:52:22 The recommended git tool is: git 17:52:22 53926ce57604: Verifying Checksum 17:52:22 53926ce57604: Download complete 17:52:26 53926ce57604: Pull complete 17:52:26 21b2b0c7a3f4: Pull complete 17:52:26 22ff95d597cd: Pull complete 17:52:26 12d6caf4c0d1: Pull complete 17:52:28 using credential edgex-jenkins-ssh 17:52:28 Cloning the remote Git repository 17:52:29 96b7cbca73a9: Pull complete 17:52:29 a7acece74701: Pull complete 17:52:29 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:52:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:52:29 ---> db6d94c90886 17:52:29 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:52:28 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:52:28 > git init /w/workspace/device-onvif-camera/2 # timeout=10 17:52:29 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:52:29 > git --version # timeout=10 17:52:29 > git --version # 'git version 2.25.1' 17:52:29 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:52:30 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:52:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:52:31 ---> Running in 0635d90fc4dc 17:52:31 Removing intermediate container 0635d90fc4dc 17:52:31 ---> 70dd2bcdb08a 17:52:31 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:52:31 ---> Running in b6c3594125fd 17:52:31 Removing intermediate container b6c3594125fd 17:52:31 ---> c7d3a842fd21 17:52:31 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:52:31 ---> Running in db201ba66a56 17:52:31 Removing intermediate container db201ba66a56 17:52:31 ---> 863c7d354a37 17:52:31 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:52:31 ---> Running in fa6b338fc890 17:52:31 Removing intermediate container fa6b338fc890 17:52:31 ---> 6b3b0857af10 17:52:31 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:52:31 ---> Running in d5c3352f06c8 17:52:31 Removing intermediate container d5c3352f06c8 17:52:31 ---> 4917a781cbcb 17:52:31 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:52:31 ---> Running in 6626359962e4 17:52:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:52:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:52:32 OK: 211 MiB in 51 packages 17:52:32 Merging remotes/origin/main commit ac647965ab1b942a087d699135cd6fee27db47f4 into PR head commit 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d 17:52:31 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:52:31 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:52:31 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/210/head:refs/remotes/origin/PR-210 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:52:32 > git config core.sparsecheckout # timeout=10 17:52:32 > git checkout -f 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d # timeout=10 17:52:32 Merge succeeded, producing 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d 17:52:32 Checking out Revision 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d (PR-210) 17:52:33 Removing intermediate container 6626359962e4 17:52:33 ---> e50fc1016296 17:52:33 Step 9/13 : WORKDIR /device-onvif-camera 17:52:33 ---> Running in 56120b57aa84 17:52:33 Removing intermediate container 56120b57aa84 17:52:33 ---> 3a8fecc79e38 17:52:33 Step 10/13 : COPY go.mod vendor* ./ 17:52:33 ---> 57099620dbfe 17:52:33 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:52:33 ---> Running in 216cbf826300 17:52:32 > git remote # timeout=10 17:52:32 > git config --get remote.origin.url # timeout=10 17:52:32 using GIT_SSH to set credentials SSH Credentials for GitHub 17:52:32 > git merge ac647965ab1b942a087d699135cd6fee27db47f4 # timeout=10 17:52:32 > git rev-parse HEAD^{commit} # timeout=10 17:52:32 > git config core.sparsecheckout # timeout=10 17:52:33 > git checkout -f 02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d # timeout=10 17:52:37 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:52:37 % Total % Received % Xferd Average Speed Time Time Time Current 17:52:37 Dload Upload Total Spent Left Speed 17:52:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 31798 0 --:--:-- --:--:-- --:--:-- 31798 [Pipeline] sh 17:52:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:52:39 + sudo tee /etc/docker/daemon.new 17:52:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:52:39 { 17:52:39 "registry-mirrors": [ 17:52:39 "https://nexus3.edgexfoundry.org:10001" 17:52:39 ], 17:52:39 "bip": "10.250.0.254/24", 17:52:39 "hosts": [ 17:52:39 "tcp://0.0.0.0:5555", 17:52:39 "unix:///var/run/docker.sock" 17:52:39 ], 17:52:39 "mtu": 1458, 17:52:39 "selinux-enabled": true, 17:52:39 "seccomp-profile": "/etc/docker/seccomp.json" 17:52:39 } [Pipeline] sh 17:52:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:52:39 + sudo service docker restart 17:52:51 Removing intermediate container 216cbf826300 17:52:51 ---> a7714c9c7562 17:52:51 Step 12/13 : COPY . . 17:52:51 ---> b73e2e39b1d9 17:52:51 Step 13/13 : RUN ${MAKE} 17:52:51 ---> Running in d57123b83c6d 17:52:52 noop 17:52:52 Removing intermediate container d57123b83c6d 17:52:52 ---> 13875ef64784 17:52:52 Successfully built 13875ef64784 17:52:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:52 + docker inspect -f . ci-base-image-x86_64 17:52:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:52 prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container 17:52:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:52:53 $ docker top 6abcf6b1a2160538b2155c2e74939558544dddfdce0490b0405e89da0c503066 -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:53 + go version 17:52:53 go version go1.18.7 linux/amd64 [Pipeline] } 17:52:53 $ docker stop --time=1 6abcf6b1a2160538b2155c2e74939558544dddfdce0490b0405e89da0c503066 17:52:54 $ docker rm -f --volumes 6abcf6b1a2160538b2155c2e74939558544dddfdce0490b0405e89da0c503066 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:55 + docker inspect -f . ci-base-image-x86_64 17:52:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:55 prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container 17:52:55 $ 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-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:52:55 $ docker top d2634ca73bc51b87bba46c8237188605ca44c9f717ca39569689c40f08fc814a -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:56 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-210 [Pipeline] fileExists [Pipeline] sh 17:52:56 + make test 17:52:56 go test ./... -coverprofile=coverage.out ./... 17:52:56 ? github.com/edgexfoundry/device-onvif-camera [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:58 provisioning config files... 17:52:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config12514902514378198071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:58 ---> docker-login.sh 17:52:58 nexus3.edgexfoundry.org:10001 17:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:59 Configure a credential helper to remove this warning. See 17:52:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:59 17:52:59 Login Succeeded 17:52:59 nexus3.edgexfoundry.org:10002 17:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:59 Configure a credential helper to remove this warning. See 17:52:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:59 17:52:59 Login Succeeded 17:52:59 nexus3.edgexfoundry.org:10003 17:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 nexus3.edgexfoundry.org:10004 17:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 docker.io 17:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:00 Configure a credential helper to remove this warning. See 17:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:00 17:53:00 Login Succeeded 17:53:00 ---> docker-login.sh ends [Pipeline] } 17:53:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:53:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:01 ========================================================= 17:53:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:53:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:53:02 Sending build context to Docker daemon 20.55MB 17:53:02 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:53:02 Step 2/13 : FROM ${BASE} AS builder 17:53:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:53:02 9b18e9b68314: Pulling fs layer 17:53:02 35d82f9e3411: Pulling fs layer 17:53:02 e16973657156: Pulling fs layer 17:53:02 fc693d55d65f: Pulling fs layer 17:53:02 7e9fc2657dce: Pulling fs layer 17:53:02 dda99020689f: Pulling fs layer 17:53:02 db1c61fa0a46: Pulling fs layer 17:53:02 891c053d2c06: Pulling fs layer 17:53:02 dda99020689f: Waiting 17:53:02 fc693d55d65f: Waiting 17:53:02 7e9fc2657dce: Waiting 17:53:02 db1c61fa0a46: Waiting 17:53:02 891c053d2c06: Waiting 17:53:02 e16973657156: Verifying Checksum 17:53:02 e16973657156: Download complete 17:53:02 35d82f9e3411: Verifying Checksum 17:53:02 35d82f9e3411: Download complete 17:53:02 7e9fc2657dce: Verifying Checksum 17:53:02 7e9fc2657dce: Download complete 17:53:02 dda99020689f: Verifying Checksum 17:53:02 dda99020689f: Download complete 17:53:02 9b18e9b68314: Verifying Checksum 17:53:02 9b18e9b68314: Download complete 17:53:03 9b18e9b68314: Pull complete 17:53:03 891c053d2c06: Verifying Checksum 17:53:03 891c053d2c06: Download complete 17:53:03 35d82f9e3411: Pull complete 17:53:04 e16973657156: Pull complete 17:53:04 db1c61fa0a46: Download complete 17:53:05 fc693d55d65f: Verifying Checksum 17:53:05 fc693d55d65f: Download complete 17:53:08 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:53:10 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 29.3% of statements 17:53:10 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:53:10 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.484s coverage: 86.5% of statements 17:53:17 fc693d55d65f: Pull complete 17:53:17 7e9fc2657dce: Pull complete 17:53:17 dda99020689f: Pull complete 17:53:18 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." 17:53:18 go vet ./... 17:53:22 db1c61fa0a46: Pull complete 17:53:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:53:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:53:22 ./bin/test-attribution-txt.sh [Pipeline] echo 17:53:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:53:22 $ docker stop --time=1 d2634ca73bc51b87bba46c8237188605ca44c9f717ca39569689c40f08fc814a 17:53:23 891c053d2c06: Pull complete 17:53:23 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:53:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:53:23 ---> f96f9c87975a 17:53:23 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:53:24 $ docker rm -f --volumes d2634ca73bc51b87bba46c8237188605ca44c9f717ca39569689c40f08fc814a [Pipeline] // withDockerContainer [Pipeline] sh 17:53:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:53:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:53:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:53:25 + ls -al . 17:53:25 total 248 17:53:25 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 17:52 . 17:53:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:51 .. 17:53:25 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 17:53 .git 17:53:25 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:51 .github 17:53:25 -rw-rw-r-- 1 jenkins jenkins 496 Jan 11 17:51 .gitignore 17:53:25 -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 17:51 .golangci.yml 17:53:25 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 17:52 .semver 17:53:25 -rw-rw-r-- 1 jenkins jenkins 9638 Jan 11 17:51 Attribution.txt 17:53:25 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 11 17:51 CHANGELOG.md 17:53:25 -rw-rw-r-- 1 jenkins jenkins 1574 Jan 11 17:51 Dockerfile 17:53:25 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 17:51 GOVERNANCE.md 17:53:25 -rw-rw-r-- 1 jenkins jenkins 734 Jan 11 17:51 Jenkinsfile 17:53:25 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 11 17:51 LICENSE 17:53:25 -rw-rw-r-- 1 jenkins jenkins 2577 Jan 11 17:51 Makefile 17:53:25 -rw-rw-r-- 1 jenkins jenkins 625 Jan 11 17:51 OWNERS.md 17:53:25 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 11 17:51 README.md 17:53:25 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 17:52 VERSION 17:53:25 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:51 bin 17:53:25 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:51 cmd 17:53:25 -rw-r--r-- 1 jenkins jenkins 79184 Jan 11 17:53 coverage.out 17:53:25 drwxrwxr-x 6 jenkins jenkins 4096 Jan 11 17:51 doc 17:53:25 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 11 17:51 go.mod 17:53:25 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 11 17:51 go.sum 17:53:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:51 internal 17:53:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:51 snap 17:53:25 -rw-rw-r-- 1 jenkins jenkins 236 Jan 11 17:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:25 + 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=02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d --label arch=amd64 --label version=0.0.0 . 17:53:25 Sending build context to Docker daemon 27.76MB 17:53:25 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:53:25 Step 2/26 : FROM ${BASE} AS builder 17:53:25 ---> 13875ef64784 17:53:25 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:53:25 ---> Running in 827f606b4c46 17:53:25 Removing intermediate container 827f606b4c46 17:53:25 ---> 50f81bf3918a 17:53:25 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:53:25 ---> Running in d40835eaa871 17:53:26 Removing intermediate container d40835eaa871 17:53:26 ---> 305bed63e3d3 17:53:26 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:53:26 ---> Running in 792635ccb4cb 17:53:26 Removing intermediate container 792635ccb4cb 17:53:26 ---> 6cb2ed8d96d0 17:53:26 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:53:26 ---> Running in 9d0339ed4ffc 17:53:26 Removing intermediate container 9d0339ed4ffc 17:53:26 ---> f489b27f4f9b 17:53:26 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:53:26 ---> Running in 9248887cd44f 17:53:26 Removing intermediate container 9248887cd44f 17:53:26 ---> 89a365addce8 17:53:26 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:53:26 ---> Running in 80e829362e9a 17:53:26 Removing intermediate container 80e829362e9a 17:53:26 ---> b8e72768379c 17:53:26 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:53:26 ---> Running in 4fb37ba8126a 17:53:26 ---> Running in 2cd12657041a 17:53:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:53:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:53:27 Removing intermediate container 2cd12657041a 17:53:27 ---> 5e0a800c5052 17:53:27 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:53:27 ---> Running in 38ab73bb9659 17:53:27 OK: 211 MiB in 51 packages 17:53:27 Removing intermediate container 38ab73bb9659 17:53:27 ---> d5170fc007cb 17:53:27 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:53:27 ---> Running in 760f048f1795 17:53:27 Removing intermediate container 760f048f1795 17:53:27 ---> 3d87d07d4712 17:53:27 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:53:27 ---> Running in 0a162dd4e30e 17:53:28 Removing intermediate container 4fb37ba8126a 17:53:28 ---> d70db99cea0f 17:53:28 Step 9/26 : WORKDIR /device-onvif-camera 17:53:28 ---> Running in be5a59c4618d 17:53:28 Removing intermediate container be5a59c4618d 17:53:28 ---> edd7ed1da42a 17:53:28 Step 10/26 : COPY go.mod vendor* ./ 17:53:28 ---> 020b398abdb3 17:53:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:28 ---> Running in 7afc01f56524 17:53:28 Removing intermediate container 0a162dd4e30e 17:53:28 ---> f6a36fc60f5a 17:53:28 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:53:28 ---> Running in f137a2447ac9 17:53:29 Removing intermediate container 7afc01f56524 17:53:29 ---> 7986eaaa9521 17:53:29 Step 12/26 : COPY . . 17:53:29 ---> 42f398547133 17:53:29 Step 13/26 : RUN ${MAKE} 17:53:29 ---> Running in d2caff57941d 17:53:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:53:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:53:30 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 17:53:30 OK: 221 MiB in 51 packages 17:53:32 Removing intermediate container f137a2447ac9 17:53:32 ---> 021465ebf4d6 17:53:32 Step 9/13 : WORKDIR /device-onvif-camera 17:53:32 ---> Running in b95f9268d047 17:53:32 Removing intermediate container b95f9268d047 17:53:32 ---> edab9a927fc8 17:53:32 Step 10/13 : COPY go.mod vendor* ./ 17:53:33 ---> 450fb6db4c9f 17:53:33 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:33 ---> Running in b739789ff43c 17:53:52 Removing intermediate container d2caff57941d 17:53:52 ---> 4c4e2b0f8e0e 17:53:52 Step 14/26 : FROM alpine:3.16 17:53:52 3.16: Pulling from library/alpine 17:53:52 ca7dd9ec2225: Pulling fs layer 17:53:52 ca7dd9ec2225: Verifying Checksum 17:53:52 ca7dd9ec2225: Download complete 17:53:52 ca7dd9ec2225: Pull complete 17:53:52 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:53:52 Status: Downloaded newer image for alpine:3.16 17:53:52 ---> bfe296a52501 17:53:52 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:53:52 ---> Running in 668a520291c0 17:53:53 Removing intermediate container 668a520291c0 17:53:53 ---> 4f8a22c9b83a 17:53:53 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:53:53 ---> Running in 7bdaee66f960 17:53:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:53:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:53:53 (1/1) Installing dumb-init (1.2.5-r1) 17:53:53 Executing busybox-1.35.0-r17.trigger 17:53:53 OK: 6 MiB in 15 packages 17:53:54 Removing intermediate container 7bdaee66f960 17:53:54 ---> 88ed11c5ea23 17:53:54 Step 17/26 : WORKDIR / 17:53:54 ---> Running in 2001148c5171 17:53:54 Removing intermediate container 2001148c5171 17:53:54 ---> ca6b7e35f0a1 17:53:54 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:53:55 ---> 6499ffb47085 17:53:55 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:53:55 ---> c5dec85f27a7 17:53:55 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:53:55 ---> 3caa3ffea508 17:53:55 Step 21/26 : EXPOSE 59984 17:53:55 ---> Running in 11f7cdf3c48c 17:53:56 Removing intermediate container 11f7cdf3c48c 17:53:56 ---> ca0acb084a0a 17:53:56 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:53:56 ---> Running in 367223c5ec5e 17:53:56 Removing intermediate container 367223c5ec5e 17:53:56 ---> 1c131502ce00 17:53:56 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:53:56 ---> Running in f948abce1f32 17:53:56 Removing intermediate container f948abce1f32 17:53:56 ---> fbf2418ef072 17:53:56 Step 24/26 : LABEL arch=amd64 17:53:56 ---> Running in 8cb09bf7802f 17:53:56 Removing intermediate container 8cb09bf7802f 17:53:56 ---> 7f256ad67ef4 17:53:56 Step 25/26 : LABEL git_sha=02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d 17:53:56 ---> Running in d8313fdeeba3 17:53:56 Removing intermediate container d8313fdeeba3 17:53:56 ---> fe3c5778dbf6 17:53:56 Step 26/26 : LABEL version=0.0.0 17:53:56 ---> Running in 1f31c852dbff 17:53:56 Removing intermediate container 1f31c852dbff 17:53:56 ---> 582d00d51e78 17:53:56 [Warning] One or more build-args [ARCH] were not consumed 17:53:56 Successfully built 582d00d51e78 17:53:56 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 17:53:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:57 17:53:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:57 latest: Pulling from edgex-lftools-log-publisher 17:53:57 5eb5b503b376: Pulling fs layer 17:53:57 5c69ac0246d0: Pulling fs layer 17:53:57 ec43610c2a17: Pulling fs layer 17:53:57 3a2ae6a8a46f: Pulling fs layer 17:53:57 33b1e0a273af: Pulling fs layer 17:53:57 5d3b04190fa2: Pulling fs layer 17:53:57 2f39f015ded8: Pulling fs layer 17:53:57 3a2ae6a8a46f: Waiting 17:53:57 33b1e0a273af: Waiting 17:53:57 5d3b04190fa2: Waiting 17:53:57 2f39f015ded8: Waiting 17:53:57 5c69ac0246d0: Verifying Checksum 17:53:57 5c69ac0246d0: Download complete 17:53:57 3a2ae6a8a46f: Download complete 17:53:57 33b1e0a273af: Verifying Checksum 17:53:57 33b1e0a273af: Download complete 17:53:57 ec43610c2a17: Verifying Checksum 17:53:57 ec43610c2a17: Download complete 17:53:57 5d3b04190fa2: Verifying Checksum 17:53:57 5d3b04190fa2: Download complete 17:53:57 5eb5b503b376: Verifying Checksum 17:53:57 5eb5b503b376: Download complete 17:53:58 2f39f015ded8: Download complete 17:53:59 5eb5b503b376: Pull complete 17:53:59 5c69ac0246d0: Pull complete 17:53:59 ec43610c2a17: Pull complete 17:53:59 3a2ae6a8a46f: Pull complete 17:54:00 33b1e0a273af: Pull complete 17:54:00 5d3b04190fa2: Pull complete 17:54:05 2f39f015ded8: Pull complete 17:54:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:54:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:05 prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container 17:54:05 $ 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-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:54:07 $ docker top 5ac82d2bf985a4ac83766d50f96e747209fe4470299a460b2f06fab917e15456 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:07 ---> job-cost.sh 17:54:07 lf-activate-venv: SKIPPING 17:54:07 INFO: No Stack... 17:54:08 INFO: Retrieving Pricing Info for: v3-standard-8 17:54:08 INFO: Archiving Costs [Pipeline] sh 17:54:09 + cat /w/workspace/undry_device-onvif-camera_PR-210/archives/cost.csv 17:54:09 + cut -d, -f6 [Pipeline] lock 17:54:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] 17:54:09 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] did not exist. Created. 17:54:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:54:09 + echo total: 0.2199999988079071 [Pipeline] stash 17:54:09 Stashed 1 file(s) [Pipeline] } 17:54:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:54:09 $ docker stop --time=1 5ac82d2bf985a4ac83766d50f96e747209fe4470299a460b2f06fab917e15456 17:54:10 $ docker rm -f --volumes 5ac82d2bf985a4ac83766d50f96e747209fe4470299a460b2f06fab917e15456 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:54:29 Removing intermediate container b739789ff43c 17:54:29 ---> f53dba76b175 17:54:29 Step 12/13 : COPY . . 17:54:29 ---> 57b40ba9b5ab 17:54:29 Step 13/13 : RUN ${MAKE} 17:54:29 ---> Running in 1302110b21cf 17:54:30 noop 17:54:31 Removing intermediate container 1302110b21cf 17:54:31 ---> ee3f990800ba 17:54:31 Successfully built ee3f990800ba 17:54:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:31 + docker inspect -f . ci-base-image-arm64 17:54:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:31 prd-ubuntu20.04-docker-arm64-4c-16g-1899 does not seem to be running inside a container 17:54:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:54:33 $ docker top a31a550ed0144c71f08fd606931d58aa864e86cbf801ec64701e867a613a5f46 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:33 + go version 17:54:33 go version go1.18.7 linux/arm64 [Pipeline] } 17:54:33 $ docker stop --time=1 a31a550ed0144c71f08fd606931d58aa864e86cbf801ec64701e867a613a5f46 17:54:35 $ docker rm -f --volumes a31a550ed0144c71f08fd606931d58aa864e86cbf801ec64701e867a613a5f46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:36 + docker inspect -f . ci-base-image-arm64 17:54:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:36 prd-ubuntu20.04-docker-arm64-4c-16g-1899 does not seem to be running inside a container 17:54:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:54:37 $ docker top 8749c91c8dd4b9ca9dea5f1c32a07cfbae67b6108187ab77680d6144081b7c4e -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:38 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 17:54:39 + make test 17:54:39 go test ./... -coverprofile=coverage.out ./... 17:54:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:56:33 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:56:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.206s coverage: 29.3% of statements 17:56:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:56:48 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.597s coverage: 86.5% of statements 17:56:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:56:48 go vet ./... 17:57:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:57:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:57:27 ./bin/test-attribution-txt.sh [Pipeline] echo 17:57:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:57:27 $ docker stop --time=1 8749c91c8dd4b9ca9dea5f1c32a07cfbae67b6108187ab77680d6144081b7c4e 17:57:29 $ docker rm -f --volumes 8749c91c8dd4b9ca9dea5f1c32a07cfbae67b6108187ab77680d6144081b7c4e [Pipeline] // withDockerContainer [Pipeline] sh 17:57:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:57:30 Warning: overwriting stash ‘coverage-report’ 17:57:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:57:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:57:32 + ls -al . 17:57:32 total 244 17:57:32 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 17:54 . 17:57:32 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:52 .. 17:57:32 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 17:52 .git 17:57:32 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:52 .github 17:57:32 -rw-rw-r-- 1 jenkins jenkins 496 Jan 11 17:52 .gitignore 17:57:32 -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 17:52 .golangci.yml 17:57:32 -rw-rw-r-- 1 jenkins jenkins 9638 Jan 11 17:52 Attribution.txt 17:57:32 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 11 17:52 CHANGELOG.md 17:57:32 -rw-rw-r-- 1 jenkins jenkins 1574 Jan 11 17:52 Dockerfile 17:57:32 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 17:52 GOVERNANCE.md 17:57:32 -rw-rw-r-- 1 jenkins jenkins 734 Jan 11 17:52 Jenkinsfile 17:57:32 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 11 17:52 LICENSE 17:57:32 -rw-rw-r-- 1 jenkins jenkins 2577 Jan 11 17:52 Makefile 17:57:32 -rw-rw-r-- 1 jenkins jenkins 625 Jan 11 17:52 OWNERS.md 17:57:32 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 11 17:52 README.md 17:57:32 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 17:52 VERSION 17:57:32 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:52 bin 17:57:32 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:52 cmd 17:57:32 -rw-r--r-- 1 jenkins jenkins 79184 Jan 11 17:56 coverage.out 17:57:32 drwxrwxr-x 6 jenkins jenkins 4096 Jan 11 17:52 doc 17:57:32 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 11 17:52 go.mod 17:57:32 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 11 17:52 go.sum 17:57:32 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:52 internal 17:57:32 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:52 snap 17:57:32 -rw-rw-r-- 1 jenkins jenkins 236 Jan 11 17:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:32 + 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=02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d --label arch=arm64 --label version=0.0.0 . 17:57:33 Sending build context to Docker daemon 20.63MB 17:57:33 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:57:33 Step 2/26 : FROM ${BASE} AS builder 17:57:33 ---> ee3f990800ba 17:57:33 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:57:33 ---> Running in d2be8ef4a3de 17:57:34 Removing intermediate container d2be8ef4a3de 17:57:34 ---> 590b789648fc 17:57:34 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:57:34 ---> Running in 328ed05cc1c5 17:57:34 Removing intermediate container 328ed05cc1c5 17:57:34 ---> c84e8fa80989 17:57:34 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:57:34 ---> Running in 551310ddafd6 17:57:35 Removing intermediate container 551310ddafd6 17:57:35 ---> 0b3d44ae3e49 17:57:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:57:35 ---> Running in 0113a9d3c48f 17:57:35 Removing intermediate container 0113a9d3c48f 17:57:35 ---> 896dc27a5851 17:57:35 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:57:35 ---> Running in cc47c6790c79 17:57:35 Removing intermediate container cc47c6790c79 17:57:35 ---> ce64533ecb67 17:57:35 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:57:35 ---> Running in 842ce5ed83d1 17:57:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:57:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:57:40 OK: 221 MiB in 51 packages 17:57:41 Removing intermediate container 842ce5ed83d1 17:57:41 ---> 59c780aa2a97 17:57:41 Step 9/26 : WORKDIR /device-onvif-camera 17:57:41 ---> Running in 3cd088817e31 17:57:42 Removing intermediate container 3cd088817e31 17:57:42 ---> 91d31cfe0230 17:57:42 Step 10/26 : COPY go.mod vendor* ./ 17:57:43 ---> ad94a7e6eb6a 17:57:43 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:43 ---> Running in 286b0c3f39cd 17:57:48 Removing intermediate container 286b0c3f39cd 17:57:48 ---> c04a68c91432 17:57:48 Step 12/26 : COPY . . 17:57:52 ---> d4357b421e89 17:57:52 Step 13/26 : RUN ${MAKE} 17:57:52 ---> Running in dae23911cdac 17:57:53 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 18:00:30 Removing intermediate container dae23911cdac 18:00:30 ---> 1cc759389211 18:00:30 Step 14/26 : FROM alpine:3.16 18:00:30 3.16: Pulling from library/alpine 18:00:30 6875df1f5354: Pulling fs layer 18:00:30 6875df1f5354: Verifying Checksum 18:00:30 6875df1f5354: Pull complete 18:00:30 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:00:30 Status: Downloaded newer image for alpine:3.16 18:00:30 ---> 2b4661558fb8 18:00:30 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:00:30 ---> Running in c186c614e6ed 18:00:30 Removing intermediate container c186c614e6ed 18:00:30 ---> a6b81d8b7f82 18:00:30 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:00:30 ---> Running in 0038ca636059 18:00:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:00:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:00:30 (1/1) Installing dumb-init (1.2.5-r1) 18:00:30 Executing busybox-1.35.0-r17.trigger 18:00:30 OK: 5 MiB in 15 packages 18:00:30 Removing intermediate container 0038ca636059 18:00:30 ---> f0fe3b5991ab 18:00:30 Step 17/26 : WORKDIR / 18:00:30 ---> Running in 7f6730a6d496 18:00:30 Removing intermediate container 7f6730a6d496 18:00:30 ---> db9b4dea5b35 18:00:30 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:00:30 ---> 43ceaf773954 18:00:30 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:00:30 ---> 03047afcbfa6 18:00:30 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:00:30 ---> 4e3333346b89 18:00:30 Step 21/26 : EXPOSE 59984 18:00:30 ---> Running in 59abe4902701 18:00:30 Removing intermediate container 59abe4902701 18:00:30 ---> 1619c7f0ae89 18:00:30 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:00:30 ---> Running in 722265c79d47 18:00:30 Removing intermediate container 722265c79d47 18:00:30 ---> 2b0d8c4ef36d 18:00:30 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:00:30 ---> Running in b8b37a1d9638 18:00:30 Removing intermediate container b8b37a1d9638 18:00:30 ---> 487e1368648c 18:00:30 Step 24/26 : LABEL arch=arm64 18:00:30 ---> Running in 04879b17b7dc 18:00:30 Removing intermediate container 04879b17b7dc 18:00:30 ---> e7b004b2dd18 18:00:30 Step 25/26 : LABEL git_sha=02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d 18:00:30 ---> Running in 0641fe37b0ca 18:00:30 Removing intermediate container 0641fe37b0ca 18:00:30 ---> 1f2cecfa7416 18:00:30 Step 26/26 : LABEL version=0.0.0 18:00:30 ---> Running in 2fe9942e8d98 18:00:30 Removing intermediate container 2fe9942e8d98 18:00:30 ---> 3997ca5dd66a 18:00:30 [Warning] One or more build-args [ARCH] were not consumed 18:00:30 Successfully built 3997ca5dd66a 18:00:30 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 18:00:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:00:31 18:00:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:00:31 arm64: Pulling from edgex-lftools-log-publisher 18:00:31 8998bd30e6a1: Pulling fs layer 18:00:31 04944245beec: Pulling fs layer 18:00:31 699f458cf7ca: Pulling fs layer 18:00:31 765212b225bb: Pulling fs layer 18:00:31 f23df028b6ca: Pulling fs layer 18:00:31 d65c8cfc05b1: Pulling fs layer 18:00:31 2437ff75d9bd: Pulling fs layer 18:00:31 f23df028b6ca: Waiting 18:00:31 d65c8cfc05b1: Waiting 18:00:31 2437ff75d9bd: Waiting 18:00:31 765212b225bb: Waiting 18:00:31 04944245beec: Verifying Checksum 18:00:31 04944245beec: Download complete 18:00:31 765212b225bb: Verifying Checksum 18:00:31 765212b225bb: Download complete 18:00:31 f23df028b6ca: Verifying Checksum 18:00:31 f23df028b6ca: Download complete 18:00:31 d65c8cfc05b1: Verifying Checksum 18:00:31 d65c8cfc05b1: Download complete 18:00:31 699f458cf7ca: Verifying Checksum 18:00:31 699f458cf7ca: Download complete 18:00:32 8998bd30e6a1: Verifying Checksum 18:00:32 8998bd30e6a1: Download complete 18:00:34 2437ff75d9bd: Download complete 18:00:36 8998bd30e6a1: Pull complete 18:00:36 04944245beec: Pull complete 18:00:37 699f458cf7ca: Pull complete 18:00:38 765212b225bb: Pull complete 18:00:38 f23df028b6ca: Pull complete 18:00:38 d65c8cfc05b1: Pull complete 18:00:53 2437ff75d9bd: Pull complete 18:00:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:00:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:00:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:00:54 prd-ubuntu20.04-docker-arm64-4c-16g-1899 does not seem to be running inside a container 18:00:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:00:56 $ docker top 2084ceeb88968f6c97138988436226b6868283347a09812a459eb7e37293f524 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:00:57 ---> job-cost.sh 18:00:57 lf-activate-venv: SKIPPING 18:00:57 INFO: No Stack... 18:00:58 INFO: Retrieving Pricing Info for: v3-standard-4 18:00:58 INFO: Archiving Costs [Pipeline] sh 18:00:59 + + catcut /w/workspace/device-onvif-camera/2/archives/cost.csv -d, 18:00:59 -f6 [Pipeline] lock 18:00:59 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] 18:00:59 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] did not exist. Created. 18:00:59 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:01:00 /w/workspace/device-onvif-camera/2@tmp/durable-f30dbd45/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:01:00 + echo total: 0.10999999940395355 [Pipeline] stash 18:01:00 Warning: overwriting stash ‘stack-cost’ 18:01:01 Stashed 1 file(s) [Pipeline] } 18:01:01 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-210-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:01:01 $ docker stop --time=1 2084ceeb88968f6c97138988436226b6868283347a09812a459eb7e37293f524 18:01:02 $ docker rm -f --volumes 2084ceeb88968f6c97138988436226b6868283347a09812a459eb7e37293f524 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:01:02 provisioning config files... 18:01:02 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-210@tmp/config5078212475019018086tmp [Pipeline] { [Pipeline] sh 18:01:03 + set +x 18:01:03 + curl -s https://codecov.io/bash 18:01:03 + bash -s -- 18:01:03 18:01:03 _____ _ 18:01:03 / ____| | | 18:01:03 | | ___ __| | ___ ___ _____ __ 18:01:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:01:03 | |___| (_) | (_| | __/ (_| (_) \ V / 18:01:03 \_____\___/ \__,_|\___|\___\___/ \_/ 18:01:03 Bash-1.0.6 18:01:03 18:01:03 18:01:03 ==> git version 2.25.1 found 18:01:03 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:01:03 Release-Date: 2020-01-08 18:01:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:01:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:01:03 ==> Jenkins CI detected. 18:01:03 current dir:  /w/workspace/undry_device-onvif-camera_PR-210 18:01:03 project root: . 18:01:03 --> token set from env 18:01:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:01:03 ==> Running gcov in . (disable via -X gcov) 18:01:03 ==> Python coveragepy not found 18:01:03 ==> Searching for coverage reports in: 18:01:03 + . 18:01:03 -> Found 1 reports 18:01:03 ==> Detecting git/mercurial file structure 18:01:03 ==> Reading reports 18:01:03 + ./coverage.out bytes=79184 18:01:03 ==> Appending adjustments 18:01:03 https://docs.codecov.io/docs/fixing-reports 18:01:03 + Found adjustments 18:01:03 ==> Gzipping contents 18:01:03 12K /tmp/codecov.16yvv7.gz 18:01:03 ==> Uploading reports 18:01:03 url: https://codecov.io 18:01:03 query: branch=PR-210&commit=02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-210%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=210&job=&cmd_args= 18:01:03 -> Pinging Codecov 18:01:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-210&commit=02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-210%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=210&job=&cmd_args= 18:01:04 -> Uploading to 18:01:04 https://storage.googleapis.com/codecov/v4/raw/2023-01-11/F29A59C45E3A92E06B3E522C9905F8EF/02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d/e405d958-9572-4164-8d14-d038adf1f7bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T180104Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1c88b03f84b26246439e646805ca197e76e91e5343a39cc97602b7744838eba 18:01:04 % Total % Received % Xferd Average Speed Time Time Time Current 18:01:04 Dload Upload Total Spent Left Speed 18:01:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10874 0 0 100 10874 0 53303 --:--:-- --:--:-- --:--:-- 53303 100 10874 0 0 100 10874 0 48981 --:--:-- --:--:-- --:--:-- 48762 18:01:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/02bb8f7b183f5359fe16ee2a2c381e75f7bd2f2d [Pipeline] } 18:01:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:01:05 + [ -d /w/workspace/undry_device-onvif-camera_PR-210/archives ] 18:01:05 + ls -al /w/workspace/undry_device-onvif-camera_PR-210/archives 18:01:05 total 16 18:01:05 drwxr-xr-x 3 root root 4096 Jan 11 17:54 . 18:01:05 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 17:54 .. 18:01:05 drwxr-xr-x 2 root root 4096 Jan 11 17:54 cost 18:01:05 -rw-r--r-- 1 root root 91 Jan 11 17:54 cost.csv 18:01:05 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-210/archives 18:01:05 + ls -al /w/workspace/undry_device-onvif-camera_PR-210/archives 18:01:05 total 16 18:01:05 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 17:54 . 18:01:05 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 17:54 .. 18:01:05 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 17:54 cost 18:01:05 -rw-r--r-- 1 jenkins jenkins 91 Jan 11 17:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:01:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:01:06 ---> package-listing.sh 18:01:06 ++ facter osfamily 18:01:06 ++ tr '[:upper:]' '[:lower:]' 18:01:06 + OS_FAMILY=debian 18:01:06 + workspace=/w/workspace/undry_device-onvif-camera_PR-210 18:01:06 + START_PACKAGES=/tmp/packages_start.txt 18:01:06 + END_PACKAGES=/tmp/packages_end.txt 18:01:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:01:06 + PACKAGES=/tmp/packages_start.txt 18:01:06 + '[' /w/workspace/undry_device-onvif-camera_PR-210 ']' 18:01:06 + PACKAGES=/tmp/packages_end.txt 18:01:06 + case "${OS_FAMILY}" in 18:01:06 + dpkg -l 18:01:06 + grep '^ii' 18:01:06 + '[' -f /tmp/packages_start.txt ']' 18:01:06 + '[' -f /tmp/packages_end.txt ']' 18:01:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:01:06 + '[' /w/workspace/undry_device-onvif-camera_PR-210 ']' 18:01:06 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-210/archives/ 18:01:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-210/archives/ [Pipeline] echo 18:01:06 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-210/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:01:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:01:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:07 prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container 18:01:07 $ 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-210/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-210 -v /w/workspace/undry_device-onvif-camera_PR-210:/w/workspace/undry_device-onvif-camera_PR-210:rw,z -v /w/workspace/undry_device-onvif-camera_PR-210@tmp:/w/workspace/undry_device-onvif-camera_PR-210@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 18:01:07 $ docker top 131e8e5da35efd79ccf0c2ee7be84af8457098b2559222c8751affe7c316f3e5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:01:08 + touch /tmp/pre-build-complete [Pipeline] sh 18:01:08 + mkdir -p /var/log/sysstat [Pipeline] sh 18:01:08 + ls /var/log/sa-host 18:01:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:01:08 provisioning config files... 18:01:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-210@tmp/config16447340033058227759tmp [Pipeline] { [Pipeline] echo 18:01:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:01:09 ---> create-netrc.sh [Pipeline] } 18:01:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:01:09 ---> python-tools-install.sh [Pipeline] echo 18:01:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:01:09 ---> sudo-logs.sh 18:01:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:01:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:01:10 ---> job-cost.sh 18:01:10 lf-activate-venv: SKIPPING 18:01:10 DEBUG: total: 0.2199999988079071 18:01:10 INFO: Retrieving Stack Cost... 18:01:10 INFO: Retrieving Pricing Info for: v3-standard-8 18:01:11 INFO: Archiving Costs [Pipeline] echo 18:01:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:01:11 ---> logs-deploy.sh 18:01:11 lf-activate-venv: SKIPPING 18:01:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-210/2 18:01:11 INFO: archiving workspace using pattern(s): 18:01:12 Archives upload complete. 18:01:12 INFO: archiving logs to Nexus