Pull request #245 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 795fcc320cafb7294f2448f88399958da3935449+650149e901bbd1d5d542720a605977f5c38beceb (a6c093518e8dd457890c4fad557b150f3861caf3) 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-ssh17422009716151720844.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11773178709543621181.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-245/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-245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10961780134950503692.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14392054158671515223.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-245/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-245/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14903560495105917292.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8661’ Running on prd-ubuntu20.04-docker-8c-8g-8667 in /w/workspace/undry_device-onvif-camera_PR-245 [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-245 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 650149e901bbd1d5d542720a605977f5c38beceb into PR head commit 795fcc320cafb7294f2448f88399958da3935449 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 795fcc320cafb7294f2448f88399958da3935449 # timeout=10 Merge succeeded, producing 795fcc320cafb7294f2448f88399958da3935449 Checking out Revision 795fcc320cafb7294f2448f88399958da3935449 (PR-245) Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 0.1.5 to 0.1.6" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:54:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:54:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:54:31 ========================================================= 22:54:31 EdgeX Global Pipelines Version Info 22:54:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 650149e901bbd1d5d542720a605977f5c38beceb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 795fcc320cafb7294f2448f88399958da3935449 # timeout=10 > git rev-list --no-walk 3db9ec9e4acb35ac194ded49032763a22c354391 # timeout=10 22:54:32 ------------------- 22:54:32 stable info: 22:54:32 ------------------- 22:54:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:54:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:54:32 Message: update stable to v1.0.244 22:54:33 ------------------- 22:54:33 experimental info: 22:54:33 ------------------- 22:54:33 Commited By: **** collab-it+edgex@linuxfoundation.org 22:54:33 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:54:33 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-245 [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-245 [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-245 [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 795fcc320cafb7294f2448f88399958da3935449 [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 795fcc3 [Pipeline] echo 22:54:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:54:33 provisioning config files... 22:54:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config6927478435892489528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:34 ---> docker-login.sh 22:54:34 nexus3.edgexfoundry.org:10001 22:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:34 Configure a credential helper to remove this warning. See 22:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:34 22:54:34 Login Succeeded 22:54:34 nexus3.edgexfoundry.org:10002 22:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:34 Configure a credential helper to remove this warning. See 22:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:34 22:54:34 Login Succeeded 22:54:34 nexus3.edgexfoundry.org:10003 22:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:34 Configure a credential helper to remove this warning. See 22:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:34 22:54:34 Login Succeeded 22:54:34 nexus3.edgexfoundry.org:10004 22:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:34 Configure a credential helper to remove this warning. See 22:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:34 22:54:34 Login Succeeded 22:54:34 docker.io 22:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:34 Configure a credential helper to remove this warning. See 22:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:34 22:54:34 Login Succeeded 22:54:34 ---> docker-login.sh ends [Pipeline] } 22:54:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:54:35 + git rev-list -1 --merges 795fcc320cafb7294f2448f88399958da3935449~1..795fcc320cafb7294f2448f88399958da3935449 [Pipeline] echo 22:54:35 -----------> git rev-list -1 --merges 795fcc320cafb7294f2448f88399958da3935449~1..795fcc320cafb7294f2448f88399958da3935449 795fcc320cafb7294f2448f88399958da3935449 [false] [Pipeline] sh 22:54:35 + git log --format=format:%s -1 795fcc320cafb7294f2448f88399958da3935449 [Pipeline] echo 22:54:35 ========================================================= 22:54:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:54:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:54:36 + git log --format=format:%s -1 795fcc320cafb7294f2448f88399958da3935449 [Pipeline] echo 22:54:36 [semverPrep] GIT_COMMIT: 795fcc320cafb7294f2448f88399958da3935449, Commit Message: build(deps): Bump github.com/IOTechSystems/onvif from 0.1.5 to 0.1.6 [Pipeline] echo 22:54:36 [semverPrep] This is not a build commit. [Pipeline] sh 22:54:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:54:36 + grep -v github /etc/ssh/ssh_known_hosts 22:54:36 + [ -e /tmp/ssh_known_hosts ] 22:54:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:54:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:54:36 + sudo tee -a /etc/ssh/ssh_known_hosts 22:54:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:54:36 22:54:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:54:37 0.1.4: Pulling from edgex-devops/py-git-semver 22:54:37 b85a868b505f: Pulling fs layer 22:54:37 e2be974225ed: Pulling fs layer 22:54:37 339a4e72a1f5: Pulling fs layer 22:54:37 988bab9f4d93: Pulling fs layer 22:54:37 1469e6f7b9e6: Pulling fs layer 22:54:37 988bab9f4d93: Waiting 22:54:37 eaf3925da568: Pulling fs layer 22:54:37 bab4dde63d76: Pulling fs layer 22:54:37 bde34c3a00c8: Pulling fs layer 22:54:37 eaf3925da568: Waiting 22:54:37 bab4dde63d76: Waiting 22:54:37 b352a97aabf1: Pulling fs layer 22:54:37 bde34c3a00c8: Waiting 22:54:37 4872d77fe225: Pulling fs layer 22:54:37 5851b861e8e6: Pulling fs layer 22:54:37 4872d77fe225: Waiting 22:54:37 b352a97aabf1: Waiting 22:54:37 e2be974225ed: Download complete 22:54:37 988bab9f4d93: Verifying Checksum 22:54:37 988bab9f4d93: Download complete 22:54:37 1469e6f7b9e6: Verifying Checksum 22:54:37 1469e6f7b9e6: Download complete 22:54:37 eaf3925da568: Download complete 22:54:37 339a4e72a1f5: Verifying Checksum 22:54:37 339a4e72a1f5: Download complete 22:54:37 bde34c3a00c8: Verifying Checksum 22:54:37 bde34c3a00c8: Download complete 22:54:37 b352a97aabf1: Verifying Checksum 22:54:37 b352a97aabf1: Download complete 22:54:37 4872d77fe225: Verifying Checksum 22:54:37 4872d77fe225: Download complete 22:54:37 5851b861e8e6: Download complete 22:54:37 bab4dde63d76: Verifying Checksum 22:54:37 bab4dde63d76: Download complete 22:54:37 b85a868b505f: Verifying Checksum 22:54:37 b85a868b505f: Download complete 22:54:39 b85a868b505f: Pull complete 22:54:39 e2be974225ed: Pull complete 22:54:39 339a4e72a1f5: Pull complete 22:54:39 988bab9f4d93: Pull complete 22:54:39 1469e6f7b9e6: Pull complete 22:54:39 eaf3925da568: Pull complete 22:54:41 bab4dde63d76: Pull complete 22:54:41 bde34c3a00c8: Pull complete 22:54:41 b352a97aabf1: Pull complete 22:54:42 4872d77fe225: Pull complete 22:54:42 5851b861e8e6: Pull complete 22:54:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:54:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:54:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:42 prd-ubuntu20.04-docker-8c-8g-8667 does not seem to be running inside a container 22:54:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:54:44 $ docker top 1ae5d6455946e392715335a1a2005b0daf474fc7b0c582b1818a40dd8123a55e -eo pid,comm 22:54:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:54:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:54:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:54:44 [ssh-agent] Looking for ssh-agent implementation... 22:54:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:54:44 $ docker exec 1ae5d6455946e392715335a1a2005b0daf474fc7b0c582b1818a40dd8123a55e ssh-agent 22:54:45 SSH_AUTH_SOCK=/tmp/ssh-ob5327Pg6V2Y/agent.31 22:54:45 SSH_AGENT_PID=37 22:54:45 Running ssh-add (command line suppressed) 22:54:45 Identity added: /w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_3012776516536205780.key (/w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_3012776516536205780.key) 22:54:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:54:45 + git tag --points-at HEAD [Pipeline] } 22:54:45 $ docker exec --env ******** --env ******** 1ae5d6455946e392715335a1a2005b0daf474fc7b0c582b1818a40dd8123a55e ssh-agent -k 22:54:45 unset SSH_AUTH_SOCK; 22:54:45 unset SSH_AGENT_PID; 22:54:45 echo Agent pid 37 killed; 22:54:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:54:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:54:45 [ssh-agent] Looking for ssh-agent implementation... 22:54:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:54:45 $ docker exec 1ae5d6455946e392715335a1a2005b0daf474fc7b0c582b1818a40dd8123a55e ssh-agent 22:54:45 SSH_AUTH_SOCK=/tmp/ssh-zR9jq8s4VDRi/agent.69 22:54:45 SSH_AGENT_PID=75 22:54:45 Running ssh-add (command line suppressed) 22:54:45 Identity added: /w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_17997530709083682504.key (/w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_17997530709083682504.key) 22:54:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:54:46 + git semver init 22:54:46 2023-03-07 22:54:46,411 [run_init] DEBUG init version:0.0.0 force:False 22:54:46 2023-03-07 22:54:46,412 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-245/.semver 22:54:46 2023-03-07 22:54:46,412 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-245/.semver 22:54:46 2023-03-07 22:54:46,412 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-245/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-245, universal_newlines=False, shell=None, istream=None) 22:54:47 2023-03-07 22:54:47,384 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-245/.git/info/exclude 22:54:47 2023-03-07 22:54:47,385 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 with force:False 22:54:47 2023-03-07 22:54:47,385 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 22:54:47 2023-03-07 22:54:47,387 [execute] INFO git cat-file --batch-check 22:54:47 2023-03-07 22:54:47,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-245/.semver, universal_newlines=False, shell=None, istream=) 22:54:47 2023-03-07 22:54:47,392 [execute] INFO git cat-file --batch 22:54:47 2023-03-07 22:54:47,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-245/.semver, universal_newlines=False, shell=None, istream=) 22:54:47 2023-03-07 22:54:47,397 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 22:54:47 0.0.0 [Pipeline] } 22:54:47 $ docker exec --env ******** --env ******** 1ae5d6455946e392715335a1a2005b0daf474fc7b0c582b1818a40dd8123a55e ssh-agent -k 22:54:47 unset SSH_AUTH_SOCK; 22:54:47 unset SSH_AGENT_PID; 22:54:47 echo Agent pid 75 killed; 22:54:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:54:48 + git semver [Pipeline] } 22:54:48 $ docker stop --time=1 1ae5d6455946e392715335a1a2005b0daf474fc7b0c582b1818a40dd8123a55e 22:54:49 $ docker rm -f --volumes 1ae5d6455946e392715335a1a2005b0daf474fc7b0c582b1818a40dd8123a55e [Pipeline] // withDockerContainer [Pipeline] sh 22:54:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:54:50 Stashed 1 file(s) [Pipeline] echo 22:54:50 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:54:50 provisioning config files... 22:54:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config2295052850560172754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:50 ---> docker-login.sh 22:54:50 nexus3.edgexfoundry.org:10001 22:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:50 Configure a credential helper to remove this warning. See 22:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:50 22:54:50 Login Succeeded 22:54:50 nexus3.edgexfoundry.org:10002 22:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:50 Configure a credential helper to remove this warning. See 22:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:50 22:54:50 Login Succeeded 22:54:50 nexus3.edgexfoundry.org:10003 22:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:50 Configure a credential helper to remove this warning. See 22:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:50 22:54:50 Login Succeeded 22:54:50 nexus3.edgexfoundry.org:10004 22:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:50 Configure a credential helper to remove this warning. See 22:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:50 22:54:50 Login Succeeded 22:54:50 docker.io 22:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:54:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:54:51 Configure a credential helper to remove this warning. See 22:54:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:54:51 22:54:51 Login Succeeded 22:54:51 ---> docker-login.sh ends [Pipeline] } 22:54:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:54:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:54:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:54:51 ========================================================= 22:54:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:54:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:54:51 Sending build context to Docker daemon 27.84MB 22:54:51 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:54:51 Step 2/13 : FROM ${BASE} AS builder 22:54:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:54:51 213ec9aee27d: Pulling fs layer 22:54:51 4583459ba037: Pulling fs layer 22:54:51 93c1e223e6f2: Pulling fs layer 22:54:51 53926ce57604: Pulling fs layer 22:54:51 21b2b0c7a3f4: Pulling fs layer 22:54:51 22ff95d597cd: Pulling fs layer 22:54:51 12d6caf4c0d1: Pulling fs layer 22:54:51 96b7cbca73a9: Pulling fs layer 22:54:51 a7acece74701: Pulling fs layer 22:54:51 53926ce57604: Waiting 22:54:51 21b2b0c7a3f4: Waiting 22:54:51 22ff95d597cd: Waiting 22:54:51 12d6caf4c0d1: Waiting 22:54:51 96b7cbca73a9: Waiting 22:54:51 93c1e223e6f2: Verifying Checksum 22:54:51 93c1e223e6f2: Download complete 22:54:51 4583459ba037: Download complete 22:54:51 21b2b0c7a3f4: Download complete 22:54:51 22ff95d597cd: Verifying Checksum 22:54:51 22ff95d597cd: Download complete 22:54:51 213ec9aee27d: Verifying Checksum 22:54:51 213ec9aee27d: Download complete 22:54:52 213ec9aee27d: Pull complete 22:54:52 12d6caf4c0d1: Verifying Checksum 22:54:52 12d6caf4c0d1: Download complete 22:54:52 4583459ba037: Pull complete 22:54:52 93c1e223e6f2: Pull complete 22:54:53 a7acece74701: Verifying Checksum 22:54:53 a7acece74701: Download complete 22:54:53 53926ce57604: Verifying Checksum 22:54:53 53926ce57604: Download complete 22:54:53 96b7cbca73a9: Verifying Checksum 22:54:53 96b7cbca73a9: Download complete 22:54:57 53926ce57604: Pull complete 22:54:57 21b2b0c7a3f4: Pull complete 22:54:57 22ff95d597cd: Pull complete 22:54:57 12d6caf4c0d1: Pull complete 22:54:59 96b7cbca73a9: Pull complete 22:55:00 a7acece74701: Pull complete 22:55:00 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:55:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:55:00 ---> db6d94c90886 22:55:00 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:55:03 ---> Running in b6e6a8d31c6a 22:55:03 Removing intermediate container b6e6a8d31c6a 22:55:03 ---> c5987bd5fce6 22:55:03 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:55:03 ---> Running in cc8099dcca24 22:55:03 Removing intermediate container cc8099dcca24 22:55:03 ---> 4b0f9d03c219 22:55:03 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:55:03 ---> Running in 489f084110a5 22:55:04 Removing intermediate container 489f084110a5 22:55:04 ---> af2485c5479f 22:55:04 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:55:04 ---> Running in 3954294874ef 22:55:04 Removing intermediate container 3954294874ef 22:55:04 ---> 1a9ad1e36fa0 22:55:04 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:55:04 ---> Running in 5f4f1f2712d7 22:55:04 Removing intermediate container 5f4f1f2712d7 22:55:04 ---> fe5792ff27da 22:55:04 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:55:04 ---> Running in 888e16fc413f 22:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:55:04 OK: 211 MiB in 51 packages 22:55:05 Removing intermediate container 888e16fc413f 22:55:05 ---> e5d89c1c98d9 22:55:05 Step 9/13 : WORKDIR /device-onvif-camera 22:55:05 ---> Running in 71c4a8faa089 22:55:05 Removing intermediate container 71c4a8faa089 22:55:05 ---> 2c02a714e4d7 22:55:05 Step 10/13 : COPY go.mod vendor* ./ 22:55:05 ---> e4cbd00bb770 22:55:05 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:55:05 Still waiting to schedule task 22:55:05 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8662’ 22:55:05 ---> Running in 2a4336e0733c 22:55:37 Removing intermediate container 2a4336e0733c 22:55:37 ---> 3e17ad136fe2 22:55:37 Step 12/13 : COPY . . 22:55:37 ---> cf6027521ecb 22:55:37 Step 13/13 : RUN ${MAKE} 22:55:37 ---> Running in 71179d2e84a7 22:55:37 noop 22:55:37 Removing intermediate container 71179d2e84a7 22:55:37 ---> 91aec5fc2a95 22:55:37 Successfully built 91aec5fc2a95 22:55:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:37 + docker inspect -f . ci-base-image-x86_64 22:55:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:55:37 prd-ubuntu20.04-docker-8c-8g-8667 does not seem to be running inside a container 22:55:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:55:38 $ docker top ffed2b20a11a096194ccffd5c3c497999dff7fea590586dd9bbfaa1d8175e82b -eo pid,comm [Pipeline] { [Pipeline] sh 22:55:38 + go version 22:55:38 go version go1.18.7 linux/amd64 [Pipeline] } 22:55:38 $ docker stop --time=1 ffed2b20a11a096194ccffd5c3c497999dff7fea590586dd9bbfaa1d8175e82b 22:55:39 $ docker rm -f --volumes ffed2b20a11a096194ccffd5c3c497999dff7fea590586dd9bbfaa1d8175e82b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:40 + docker inspect -f . ci-base-image-x86_64 22:55:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:55:40 prd-ubuntu20.04-docker-8c-8g-8667 does not seem to be running inside a container 22:55:40 $ 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-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:55:40 $ docker top 0bf268ff994f560fffaf8cffee8b594f4877de2dd19e14f3340b0338bcd8a0fe -eo pid,comm [Pipeline] { [Pipeline] sh 22:55:41 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-245 [Pipeline] fileExists [Pipeline] sh 22:55:41 + make test 22:55:41 go test ./... -coverprofile=coverage.out ./... 22:55:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:55:51 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:55:54 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 30.5% of statements 22:55:54 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:55:54 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.341s coverage: 86.5% of statements 22:56:01 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 22:56:01 go vet ./... 22:56:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:56:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:56:04 ./bin/test-attribution-txt.sh [Pipeline] echo 22:56:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:56:04 $ docker stop --time=1 0bf268ff994f560fffaf8cffee8b594f4877de2dd19e14f3340b0338bcd8a0fe 22:56:07 $ docker rm -f --volumes 0bf268ff994f560fffaf8cffee8b594f4877de2dd19e14f3340b0338bcd8a0fe [Pipeline] // withDockerContainer [Pipeline] sh 22:56:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:56:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:56:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:56:08 + ls -al . 22:56:08 total 232 22:56:08 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 22:55 . 22:56:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 22:54 .. 22:56:08 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 22:55 .git 22:56:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 22:54 .github 22:56:08 -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 22:54 .gitignore 22:56:08 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 22:54 .golangci.yml 22:56:08 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 22:54 .semver 22:56:08 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 22:54 Attribution.txt 22:56:08 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 22:54 CHANGELOG.md 22:56:08 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 22:54 Dockerfile 22:56:08 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 22:54 GOVERNANCE.md 22:56:08 -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 22:54 Jenkinsfile 22:56:08 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 22:54 LICENSE 22:56:08 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 22:54 Makefile 22:56:08 -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 22:54 OWNERS.md 22:56:08 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 22:54 README.md 22:56:08 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 22:54 VERSION 22:56:08 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 22:54 bin 22:56:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 22:54 cmd 22:56:08 -rw-r--r-- 1 jenkins jenkins 76650 Mar 7 22:55 coverage.out 22:56:08 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 22:54 doc 22:56:08 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 22:54 go.mod 22:56:08 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 7 22:54 go.sum 22:56:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 22:54 internal 22:56:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 22:54 snap 22:56:08 -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 22:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:08 + 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=795fcc320cafb7294f2448f88399958da3935449 --label arch=amd64 --label version=0.0.0 . 22:56:08 Sending build context to Docker daemon 27.92MB 22:56:08 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:56:08 Step 2/26 : FROM ${BASE} AS builder 22:56:08 ---> 91aec5fc2a95 22:56:08 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:56:08 ---> Running in 5bacb2713fa8 22:56:09 Removing intermediate container 5bacb2713fa8 22:56:09 ---> da27dc30b5df 22:56:09 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:56:09 ---> Running in a9a79177123c 22:56:09 Removing intermediate container a9a79177123c 22:56:09 ---> 53d091d89875 22:56:09 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:56:09 ---> Running in cb27e7bbed19 22:56:09 Removing intermediate container cb27e7bbed19 22:56:09 ---> 4f297c93f8c7 22:56:09 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:56:09 ---> Running in 6eaa846a2915 22:56:09 Removing intermediate container 6eaa846a2915 22:56:09 ---> d1dd82ecad85 22:56:09 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:56:09 ---> Running in 25fb830e8942 22:56:09 Removing intermediate container 25fb830e8942 22:56:09 ---> 701c3f0017e8 22:56:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:56:09 ---> Running in 5dab0164e2fd 22:56:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:56:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:56:10 OK: 211 MiB in 51 packages 22:56:10 Removing intermediate container 5dab0164e2fd 22:56:10 ---> 3401a91eece7 22:56:10 Step 9/26 : WORKDIR /device-onvif-camera 22:56:10 ---> Running in f8e6e674650b 22:56:10 Removing intermediate container f8e6e674650b 22:56:10 ---> 6bf24a3ac3ae 22:56:10 Step 10/26 : COPY go.mod vendor* ./ 22:56:10 ---> 003ef668f184 22:56:10 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:56:10 ---> Running in aa9854a2609a 22:56:11 Removing intermediate container aa9854a2609a 22:56:11 ---> 19e352a439e8 22:56:11 Step 12/26 : COPY . . 22:56:12 ---> 173a8e1d34c7 22:56:12 Step 13/26 : RUN ${MAKE} 22:56:12 ---> Running in fa9bcdf689cd 22:56:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:56:34 Removing intermediate container fa9bcdf689cd 22:56:34 ---> f8c8115a3179 22:56:34 Step 14/26 : FROM alpine:3.16 22:56:34 3.16: Pulling from library/alpine 22:56:34 ef5531b6e74e: Pulling fs layer 22:56:34 ef5531b6e74e: Verifying Checksum 22:56:34 ef5531b6e74e: Download complete 22:56:34 ef5531b6e74e: Pull complete 22:56:34 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 22:56:34 Status: Downloaded newer image for alpine:3.16 22:56:34 ---> dfd21b5a31f5 22:56:34 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:56:34 ---> Running in 37d7f7371b8a 22:56:34 Removing intermediate container 37d7f7371b8a 22:56:34 ---> fa436bb51948 22:56:34 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:56:34 ---> Running in c942a28a4856 22:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:56:34 (1/1) Installing dumb-init (1.2.5-r1) 22:56:34 Executing busybox-1.35.0-r17.trigger 22:56:34 OK: 6 MiB in 15 packages 22:56:34 Removing intermediate container c942a28a4856 22:56:34 ---> 6b39773304bd 22:56:34 Step 17/26 : WORKDIR / 22:56:34 ---> Running in a34bf4e8499c 22:56:34 Removing intermediate container a34bf4e8499c 22:56:34 ---> 8c00661e88bb 22:56:34 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:56:35 ---> d64774c863f4 22:56:35 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:56:35 ---> daa576ed28a3 22:56:35 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:56:35 ---> 13f8f5ebbd25 22:56:35 Step 21/26 : EXPOSE 59984 22:56:35 ---> Running in 301c4982e6ad 22:56:35 Removing intermediate container 301c4982e6ad 22:56:35 ---> a91594d6330a 22:56:35 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:56:35 ---> Running in 64aa69122fb1 22:56:36 Removing intermediate container 64aa69122fb1 22:56:36 ---> 4598b569ce23 22:56:36 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:56:36 ---> Running in 6b7ec155fdae 22:56:36 Removing intermediate container 6b7ec155fdae 22:56:36 ---> a3e2a2eb301f 22:56:36 Step 24/26 : LABEL arch=amd64 22:56:36 ---> Running in 13907e409d41 22:56:36 Removing intermediate container 13907e409d41 22:56:36 ---> 06e1c647aebc 22:56:36 Step 25/26 : LABEL git_sha=795fcc320cafb7294f2448f88399958da3935449 22:56:36 ---> Running in 80789199ff06 22:56:36 Removing intermediate container 80789199ff06 22:56:36 ---> c4577ac4e878 22:56:36 Step 26/26 : LABEL version=0.0.0 22:56:36 ---> Running in 771a9fc93097 22:56:36 Removing intermediate container 771a9fc93097 22:56:36 ---> d56a2de47800 22:56:36 [Warning] One or more build-args [ARCH] were not consumed 22:56:36 Successfully built d56a2de47800 22:56:36 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:56:36 22:56:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:56:37 latest: Pulling from edgex-lftools-log-publisher 22:56:37 5eb5b503b376: Pulling fs layer 22:56:37 5c69ac0246d0: Pulling fs layer 22:56:37 ec43610c2a17: Pulling fs layer 22:56:37 3a2ae6a8a46f: Pulling fs layer 22:56:37 33b1e0a273af: Pulling fs layer 22:56:37 5d3b04190fa2: Pulling fs layer 22:56:37 2f39f015ded8: Pulling fs layer 22:56:37 33b1e0a273af: Waiting 22:56:37 5d3b04190fa2: Waiting 22:56:37 2f39f015ded8: Waiting 22:56:37 3a2ae6a8a46f: Waiting 22:56:37 5c69ac0246d0: Download complete 22:56:37 3a2ae6a8a46f: Verifying Checksum 22:56:37 3a2ae6a8a46f: Download complete 22:56:37 33b1e0a273af: Verifying Checksum 22:56:37 33b1e0a273af: Download complete 22:56:37 5d3b04190fa2: Verifying Checksum 22:56:37 5d3b04190fa2: Download complete 22:56:37 ec43610c2a17: Verifying Checksum 22:56:37 ec43610c2a17: Download complete 22:56:37 5eb5b503b376: Verifying Checksum 22:56:37 5eb5b503b376: Download complete 22:56:37 2f39f015ded8: Verifying Checksum 22:56:37 2f39f015ded8: Download complete 22:56:38 5eb5b503b376: Pull complete 22:56:38 5c69ac0246d0: Pull complete 22:56:39 ec43610c2a17: Pull complete 22:56:39 3a2ae6a8a46f: Pull complete 22:56:39 33b1e0a273af: Pull complete 22:56:39 5d3b04190fa2: Pull complete 22:56:43 2f39f015ded8: Pull complete 22:56:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:56:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:56:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:56:43 prd-ubuntu20.04-docker-8c-8g-8667 does not seem to be running inside a container 22:56:43 $ 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-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:56:47 $ docker top 463932a1ccf600637a343cb033685b8960b78d0fdfc094cf5c8dcab39191278c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:56:47 ---> job-cost.sh 22:56:47 lf-activate-venv: SKIPPING 22:56:47 INFO: No Stack... 22:56:48 INFO: Retrieving Pricing Info for: v3-standard-8 22:56:48 INFO: Archiving Costs [Pipeline] sh 22:56:48 + cat /w/workspace/undry_device-onvif-camera_PR-245/archives/cost.csv 22:56:48 + cut -d, -f6 [Pipeline] lock 22:56:48 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-245-5-stack-cost] 22:56:48 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-5-stack-cost] did not exist. Created. 22:56:48 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-245-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:56:48 + echo total: 0.2199999988079071 [Pipeline] stash 22:56:48 Stashed 1 file(s) [Pipeline] } 22:56:48 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-5-stack-cost] [Pipeline] // lock [Pipeline] } 22:56:49 $ docker stop --time=1 463932a1ccf600637a343cb033685b8960b78d0fdfc094cf5c8dcab39191278c 22:56:50 $ docker rm -f --volumes 463932a1ccf600637a343cb033685b8960b78d0fdfc094cf5c8dcab39191278c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:57:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8673 in /w/workspace/undry_device-onvif-camera_PR-245 [Pipeline] { [Pipeline] ws 22:57:51 Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout 22:57:51 The recommended git tool is: git 22:58:02 using credential edgex-jenkins-ssh 22:58:02 Cloning the remote Git repository 22:58:03 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:58:03 > git init /w/workspace/device-onvif-camera/5 # timeout=10 22:58:03 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:58:03 > git --version # timeout=10 22:58:03 > git --version # 'git version 2.25.1' 22:58:03 using GIT_SSH to set credentials SSH Credentials for GitHub 22:58:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:58:05 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:58:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:58:06 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:58:06 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:58:06 using GIT_SSH to set credentials SSH Credentials for GitHub 22:58:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:58:07 Merging remotes/origin/main commit 650149e901bbd1d5d542720a605977f5c38beceb into PR head commit 795fcc320cafb7294f2448f88399958da3935449 22:58:08 Merge succeeded, producing 795fcc320cafb7294f2448f88399958da3935449 22:58:08 Checking out Revision 795fcc320cafb7294f2448f88399958da3935449 (PR-245) 22:58:07 > git config core.sparsecheckout # timeout=10 22:58:07 > git checkout -f 795fcc320cafb7294f2448f88399958da3935449 # timeout=10 22:58:07 > git remote # timeout=10 22:58:07 > git config --get remote.origin.url # timeout=10 22:58:07 using GIT_SSH to set credentials SSH Credentials for GitHub 22:58:07 > git merge 650149e901bbd1d5d542720a605977f5c38beceb # timeout=10 22:58:08 > git rev-parse HEAD^{commit} # timeout=10 22:58:08 > git config core.sparsecheckout # timeout=10 22:58:08 > git checkout -f 795fcc320cafb7294f2448f88399958da3935449 # timeout=10 22:58:09 Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 0.1.5 to 0.1.6" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:58:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:58:10 % Total % Received % Xferd Average Speed Time Time Time Current 22:58:10 Dload Upload Total Spent Left Speed 22:58:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 159k 0 --:--:-- --:--:-- --:--:-- 157k [Pipeline] sh 22:58:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:58:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:58:11 + sudo tee /etc/docker/daemon.new 22:58:11 { 22:58:11 "registry-mirrors": [ 22:58:11 "https://nexus3.edgexfoundry.org:10001" 22:58:11 ], 22:58:11 "bip": "10.250.0.254/24", 22:58:11 "hosts": [ 22:58:11 "tcp://0.0.0.0:5555", 22:58:11 "unix:///var/run/docker.sock" 22:58:11 ], 22:58:11 "mtu": 1458, 22:58:11 "selinux-enabled": true, 22:58:11 "seccomp-profile": "/etc/docker/seccomp.json" 22:58:11 } [Pipeline] sh 22:58:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:58:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:58:30 provisioning config files... 22:58:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config17964175610020592078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:58:30 ---> docker-login.sh 22:58:30 nexus3.edgexfoundry.org:10001 22:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:31 Configure a credential helper to remove this warning. See 22:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:31 22:58:31 Login Succeeded 22:58:31 nexus3.edgexfoundry.org:10002 22:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:31 Configure a credential helper to remove this warning. See 22:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:31 22:58:31 Login Succeeded 22:58:31 nexus3.edgexfoundry.org:10003 22:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:32 Configure a credential helper to remove this warning. See 22:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:32 22:58:32 Login Succeeded 22:58:32 nexus3.edgexfoundry.org:10004 22:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:32 Configure a credential helper to remove this warning. See 22:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:32 22:58:32 Login Succeeded 22:58:32 docker.io 22:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:33 Configure a credential helper to remove this warning. See 22:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:33 22:58:33 Login Succeeded 22:58:33 ---> docker-login.sh ends [Pipeline] } 22:58:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:58:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:58:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:58:33 ========================================================= 22:58:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:58:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:58:34 Sending build context to Docker daemon 20.6MB 22:58:34 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:58:34 Step 2/13 : FROM ${BASE} AS builder 22:58:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:58:34 9b18e9b68314: Pulling fs layer 22:58:34 35d82f9e3411: Pulling fs layer 22:58:34 e16973657156: Pulling fs layer 22:58:34 fc693d55d65f: Pulling fs layer 22:58:34 7e9fc2657dce: Pulling fs layer 22:58:34 dda99020689f: Pulling fs layer 22:58:34 db1c61fa0a46: Pulling fs layer 22:58:34 891c053d2c06: Pulling fs layer 22:58:34 fc693d55d65f: Waiting 22:58:34 db1c61fa0a46: Waiting 22:58:34 dda99020689f: Waiting 22:58:34 7e9fc2657dce: Waiting 22:58:34 891c053d2c06: Waiting 22:58:34 e16973657156: Verifying Checksum 22:58:34 e16973657156: Download complete 22:58:34 35d82f9e3411: Download complete 22:58:34 7e9fc2657dce: Verifying Checksum 22:58:34 7e9fc2657dce: Download complete 22:58:34 dda99020689f: Verifying Checksum 22:58:34 dda99020689f: Download complete 22:58:34 9b18e9b68314: Verifying Checksum 22:58:35 9b18e9b68314: Pull complete 22:58:36 891c053d2c06: Verifying Checksum 22:58:36 891c053d2c06: Download complete 22:58:36 35d82f9e3411: Pull complete 22:58:37 e16973657156: Pull complete 22:58:37 db1c61fa0a46: Download complete 22:58:38 fc693d55d65f: Verifying Checksum 22:58:38 fc693d55d65f: Download complete 22:58:50 fc693d55d65f: Pull complete 22:58:50 7e9fc2657dce: Pull complete 22:58:50 dda99020689f: Pull complete 22:58:57 db1c61fa0a46: Pull complete 22:58:59 891c053d2c06: Pull complete 22:58:59 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:58:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:58:59 ---> f96f9c87975a 22:58:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:59:01 ---> Running in f619a12dfaa8 22:59:01 Removing intermediate container f619a12dfaa8 22:59:01 ---> dc063e93f108 22:59:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:59:01 ---> Running in 2181843daa03 22:59:01 Removing intermediate container 2181843daa03 22:59:01 ---> f627e6587f4d 22:59:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:59:01 ---> Running in 526e2ec1c7da 22:59:02 Removing intermediate container 526e2ec1c7da 22:59:02 ---> bc49ac9c6a67 22:59:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:59:02 ---> Running in 7ec01d842735 22:59:02 Removing intermediate container 7ec01d842735 22:59:02 ---> f3581a409fd2 22:59:02 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:59:02 ---> Running in 9a2342746c17 22:59:03 Removing intermediate container 9a2342746c17 22:59:03 ---> ce52deacbeeb 22:59:03 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:59:03 ---> Running in ba1992c9e35f 22:59:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:59:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:59:06 OK: 221 MiB in 51 packages 22:59:06 Removing intermediate container ba1992c9e35f 22:59:06 ---> 790cd1996d7b 22:59:06 Step 9/13 : WORKDIR /device-onvif-camera 22:59:06 ---> Running in c59281667daf 22:59:07 Removing intermediate container c59281667daf 22:59:07 ---> 98bdc37cad85 22:59:07 Step 10/13 : COPY go.mod vendor* ./ 22:59:09 ---> b5868cc227c0 22:59:09 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:59:09 ---> Running in a4bfcef34a44 23:00:31 Removing intermediate container a4bfcef34a44 23:00:31 ---> dd0440711303 23:00:31 Step 12/13 : COPY . . 23:00:31 ---> 358037c87a7f 23:00:31 Step 13/13 : RUN ${MAKE} 23:00:31 ---> Running in 2b2e905be592 23:00:31 noop 23:00:31 Removing intermediate container 2b2e905be592 23:00:31 ---> f5f28a0f9ea8 23:00:31 Successfully built f5f28a0f9ea8 23:00:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:31 + docker inspect -f . ci-base-image-arm64 23:00:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:00:31 prd-ubuntu20.04-docker-arm64-4c-16g-8673 does not seem to be running inside a container 23:00:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:00:33 $ docker top ec5cf1000077ccffb6626e0ad84355b3a17d3ac611517adeccfb10e97f7c7adb -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:34 + go version 23:00:34 go version go1.18.7 linux/arm64 [Pipeline] } 23:00:34 $ docker stop --time=1 ec5cf1000077ccffb6626e0ad84355b3a17d3ac611517adeccfb10e97f7c7adb 23:00:35 $ docker rm -f --volumes ec5cf1000077ccffb6626e0ad84355b3a17d3ac611517adeccfb10e97f7c7adb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:36 + docker inspect -f . ci-base-image-arm64 23:00:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:00:36 prd-ubuntu20.04-docker-arm64-4c-16g-8673 does not seem to be running inside a container 23:00:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:00:39 $ docker top b3ce74988432ab9a1f1b223de1613bcba4123415afa98527686d1e90f11175b5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:40 + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh 23:00:40 + make test 23:00:40 go test ./... -coverprofile=coverage.out ./... 23:00:42 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:02:34 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:02:38 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.201s coverage: 30.5% of statements 23:02:38 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:02:57 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.044s coverage: 86.5% of statements 23:02:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:02:57 go vet ./... 23:03:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:03:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:03:29 ./bin/test-attribution-txt.sh [Pipeline] echo 23:03:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:03:29 $ docker stop --time=1 b3ce74988432ab9a1f1b223de1613bcba4123415afa98527686d1e90f11175b5 23:03:31 $ docker rm -f --volumes b3ce74988432ab9a1f1b223de1613bcba4123415afa98527686d1e90f11175b5 [Pipeline] // withDockerContainer [Pipeline] sh 23:03:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:03:32 Warning: overwriting stash ‘coverage-report’ 23:03:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:03:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:03:34 + ls -al . 23:03:34 total 228 23:03:34 drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 23:00 . 23:03:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 22:58 .. 23:03:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 22:58 .git 23:03:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 22:58 .github 23:03:34 -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 22:58 .gitignore 23:03:34 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 22:58 .golangci.yml 23:03:34 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 22:58 Attribution.txt 23:03:34 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 22:58 CHANGELOG.md 23:03:34 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 22:58 Dockerfile 23:03:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 22:58 GOVERNANCE.md 23:03:34 -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 22:58 Jenkinsfile 23:03:34 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 22:58 LICENSE 23:03:34 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 22:58 Makefile 23:03:34 -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 22:58 OWNERS.md 23:03:34 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 22:58 README.md 23:03:34 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 22:54 VERSION 23:03:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 22:58 bin 23:03:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 22:58 cmd 23:03:34 -rw-r--r-- 1 jenkins jenkins 76650 Mar 7 23:02 coverage.out 23:03:34 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 22:58 doc 23:03:34 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 22:58 go.mod 23:03:34 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 7 22:58 go.sum 23:03:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 22:58 internal 23:03:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 22:58 snap 23:03:34 -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 22:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:34 + 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=795fcc320cafb7294f2448f88399958da3935449 --label arch=arm64 --label version=0.0.0 . 23:03:35 Sending build context to Docker daemon 20.68MB 23:03:35 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:03:35 Step 2/26 : FROM ${BASE} AS builder 23:03:35 ---> f5f28a0f9ea8 23:03:35 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:03:35 ---> Running in b822b9f43b7a 23:03:36 Removing intermediate container b822b9f43b7a 23:03:36 ---> d358ac8ed68d 23:03:36 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:03:36 ---> Running in 18bd500ef663 23:03:36 Removing intermediate container 18bd500ef663 23:03:36 ---> 434be9e16d08 23:03:36 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:03:36 ---> Running in 153e6690009b 23:03:37 Removing intermediate container 153e6690009b 23:03:37 ---> 28e1f60fce18 23:03:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:03:37 ---> Running in 07f48cd1128a 23:03:37 Removing intermediate container 07f48cd1128a 23:03:37 ---> 9f3570f8c2e8 23:03:37 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:03:37 ---> Running in 590be50c1975 23:03:38 Removing intermediate container 590be50c1975 23:03:38 ---> 10fee78dc8d2 23:03:38 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:03:38 ---> Running in f4557efa9f0d 23:03:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:03:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:03:41 OK: 221 MiB in 51 packages 23:03:42 Removing intermediate container f4557efa9f0d 23:03:42 ---> 080e52536dad 23:03:42 Step 9/26 : WORKDIR /device-onvif-camera 23:03:42 ---> Running in 829274e24852 23:03:43 Removing intermediate container 829274e24852 23:03:43 ---> f7aeb6aea587 23:03:43 Step 10/26 : COPY go.mod vendor* ./ 23:03:43 ---> d31cee3c29a6 23:03:43 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:03:44 ---> Running in 3e3d5bbd3faf 23:03:47 Removing intermediate container 3e3d5bbd3faf 23:03:47 ---> f854cf591088 23:03:47 Step 12/26 : COPY . . 23:03:49 ---> bbe0011fdc4d 23:03:49 Step 13/26 : RUN ${MAKE} 23:03:49 ---> Running in cf2a91f6808a 23:03:50 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 23:06:42 Removing intermediate container cf2a91f6808a 23:06:42 ---> 0dc73fa1c826 23:06:42 Step 14/26 : FROM alpine:3.16 23:06:42 3.16: Pulling from library/alpine 23:06:42 3760b48202b3: Pulling fs layer 23:06:42 3760b48202b3: Verifying Checksum 23:06:42 3760b48202b3: Download complete 23:06:42 3760b48202b3: Pull complete 23:06:42 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 23:06:42 Status: Downloaded newer image for alpine:3.16 23:06:42 ---> 4c81e5bf8899 23:06:42 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:06:42 ---> Running in cab7c1029ad2 23:06:42 Removing intermediate container cab7c1029ad2 23:06:42 ---> c834410640aa 23:06:42 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:06:42 ---> Running in b37e67c6b2a5 23:06:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:06:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:06:42 (1/1) Installing dumb-init (1.2.5-r1) 23:06:42 Executing busybox-1.35.0-r17.trigger 23:06:42 OK: 5 MiB in 15 packages 23:06:42 Removing intermediate container b37e67c6b2a5 23:06:42 ---> 1bdd9ad66aac 23:06:42 Step 17/26 : WORKDIR / 23:06:42 ---> Running in e1e15a5f3bf1 23:06:42 Removing intermediate container e1e15a5f3bf1 23:06:42 ---> 5d8f103238b3 23:06:42 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:06:42 ---> 5a629a795d55 23:06:42 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:06:42 ---> b2fd07360707 23:06:42 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:06:42 ---> dbdcca640c6b 23:06:42 Step 21/26 : EXPOSE 59984 23:06:42 ---> Running in 37a960f095ce 23:06:42 Removing intermediate container 37a960f095ce 23:06:42 ---> e6b49b23bd40 23:06:42 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:06:42 ---> Running in 0da177e4818d 23:06:42 Removing intermediate container 0da177e4818d 23:06:42 ---> 6ef41f951a21 23:06:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:06:42 ---> Running in c6fc07a40540 23:06:42 Removing intermediate container c6fc07a40540 23:06:42 ---> b163918ce2c0 23:06:42 Step 24/26 : LABEL arch=arm64 23:06:42 ---> Running in 72ab09c9a959 23:06:42 Removing intermediate container 72ab09c9a959 23:06:42 ---> 4a741d3da80c 23:06:42 Step 25/26 : LABEL git_sha=795fcc320cafb7294f2448f88399958da3935449 23:06:42 ---> Running in 1d4db5d1198b 23:06:42 Removing intermediate container 1d4db5d1198b 23:06:42 ---> 9cb6e9833979 23:06:42 Step 26/26 : LABEL version=0.0.0 23:06:42 ---> Running in 62c036587a70 23:06:42 Removing intermediate container 62c036587a70 23:06:42 ---> 255ce2bd8bc5 23:06:42 [Warning] One or more build-args [ARCH] were not consumed 23:06:42 Successfully built 255ce2bd8bc5 23:06:42 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 23:06:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:06:42 23:06:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:06:43 arm64: Pulling from edgex-lftools-log-publisher 23:06:43 8998bd30e6a1: Pulling fs layer 23:06:43 04944245beec: Pulling fs layer 23:06:43 699f458cf7ca: Pulling fs layer 23:06:43 765212b225bb: Pulling fs layer 23:06:43 f23df028b6ca: Pulling fs layer 23:06:43 d65c8cfc05b1: Pulling fs layer 23:06:43 2437ff75d9bd: Pulling fs layer 23:06:43 765212b225bb: Waiting 23:06:43 f23df028b6ca: Waiting 23:06:43 d65c8cfc05b1: Waiting 23:06:43 2437ff75d9bd: Waiting 23:06:43 04944245beec: Verifying Checksum 23:06:43 04944245beec: Download complete 23:06:43 765212b225bb: Verifying Checksum 23:06:43 765212b225bb: Download complete 23:06:43 f23df028b6ca: Verifying Checksum 23:06:43 f23df028b6ca: Download complete 23:06:43 d65c8cfc05b1: Verifying Checksum 23:06:43 699f458cf7ca: Verifying Checksum 23:06:43 699f458cf7ca: Download complete 23:06:44 8998bd30e6a1: Verifying Checksum 23:06:44 8998bd30e6a1: Download complete 23:06:46 2437ff75d9bd: Verifying Checksum 23:06:46 2437ff75d9bd: Download complete 23:06:48 8998bd30e6a1: Pull complete 23:06:48 04944245beec: Pull complete 23:06:50 699f458cf7ca: Pull complete 23:06:50 765212b225bb: Pull complete 23:06:51 f23df028b6ca: Pull complete 23:06:51 d65c8cfc05b1: Pull complete 23:07:06 2437ff75d9bd: Pull complete 23:07:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:07:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:07:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:07:06 prd-ubuntu20.04-docker-arm64-4c-16g-8673 does not seem to be running inside a container 23:07:06 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:07:09 $ docker top 6868c2624ba9e9e430cd9e3fbadb210cbfb81dbcfc671e97b377d36d38f726c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:07:09 ---> job-cost.sh 23:07:10 lf-activate-venv: SKIPPING 23:07:10 INFO: No Stack... 23:07:10 INFO: Retrieving Pricing Info for: v3-standard-4 23:07:11 INFO: Archiving Costs [Pipeline] sh 23:07:11 + cat /w/workspace/device-onvif-camera/5/archives/cost.csv 23:07:11 + cut -d, -f6 [Pipeline] lock 23:07:12 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-245-5-stack-cost] 23:07:12 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-5-stack-cost] did not exist. Created. 23:07:12 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-245-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:07:12 /w/workspace/device-onvif-camera/5@tmp/durable-1b891899/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:07:13 + echo total: 0.10999999940395355 [Pipeline] stash 23:07:13 Warning: overwriting stash ‘stack-cost’ 23:07:13 Stashed 1 file(s) [Pipeline] } 23:07:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-5-stack-cost] [Pipeline] // lock [Pipeline] } 23:07:13 $ docker stop --time=1 6868c2624ba9e9e430cd9e3fbadb210cbfb81dbcfc671e97b377d36d38f726c3 23:07:15 $ docker rm -f --volumes 6868c2624ba9e9e430cd9e3fbadb210cbfb81dbcfc671e97b377d36d38f726c3 [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 23:07:15 provisioning config files... 23:07:15 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config954875587305202506tmp [Pipeline] { [Pipeline] sh 23:07:15 + set +x 23:07:15 + curl -s https://codecov.io/bash 23:07:15 + bash -s -- 23:07:15 23:07:15 _____ _ 23:07:15 / ____| | | 23:07:15 | | ___ __| | ___ ___ _____ __ 23:07:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:07:15 | |___| (_) | (_| | __/ (_| (_) \ V / 23:07:15 \_____\___/ \__,_|\___|\___\___/ \_/ 23:07:15 Bash-1.0.6 23:07:15 23:07:15 23:07:15 ==> git version 2.25.1 found 23:07:15 ==> 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 23:07:15 Release-Date: 2020-01-08 23:07:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:07:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:07:15 ==> Jenkins CI detected. 23:07:15 current dir:  /w/workspace/undry_device-onvif-camera_PR-245 23:07:15 project root: . 23:07:15 --> token set from env 23:07:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:07:15 ==> Running gcov in . (disable via -X gcov) 23:07:15 ==> Python coveragepy not found 23:07:15 ==> Searching for coverage reports in: 23:07:15 + . 23:07:15 -> Found 1 reports 23:07:15 ==> Detecting git/mercurial file structure 23:07:15 ==> Reading reports 23:07:15 + ./coverage.out bytes=76650 23:07:15 ==> Appending adjustments 23:07:15 https://docs.codecov.io/docs/fixing-reports 23:07:16 + Found adjustments 23:07:16 ==> Gzipping contents 23:07:16 12K /tmp/codecov.w0I1z6.gz 23:07:16 ==> Uploading reports 23:07:16 url: https://codecov.io 23:07:16 query: branch=PR-245&commit=795fcc320cafb7294f2448f88399958da3935449&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-245%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=245&job=&cmd_args= 23:07:16 -> Pinging Codecov 23:07:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-245&commit=795fcc320cafb7294f2448f88399958da3935449&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-245%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=245&job=&cmd_args= 23:07:16 -> Uploading to 23:07:16 https://storage.googleapis.com/codecov/v4/raw/2023-03-07/F29A59C45E3A92E06B3E522C9905F8EF/795fcc320cafb7294f2448f88399958da3935449/4bbfff35-7f5b-4339-928a-91c1c667f37e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T230716Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=adf51c1c0b03f41d6cef6297293acff825a6c4d429a6f5fdfa5c06b9daefc2c8 23:07:16 % Total % Received % Xferd Average Speed Time Time Time Current 23:07:16 Dload Upload Total Spent Left Speed 23:07:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10528 0 0 100 10528 0 52118 --:--:-- --:--:-- --:--:-- 51862 100 10528 0 0 100 10528 0 32695 --:--:-- --:--:-- --:--:-- 32594 23:07:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/795fcc320cafb7294f2448f88399958da3935449 [Pipeline] } 23:07:16 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 23:07:17 + [ -d /w/workspace/undry_device-onvif-camera_PR-245/archives ] 23:07:17 + ls -al /w/workspace/undry_device-onvif-camera_PR-245/archives 23:07:17 total 16 23:07:17 drwxr-xr-x 3 root root 4096 Mar 7 22:56 . 23:07:17 drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 22:56 .. 23:07:17 drwxr-xr-x 2 root root 4096 Mar 7 22:56 cost 23:07:17 -rw-r--r-- 1 root root 91 Mar 7 22:56 cost.csv 23:07:17 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-245/archives 23:07:17 + ls -al /w/workspace/undry_device-onvif-camera_PR-245/archives 23:07:17 total 16 23:07:17 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 22:56 . 23:07:17 drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 22:56 .. 23:07:17 drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 22:56 cost 23:07:17 -rw-r--r-- 1 jenkins jenkins 91 Mar 7 22:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:07:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:07:18 ---> package-listing.sh 23:07:18 ++ facter osfamily 23:07:18 ++ tr '[:upper:]' '[:lower:]' 23:07:18 + OS_FAMILY=debian 23:07:18 + workspace=/w/workspace/undry_device-onvif-camera_PR-245 23:07:18 + START_PACKAGES=/tmp/packages_start.txt 23:07:18 + END_PACKAGES=/tmp/packages_end.txt 23:07:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:07:18 + PACKAGES=/tmp/packages_start.txt 23:07:18 + '[' /w/workspace/undry_device-onvif-camera_PR-245 ']' 23:07:18 + PACKAGES=/tmp/packages_end.txt 23:07:18 + case "${OS_FAMILY}" in 23:07:18 + dpkg -l 23:07:18 + grep '^ii' 23:07:18 + '[' -f /tmp/packages_start.txt ']' 23:07:18 + '[' -f /tmp/packages_end.txt ']' 23:07:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:07:18 + '[' /w/workspace/undry_device-onvif-camera_PR-245 ']' 23:07:18 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-245/archives/ 23:07:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-245/archives/ [Pipeline] echo 23:07:18 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-245/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:07:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:07:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:07:19 prd-ubuntu20.04-docker-8c-8g-8667 does not seem to be running inside a container 23:07:19 $ 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-245/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-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@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 23:07:19 $ docker top f232e802fdbd6c8bed97f9444683a5580f36c0a03d5ddd5656c0b043081ce1bc -eo pid,comm [Pipeline] { [Pipeline] sh 23:07:20 + touch /tmp/pre-build-complete [Pipeline] sh 23:07:20 + mkdir -p /var/log/sysstat [Pipeline] sh 23:07:20 + ls /var/log/sa-host 23:07:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:07:20 provisioning config files... 23:07:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config2194245284588109416tmp [Pipeline] { [Pipeline] echo 23:07:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:07:21 ---> create-netrc.sh [Pipeline] } 23:07:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:07:21 ---> python-tools-install.sh [Pipeline] echo 23:07:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:07:21 ---> sudo-logs.sh 23:07:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:07:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:07:21 ---> job-cost.sh 23:07:21 lf-activate-venv: SKIPPING 23:07:21 DEBUG: total: 0.2199999988079071 23:07:21 INFO: Retrieving Stack Cost... 23:07:22 INFO: Retrieving Pricing Info for: v3-standard-8 23:07:22 INFO: Archiving Costs [Pipeline] echo 23:07:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:07:23 ---> logs-deploy.sh 23:07:23 lf-activate-venv: SKIPPING 23:07:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-245/5 23:07:23 INFO: archiving workspace using pattern(s): 23:07:24 Archives upload complete. 23:07:24 INFO: archiving logs to Nexus