Push event to branch remove-pw Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from df6b698de6faf1f1aed8830cb65339a32e880587 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-ssh11309851381697780851.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-ssh8800544218797795670.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/remove-pw/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/remove-pw/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1971691097832009366.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/remove-pw/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9523156528736666335.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12531196672594604314.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/remove-pw/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/remove-pw/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15800555112084647021.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-7428’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-7429’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7638’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7639 in /w/workspace/ry_device-onvif-camera_remove-pw [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/ry_device-onvif-camera_remove-pw # 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 Avoid second fetch Checking out Revision df6b698de6faf1f1aed8830cb65339a32e880587 (remove-pw) Commit message: "Initial code to remove provision watchers" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > 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 core.sparsecheckout # timeout=10 > git checkout -f df6b698de6faf1f1aed8830cb65339a32e880587 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:00:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:00:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:00:26 ========================================================= 20:00:26 EdgeX Global Pipelines Version Info 20:00:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:00:27 ------------------- 20:00:27 stable info: 20:00:27 ------------------- 20:00:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:00:27 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:00:27 Message: update stable to v1.0.244 20:00:27 ------------------- 20:00:27 experimental info: 20:00:27 ------------------- 20:00:27 Commited By: **** collab-it+edgex@linuxfoundation.org 20:00:27 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:00:27 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:00:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 20:00:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:00:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:00:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:00:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:00:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:00:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = remove-pw [Pipeline] echo 20:00:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = remove-pw [Pipeline] echo 20:00:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = remove-pw [Pipeline] echo 20:00:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df6b698de6faf1f1aed8830cb65339a32e880587 [Pipeline] echo 20:00:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df6b698 [Pipeline] echo 20:00:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:00:29 provisioning config files... 20:00:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/ry_device-onvif-camera_remove-pw@tmp/config11331663508928438091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:00:29 ---> docker-login.sh 20:00:29 nexus3.edgexfoundry.org:10001 20:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:30 Configure a credential helper to remove this warning. See 20:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:30 20:00:30 Login Succeeded 20:00:30 nexus3.edgexfoundry.org:10002 20:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:30 Configure a credential helper to remove this warning. See 20:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:30 20:00:30 Login Succeeded 20:00:30 nexus3.edgexfoundry.org:10003 20:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:30 Configure a credential helper to remove this warning. See 20:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:30 20:00:30 Login Succeeded 20:00:30 nexus3.edgexfoundry.org:10004 20:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:30 Configure a credential helper to remove this warning. See 20:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:30 20:00:30 Login Succeeded 20:00:30 docker.io 20:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:30 Configure a credential helper to remove this warning. See 20:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:30 20:00:30 Login Succeeded 20:00:30 ---> docker-login.sh ends [Pipeline] } 20:00:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:00:31 + git rev-list -1 --merges df6b698de6faf1f1aed8830cb65339a32e880587~1..df6b698de6faf1f1aed8830cb65339a32e880587 [Pipeline] echo 20:00:31 -----------> git rev-list -1 --merges df6b698de6faf1f1aed8830cb65339a32e880587~1..df6b698de6faf1f1aed8830cb65339a32e880587 df6b698de6faf1f1aed8830cb65339a32e880587 [false] [Pipeline] sh 20:00:31 + git log --format=format:%s -1 df6b698de6faf1f1aed8830cb65339a32e880587 [Pipeline] echo 20:00:31 ========================================================= 20:00:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:00:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:00:32 + git log --format=format:%s -1 df6b698de6faf1f1aed8830cb65339a32e880587 [Pipeline] echo 20:00:32 [semverPrep] GIT_COMMIT: df6b698de6faf1f1aed8830cb65339a32e880587, Commit Message: Initial code to remove provision watchers [Pipeline] echo 20:00:32 [semverPrep] This is not a build commit. [Pipeline] sh 20:00:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:00:32 + grep -v github /etc/ssh/ssh_known_hosts 20:00:32 + [ -e /tmp/ssh_known_hosts ] 20:00:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:00:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:00:32 + sudo tee -a /etc/ssh/ssh_known_hosts 20:00:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:00:33 20:00:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:00:33 0.1.4: Pulling from edgex-devops/py-git-semver 20:00:33 b85a868b505f: Pulling fs layer 20:00:33 e2be974225ed: Pulling fs layer 20:00:33 339a4e72a1f5: Pulling fs layer 20:00:33 988bab9f4d93: Pulling fs layer 20:00:33 1469e6f7b9e6: Pulling fs layer 20:00:33 eaf3925da568: Pulling fs layer 20:00:33 bab4dde63d76: Pulling fs layer 20:00:33 bde34c3a00c8: Pulling fs layer 20:00:33 b352a97aabf1: Pulling fs layer 20:00:33 4872d77fe225: Pulling fs layer 20:00:33 5851b861e8e6: Pulling fs layer 20:00:33 eaf3925da568: Waiting 20:00:33 988bab9f4d93: Waiting 20:00:33 bab4dde63d76: Waiting 20:00:33 bde34c3a00c8: Waiting 20:00:33 b352a97aabf1: Waiting 20:00:33 1469e6f7b9e6: Waiting 20:00:33 4872d77fe225: Waiting 20:00:33 5851b861e8e6: Waiting 20:00:33 e2be974225ed: Download complete 20:00:33 988bab9f4d93: Verifying Checksum 20:00:33 988bab9f4d93: Download complete 20:00:33 1469e6f7b9e6: Verifying Checksum 20:00:33 1469e6f7b9e6: Download complete 20:00:33 339a4e72a1f5: Verifying Checksum 20:00:33 339a4e72a1f5: Download complete 20:00:33 eaf3925da568: Verifying Checksum 20:00:33 eaf3925da568: Download complete 20:00:33 bde34c3a00c8: Verifying Checksum 20:00:33 bde34c3a00c8: Download complete 20:00:33 b352a97aabf1: Verifying Checksum 20:00:33 b352a97aabf1: Download complete 20:00:33 4872d77fe225: Download complete 20:00:33 5851b861e8e6: Download complete 20:00:33 b85a868b505f: Verifying Checksum 20:00:33 b85a868b505f: Download complete 20:00:34 bab4dde63d76: Verifying Checksum 20:00:34 bab4dde63d76: Download complete 20:00:35 b85a868b505f: Pull complete 20:00:35 e2be974225ed: Pull complete 20:00:35 339a4e72a1f5: Pull complete 20:00:35 988bab9f4d93: Pull complete 20:00:36 1469e6f7b9e6: Pull complete 20:00:36 eaf3925da568: Pull complete 20:00:38 bab4dde63d76: Pull complete 20:00:38 bde34c3a00c8: Pull complete 20:00:38 b352a97aabf1: Pull complete 20:00:38 4872d77fe225: Pull complete 20:00:38 5851b861e8e6: Pull complete 20:00:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:00:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:00:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:38 prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container 20:00:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_device-onvif-camera_remove-pw -v /w/workspace/ry_device-onvif-camera_remove-pw:/w/workspace/ry_device-onvif-camera_remove-pw:rw,z -v /w/workspace/ry_device-onvif-camera_remove-pw@tmp:/w/workspace/ry_device-onvif-camera_remove-pw@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:00:40 $ docker top e50e998d92da269cca2da53fd2bb986b182df6e0ba0f17cd8afe7c09736f351e -eo pid,comm 20:00:40 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). 20:00:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:00:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:00:41 [ssh-agent] Looking for ssh-agent implementation... 20:00:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:00:41 $ docker exec e50e998d92da269cca2da53fd2bb986b182df6e0ba0f17cd8afe7c09736f351e ssh-agent 20:00:41 SSH_AUTH_SOCK=/tmp/ssh-Rn3otq6NBRjW/agent.32 20:00:41 SSH_AGENT_PID=38 20:00:41 Running ssh-add (command line suppressed) 20:00:41 Identity added: /w/workspace/ry_device-onvif-camera_remove-pw@tmp/private_key_12279989397186051102.key (/w/workspace/ry_device-onvif-camera_remove-pw@tmp/private_key_12279989397186051102.key) 20:00:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:00:41 + git tag --points-at HEAD [Pipeline] } 20:00:41 $ docker exec --env ******** --env ******** e50e998d92da269cca2da53fd2bb986b182df6e0ba0f17cd8afe7c09736f351e ssh-agent -k 20:00:41 unset SSH_AUTH_SOCK; 20:00:41 unset SSH_AGENT_PID; 20:00:41 echo Agent pid 38 killed; 20:00:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:00:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:00:41 [ssh-agent] Looking for ssh-agent implementation... 20:00:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:00:42 $ docker exec e50e998d92da269cca2da53fd2bb986b182df6e0ba0f17cd8afe7c09736f351e ssh-agent 20:00:42 SSH_AUTH_SOCK=/tmp/ssh-rDSvvKNcZBuI/agent.70 20:00:42 SSH_AGENT_PID=76 20:00:42 Running ssh-add (command line suppressed) 20:00:42 Identity added: /w/workspace/ry_device-onvif-camera_remove-pw@tmp/private_key_8614836284594743501.key (/w/workspace/ry_device-onvif-camera_remove-pw@tmp/private_key_8614836284594743501.key) 20:00:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:00:42 + git semver init 20:00:42 2023-02-27 20:00:42,795 [run_init] DEBUG init version:0.0.0 force:False 20:00:42 2023-02-27 20:00:42,796 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_device-onvif-camera_remove-pw/.semver 20:00:42 2023-02-27 20:00:42,797 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/ry_device-onvif-camera_remove-pw/.semver 20:00:42 2023-02-27 20:00:42,798 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/ry_device-onvif-camera_remove-pw/.semver'], cwd=/w/workspace/ry_device-onvif-camera_remove-pw, universal_newlines=False, shell=None, istream=None) 20:00:44 2023-02-27 20:00:43,823 [append_file] DEBUG append to file:/w/workspace/ry_device-onvif-camera_remove-pw/.git/info/exclude 20:00:44 2023-02-27 20:00:43,824 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_device-onvif-camera_remove-pw/.semver/remove-pw with force:False 20:00:44 2023-02-27 20:00:43,824 [write_file] DEBUG write to file:/w/workspace/ry_device-onvif-camera_remove-pw/.semver/remove-pw 20:00:44 2023-02-27 20:00:43,829 [execute] INFO git cat-file --batch-check 20:00:44 2023-02-27 20:00:43,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_device-onvif-camera_remove-pw/.semver, universal_newlines=False, shell=None, istream=) 20:00:44 2023-02-27 20:00:43,836 [execute] INFO git cat-file --batch 20:00:44 2023-02-27 20:00:43,836 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_device-onvif-camera_remove-pw/.semver, universal_newlines=False, shell=None, istream=) 20:00:44 2023-02-27 20:00:43,842 [read_version] DEBUG read version from /w/workspace/ry_device-onvif-camera_remove-pw/.semver/remove-pw 20:00:44 0.0.0 [Pipeline] } 20:00:44 $ docker exec --env ******** --env ******** e50e998d92da269cca2da53fd2bb986b182df6e0ba0f17cd8afe7c09736f351e ssh-agent -k 20:00:44 unset SSH_AUTH_SOCK; 20:00:44 unset SSH_AGENT_PID; 20:00:44 echo Agent pid 76 killed; 20:00:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:00:44 + git semver [Pipeline] } 20:00:45 $ docker stop --time=1 e50e998d92da269cca2da53fd2bb986b182df6e0ba0f17cd8afe7c09736f351e 20:00:46 $ docker rm -f --volumes e50e998d92da269cca2da53fd2bb986b182df6e0ba0f17cd8afe7c09736f351e [Pipeline] // withDockerContainer [Pipeline] sh 20:00:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:00:47 Stashed 1 file(s) [Pipeline] echo 20:00:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:00:47 provisioning config files... 20:00:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/ry_device-onvif-camera_remove-pw@tmp/config1595406803502953016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:00:48 ---> docker-login.sh 20:00:48 nexus3.edgexfoundry.org:10001 20:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:48 Configure a credential helper to remove this warning. See 20:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:48 20:00:48 Login Succeeded 20:00:48 nexus3.edgexfoundry.org:10002 20:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:48 Configure a credential helper to remove this warning. See 20:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:48 20:00:48 Login Succeeded 20:00:48 nexus3.edgexfoundry.org:10003 20:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:48 Configure a credential helper to remove this warning. See 20:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:48 20:00:48 Login Succeeded 20:00:48 nexus3.edgexfoundry.org:10004 20:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:48 Configure a credential helper to remove this warning. See 20:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:48 20:00:48 Login Succeeded 20:00:48 docker.io 20:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:48 Configure a credential helper to remove this warning. See 20:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:48 20:00:48 Login Succeeded 20:00:48 ---> docker-login.sh ends [Pipeline] } 20:00:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:00:48 [edgeX.isLTS] Checking if [remove-pw] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:00:48 [edgeX.isLTS] Checking if [remove-pw] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:00:48 ========================================================= 20:00:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:00:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:00:49 Sending build context to Docker daemon 27.76MB 20:00:49 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:00:49 Step 2/13 : FROM ${BASE} AS builder 20:00:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:00:49 213ec9aee27d: Pulling fs layer 20:00:49 4583459ba037: Pulling fs layer 20:00:49 93c1e223e6f2: Pulling fs layer 20:00:49 53926ce57604: Pulling fs layer 20:00:49 21b2b0c7a3f4: Pulling fs layer 20:00:49 22ff95d597cd: Pulling fs layer 20:00:49 12d6caf4c0d1: Pulling fs layer 20:00:49 96b7cbca73a9: Pulling fs layer 20:00:49 a7acece74701: Pulling fs layer 20:00:49 21b2b0c7a3f4: Waiting 20:00:49 22ff95d597cd: Waiting 20:00:49 12d6caf4c0d1: Waiting 20:00:49 96b7cbca73a9: Waiting 20:00:49 a7acece74701: Waiting 20:00:49 53926ce57604: Waiting 20:00:49 93c1e223e6f2: Verifying Checksum 20:00:49 93c1e223e6f2: Download complete 20:00:49 4583459ba037: Download complete 20:00:49 21b2b0c7a3f4: Download complete 20:00:49 22ff95d597cd: Verifying Checksum 20:00:49 22ff95d597cd: Download complete 20:00:49 213ec9aee27d: Verifying Checksum 20:00:49 213ec9aee27d: Download complete 20:00:49 12d6caf4c0d1: Download complete 20:00:49 213ec9aee27d: Pull complete 20:00:49 4583459ba037: Pull complete 20:00:49 93c1e223e6f2: Pull complete 20:00:50 a7acece74701: Verifying Checksum 20:00:50 a7acece74701: Download complete 20:00:50 96b7cbca73a9: Verifying Checksum 20:00:50 96b7cbca73a9: Download complete 20:00:50 53926ce57604: Verifying Checksum 20:00:50 53926ce57604: Download complete 20:00:54 53926ce57604: Pull complete 20:00:54 21b2b0c7a3f4: Pull complete 20:00:54 22ff95d597cd: Pull complete 20:00:54 12d6caf4c0d1: Pull complete 20:00:56 96b7cbca73a9: Pull complete 20:00:57 a7acece74701: Pull complete 20:00:57 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:00:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:00:57 ---> db6d94c90886 20:00:57 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:01:02 Still waiting to schedule task 20:01:02 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7640’ is offline 20:01:02 ---> Running in 4ad20959fafd 20:01:02 Removing intermediate container 4ad20959fafd 20:01:02 ---> e4e749250352 20:01:02 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:01:02 ---> Running in 6ed5996503f9 20:01:02 Removing intermediate container 6ed5996503f9 20:01:02 ---> 81d7c594e49e 20:01:02 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 20:01:02 ---> Running in 2064aea8861c 20:01:02 Removing intermediate container 2064aea8861c 20:01:02 ---> d586e2bb4c8c 20:01:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:01:02 ---> Running in 9725b8461fca 20:01:02 Removing intermediate container 9725b8461fca 20:01:02 ---> 4a0ac5d35b51 20:01:02 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:01:02 ---> Running in 084601769c6e 20:01:02 Removing intermediate container 084601769c6e 20:01:02 ---> 8d6ccc07115e 20:01:02 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:01:02 ---> Running in 7705c32669aa 20:01:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:01:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:01:03 OK: 211 MiB in 51 packages 20:01:03 Removing intermediate container 7705c32669aa 20:01:03 ---> ca85d16c9330 20:01:03 Step 9/13 : WORKDIR /device-onvif-camera 20:01:03 ---> Running in eb102aaafc04 20:01:03 Removing intermediate container eb102aaafc04 20:01:03 ---> 7637fb047fd7 20:01:03 Step 10/13 : COPY go.mod vendor* ./ 20:01:03 ---> 678e2d37d559 20:01:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:01:03 ---> Running in 905d9891f192 20:01:30 Removing intermediate container 905d9891f192 20:01:30 ---> 24b2496e3519 20:01:30 Step 12/13 : COPY . . 20:01:30 ---> f999509e1213 20:01:30 Step 13/13 : RUN ${MAKE} 20:01:30 ---> Running in 2823fab9a5b7 20:01:30 noop 20:01:30 Removing intermediate container 2823fab9a5b7 20:01:30 ---> 8e17da98bef4 20:01:30 Successfully built 8e17da98bef4 20:01:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:01:30 + docker inspect -f . ci-base-image-x86_64 20:01:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:01:30 prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container 20:01:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_device-onvif-camera_remove-pw -v /w/workspace/ry_device-onvif-camera_remove-pw:/w/workspace/ry_device-onvif-camera_remove-pw:rw,z -v /w/workspace/ry_device-onvif-camera_remove-pw@tmp:/w/workspace/ry_device-onvif-camera_remove-pw@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:01:31 $ docker top 5bb56e6c6d133df39697468043049444d19d4e06a57d574afe82157624a9a9c8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:01:31 + go version 20:01:31 go version go1.18.7 linux/amd64 [Pipeline] } 20:01:31 $ docker stop --time=1 5bb56e6c6d133df39697468043049444d19d4e06a57d574afe82157624a9a9c8 20:01:32 $ docker rm -f --volumes 5bb56e6c6d133df39697468043049444d19d4e06a57d574afe82157624a9a9c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:01:33 + docker inspect -f . ci-base-image-x86_64 20:01:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:01:33 prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container 20:01:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/ry_device-onvif-camera_remove-pw -v /w/workspace/ry_device-onvif-camera_remove-pw:/w/workspace/ry_device-onvif-camera_remove-pw:rw,z -v /w/workspace/ry_device-onvif-camera_remove-pw@tmp:/w/workspace/ry_device-onvif-camera_remove-pw@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:01:34 $ docker top c4a7322df3ae4768479248a1844d9cdcb0b064f8fcf4786dea1327e5f35b533b -eo pid,comm [Pipeline] { [Pipeline] sh 20:01:34 + git config --global --add safe.directory /w/workspace/ry_device-onvif-camera_remove-pw [Pipeline] fileExists [Pipeline] sh 20:01:34 + make test 20:01:34 go test ./... -coverprofile=coverage.out ./... 20:01:35 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:01:47 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:01:48 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 29.3% of statements 20:01:48 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:01:48 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.546s coverage: 86.5% of statements 20:01:56 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." 20:01:57 go vet ./... 20:02:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:02:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:02:01 ./bin/test-attribution-txt.sh [Pipeline] echo 20:02:01 [edgeX.isLTS] Checking if [remove-pw] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:02:01 $ docker stop --time=1 c4a7322df3ae4768479248a1844d9cdcb0b064f8fcf4786dea1327e5f35b533b 20:02:03 $ docker rm -f --volumes c4a7322df3ae4768479248a1844d9cdcb0b064f8fcf4786dea1327e5f35b533b [Pipeline] // withDockerContainer [Pipeline] sh 20:02:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:02:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:02:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:02:05 + ls -al . 20:02:05 total 236 20:02:05 drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 20:01 . 20:02:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 20:00 .. 20:02:05 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 20:01 .git 20:02:05 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 20:00 .github 20:02:05 -rw-rw-r-- 1 jenkins jenkins 496 Feb 27 20:00 .gitignore 20:02:05 -rw-rw-r-- 1 jenkins jenkins 42 Feb 27 20:00 .golangci.yml 20:02:05 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 20:00 .semver 20:02:05 -rw-rw-r-- 1 jenkins jenkins 9857 Feb 27 20:00 Attribution.txt 20:02:05 -rw-rw-r-- 1 jenkins jenkins 6312 Feb 27 20:00 CHANGELOG.md 20:02:05 -rw-rw-r-- 1 jenkins jenkins 1574 Feb 27 20:00 Dockerfile 20:02:05 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 20:00 GOVERNANCE.md 20:02:05 -rw-rw-r-- 1 jenkins jenkins 734 Feb 27 20:00 Jenkinsfile 20:02:05 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 27 20:00 LICENSE 20:02:05 -rw-rw-r-- 1 jenkins jenkins 2577 Feb 27 20:00 Makefile 20:02:05 -rw-rw-r-- 1 jenkins jenkins 625 Feb 27 20:00 OWNERS.md 20:02:05 -rw-rw-r-- 1 jenkins jenkins 6595 Feb 27 20:00 README.md 20:02:05 -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 20:00 VERSION 20:02:05 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 20:00 bin 20:02:05 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 20:00 cmd 20:02:05 -rw-r--r-- 1 jenkins jenkins 79184 Feb 27 20:01 coverage.out 20:02:05 drwxrwxr-x 6 jenkins jenkins 4096 Feb 27 20:00 doc 20:02:05 -rw-rw-r-- 1 jenkins jenkins 3600 Feb 27 20:00 go.mod 20:02:05 -rw-rw-r-- 1 jenkins jenkins 34701 Feb 27 20:00 go.sum 20:02:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 20:00 internal 20:02:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 20:00 snap 20:02:05 -rw-rw-r-- 1 jenkins jenkins 236 Feb 27 20:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:05 + 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=df6b698de6faf1f1aed8830cb65339a32e880587 --label arch=amd64 --label version=0.0.0 . 20:02:05 Sending build context to Docker daemon 27.84MB 20:02:05 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:02:05 Step 2/26 : FROM ${BASE} AS builder 20:02:05 ---> 8e17da98bef4 20:02:05 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:02:05 ---> Running in ab71bd3c914b 20:02:06 Removing intermediate container ab71bd3c914b 20:02:06 ---> b0e19c4dc1b4 20:02:06 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:02:06 ---> Running in abea2c3725b1 20:02:06 Removing intermediate container abea2c3725b1 20:02:06 ---> 72468225ddd1 20:02:06 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 20:02:06 ---> Running in ecb89a0347cb 20:02:06 Removing intermediate container ecb89a0347cb 20:02:06 ---> 94d6c9ec3e8b 20:02:06 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:02:06 ---> Running in cf54a2ae522c 20:02:06 Removing intermediate container cf54a2ae522c 20:02:06 ---> d241d5675e5d 20:02:06 Step 7/26 : LABEL Name=edgex-device-onvif-camera 20:02:06 ---> Running in 9a572b1249d0 20:02:06 Removing intermediate container 9a572b1249d0 20:02:06 ---> e7f706b38664 20:02:06 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:02:06 ---> Running in 54f4f1604cb2 20:02:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:02:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:02:07 OK: 211 MiB in 51 packages 20:02:07 Removing intermediate container 54f4f1604cb2 20:02:07 ---> 8f5aa37630ad 20:02:07 Step 9/26 : WORKDIR /device-onvif-camera 20:02:07 ---> Running in 4846e50589a8 20:02:07 Removing intermediate container 4846e50589a8 20:02:07 ---> 1f982abeab56 20:02:07 Step 10/26 : COPY go.mod vendor* ./ 20:02:07 ---> 5fe22993fda3 20:02:07 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:02:07 ---> Running in e2f77247e963 20:02:08 Removing intermediate container e2f77247e963 20:02:08 ---> 6bafd617b1e9 20:02:08 Step 12/26 : COPY . . 20:02:09 ---> 63d4aff254ee 20:02:09 Step 13/26 : RUN ${MAKE} 20:02:09 ---> Running in ffae5519f232 20:02:09 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 20:02:32 Removing intermediate container ffae5519f232 20:02:32 ---> 442bebf7fa5a 20:02:32 Step 14/26 : FROM alpine:3.16 20:02:32 3.16: Pulling from library/alpine 20:02:32 ef5531b6e74e: Pulling fs layer 20:02:32 ef5531b6e74e: Verifying Checksum 20:02:32 ef5531b6e74e: Download complete 20:02:32 ef5531b6e74e: Pull complete 20:02:32 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 20:02:32 Status: Downloaded newer image for alpine:3.16 20:02:32 ---> dfd21b5a31f5 20:02:32 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:02:32 ---> Running in ecafd8fd330d 20:02:32 Removing intermediate container ecafd8fd330d 20:02:32 ---> 17f1d1386577 20:02:32 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:02:32 ---> Running in 3a6b8d8c7596 20:02:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:02:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:02:33 (1/1) Installing dumb-init (1.2.5-r1) 20:02:33 Executing busybox-1.35.0-r17.trigger 20:02:33 OK: 6 MiB in 15 packages 20:02:33 Removing intermediate container 3a6b8d8c7596 20:02:33 ---> 9655043d3d17 20:02:33 Step 17/26 : WORKDIR / 20:02:33 ---> Running in 0d518f3cfe3d 20:02:33 Removing intermediate container 0d518f3cfe3d 20:02:33 ---> cc19ce3a8d14 20:02:33 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:02:34 ---> 21c0b689f100 20:02:34 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:02:34 ---> 924a0955825e 20:02:34 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:02:34 ---> defba0c22348 20:02:34 Step 21/26 : EXPOSE 59984 20:02:34 ---> Running in 063c88dedc01 20:02:34 Removing intermediate container 063c88dedc01 20:02:34 ---> b14c8e9f6ea4 20:02:34 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:02:34 ---> Running in 6641cf6dcf8c 20:02:35 Removing intermediate container 6641cf6dcf8c 20:02:35 ---> 48bb1020f343 20:02:35 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:02:35 ---> Running in 22cc82a15a88 20:02:35 Removing intermediate container 22cc82a15a88 20:02:35 ---> f07a51e9ba36 20:02:35 Step 24/26 : LABEL arch=amd64 20:02:35 ---> Running in df514ae0ecf9 20:02:35 Removing intermediate container df514ae0ecf9 20:02:35 ---> 5b91564bcf3c 20:02:35 Step 25/26 : LABEL git_sha=df6b698de6faf1f1aed8830cb65339a32e880587 20:02:35 ---> Running in 802ba9c1ed46 20:02:35 Removing intermediate container 802ba9c1ed46 20:02:35 ---> 07f734ae0183 20:02:35 Step 26/26 : LABEL version=0.0.0 20:02:35 ---> Running in fc1cf64113e3 20:02:35 Removing intermediate container fc1cf64113e3 20:02:35 ---> 1d67424ccb84 20:02:35 [Warning] One or more build-args [ARCH] were not consumed 20:02:35 Successfully built 1d67424ccb84 20:02:35 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 20:02:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:02:36 20:02:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:02:36 latest: Pulling from edgex-lftools-log-publisher 20:02:36 5eb5b503b376: Pulling fs layer 20:02:36 5c69ac0246d0: Pulling fs layer 20:02:36 ec43610c2a17: Pulling fs layer 20:02:36 3a2ae6a8a46f: Pulling fs layer 20:02:36 33b1e0a273af: Pulling fs layer 20:02:36 5d3b04190fa2: Pulling fs layer 20:02:36 2f39f015ded8: Pulling fs layer 20:02:36 5d3b04190fa2: Waiting 20:02:36 3a2ae6a8a46f: Waiting 20:02:36 2f39f015ded8: Waiting 20:02:36 33b1e0a273af: Waiting 20:02:36 5c69ac0246d0: Download complete 20:02:36 3a2ae6a8a46f: Download complete 20:02:37 33b1e0a273af: Verifying Checksum 20:02:37 33b1e0a273af: Download complete 20:02:37 5d3b04190fa2: Verifying Checksum 20:02:37 5d3b04190fa2: Download complete 20:02:37 ec43610c2a17: Verifying Checksum 20:02:37 ec43610c2a17: Download complete 20:02:37 5eb5b503b376: Verifying Checksum 20:02:37 5eb5b503b376: Download complete 20:02:37 2f39f015ded8: Verifying Checksum 20:02:37 2f39f015ded8: Download complete 20:02:38 5eb5b503b376: Pull complete 20:02:38 5c69ac0246d0: Pull complete 20:02:39 ec43610c2a17: Pull complete 20:02:39 3a2ae6a8a46f: Pull complete 20:02:39 33b1e0a273af: Pull complete 20:02:39 5d3b04190fa2: Pull complete 20:02:44 2f39f015ded8: Pull complete 20:02:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:02:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:02:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:45 prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container 20:02:45 $ 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/ry_device-onvif-camera_remove-pw -v /w/workspace/ry_device-onvif-camera_remove-pw:/w/workspace/ry_device-onvif-camera_remove-pw:rw,z -v /w/workspace/ry_device-onvif-camera_remove-pw@tmp:/w/workspace/ry_device-onvif-camera_remove-pw@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:02:49 $ docker top d1ce435cd8320f07307ae248de95eb9464a395371a8cb891fa88faa3d5e259ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:49 ---> job-cost.sh 20:02:49 lf-activate-venv: SKIPPING 20:02:49 INFO: No Stack... 20:02:49 INFO: Retrieving Pricing Info for: v3-standard-8 20:02:50 INFO: Archiving Costs [Pipeline] sh 20:02:50 + cat /w/workspace/ry_device-onvif-camera_remove-pw/archives/cost.csv 20:02:50 + cut -d, -f6 [Pipeline] lock 20:02:50 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-remove-pw-1-stack-cost] 20:02:50 Resource [jenkins-edgexfoundry-device-onvif-camera-remove-pw-1-stack-cost] did not exist. Created. 20:02:50 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-remove-pw-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:02:51 + echo total: 0.2199999988079071 [Pipeline] stash 20:02:51 Stashed 1 file(s) [Pipeline] } 20:02:51 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-remove-pw-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:02:51 $ docker stop --time=1 d1ce435cd8320f07307ae248de95eb9464a395371a8cb891fa88faa3d5e259ed 20:02:52 $ docker rm -f --volumes d1ce435cd8320f07307ae248de95eb9464a395371a8cb891fa88faa3d5e259ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:03:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7642 in /w/workspace/ry_device-onvif-camera_remove-pw [Pipeline] { [Pipeline] ws 20:03:26 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 20:03:26 The recommended git tool is: git 20:03:36 using credential edgex-jenkins-ssh 20:03:36 Cloning the remote Git repository 20:03:36 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:03:36 > git init /w/workspace/device-onvif-camera/1 # timeout=10 20:03:36 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:03:36 > git --version # timeout=10 20:03:36 > git --version # 'git version 2.25.1' 20:03:36 using GIT_SSH to set credentials SSH Credentials for GitHub 20:03:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:03:38 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:03:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:03:39 Avoid second fetch 20:03:39 Checking out Revision df6b698de6faf1f1aed8830cb65339a32e880587 (remove-pw) 20:03:40 Commit message: "Initial code to remove provision watchers" 20:03:40 > git --version # timeout=10 20:03:40 > git --version # 'git version 2.25.1' 20:03:40 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:03:39 > git config core.sparsecheckout # timeout=10 20:03:39 > git checkout -f df6b698de6faf1f1aed8830cb65339a32e880587 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:03:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:03:51 % Total % Received % Xferd Average Speed Time Time Time Current 20:03:51 Dload Upload Total Spent Left Speed 20:03:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 20:03:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:03:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:03:52 + sudo tee /etc/docker/daemon.new 20:03:52 { 20:03:52 "registry-mirrors": [ 20:03:52 "https://nexus3.edgexfoundry.org:10001" 20:03:52 ], 20:03:52 "bip": "10.250.0.254/24", 20:03:52 "hosts": [ 20:03:52 "tcp://0.0.0.0:5555", 20:03:52 "unix:///var/run/docker.sock" 20:03:52 ], 20:03:52 "mtu": 1458, 20:03:52 "selinux-enabled": true, 20:03:52 "seccomp-profile": "/etc/docker/seccomp.json" 20:03:52 } [Pipeline] sh 20:03:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:03:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:11 provisioning config files... 20:04:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config17406068232114522610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:12 ---> docker-login.sh 20:04:12 nexus3.edgexfoundry.org:10001 20:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:12 Configure a credential helper to remove this warning. See 20:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:12 20:04:12 Login Succeeded 20:04:12 nexus3.edgexfoundry.org:10002 20:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:13 Configure a credential helper to remove this warning. See 20:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:13 20:04:13 Login Succeeded 20:04:13 nexus3.edgexfoundry.org:10003 20:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:13 Configure a credential helper to remove this warning. See 20:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:13 20:04:13 Login Succeeded 20:04:13 nexus3.edgexfoundry.org:10004 20:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:14 Configure a credential helper to remove this warning. See 20:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:14 20:04:14 Login Succeeded 20:04:14 docker.io 20:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:14 Configure a credential helper to remove this warning. See 20:04:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:14 20:04:14 Login Succeeded 20:04:14 ---> docker-login.sh ends [Pipeline] } 20:04:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:04:15 [edgeX.isLTS] Checking if [remove-pw] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:15 [edgeX.isLTS] Checking if [remove-pw] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:15 ========================================================= 20:04:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:04:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:15 + 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 . 20:04:16 Sending build context to Docker daemon 20.57MB 20:04:16 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:04:16 Step 2/13 : FROM ${BASE} AS builder 20:04:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:04:16 9b18e9b68314: Pulling fs layer 20:04:16 35d82f9e3411: Pulling fs layer 20:04:16 e16973657156: Pulling fs layer 20:04:16 fc693d55d65f: Pulling fs layer 20:04:16 7e9fc2657dce: Pulling fs layer 20:04:16 dda99020689f: Pulling fs layer 20:04:16 db1c61fa0a46: Pulling fs layer 20:04:16 891c053d2c06: Pulling fs layer 20:04:16 dda99020689f: Waiting 20:04:16 db1c61fa0a46: Waiting 20:04:16 fc693d55d65f: Waiting 20:04:16 7e9fc2657dce: Waiting 20:04:16 891c053d2c06: Waiting 20:04:16 e16973657156: Verifying Checksum 20:04:16 e16973657156: Download complete 20:04:16 35d82f9e3411: Verifying Checksum 20:04:16 35d82f9e3411: Download complete 20:04:16 7e9fc2657dce: Verifying Checksum 20:04:16 7e9fc2657dce: Download complete 20:04:16 dda99020689f: Verifying Checksum 20:04:16 dda99020689f: Download complete 20:04:16 9b18e9b68314: Verifying Checksum 20:04:17 891c053d2c06: Download complete 20:04:18 9b18e9b68314: Pull complete 20:04:18 db1c61fa0a46: Verifying Checksum 20:04:18 db1c61fa0a46: Download complete 20:04:19 35d82f9e3411: Pull complete 20:04:19 e16973657156: Pull complete 20:04:19 fc693d55d65f: Verifying Checksum 20:04:19 fc693d55d65f: Download complete 20:04:34 fc693d55d65f: Pull complete 20:04:34 7e9fc2657dce: Pull complete 20:04:34 dda99020689f: Pull complete 20:04:40 db1c61fa0a46: Pull complete 20:04:42 891c053d2c06: Pull complete 20:04:42 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:04:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:04:42 ---> f96f9c87975a 20:04:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:04:44 ---> Running in a91185ba81ce 20:04:44 Removing intermediate container a91185ba81ce 20:04:44 ---> 20ba5480bfa0 20:04:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:04:44 ---> Running in 32d83585978b 20:04:45 Removing intermediate container 32d83585978b 20:04:45 ---> 9a01bb9d1d6a 20:04:45 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 20:04:45 ---> Running in 697178764fea 20:04:45 Removing intermediate container 697178764fea 20:04:45 ---> 423126910261 20:04:45 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:04:45 ---> Running in d897d12f6dfb 20:04:45 Removing intermediate container d897d12f6dfb 20:04:45 ---> bff7c7626bfa 20:04:45 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:04:45 ---> Running in 2b2939c3c17c 20:04:46 Removing intermediate container 2b2939c3c17c 20:04:46 ---> c85c239fe90a 20:04:46 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:46 ---> Running in 9fe313118e4b 20:04:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:04:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:04:49 OK: 221 MiB in 51 packages 20:04:49 Removing intermediate container 9fe313118e4b 20:04:49 ---> 930878b3a4bf 20:04:49 Step 9/13 : WORKDIR /device-onvif-camera 20:04:49 ---> Running in 332c58c06ef3 20:04:50 Removing intermediate container 332c58c06ef3 20:04:50 ---> 13f85e266247 20:04:50 Step 10/13 : COPY go.mod vendor* ./ 20:04:50 ---> 1ac5ed762ae0 20:04:50 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:50 ---> Running in 37e7eef45a8c 20:06:12 Removing intermediate container 37e7eef45a8c 20:06:12 ---> 81360ab8a905 20:06:12 Step 12/13 : COPY . . 20:06:12 ---> e6a3a66c5fd8 20:06:12 Step 13/13 : RUN ${MAKE} 20:06:12 ---> Running in b7612483593c 20:06:12 noop 20:06:12 Removing intermediate container b7612483593c 20:06:12 ---> 454e93e3fbb4 20:06:12 Successfully built 454e93e3fbb4 20:06:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:12 + docker inspect -f . ci-base-image-arm64 20:06:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:13 prd-ubuntu20.04-docker-arm64-4c-16g-7642 does not seem to be running inside a container 20:06:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:06:14 $ docker top ae58ba253fc9fee587bd946ba34d8377842083dc900dd28daf329e0fea8db05e -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:15 + go version 20:06:15 go version go1.18.7 linux/arm64 [Pipeline] } 20:06:15 $ docker stop --time=1 ae58ba253fc9fee587bd946ba34d8377842083dc900dd28daf329e0fea8db05e 20:06:18 $ docker rm -f --volumes ae58ba253fc9fee587bd946ba34d8377842083dc900dd28daf329e0fea8db05e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:19 + docker inspect -f . ci-base-image-arm64 20:06:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:19 prd-ubuntu20.04-docker-arm64-4c-16g-7642 does not seem to be running inside a container 20:06:19 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:06:20 $ docker top 14772e9a99f6da32fd56f3bec005e9a9d9d99e0546d7f682bbdf69b15c644a38 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:21 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 20:06:22 + make test 20:06:22 go test ./... -coverprofile=coverage.out ./... 20:06:24 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:08:16 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:08:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.199s coverage: 29.3% of statements 20:08:16 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:08:34 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.573s coverage: 86.5% of statements 20:08:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:08:34 go vet ./... 20:09:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:09:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:09:00 ./bin/test-attribution-txt.sh [Pipeline] echo 20:09:01 [edgeX.isLTS] Checking if [remove-pw] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:09:01 $ docker stop --time=1 14772e9a99f6da32fd56f3bec005e9a9d9d99e0546d7f682bbdf69b15c644a38 20:09:02 $ docker rm -f --volumes 14772e9a99f6da32fd56f3bec005e9a9d9d99e0546d7f682bbdf69b15c644a38 [Pipeline] // withDockerContainer [Pipeline] sh 20:09:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:09:03 Warning: overwriting stash ‘coverage-report’ 20:09:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:09:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:09:05 + ls -al . 20:09:05 total 232 20:09:05 drwxrwxr-x 9 jenkins jenkins 4096 Feb 27 20:06 . 20:09:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 20:03 .. 20:09:05 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 20:03 .git 20:09:05 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 20:03 .github 20:09:05 -rw-rw-r-- 1 jenkins jenkins 496 Feb 27 20:03 .gitignore 20:09:05 -rw-rw-r-- 1 jenkins jenkins 42 Feb 27 20:03 .golangci.yml 20:09:05 -rw-rw-r-- 1 jenkins jenkins 9857 Feb 27 20:03 Attribution.txt 20:09:05 -rw-rw-r-- 1 jenkins jenkins 6312 Feb 27 20:03 CHANGELOG.md 20:09:05 -rw-rw-r-- 1 jenkins jenkins 1574 Feb 27 20:03 Dockerfile 20:09:05 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 20:03 GOVERNANCE.md 20:09:05 -rw-rw-r-- 1 jenkins jenkins 734 Feb 27 20:03 Jenkinsfile 20:09:05 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 27 20:03 LICENSE 20:09:05 -rw-rw-r-- 1 jenkins jenkins 2577 Feb 27 20:03 Makefile 20:09:05 -rw-rw-r-- 1 jenkins jenkins 625 Feb 27 20:03 OWNERS.md 20:09:05 -rw-rw-r-- 1 jenkins jenkins 6595 Feb 27 20:03 README.md 20:09:05 -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 20:00 VERSION 20:09:05 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 20:03 bin 20:09:05 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 20:03 cmd 20:09:05 -rw-r--r-- 1 jenkins jenkins 79184 Feb 27 20:08 coverage.out 20:09:05 drwxrwxr-x 6 jenkins jenkins 4096 Feb 27 20:03 doc 20:09:05 -rw-rw-r-- 1 jenkins jenkins 3600 Feb 27 20:03 go.mod 20:09:05 -rw-rw-r-- 1 jenkins jenkins 34701 Feb 27 20:03 go.sum 20:09:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 20:03 internal 20:09:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 20:03 snap 20:09:05 -rw-rw-r-- 1 jenkins jenkins 236 Feb 27 20:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:06 + 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=df6b698de6faf1f1aed8830cb65339a32e880587 --label arch=arm64 --label version=0.0.0 . 20:09:06 Sending build context to Docker daemon 20.65MB 20:09:06 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:09:06 Step 2/26 : FROM ${BASE} AS builder 20:09:06 ---> 454e93e3fbb4 20:09:06 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:09:09 ---> Running in 89338eb1215c 20:09:09 Removing intermediate container 89338eb1215c 20:09:09 ---> 17fb2bbe895f 20:09:09 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:09:09 ---> Running in c78a1ba9ee2b 20:09:10 Removing intermediate container c78a1ba9ee2b 20:09:10 ---> fec03367d8fd 20:09:10 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 20:09:10 ---> Running in d10be196d197 20:09:10 Removing intermediate container d10be196d197 20:09:10 ---> fc5af83a12b5 20:09:10 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:09:10 ---> Running in a188525926d8 20:09:11 Removing intermediate container a188525926d8 20:09:11 ---> d0a75c097c53 20:09:11 Step 7/26 : LABEL Name=edgex-device-onvif-camera 20:09:11 ---> Running in c6e8e50f3745 20:09:11 Removing intermediate container c6e8e50f3745 20:09:11 ---> f6c3e906ecd9 20:09:11 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:11 ---> Running in 4e89538b9798 20:09:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:09:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:09:14 OK: 221 MiB in 51 packages 20:09:15 Removing intermediate container 4e89538b9798 20:09:15 ---> 74dcaf46fe15 20:09:15 Step 9/26 : WORKDIR /device-onvif-camera 20:09:15 ---> Running in 47c559535e86 20:09:15 Removing intermediate container 47c559535e86 20:09:15 ---> 7b26a227d155 20:09:15 Step 10/26 : COPY go.mod vendor* ./ 20:09:16 ---> d36fddb3218a 20:09:16 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:16 ---> Running in ea182e9d701a 20:09:19 Removing intermediate container ea182e9d701a 20:09:19 ---> 1d0c8e7940d4 20:09:19 Step 12/26 : COPY . . 20:09:20 ---> c4e229616c27 20:09:20 Step 13/26 : RUN ${MAKE} 20:09:20 ---> Running in f37b13d03f2a 20:09:21 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 20:11:58 Removing intermediate container f37b13d03f2a 20:11:58 ---> b9c32f119546 20:11:58 Step 14/26 : FROM alpine:3.16 20:11:58 3.16: Pulling from library/alpine 20:11:58 3760b48202b3: Pulling fs layer 20:11:58 3760b48202b3: Verifying Checksum 20:11:58 3760b48202b3: Download complete 20:11:58 3760b48202b3: Pull complete 20:11:58 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 20:11:58 Status: Downloaded newer image for alpine:3.16 20:11:58 ---> 4c81e5bf8899 20:11:58 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:11:58 ---> Running in 27fabd32afb1 20:11:58 Removing intermediate container 27fabd32afb1 20:11:58 ---> 8526063863a4 20:11:58 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:11:58 ---> Running in b0f7d5945e6b 20:11:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:11:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:11:58 (1/1) Installing dumb-init (1.2.5-r1) 20:11:58 Executing busybox-1.35.0-r17.trigger 20:11:58 OK: 5 MiB in 15 packages 20:11:58 Removing intermediate container b0f7d5945e6b 20:11:58 ---> 9dda2347b0cb 20:11:58 Step 17/26 : WORKDIR / 20:11:58 ---> Running in 75671b94d85f 20:11:58 Removing intermediate container 75671b94d85f 20:11:58 ---> cde2d66326b7 20:11:58 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:11:58 ---> 5f435ebb680e 20:11:58 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:11:58 ---> d1bdf9490d7f 20:11:58 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:11:58 ---> a456ddf6e89a 20:11:58 Step 21/26 : EXPOSE 59984 20:11:59 ---> Running in 1c4d3a44affd 20:11:59 Removing intermediate container 1c4d3a44affd 20:11:59 ---> b6b25ece82e7 20:11:59 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:11:59 ---> Running in 0a93033eafce 20:11:59 Removing intermediate container 0a93033eafce 20:11:59 ---> d7c79b9cb2e3 20:11:59 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:11:59 ---> Running in 6606634c5f74 20:11:59 Removing intermediate container 6606634c5f74 20:11:59 ---> 87bb1fad6afd 20:11:59 Step 24/26 : LABEL arch=arm64 20:12:00 ---> Running in c54af5fbcb1b 20:12:00 Removing intermediate container c54af5fbcb1b 20:12:00 ---> 54747aae5882 20:12:00 Step 25/26 : LABEL git_sha=df6b698de6faf1f1aed8830cb65339a32e880587 20:12:00 ---> Running in 2a206d9da24b 20:12:00 Removing intermediate container 2a206d9da24b 20:12:00 ---> b430125575f9 20:12:00 Step 26/26 : LABEL version=0.0.0 20:12:00 ---> Running in 7c9650a6aacf 20:12:00 Removing intermediate container 7c9650a6aacf 20:12:00 ---> 26730a743b53 20:12:00 [Warning] One or more build-args [ARCH] were not consumed 20:12:01 Successfully built 26730a743b53 20:12:01 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 20:12:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:12:02 20:12:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:12:02 arm64: Pulling from edgex-lftools-log-publisher 20:12:02 8998bd30e6a1: Pulling fs layer 20:12:02 04944245beec: Pulling fs layer 20:12:02 699f458cf7ca: Pulling fs layer 20:12:02 765212b225bb: Pulling fs layer 20:12:02 f23df028b6ca: Pulling fs layer 20:12:02 d65c8cfc05b1: Pulling fs layer 20:12:02 2437ff75d9bd: Pulling fs layer 20:12:02 765212b225bb: Waiting 20:12:02 f23df028b6ca: Waiting 20:12:02 d65c8cfc05b1: Waiting 20:12:02 2437ff75d9bd: Waiting 20:12:02 04944245beec: Verifying Checksum 20:12:02 04944245beec: Download complete 20:12:02 765212b225bb: Verifying Checksum 20:12:02 765212b225bb: Download complete 20:12:02 f23df028b6ca: Download complete 20:12:02 d65c8cfc05b1: Verifying Checksum 20:12:02 d65c8cfc05b1: Download complete 20:12:02 699f458cf7ca: Verifying Checksum 20:12:02 699f458cf7ca: Download complete 20:12:03 8998bd30e6a1: Verifying Checksum 20:12:05 2437ff75d9bd: Verifying Checksum 20:12:05 2437ff75d9bd: Download complete 20:12:07 8998bd30e6a1: Pull complete 20:12:07 04944245beec: Pull complete 20:12:10 699f458cf7ca: Pull complete 20:12:10 765212b225bb: Pull complete 20:12:11 f23df028b6ca: Pull complete 20:12:11 d65c8cfc05b1: Pull complete 20:12:26 2437ff75d9bd: Pull complete 20:12:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:12:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:12:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:27 prd-ubuntu20.04-docker-arm64-4c-16g-7642 does not seem to be running inside a container 20:12:27 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:12:29 $ docker top 38c413670030d1fe96298fb2ed6733e12bcb7c5463f01b2a4af75bb1ac58981a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:30 ---> job-cost.sh 20:12:30 lf-activate-venv: SKIPPING 20:12:30 INFO: No Stack... 20:12:31 INFO: Retrieving Pricing Info for: v3-standard-4 20:12:32 INFO: Archiving Costs [Pipeline] sh 20:12:32 + + cut -d,cat -f6 20:12:32 /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 20:12:32 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-remove-pw-1-stack-cost] 20:12:32 Resource [jenkins-edgexfoundry-device-onvif-camera-remove-pw-1-stack-cost] did not exist. Created. 20:12:32 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-remove-pw-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:12:33 /w/workspace/device-onvif-camera/1@tmp/durable-54b42265/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:12:33 + echo total: 0.10999999940395355 [Pipeline] stash 20:12:33 Warning: overwriting stash ‘stack-cost’ 20:12:33 Stashed 1 file(s) [Pipeline] } 20:12:33 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-remove-pw-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:12:33 $ docker stop --time=1 38c413670030d1fe96298fb2ed6733e12bcb7c5463f01b2a4af75bb1ac58981a 20:12:36 $ docker rm -f --volumes 38c413670030d1fe96298fb2ed6733e12bcb7c5463f01b2a4af75bb1ac58981a [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 20:12:37 provisioning config files... 20:12:37 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/ry_device-onvif-camera_remove-pw@tmp/config10744792525454660628tmp [Pipeline] { [Pipeline] sh 20:12:38 + set +x 20:12:38 + bash -s -- 20:12:38 + curl -s https://codecov.io/bash 20:12:38 20:12:38 _____ _ 20:12:38 / ____| | | 20:12:38 | | ___ __| | ___ ___ _____ __ 20:12:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:12:38 | |___| (_) | (_| | __/ (_| (_) \ V / 20:12:38 \_____\___/ \__,_|\___|\___\___/ \_/ 20:12:38 Bash-1.0.6 20:12:38 20:12:38 20:12:38 ==> git version 2.25.1 found 20:12:38 ==> 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 20:12:38 Release-Date: 2020-01-08 20:12:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:12:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:12:38 ==> Jenkins CI detected. 20:12:38 current dir:  /w/workspace/ry_device-onvif-camera_remove-pw 20:12:38 project root: . 20:12:38 --> token set from env 20:12:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:12:38 ==> Running gcov in . (disable via -X gcov) 20:12:38 ==> Python coveragepy not found 20:12:38 ==> Searching for coverage reports in: 20:12:38 + . 20:12:38 -> Found 1 reports 20:12:38 ==> Detecting git/mercurial file structure 20:12:38 ==> Reading reports 20:12:38 + ./coverage.out bytes=79184 20:12:38 ==> Appending adjustments 20:12:38 https://docs.codecov.io/docs/fixing-reports 20:12:38 + Found adjustments 20:12:38 ==> Gzipping contents 20:12:38 12K /tmp/codecov.baDGJm.gz 20:12:38 ==> Uploading reports 20:12:38 url: https://codecov.io 20:12:38 query: branch=remove-pw&commit=df6b698de6faf1f1aed8830cb65339a32e880587&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fremove-pw%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:12:38 -> Pinging Codecov 20:12:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=remove-pw&commit=df6b698de6faf1f1aed8830cb65339a32e880587&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fremove-pw%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:12:38 -> Uploading to 20:12:38 https://storage.googleapis.com/codecov/v4/raw/2023-02-27/F29A59C45E3A92E06B3E522C9905F8EF/df6b698de6faf1f1aed8830cb65339a32e880587/d99b5f9b-fa8c-461a-92ae-7d6d71dcfcf5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T201238Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1786df49b1445db7b47c6866fbe9ad1b465391e8306790515fcda0b34a012d12 20:12:38 % Total % Received % Xferd Average Speed Time Time Time Current 20:12:38 Dload Upload Total Spent Left Speed 20:12:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10841 0 0 100 10841 0 53142 --:--:-- --:--:-- --:--:-- 53142 100 10841 0 0 100 10841 0 42347 --:--:-- --:--:-- --:--:-- 42182 20:12:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/df6b698de6faf1f1aed8830cb65339a32e880587 [Pipeline] } 20:12:38 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 20:12:40 + [ -d /w/workspace/ry_device-onvif-camera_remove-pw/archives ] 20:12:40 + ls -al /w/workspace/ry_device-onvif-camera_remove-pw/archives 20:12:40 total 16 20:12:40 drwxr-xr-x 3 root root 4096 Feb 27 20:02 . 20:12:40 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 20:02 .. 20:12:40 drwxr-xr-x 2 root root 4096 Feb 27 20:02 cost 20:12:40 -rw-r--r-- 1 root root 94 Feb 27 20:02 cost.csv 20:12:40 + sudo chown -R jenkins:jenkins /w/workspace/ry_device-onvif-camera_remove-pw/archives 20:12:40 + ls -al /w/workspace/ry_device-onvif-camera_remove-pw/archives 20:12:40 total 16 20:12:40 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 20:02 . 20:12:40 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 20:02 .. 20:12:40 drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 20:02 cost 20:12:40 -rw-r--r-- 1 jenkins jenkins 94 Feb 27 20:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:12:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:12:41 ---> package-listing.sh 20:12:41 ++ facter osfamily 20:12:41 ++ tr '[:upper:]' '[:lower:]' 20:12:42 + OS_FAMILY=debian 20:12:42 + workspace=/w/workspace/ry_device-onvif-camera_remove-pw 20:12:42 + START_PACKAGES=/tmp/packages_start.txt 20:12:42 + END_PACKAGES=/tmp/packages_end.txt 20:12:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:12:42 + PACKAGES=/tmp/packages_start.txt 20:12:42 + '[' /w/workspace/ry_device-onvif-camera_remove-pw ']' 20:12:42 + PACKAGES=/tmp/packages_end.txt 20:12:42 + case "${OS_FAMILY}" in 20:12:42 + dpkg -l 20:12:42 + grep '^ii' 20:12:42 + '[' -f /tmp/packages_start.txt ']' 20:12:42 + '[' -f /tmp/packages_end.txt ']' 20:12:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:12:42 + '[' /w/workspace/ry_device-onvif-camera_remove-pw ']' 20:12:42 + mkdir -p /w/workspace/ry_device-onvif-camera_remove-pw/archives/ 20:12:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_device-onvif-camera_remove-pw/archives/ [Pipeline] echo 20:12:42 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/ry_device-onvif-camera_remove-pw/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:12:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:43 prd-ubuntu20.04-docker-8c-8g-7639 does not seem to be running inside a container 20:12:43 $ 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/ry_device-onvif-camera_remove-pw/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_device-onvif-camera_remove-pw -v /w/workspace/ry_device-onvif-camera_remove-pw:/w/workspace/ry_device-onvif-camera_remove-pw:rw,z -v /w/workspace/ry_device-onvif-camera_remove-pw@tmp:/w/workspace/ry_device-onvif-camera_remove-pw@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:12:43 $ docker top f7af227d1ee894a792639ad82f5ede0aff515132590036b8dcb93c4d8fe8818f -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:43 + touch /tmp/pre-build-complete [Pipeline] sh 20:12:44 + mkdir -p /var/log/sysstat [Pipeline] sh 20:12:44 + ls /var/log/sa-host 20:12:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:44 provisioning config files... 20:12:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_device-onvif-camera_remove-pw@tmp/config3729623596187695355tmp [Pipeline] { [Pipeline] echo 20:12:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:12:44 ---> create-netrc.sh [Pipeline] } 20:12:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:12:45 ---> python-tools-install.sh [Pipeline] echo 20:12:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:12:45 ---> sudo-logs.sh 20:12:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:12:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:12:46 ---> job-cost.sh 20:12:46 lf-activate-venv: SKIPPING 20:12:46 DEBUG: total: 0.2199999988079071 20:12:46 INFO: Retrieving Stack Cost... 20:12:46 INFO: Retrieving Pricing Info for: v3-standard-8 20:12:46 INFO: Archiving Costs [Pipeline] echo 20:12:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:12:47 ---> logs-deploy.sh 20:12:47 lf-activate-venv: SKIPPING 20:12:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/remove-pw/1 20:12:47 INFO: archiving workspace using pattern(s): 20:12:48 Archives upload complete. 20:12:48 INFO: archiving logs to Nexus