Pull request #295 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4644ea6946a6355b462577718ed75235864b2e60+163d81e496ee931b2d3d9b2549810c1b7a8df380 (4480327e04c57103b2c705f1d7dd9c42a794c03f) 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-ssh14520647304624255967.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh8897348780085898885.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11982730984819055672.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14625335631807977074.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-295/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-295/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3167394206989476636.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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-ubuntu20.04-docker-8c-8g-6236’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6239 in /w/workspace/undry_device-onvif-camera_PR-295 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-295 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 163d81e496ee931b2d3d9b2549810c1b7a8df380 into PR head commit 4644ea6946a6355b462577718ed75235864b2e60 Merge succeeded, producing 4644ea6946a6355b462577718ed75235864b2e60 Checking out Revision 4644ea6946a6355b462577718ed75235864b2e60 (PR-295) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/295/head:refs/remotes/origin/PR-295 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4644ea6946a6355b462577718ed75235864b2e60 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 163d81e496ee931b2d3d9b2549810c1b7a8df380 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4644ea6946a6355b462577718ed75235864b2e60 # timeout=10 > git rev-list --no-walk d0d976edd076ede4d9e95de02f07800848bbe43a # timeout=10 First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:48:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:48:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:48:12 ========================================================= 19:48:12 EdgeX Global Pipelines Version Info 19:48:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:48:13 ------------------- 19:48:13 stable info: 19:48:13 ------------------- 19:48:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:48:13 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 19:48:13 Message: update stable to v1.0.245 19:48:14 ------------------- 19:48:14 experimental info: 19:48:14 ------------------- 19:48:14 Commited By: **** collab-it+edgex@linuxfoundation.org 19:48:14 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 19:48:14 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-295 [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-295 [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-295 [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4644ea6946a6355b462577718ed75235864b2e60 [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4644ea6 [Pipeline] echo 19:48:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:48:14 provisioning config files... 19:48:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-295@tmp/config13601698549414555541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:48:14 ---> docker-login.sh 19:48:14 nexus3.edgexfoundry.org:10001 19:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:15 Configure a credential helper to remove this warning. See 19:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:15 19:48:15 Login Succeeded 19:48:15 nexus3.edgexfoundry.org:10002 19:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:15 Configure a credential helper to remove this warning. See 19:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:15 19:48:15 Login Succeeded 19:48:15 nexus3.edgexfoundry.org:10003 19:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:15 Configure a credential helper to remove this warning. See 19:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:15 19:48:15 Login Succeeded 19:48:15 nexus3.edgexfoundry.org:10004 19:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:15 Configure a credential helper to remove this warning. See 19:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:15 19:48:15 Login Succeeded 19:48:15 docker.io 19:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:15 Configure a credential helper to remove this warning. See 19:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:15 19:48:15 Login Succeeded 19:48:15 ---> docker-login.sh ends [Pipeline] } 19:48:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:48:16 + git rev-list -1 --merges 4644ea6946a6355b462577718ed75235864b2e60~1..4644ea6946a6355b462577718ed75235864b2e60 [Pipeline] echo 19:48:16 -----------> git rev-list -1 --merges 4644ea6946a6355b462577718ed75235864b2e60~1..4644ea6946a6355b462577718ed75235864b2e60 4644ea6946a6355b462577718ed75235864b2e60 [false] [Pipeline] sh 19:48:16 + git log --format=format:%s -1 4644ea6946a6355b462577718ed75235864b2e60 [Pipeline] echo 19:48:16 ========================================================= 19:48:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:48:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:48:17 + git log --format=format:%s -1 4644ea6946a6355b462577718ed75235864b2e60 [Pipeline] echo 19:48:17 [semverPrep] GIT_COMMIT: 4644ea6946a6355b462577718ed75235864b2e60, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 19:48:17 [semverPrep] This is not a build commit. [Pipeline] sh 19:48:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:48:17 + grep -v github /etc/ssh/ssh_known_hosts 19:48:17 + [ -e /tmp/ssh_known_hosts ] 19:48:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:48:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:48:17 + sudo tee -a /etc/ssh/ssh_known_hosts 19:48:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:48:17 19:48:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:48:18 0.1.4: Pulling from edgex-devops/py-git-semver 19:48:18 b85a868b505f: Pulling fs layer 19:48:18 e2be974225ed: Pulling fs layer 19:48:18 339a4e72a1f5: Pulling fs layer 19:48:18 988bab9f4d93: Pulling fs layer 19:48:18 1469e6f7b9e6: Pulling fs layer 19:48:18 eaf3925da568: Pulling fs layer 19:48:18 bab4dde63d76: Pulling fs layer 19:48:18 bde34c3a00c8: Pulling fs layer 19:48:18 b352a97aabf1: Pulling fs layer 19:48:18 bde34c3a00c8: Waiting 19:48:18 eaf3925da568: Waiting 19:48:18 988bab9f4d93: Waiting 19:48:18 1469e6f7b9e6: Waiting 19:48:18 b352a97aabf1: Waiting 19:48:18 bab4dde63d76: Waiting 19:48:18 4872d77fe225: Pulling fs layer 19:48:18 5851b861e8e6: Pulling fs layer 19:48:18 4872d77fe225: Waiting 19:48:18 5851b861e8e6: Waiting 19:48:18 e2be974225ed: Download complete 19:48:18 988bab9f4d93: Verifying Checksum 19:48:18 988bab9f4d93: Download complete 19:48:18 1469e6f7b9e6: Verifying Checksum 19:48:18 1469e6f7b9e6: Download complete 19:48:18 eaf3925da568: Download complete 19:48:18 339a4e72a1f5: Verifying Checksum 19:48:18 339a4e72a1f5: Download complete 19:48:18 b352a97aabf1: Verifying Checksum 19:48:18 b352a97aabf1: Download complete 19:48:18 4872d77fe225: Verifying Checksum 19:48:18 4872d77fe225: Download complete 19:48:18 5851b861e8e6: Verifying Checksum 19:48:18 5851b861e8e6: Download complete 19:48:18 b85a868b505f: Verifying Checksum 19:48:18 b85a868b505f: Download complete 19:48:18 bab4dde63d76: Verifying Checksum 19:48:18 bab4dde63d76: Download complete 19:48:19 b85a868b505f: Pull complete 19:48:19 e2be974225ed: Pull complete 19:48:20 339a4e72a1f5: Pull complete 19:48:20 988bab9f4d93: Pull complete 19:48:20 1469e6f7b9e6: Pull complete 19:48:20 eaf3925da568: Pull complete 19:48:22 bab4dde63d76: Pull complete 19:48:22 bde34c3a00c8: Pull complete 19:48:22 b352a97aabf1: Pull complete 19:48:22 4872d77fe225: Pull complete 19:48:22 5851b861e8e6: Pull complete 19:48:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:48:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:48:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:22 prd-ubuntu20.04-docker-8c-8g-6239 does not seem to be running inside a container 19:48:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-295 -v /w/workspace/undry_device-onvif-camera_PR-295:/w/workspace/undry_device-onvif-camera_PR-295:rw,z -v /w/workspace/undry_device-onvif-camera_PR-295@tmp:/w/workspace/undry_device-onvif-camera_PR-295@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:48:25 $ docker top 30efba09265480cb2dff09a09a8635d772904211b5bd61c521e3f19c52e47965 -eo pid,comm 19:48:25 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). 19:48:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:48:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:48:25 [ssh-agent] Looking for ssh-agent implementation... 19:48:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:48:25 $ docker exec 30efba09265480cb2dff09a09a8635d772904211b5bd61c521e3f19c52e47965 ssh-agent 19:48:25 SSH_AUTH_SOCK=/tmp/ssh-YJ00j4HfMZA4/agent.33 19:48:25 SSH_AGENT_PID=39 19:48:25 Running ssh-add (command line suppressed) 19:48:25 Identity added: /w/workspace/undry_device-onvif-camera_PR-295@tmp/private_key_11769809924142023404.key (/w/workspace/undry_device-onvif-camera_PR-295@tmp/private_key_11769809924142023404.key) 19:48:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:48:26 + git tag --points-at HEAD [Pipeline] } 19:48:26 $ docker exec --env ******** --env ******** 30efba09265480cb2dff09a09a8635d772904211b5bd61c521e3f19c52e47965 ssh-agent -k 19:48:26 unset SSH_AUTH_SOCK; 19:48:26 unset SSH_AGENT_PID; 19:48:26 echo Agent pid 39 killed; 19:48:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:48:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:48:26 [ssh-agent] Looking for ssh-agent implementation... 19:48:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:48:26 $ docker exec 30efba09265480cb2dff09a09a8635d772904211b5bd61c521e3f19c52e47965 ssh-agent 19:48:26 SSH_AUTH_SOCK=/tmp/ssh-spxj4YIo1vBk/agent.70 19:48:26 SSH_AGENT_PID=76 19:48:26 Running ssh-add (command line suppressed) 19:48:26 Identity added: /w/workspace/undry_device-onvif-camera_PR-295@tmp/private_key_2894911646497921183.key (/w/workspace/undry_device-onvif-camera_PR-295@tmp/private_key_2894911646497921183.key) 19:48:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:48:26 + git semver init 19:48:27 2023-03-29 19:48:27,157 [run_init] DEBUG init version:0.0.0 force:False 19:48:27 2023-03-29 19:48:27,157 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-295/.semver 19:48:27 2023-03-29 19:48:27,158 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-295/.semver 19:48:27 2023-03-29 19:48:27,158 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-295/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-295, universal_newlines=False, shell=None, istream=None) 19:48:28 2023-03-29 19:48:28,369 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-295/.git/info/exclude 19:48:28 2023-03-29 19:48:28,370 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-295/.semver/PR-295 with force:False 19:48:28 2023-03-29 19:48:28,370 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-295/.semver/PR-295 19:48:28 2023-03-29 19:48:28,374 [execute] INFO git cat-file --batch-check 19:48:28 2023-03-29 19:48:28,374 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-295/.semver, universal_newlines=False, shell=None, istream=) 19:48:28 2023-03-29 19:48:28,380 [execute] INFO git cat-file --batch 19:48:28 2023-03-29 19:48:28,380 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-295/.semver, universal_newlines=False, shell=None, istream=) 19:48:28 2023-03-29 19:48:28,385 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-295/.semver/PR-295 19:48:28 0.0.0 [Pipeline] } 19:48:28 $ docker exec --env ******** --env ******** 30efba09265480cb2dff09a09a8635d772904211b5bd61c521e3f19c52e47965 ssh-agent -k 19:48:28 unset SSH_AUTH_SOCK; 19:48:28 unset SSH_AGENT_PID; 19:48:28 echo Agent pid 76 killed; 19:48:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:48:29 + git semver [Pipeline] } 19:48:29 $ docker stop --time=1 30efba09265480cb2dff09a09a8635d772904211b5bd61c521e3f19c52e47965 19:48:30 $ docker rm -f --volumes 30efba09265480cb2dff09a09a8635d772904211b5bd61c521e3f19c52e47965 [Pipeline] // withDockerContainer [Pipeline] sh 19:48:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:48:31 Stashed 1 file(s) [Pipeline] echo 19:48:31 [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 19:48:31 provisioning config files... 19:48:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-295@tmp/config4686656474756579861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:48:31 ---> docker-login.sh 19:48:31 nexus3.edgexfoundry.org:10001 19:48:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:31 Configure a credential helper to remove this warning. See 19:48:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:31 19:48:31 Login Succeeded 19:48:31 nexus3.edgexfoundry.org:10002 19:48:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:31 Configure a credential helper to remove this warning. See 19:48:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:31 19:48:31 Login Succeeded 19:48:31 nexus3.edgexfoundry.org:10003 19:48:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:31 Configure a credential helper to remove this warning. See 19:48:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:31 19:48:31 Login Succeeded 19:48:31 nexus3.edgexfoundry.org:10004 19:48:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:31 Configure a credential helper to remove this warning. See 19:48:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:31 19:48:31 Login Succeeded 19:48:31 docker.io 19:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:48:32 Configure a credential helper to remove this warning. See 19:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:48:32 19:48:32 Login Succeeded 19:48:32 ---> docker-login.sh ends [Pipeline] } 19:48:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:48:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:48:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:48:32 ========================================================= 19:48:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:48:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:48:32 Sending build context to Docker daemon 27.03MB 19:48:32 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:48:32 Step 2/13 : FROM ${BASE} AS builder 19:48:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:48:32 63b65145d645: Pulling fs layer 19:48:32 a2d21d5440eb: Pulling fs layer 19:48:32 935e6c44a52c: Pulling fs layer 19:48:32 94cc34f8dd06: Pulling fs layer 19:48:32 30dea6a524f1: Pulling fs layer 19:48:32 a2aff8979fd8: Pulling fs layer 19:48:32 6808be2612f2: Pulling fs layer 19:48:32 f25807f1079a: Pulling fs layer 19:48:32 94cc34f8dd06: Waiting 19:48:32 a2aff8979fd8: Waiting 19:48:32 30dea6a524f1: Waiting 19:48:32 6808be2612f2: Waiting 19:48:32 f25807f1079a: Waiting 19:48:32 a2d21d5440eb: Verifying Checksum 19:48:32 a2d21d5440eb: Download complete 19:48:32 94cc34f8dd06: Download complete 19:48:32 30dea6a524f1: Download complete 19:48:32 63b65145d645: Verifying Checksum 19:48:32 63b65145d645: Download complete 19:48:32 a2aff8979fd8: Verifying Checksum 19:48:32 a2aff8979fd8: Download complete 19:48:33 63b65145d645: Pull complete 19:48:33 a2d21d5440eb: Pull complete 19:48:33 f25807f1079a: Verifying Checksum 19:48:33 f25807f1079a: Download complete 19:48:33 935e6c44a52c: Verifying Checksum 19:48:33 935e6c44a52c: Download complete 19:48:33 6808be2612f2: Verifying Checksum 19:48:33 6808be2612f2: Download complete 19:48:36 935e6c44a52c: Pull complete 19:48:36 94cc34f8dd06: Pull complete 19:48:36 30dea6a524f1: Pull complete 19:48:36 a2aff8979fd8: Pull complete 19:48:38 6808be2612f2: Pull complete 19:48:39 f25807f1079a: Pull complete 19:48:39 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 19:48:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:48:39 ---> 3b553350e43f 19:48:39 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:48:44 ---> Running in a63260d25719 19:48:44 Removing intermediate container a63260d25719 19:48:44 ---> 83da270566fb 19:48:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:48:44 ---> Running in 57a6c38292e3 19:48:44 Removing intermediate container 57a6c38292e3 19:48:44 ---> 49c7391d2653 19:48:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:48:44 ---> Running in d1fac3248e0d 19:48:44 Removing intermediate container d1fac3248e0d 19:48:44 ---> 41e12e4938dd 19:48:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:48:44 ---> Running in fe652a30980b 19:48:44 Removing intermediate container fe652a30980b 19:48:44 ---> c4f7b333b57f 19:48:44 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:48:44 ---> Running in 98615e0c88e7 19:48:44 Removing intermediate container 98615e0c88e7 19:48:44 ---> 1331edcc6405 19:48:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:48:44 ---> Running in d51c447ddf06 19:48:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:48:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:48:45 OK: 265 MiB in 53 packages 19:48:45 Removing intermediate container d51c447ddf06 19:48:45 ---> cbecc29a68ae 19:48:45 Step 9/13 : WORKDIR /device-onvif-camera 19:48:45 ---> Running in 12139675401c 19:48:45 Removing intermediate container 12139675401c 19:48:45 ---> 711afd988ba6 19:48:45 Step 10/13 : COPY go.mod vendor* ./ 19:48:45 ---> a3848948b1c4 19:48:45 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:48:45 ---> Running in 2579cb13f72a 19:48:46 Still waiting to schedule task 19:48:46 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6241’ is offline 19:49:12 Removing intermediate container 2579cb13f72a 19:49:12 ---> 373f69f06898 19:49:12 Step 12/13 : COPY . . 19:49:12 ---> fe05941125a5 19:49:12 Step 13/13 : RUN ${MAKE} 19:49:12 ---> Running in 1d80ceff14af 19:49:12 noop 19:49:12 Removing intermediate container 1d80ceff14af 19:49:12 ---> aa45714449af 19:49:12 Successfully built aa45714449af 19:49:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:12 + docker inspect -f . ci-base-image-x86_64 19:49:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:49:12 prd-ubuntu20.04-docker-8c-8g-6239 does not seem to be running inside a container 19:49:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-295 -v /w/workspace/undry_device-onvif-camera_PR-295:/w/workspace/undry_device-onvif-camera_PR-295:rw,z -v /w/workspace/undry_device-onvif-camera_PR-295@tmp:/w/workspace/undry_device-onvif-camera_PR-295@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:49:13 $ docker top 58071a4f219e706d693fd438214f63cf7ca6ce07c6cf24f5d770cdbd789d2b27 -eo pid,comm [Pipeline] { [Pipeline] sh 19:49:13 + go version 19:49:13 go version go1.20.2 linux/amd64 [Pipeline] } 19:49:13 $ docker stop --time=1 58071a4f219e706d693fd438214f63cf7ca6ce07c6cf24f5d770cdbd789d2b27 19:49:14 $ docker rm -f --volumes 58071a4f219e706d693fd438214f63cf7ca6ce07c6cf24f5d770cdbd789d2b27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:15 + docker inspect -f . ci-base-image-x86_64 19:49:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:49:15 prd-ubuntu20.04-docker-8c-8g-6239 does not seem to be running inside a container 19:49:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-295 -v /w/workspace/undry_device-onvif-camera_PR-295:/w/workspace/undry_device-onvif-camera_PR-295:rw,z -v /w/workspace/undry_device-onvif-camera_PR-295@tmp:/w/workspace/undry_device-onvif-camera_PR-295@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:49:15 $ docker top 354d26c9da005a91da1b644db8437ebca7c7158324b10d03de9d8a2926530d7f -eo pid,comm [Pipeline] { [Pipeline] sh 19:49:15 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-295 [Pipeline] fileExists [Pipeline] sh 19:49:16 + make test 19:49:16 go test ./... -coverprofile=coverage.out ./... 19:49:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:49:32 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:49:32 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:49:32 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 31.7% of statements 19:49:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.348s coverage: 86.5% of statements 19:49:41 go vet ./... 19:49:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:49:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:49:44 ./bin/test-attribution-txt.sh [Pipeline] echo 19:49:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:49:44 $ docker stop --time=1 354d26c9da005a91da1b644db8437ebca7c7158324b10d03de9d8a2926530d7f 19:49:48 $ docker rm -f --volumes 354d26c9da005a91da1b644db8437ebca7c7158324b10d03de9d8a2926530d7f [Pipeline] // withDockerContainer [Pipeline] sh 19:49:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:49:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:49:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:49:49 + ls -al . 19:49:49 total 232 19:49:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 19:49 . 19:49:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:48 .. 19:49:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 19:48 .git 19:49:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:48 .github 19:49:49 -rw-rw-r-- 1 jenkins jenkins 496 Mar 29 19:48 .gitignore 19:49:49 -rw-rw-r-- 1 jenkins jenkins 42 Mar 29 19:48 .golangci.yml 19:49:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 19:48 .semver 19:49:49 -rw-rw-r-- 1 jenkins jenkins 9732 Mar 29 19:48 Attribution.txt 19:49:49 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 29 19:48 CHANGELOG.md 19:49:49 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 29 19:48 Dockerfile 19:49:49 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 19:48 GOVERNANCE.md 19:49:49 -rw-rw-r-- 1 jenkins jenkins 734 Mar 29 19:48 Jenkinsfile 19:49:49 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 29 19:48 LICENSE 19:49:49 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 29 19:48 Makefile 19:49:49 -rw-rw-r-- 1 jenkins jenkins 625 Mar 29 19:48 OWNERS.md 19:49:49 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 29 19:48 README.md 19:49:49 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 19:48 VERSION 19:49:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 19:48 bin 19:49:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:48 cmd 19:49:49 -rw-r--r-- 1 jenkins jenkins 78487 Mar 29 19:49 coverage.out 19:49:49 drwxrwxr-x 6 jenkins jenkins 4096 Mar 29 19:48 doc 19:49:49 -rw-rw-r-- 1 jenkins jenkins 3554 Mar 29 19:48 go.mod 19:49:49 -rw-rw-r-- 1 jenkins jenkins 32657 Mar 29 19:48 go.sum 19:49:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:48 internal 19:49:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:48 snap 19:49:49 -rw-rw-r-- 1 jenkins jenkins 236 Mar 29 19:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:49 + 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=4644ea6946a6355b462577718ed75235864b2e60 --label arch=amd64 --label version=0.0.0 . 19:49:49 Sending build context to Docker daemon 27.11MB 19:49:49 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:49:49 Step 2/26 : FROM ${BASE} AS builder 19:49:49 ---> aa45714449af 19:49:49 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:49:49 ---> Running in 47f582e5cfc9 19:49:50 Removing intermediate container 47f582e5cfc9 19:49:50 ---> 777ec601c8e7 19:49:50 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:49:50 ---> Running in 87d7bda887b2 19:49:50 Removing intermediate container 87d7bda887b2 19:49:50 ---> 9a8b045dcb4b 19:49:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:49:50 ---> Running in 2df1e8ec3f97 19:49:50 Removing intermediate container 2df1e8ec3f97 19:49:50 ---> dd07429e0d3a 19:49:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:49:50 ---> Running in 460b061387e2 19:49:50 Removing intermediate container 460b061387e2 19:49:50 ---> c9df3ec4de9b 19:49:50 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:49:50 ---> Running in d02a23da8b0a 19:49:50 Removing intermediate container d02a23da8b0a 19:49:50 ---> 15fd68e5063c 19:49:50 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:49:50 ---> Running in c83ca42000d8 19:49:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:49:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:49:51 OK: 265 MiB in 53 packages 19:49:51 Removing intermediate container c83ca42000d8 19:49:51 ---> 65092b004569 19:49:51 Step 9/26 : WORKDIR /device-onvif-camera 19:49:51 ---> Running in b1f2f66ed7bc 19:49:51 Removing intermediate container b1f2f66ed7bc 19:49:51 ---> b3942816bdae 19:49:51 Step 10/26 : COPY go.mod vendor* ./ 19:49:51 ---> 749159601be3 19:49:51 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:49:51 ---> Running in 6fc2d5e68df5 19:49:52 Removing intermediate container 6fc2d5e68df5 19:49:52 ---> 97bbd632d410 19:49:52 Step 12/26 : COPY . . 19:49:53 ---> 8d56f21f02c5 19:49:53 Step 13/26 : RUN ${MAKE} 19:49:53 ---> Running in 459b66d8ba11 19:49:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 19:50:15 Removing intermediate container 459b66d8ba11 19:50:15 ---> 0e772acec6d8 19:50:15 Step 14/26 : FROM alpine:3.17 19:50:15 3.17: Pulling from library/alpine 19:50:15 f56be85fc22e: Pulling fs layer 19:50:15 f56be85fc22e: Verifying Checksum 19:50:15 f56be85fc22e: Download complete 19:50:15 f56be85fc22e: Pull complete 19:50:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:50:15 Status: Downloaded newer image for alpine:3.17 19:50:15 ---> 9ed4aefc74f6 19:50:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:50:15 ---> Running in 247eb7d41f93 19:50:15 Removing intermediate container 247eb7d41f93 19:50:15 ---> 4583440c48e8 19:50:15 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:50:15 ---> Running in 0f394f73a58f 19:50:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:50:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:50:15 (1/1) Installing dumb-init (1.2.5-r2) 19:50:15 Executing busybox-1.35.0-r29.trigger 19:50:15 OK: 7 MiB in 16 packages 19:50:15 Removing intermediate container 0f394f73a58f 19:50:15 ---> c407dbb978b5 19:50:15 Step 17/26 : WORKDIR / 19:50:15 ---> Running in 70014560f04b 19:50:15 Removing intermediate container 70014560f04b 19:50:15 ---> 9725d932878c 19:50:15 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:50:15 ---> 83081f8d1c72 19:50:15 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:50:15 ---> f9177bb62049 19:50:15 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:50:15 ---> 62cb39747a7c 19:50:15 Step 21/26 : EXPOSE 59984 19:50:15 ---> Running in 27faf692937f 19:50:15 Removing intermediate container 27faf692937f 19:50:15 ---> 826eac9b14bd 19:50:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:50:15 ---> Running in 774fc7263cef 19:50:15 Removing intermediate container 774fc7263cef 19:50:15 ---> e08da0885ba7 19:50:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:50:15 ---> Running in e2a71c68a3ac 19:50:15 Removing intermediate container e2a71c68a3ac 19:50:15 ---> 58efca413cce 19:50:15 Step 24/26 : LABEL arch=amd64 19:50:15 ---> Running in be98b7f09d1c 19:50:15 Removing intermediate container be98b7f09d1c 19:50:15 ---> 8740c48da578 19:50:15 Step 25/26 : LABEL git_sha=4644ea6946a6355b462577718ed75235864b2e60 19:50:15 ---> Running in b48857547503 19:50:15 Removing intermediate container b48857547503 19:50:15 ---> 0ac23e6dbf72 19:50:15 Step 26/26 : LABEL version=0.0.0 19:50:15 ---> Running in b9a1db0b5748 19:50:15 Removing intermediate container b9a1db0b5748 19:50:15 ---> 7000b1a16537 19:50:15 [Warning] One or more build-args [ARCH] were not consumed 19:50:15 Successfully built 7000b1a16537 19:50:15 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 19:50:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:50:16 19:50:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:50:16 latest: Pulling from edgex-lftools-log-publisher 19:50:16 5eb5b503b376: Pulling fs layer 19:50:16 5c69ac0246d0: Pulling fs layer 19:50:16 ec43610c2a17: Pulling fs layer 19:50:16 3a2ae6a8a46f: Pulling fs layer 19:50:16 33b1e0a273af: Pulling fs layer 19:50:16 5d3b04190fa2: Pulling fs layer 19:50:16 2f39f015ded8: Pulling fs layer 19:50:16 3a2ae6a8a46f: Waiting 19:50:16 33b1e0a273af: Waiting 19:50:16 5d3b04190fa2: Waiting 19:50:16 2f39f015ded8: Waiting 19:50:16 5c69ac0246d0: Download complete 19:50:16 3a2ae6a8a46f: Verifying Checksum 19:50:16 3a2ae6a8a46f: Download complete 19:50:16 33b1e0a273af: Verifying Checksum 19:50:16 33b1e0a273af: Download complete 19:50:16 5d3b04190fa2: Verifying Checksum 19:50:16 5d3b04190fa2: Download complete 19:50:16 ec43610c2a17: Verifying Checksum 19:50:16 ec43610c2a17: Download complete 19:50:16 5eb5b503b376: Verifying Checksum 19:50:16 5eb5b503b376: Download complete 19:50:17 2f39f015ded8: Verifying Checksum 19:50:17 2f39f015ded8: Download complete 19:50:18 5eb5b503b376: Pull complete 19:50:18 5c69ac0246d0: Pull complete 19:50:18 ec43610c2a17: Pull complete 19:50:18 3a2ae6a8a46f: Pull complete 19:50:18 33b1e0a273af: Pull complete 19:50:18 5d3b04190fa2: Pull complete 19:50:22 2f39f015ded8: Pull complete 19:50:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:50:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:50:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:50:23 prd-ubuntu20.04-docker-8c-8g-6239 does not seem to be running inside a container 19:50:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-295 -v /w/workspace/undry_device-onvif-camera_PR-295:/w/workspace/undry_device-onvif-camera_PR-295:rw,z -v /w/workspace/undry_device-onvif-camera_PR-295@tmp:/w/workspace/undry_device-onvif-camera_PR-295@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:50:26 $ docker top 42e53e8fd3e1e6acf5036bc01aabf04a4d21eecef2fd856ceca303ddf798d89e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:50:26 ---> job-cost.sh 19:50:26 lf-activate-venv: SKIPPING 19:50:26 INFO: No Stack... 19:50:26 INFO: Retrieving Pricing Info for: v3-standard-8 19:50:27 INFO: Archiving Costs [Pipeline] sh 19:50:27 + cat /w/workspace/undry_device-onvif-camera_PR-295/archives/cost.csv 19:50:27 + cut -d, -f6 [Pipeline] lock 19:50:27 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-295-2-stack-cost] 19:50:27 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-295-2-stack-cost] did not exist. Created. 19:50:27 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-295-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:50:28 + echo total: 0.2199999988079071 [Pipeline] stash 19:50:28 Stashed 1 file(s) [Pipeline] } 19:50:28 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-295-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:50:28 $ docker stop --time=1 42e53e8fd3e1e6acf5036bc01aabf04a4d21eecef2fd856ceca303ddf798d89e 19:50:29 $ docker rm -f --volumes 42e53e8fd3e1e6acf5036bc01aabf04a4d21eecef2fd856ceca303ddf798d89e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:51:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6244 in /w/workspace/undry_device-onvif-camera_PR-295 [Pipeline] { [Pipeline] ws 19:51:39 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 19:51:39 The recommended git tool is: git 19:51:46 using credential edgex-jenkins-ssh 19:51:46 Cloning the remote Git repository 19:51:46 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:51:46 > git init /w/workspace/device-onvif-camera/2 # timeout=10 19:51:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:51:46 > git --version # timeout=10 19:51:46 > git --version # 'git version 2.25.1' 19:51:46 using GIT_SSH to set credentials SSH Credentials for GitHub 19:51:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:51:48 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:51:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:51:50 Merging remotes/origin/main commit 163d81e496ee931b2d3d9b2549810c1b7a8df380 into PR head commit 4644ea6946a6355b462577718ed75235864b2e60 19:51:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:51:50 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:51:50 using GIT_SSH to set credentials SSH Credentials for GitHub 19:51:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/295/head:refs/remotes/origin/PR-295 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:51:50 > git config core.sparsecheckout # timeout=10 19:51:50 > git checkout -f 4644ea6946a6355b462577718ed75235864b2e60 # timeout=10 19:51:51 Merge succeeded, producing 4644ea6946a6355b462577718ed75235864b2e60 19:51:51 Checking out Revision 4644ea6946a6355b462577718ed75235864b2e60 (PR-295) 19:51:52 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:51:51 > git remote # timeout=10 19:51:51 > git config --get remote.origin.url # timeout=10 19:51:51 using GIT_SSH to set credentials SSH Credentials for GitHub 19:51:51 > git merge 163d81e496ee931b2d3d9b2549810c1b7a8df380 # timeout=10 19:51:51 > git rev-parse HEAD^{commit} # timeout=10 19:51:51 > git config core.sparsecheckout # timeout=10 19:51:51 > git checkout -f 4644ea6946a6355b462577718ed75235864b2e60 # timeout=10 19:51:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:51:53 % Total % Received % Xferd Average Speed Time Time Time Current 19:51:53 Dload Upload Total Spent Left Speed 19:51:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 19:51:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:51:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:51:54 + sudo tee /etc/docker/daemon.new 19:51:54 { 19:51:54 "registry-mirrors": [ 19:51:54 "https://nexus3.edgexfoundry.org:10001" 19:51:54 ], 19:51:54 "bip": "10.250.0.254/24", 19:51:54 "hosts": [ 19:51:54 "tcp://0.0.0.0:5555", 19:51:54 "unix:///var/run/docker.sock" 19:51:54 ], 19:51:54 "mtu": 1458, 19:51:54 "selinux-enabled": true, 19:51:54 "seccomp-profile": "/etc/docker/seccomp.json" 19:51:54 } [Pipeline] sh 19:51:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:51:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:52:13 provisioning config files... 19:52:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config6521331948185086038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:52:13 ---> docker-login.sh 19:52:13 nexus3.edgexfoundry.org:10001 19:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:14 Configure a credential helper to remove this warning. See 19:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:14 19:52:14 Login Succeeded 19:52:14 nexus3.edgexfoundry.org:10002 19:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:14 Configure a credential helper to remove this warning. See 19:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:14 19:52:14 Login Succeeded 19:52:14 nexus3.edgexfoundry.org:10003 19:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:15 Configure a credential helper to remove this warning. See 19:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:15 19:52:15 Login Succeeded 19:52:15 nexus3.edgexfoundry.org:10004 19:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:15 Configure a credential helper to remove this warning. See 19:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:15 19:52:15 Login Succeeded 19:52:15 docker.io 19:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:52:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:52:16 Configure a credential helper to remove this warning. See 19:52:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:52:16 19:52:16 Login Succeeded 19:52:16 ---> docker-login.sh ends [Pipeline] } 19:52:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:52:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:52:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:52:16 ========================================================= 19:52:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:52:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:16 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:52:17 Sending build context to Docker daemon 19.71MB 19:52:17 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:52:17 Step 2/13 : FROM ${BASE} AS builder 19:52:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:52:17 af6eaf76a39c: Pulling fs layer 19:52:17 55522c791124: Pulling fs layer 19:52:17 ce5c4a1c91eb: Pulling fs layer 19:52:17 169dfbe0d373: Pulling fs layer 19:52:17 e1ff8fa3b103: Pulling fs layer 19:52:17 52ebb69f0ebf: Pulling fs layer 19:52:17 5abe8eddf0d5: Pulling fs layer 19:52:17 e1ff8fa3b103: Waiting 19:52:17 169dfbe0d373: Waiting 19:52:17 52ebb69f0ebf: Waiting 19:52:17 5abe8eddf0d5: Waiting 19:52:17 55522c791124: Verifying Checksum 19:52:17 55522c791124: Download complete 19:52:17 169dfbe0d373: Verifying Checksum 19:52:17 169dfbe0d373: Download complete 19:52:17 af6eaf76a39c: Verifying Checksum 19:52:17 e1ff8fa3b103: Verifying Checksum 19:52:17 e1ff8fa3b103: Download complete 19:52:17 af6eaf76a39c: Download complete 19:52:19 af6eaf76a39c: Pull complete 19:52:19 5abe8eddf0d5: Verifying Checksum 19:52:19 5abe8eddf0d5: Download complete 19:52:19 55522c791124: Pull complete 19:52:21 ce5c4a1c91eb: Verifying Checksum 19:52:21 ce5c4a1c91eb: Download complete 19:52:21 52ebb69f0ebf: Verifying Checksum 19:52:21 52ebb69f0ebf: Download complete 19:52:33 ce5c4a1c91eb: Pull complete 19:52:33 169dfbe0d373: Pull complete 19:52:33 e1ff8fa3b103: Pull complete 19:52:40 52ebb69f0ebf: Pull complete 19:52:43 5abe8eddf0d5: Pull complete 19:52:43 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 19:52:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:52:43 ---> 6cb57ee374ae 19:52:43 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:52:45 ---> Running in bf94521f1405 19:52:45 Removing intermediate container bf94521f1405 19:52:45 ---> 59f1e5288b26 19:52:45 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:52:45 ---> Running in d39b804b86ab 19:52:45 Removing intermediate container d39b804b86ab 19:52:45 ---> b571138103c1 19:52:45 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:52:46 ---> Running in 292a4c5b11b6 19:52:46 Removing intermediate container 292a4c5b11b6 19:52:46 ---> 8b324ce89f5f 19:52:46 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:52:46 ---> Running in c1deea2fc345 19:52:47 Removing intermediate container c1deea2fc345 19:52:47 ---> f37bf7d17be8 19:52:47 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:52:47 ---> Running in e106c043b143 19:52:47 Removing intermediate container e106c043b143 19:52:47 ---> 144da6106334 19:52:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:52:47 ---> Running in ac0497f57e2e 19:52:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:52:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:52:50 OK: 263 MiB in 53 packages 19:52:51 Removing intermediate container ac0497f57e2e 19:52:51 ---> ff6600d2a202 19:52:51 Step 9/13 : WORKDIR /device-onvif-camera 19:52:51 ---> Running in d1bd60751843 19:52:51 Removing intermediate container d1bd60751843 19:52:51 ---> 2fd8bf1a056b 19:52:51 Step 10/13 : COPY go.mod vendor* ./ 19:52:52 ---> 72adb0855662 19:52:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:52:52 ---> Running in c0257395b87c 19:54:00 Removing intermediate container c0257395b87c 19:54:00 ---> 0e2772a2ab36 19:54:00 Step 12/13 : COPY . . 19:54:02 ---> 2b73adf4cf34 19:54:02 Step 13/13 : RUN ${MAKE} 19:54:02 ---> Running in b83dd0a4b7dc 19:54:03 noop 19:54:03 Removing intermediate container b83dd0a4b7dc 19:54:03 ---> fe34adbd68dd 19:54:04 Successfully built fe34adbd68dd 19:54:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:54:04 + docker inspect -f . ci-base-image-arm64 19:54:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:54:04 prd-ubuntu20.04-docker-arm64-4c-16g-6244 does not seem to be running inside a container 19:54:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:54:06 $ docker top 724acc89f994b0fc62cd601a75bdb1ce9e7e1d0cb0fb9e5a90a2df26699209c5 -eo pid,comm [Pipeline] { [Pipeline] sh 19:54:07 + go version 19:54:07 go version go1.20.2 linux/arm64 [Pipeline] } 19:54:07 $ docker stop --time=1 724acc89f994b0fc62cd601a75bdb1ce9e7e1d0cb0fb9e5a90a2df26699209c5 19:54:08 $ docker rm -f --volumes 724acc89f994b0fc62cd601a75bdb1ce9e7e1d0cb0fb9e5a90a2df26699209c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:54:09 + docker inspect -f . ci-base-image-arm64 19:54:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:54:09 prd-ubuntu20.04-docker-arm64-4c-16g-6244 does not seem to be running inside a container 19:54:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:54:11 $ docker top 17b468080821f50ab1eb12c48af2c2e350778fa2b00943c03188f826dc3453df -eo pid,comm [Pipeline] { [Pipeline] sh 19:54:12 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 19:54:12 + make test 19:54:12 go test ./... -coverprofile=coverage.out ./... 19:54:51 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:57:43 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:57:43 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:57:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.187s coverage: 31.7% of statements 19:58:10 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.606s coverage: 86.5% of statements 19:58:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:58:11 go vet ./... 19:58:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:58:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:58:43 ./bin/test-attribution-txt.sh [Pipeline] echo 19:58:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:58:43 $ docker stop --time=1 17b468080821f50ab1eb12c48af2c2e350778fa2b00943c03188f826dc3453df 19:58:45 $ docker rm -f --volumes 17b468080821f50ab1eb12c48af2c2e350778fa2b00943c03188f826dc3453df [Pipeline] // withDockerContainer [Pipeline] sh 19:58:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:58:46 Warning: overwriting stash ‘coverage-report’ 19:58:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:58:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:58:47 + ls -al . 19:58:47 total 228 19:58:47 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 19:54 . 19:58:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:51 .. 19:58:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 19:51 .git 19:58:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:51 .github 19:58:47 -rw-rw-r-- 1 jenkins jenkins 496 Mar 29 19:51 .gitignore 19:58:47 -rw-rw-r-- 1 jenkins jenkins 42 Mar 29 19:51 .golangci.yml 19:58:47 -rw-rw-r-- 1 jenkins jenkins 9732 Mar 29 19:51 Attribution.txt 19:58:47 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 29 19:51 CHANGELOG.md 19:58:47 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 29 19:51 Dockerfile 19:58:47 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 19:51 GOVERNANCE.md 19:58:47 -rw-rw-r-- 1 jenkins jenkins 734 Mar 29 19:51 Jenkinsfile 19:58:47 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 29 19:51 LICENSE 19:58:47 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 29 19:51 Makefile 19:58:47 -rw-rw-r-- 1 jenkins jenkins 625 Mar 29 19:51 OWNERS.md 19:58:47 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 29 19:51 README.md 19:58:47 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 19:48 VERSION 19:58:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 19:51 bin 19:58:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:51 cmd 19:58:47 -rw-r--r-- 1 jenkins jenkins 78487 Mar 29 19:58 coverage.out 19:58:47 drwxrwxr-x 6 jenkins jenkins 4096 Mar 29 19:51 doc 19:58:47 -rw-rw-r-- 1 jenkins jenkins 3554 Mar 29 19:51 go.mod 19:58:47 -rw-rw-r-- 1 jenkins jenkins 32657 Mar 29 19:51 go.sum 19:58:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:51 internal 19:58:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:51 snap 19:58:47 -rw-rw-r-- 1 jenkins jenkins 236 Mar 29 19:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:48 + 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=4644ea6946a6355b462577718ed75235864b2e60 --label arch=arm64 --label version=0.0.0 . 19:58:49 Sending build context to Docker daemon 19.78MB 19:58:49 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:58:49 Step 2/26 : FROM ${BASE} AS builder 19:58:49 ---> fe34adbd68dd 19:58:49 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:58:49 ---> Running in b89a5fee9ea6 19:58:49 Removing intermediate container b89a5fee9ea6 19:58:49 ---> f51f68a1f3a4 19:58:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:58:49 ---> Running in a0275cb8a42d 19:58:49 Removing intermediate container a0275cb8a42d 19:58:49 ---> b6c710f9deb8 19:58:49 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:58:49 ---> Running in 395d16cb3be2 19:58:50 Removing intermediate container 395d16cb3be2 19:58:50 ---> 8cdd4f18b4c2 19:58:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:58:50 ---> Running in 34413f2c8e5d 19:58:50 Removing intermediate container 34413f2c8e5d 19:58:50 ---> 515d3c2eec11 19:58:50 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:58:50 ---> Running in ca9ac60b9fd2 19:58:51 Removing intermediate container ca9ac60b9fd2 19:58:51 ---> 6722aead5d1e 19:58:51 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:58:51 ---> Running in 16a395d0dd5d 19:58:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:58:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:58:53 OK: 263 MiB in 53 packages 19:58:55 Removing intermediate container 16a395d0dd5d 19:58:55 ---> ccb63bb3189b 19:58:55 Step 9/26 : WORKDIR /device-onvif-camera 19:58:55 ---> Running in c473e1b4a950 19:58:55 Removing intermediate container c473e1b4a950 19:58:55 ---> 37b79e355ff8 19:58:55 Step 10/26 : COPY go.mod vendor* ./ 19:58:56 ---> f2f330b85650 19:58:56 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:58:56 ---> Running in f5f1894e1657 19:58:58 Removing intermediate container f5f1894e1657 19:58:58 ---> d0103673b2ad 19:58:58 Step 12/26 : COPY . . 19:59:00 ---> 109ea5519118 19:59:00 Step 13/26 : RUN ${MAKE} 19:59:00 ---> Running in ee740eaaedcf 19:59:01 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:01:38 Removing intermediate container ee740eaaedcf 20:01:38 ---> dd0db3f2b682 20:01:38 Step 14/26 : FROM alpine:3.17 20:01:38 3.17: Pulling from library/alpine 20:01:38 c41833b44d91: Pulling fs layer 20:01:38 c41833b44d91: Verifying Checksum 20:01:38 c41833b44d91: Download complete 20:01:38 c41833b44d91: Pull complete 20:01:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:01:38 Status: Downloaded newer image for alpine:3.17 20:01:38 ---> 51e60588ff2c 20:01:38 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:01:38 ---> Running in 5e63fbc220c9 20:01:38 Removing intermediate container 5e63fbc220c9 20:01:38 ---> d14e07a86bad 20:01:38 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:01:38 ---> Running in 6fe349127b09 20:01:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:01:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:01:38 (1/1) Installing dumb-init (1.2.5-r2) 20:01:38 Executing busybox-1.35.0-r29.trigger 20:01:38 OK: 8 MiB in 16 packages 20:01:38 Removing intermediate container 6fe349127b09 20:01:38 ---> 3492d7bcef69 20:01:38 Step 17/26 : WORKDIR / 20:01:38 ---> Running in 67aa80b4ea26 20:01:38 Removing intermediate container 67aa80b4ea26 20:01:38 ---> e709b413267f 20:01:38 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:01:38 ---> 8761aad03cc1 20:01:38 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:01:38 ---> 76dd8bb7ce90 20:01:38 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:01:38 ---> bc110f10adcc 20:01:38 Step 21/26 : EXPOSE 59984 20:01:38 ---> Running in 75d3e5a0817c 20:01:38 Removing intermediate container 75d3e5a0817c 20:01:38 ---> 22e1ad59e3d8 20:01:38 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:01:38 ---> Running in 079a948344cc 20:01:39 Removing intermediate container 079a948344cc 20:01:39 ---> 9a8cec976610 20:01:39 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:01:39 ---> Running in 63c3f4cb1f0a 20:01:39 Removing intermediate container 63c3f4cb1f0a 20:01:39 ---> 1e917526cddc 20:01:39 Step 24/26 : LABEL arch=arm64 20:01:39 ---> Running in 751fcbaf123b 20:01:40 Removing intermediate container 751fcbaf123b 20:01:40 ---> 57246aef8031 20:01:40 Step 25/26 : LABEL git_sha=4644ea6946a6355b462577718ed75235864b2e60 20:01:40 ---> Running in 81ae698640e3 20:01:40 Removing intermediate container 81ae698640e3 20:01:40 ---> dcd136b37993 20:01:40 Step 26/26 : LABEL version=0.0.0 20:01:40 ---> Running in 0b2c1cecd57f 20:01:40 Removing intermediate container 0b2c1cecd57f 20:01:40 ---> f51633d32311 20:01:40 [Warning] One or more build-args [ARCH] were not consumed 20:01:40 Successfully built f51633d32311 20:01:40 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:01:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:01:41 20:01:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:01:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:01:41 arm64: Pulling from edgex-lftools-log-publisher 20:01:41 8998bd30e6a1: Pulling fs layer 20:01:41 04944245beec: Pulling fs layer 20:01:41 699f458cf7ca: Pulling fs layer 20:01:41 765212b225bb: Pulling fs layer 20:01:41 f23df028b6ca: Pulling fs layer 20:01:41 d65c8cfc05b1: Pulling fs layer 20:01:41 2437ff75d9bd: Pulling fs layer 20:01:41 f23df028b6ca: Waiting 20:01:41 d65c8cfc05b1: Waiting 20:01:41 2437ff75d9bd: Waiting 20:01:41 765212b225bb: Waiting 20:01:41 04944245beec: Verifying Checksum 20:01:41 04944245beec: Download complete 20:01:41 765212b225bb: Verifying Checksum 20:01:41 765212b225bb: Download complete 20:01:41 f23df028b6ca: Verifying Checksum 20:01:41 f23df028b6ca: Download complete 20:01:41 d65c8cfc05b1: Verifying Checksum 20:01:41 d65c8cfc05b1: Download complete 20:01:41 699f458cf7ca: Download complete 20:01:42 8998bd30e6a1: Verifying Checksum 20:01:42 8998bd30e6a1: Download complete 20:01:45 2437ff75d9bd: Verifying Checksum 20:01:45 2437ff75d9bd: Download complete 20:01:46 8998bd30e6a1: Pull complete 20:01:46 04944245beec: Pull complete 20:01:48 699f458cf7ca: Pull complete 20:01:48 765212b225bb: Pull complete 20:01:49 f23df028b6ca: Pull complete 20:01:49 d65c8cfc05b1: Pull complete 20:02:04 2437ff75d9bd: Pull complete 20:02:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:02:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:02:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:04 prd-ubuntu20.04-docker-arm64-4c-16g-6244 does not seem to be running inside a container 20:02:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:02:07 $ docker top e550db3726f0f4a708b4e01ee8c4d95f082662fcf4fb9c6e7b33fb63daa98e7c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:07 ---> job-cost.sh 20:02:08 lf-activate-venv: SKIPPING 20:02:08 INFO: No Stack... 20:02:08 INFO: Retrieving Pricing Info for: v3-standard-4 20:02:09 INFO: Archiving Costs [Pipeline] sh 20:02:09 + cut -d, -f6 20:02:09 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock 20:02:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-295-2-stack-cost] 20:02:10 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-295-2-stack-cost] did not exist. Created. 20:02:10 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-295-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:02:10 /w/workspace/device-onvif-camera/2@tmp/durable-2a05ae83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:02:11 + echo total: 0.10999999940395355 [Pipeline] stash 20:02:11 Warning: overwriting stash ‘stack-cost’ 20:02:11 Stashed 1 file(s) [Pipeline] } 20:02:11 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-295-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:02:11 $ docker stop --time=1 e550db3726f0f4a708b4e01ee8c4d95f082662fcf4fb9c6e7b33fb63daa98e7c 20:02:13 $ docker rm -f --volumes e550db3726f0f4a708b4e01ee8c4d95f082662fcf4fb9c6e7b33fb63daa98e7c [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:02:13 provisioning config files... 20:02:13 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-295@tmp/config6268089220372178932tmp [Pipeline] { [Pipeline] sh 20:02:13 + set +x 20:02:13 + curl -s https://codecov.io/bash 20:02:13 + bash -s -- 20:02:13 20:02:13 _____ _ 20:02:13 / ____| | | 20:02:13 | | ___ __| | ___ ___ _____ __ 20:02:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:02:13 | |___| (_) | (_| | __/ (_| (_) \ V / 20:02:13 \_____\___/ \__,_|\___|\___\___/ \_/ 20:02:13 Bash-1.0.6 20:02:13 20:02:13 20:02:13 ==> git version 2.25.1 found 20:02:13 ==> 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:02:13 Release-Date: 2020-01-08 20:02:13 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:02:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:02:13 ==> Jenkins CI detected. 20:02:13 current dir:  /w/workspace/undry_device-onvif-camera_PR-295 20:02:13 project root: . 20:02:13 --> token set from env 20:02:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:02:13 ==> Running gcov in . (disable via -X gcov) 20:02:13 ==> Python coveragepy not found 20:02:13 ==> Searching for coverage reports in: 20:02:13 + . 20:02:13 -> Found 1 reports 20:02:13 ==> Detecting git/mercurial file structure 20:02:13 ==> Reading reports 20:02:13 + ./coverage.out bytes=78487 20:02:13 ==> Appending adjustments 20:02:13 https://docs.codecov.io/docs/fixing-reports 20:02:13 + Found adjustments 20:02:13 ==> Gzipping contents 20:02:13 12K /tmp/codecov.3vBBxm.gz 20:02:13 ==> Uploading reports 20:02:13 url: https://codecov.io 20:02:13 query: branch=PR-295&commit=4644ea6946a6355b462577718ed75235864b2e60&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-295%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=295&job=&cmd_args= 20:02:13 -> Pinging Codecov 20:02:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-295&commit=4644ea6946a6355b462577718ed75235864b2e60&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-295%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=295&job=&cmd_args= 20:02:14 -> Uploading to 20:02:14 https://storage.googleapis.com/codecov/v4/raw/2023-03-29/F29A59C45E3A92E06B3E522C9905F8EF/4644ea6946a6355b462577718ed75235864b2e60/2893f8cb-42eb-45a6-a831-c82abd5df8cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T200213Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8b9e848f830c1b5f361e0e08c197b7b061fa78522b08b2d2484bebb295c16b2e 20:02:14 % Total % Received % Xferd Average Speed Time Time Time Current 20:02:14 Dload Upload Total Spent Left Speed 20:02:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10492 0 0 100 10492 0 37741 --:--:-- --:--:-- --:--:-- 37741 20:02:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4644ea6946a6355b462577718ed75235864b2e60 [Pipeline] } 20:02:14 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:02:15 + [ -d /w/workspace/undry_device-onvif-camera_PR-295/archives ] 20:02:15 + ls -al /w/workspace/undry_device-onvif-camera_PR-295/archives 20:02:15 total 16 20:02:15 drwxr-xr-x 3 root root 4096 Mar 29 19:50 . 20:02:15 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 19:50 .. 20:02:15 drwxr-xr-x 2 root root 4096 Mar 29 19:50 cost 20:02:15 -rw-r--r-- 1 root root 91 Mar 29 19:50 cost.csv 20:02:15 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-295/archives 20:02:15 + ls -al /w/workspace/undry_device-onvif-camera_PR-295/archives 20:02:15 total 16 20:02:15 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 19:50 . 20:02:15 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 19:50 .. 20:02:15 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 19:50 cost 20:02:15 -rw-r--r-- 1 jenkins jenkins 91 Mar 29 19:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:02:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:02:16 ---> package-listing.sh 20:02:16 ++ facter osfamily 20:02:16 ++ tr '[:upper:]' '[:lower:]' 20:02:16 + OS_FAMILY=debian 20:02:16 + workspace=/w/workspace/undry_device-onvif-camera_PR-295 20:02:16 + START_PACKAGES=/tmp/packages_start.txt 20:02:16 + END_PACKAGES=/tmp/packages_end.txt 20:02:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:02:16 + PACKAGES=/tmp/packages_start.txt 20:02:16 + '[' /w/workspace/undry_device-onvif-camera_PR-295 ']' 20:02:16 + PACKAGES=/tmp/packages_end.txt 20:02:16 + case "${OS_FAMILY}" in 20:02:16 + dpkg -l 20:02:16 + grep '^ii' 20:02:16 + '[' -f /tmp/packages_start.txt ']' 20:02:16 + '[' -f /tmp/packages_end.txt ']' 20:02:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:02:16 + '[' /w/workspace/undry_device-onvif-camera_PR-295 ']' 20:02:16 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-295/archives/ 20:02:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-295/archives/ [Pipeline] echo 20:02:16 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-295/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:02:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:02:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:17 prd-ubuntu20.04-docker-8c-8g-6239 does not seem to be running inside a container 20:02:17 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-295/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-295 -v /w/workspace/undry_device-onvif-camera_PR-295:/w/workspace/undry_device-onvif-camera_PR-295:rw,z -v /w/workspace/undry_device-onvif-camera_PR-295@tmp:/w/workspace/undry_device-onvif-camera_PR-295@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:02:17 $ docker top 36089b53a49cd71389d4274cfdc712c8ea4b4c4ac6fc0dc4e31d7932c71e4753 -eo pid,comm [Pipeline] { [Pipeline] sh 20:02:18 + touch /tmp/pre-build-complete [Pipeline] sh 20:02:18 + mkdir -p /var/log/sysstat [Pipeline] sh 20:02:18 + ls /var/log/sa-host 20:02:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:18 provisioning config files... 20:02:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-295@tmp/config467991278396739153tmp [Pipeline] { [Pipeline] echo 20:02:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:02:19 ---> create-netrc.sh [Pipeline] } 20:02:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:02:19 ---> python-tools-install.sh [Pipeline] echo 20:02:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:02:19 ---> sudo-logs.sh 20:02:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:02:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:02:19 ---> job-cost.sh 20:02:19 lf-activate-venv: SKIPPING 20:02:19 DEBUG: total: 0.2199999988079071 20:02:19 INFO: Retrieving Stack Cost... 20:02:20 INFO: Retrieving Pricing Info for: v3-standard-8 20:02:20 INFO: Archiving Costs [Pipeline] echo 20:02:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:02:21 ---> logs-deploy.sh 20:02:21 lf-activate-venv: SKIPPING 20:02:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-295/2 20:02:21 INFO: archiving workspace using pattern(s): 20:02:22 Archives upload complete. 20:02:22 INFO: archiving logs to Nexus