Pull request #269 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 536676251fad012d58d5776f8d67e7aac0f0e893+77ccddf1f831a316cff875f9b23112dd948a8538 (778cc4c8162e23c98e03d6635f0546305c1d1692) 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-ssh1264672114574151335.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh363022849334695180.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-269/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-269/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17634838644856761285.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5451495031422483319.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-269/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-269/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5899804296959947768.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4558 in /w/workspace/undry_device-onvif-camera_PR-269 [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-269 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 77ccddf1f831a316cff875f9b23112dd948a8538 into PR head commit 536676251fad012d58d5776f8d67e7aac0f0e893 Merge succeeded, producing 9daee4b19a781fea1a9b455974c462ad669bfb0e Checking out Revision 9daee4b19a781fea1a9b455974c462ad669bfb0e (PR-269) > 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/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 536676251fad012d58d5776f8d67e7aac0f0e893 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 77ccddf1f831a316cff875f9b23112dd948a8538 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9daee4b19a781fea1a9b455974c462ad669bfb0e # timeout=10 Commit message: "Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:54:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:54:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:54:58 ========================================================= 00:54:58 EdgeX Global Pipelines Version Info 00:54:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 79d7ffab3fba731a028fd2fd4b4ac6f7d81503e5 # timeout=10 00:54:59 ------------------- 00:54:59 stable info: 00:54:59 ------------------- 00:54:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:54:59 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 00:54:59 Message: update stable to v1.0.245 00:55:00 ------------------- 00:55:00 experimental info: 00:55:00 ------------------- 00:55:00 Commited By: **** collab-it+edgex@linuxfoundation.org 00:55:00 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 00:55:00 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-269 [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-269 [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-269 [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9daee4b19a781fea1a9b455974c462ad669bfb0e [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9daee4b [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:55:00 provisioning config files... 00:55:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-269@tmp/config13642975048559944969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:01 ---> docker-login.sh 00:55:01 nexus3.edgexfoundry.org:10001 00:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:01 Configure a credential helper to remove this warning. See 00:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:01 00:55:01 Login Succeeded 00:55:01 nexus3.edgexfoundry.org:10002 00:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:01 Configure a credential helper to remove this warning. See 00:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:01 00:55:01 Login Succeeded 00:55:01 nexus3.edgexfoundry.org:10003 00:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:01 Configure a credential helper to remove this warning. See 00:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:01 00:55:01 Login Succeeded 00:55:01 nexus3.edgexfoundry.org:10004 00:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:01 Configure a credential helper to remove this warning. See 00:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:01 00:55:01 Login Succeeded 00:55:01 docker.io 00:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:01 Configure a credential helper to remove this warning. See 00:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:01 00:55:01 Login Succeeded 00:55:01 ---> docker-login.sh ends [Pipeline] } 00:55:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:55:02 + git rev-list -1 --merges 9daee4b19a781fea1a9b455974c462ad669bfb0e~1..9daee4b19a781fea1a9b455974c462ad669bfb0e [Pipeline] echo 00:55:02 -----------> git rev-list -1 --merges 9daee4b19a781fea1a9b455974c462ad669bfb0e~1..9daee4b19a781fea1a9b455974c462ad669bfb0e 9daee4b19a781fea1a9b455974c462ad669bfb0e 00:55:02 9daee4b19a781fea1a9b455974c462ad669bfb0e [false] [Pipeline] sh 00:55:02 + git log --format=format:%s -1 9daee4b19a781fea1a9b455974c462ad669bfb0e [Pipeline] echo 00:55:02 ========================================================= 00:55:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:55:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:55:02 + git log --format=format:%s -1 9daee4b19a781fea1a9b455974c462ad669bfb0e [Pipeline] echo 00:55:02 [semverPrep] GIT_COMMIT: 9daee4b19a781fea1a9b455974c462ad669bfb0e, Commit Message: Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD [Pipeline] echo 00:55:02 [semverPrep] This is not a build commit. [Pipeline] sh 00:55:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:55:03 + grep -v github /etc/ssh/ssh_known_hosts 00:55:03 + [ -e /tmp/ssh_known_hosts ] 00:55:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:55:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:55:03 + sudo tee -a /etc/ssh/ssh_known_hosts 00:55:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:03 00:55:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:04 0.1.4: Pulling from edgex-devops/py-git-semver 00:55:04 b85a868b505f: Pulling fs layer 00:55:04 e2be974225ed: Pulling fs layer 00:55:04 339a4e72a1f5: Pulling fs layer 00:55:04 988bab9f4d93: Pulling fs layer 00:55:04 1469e6f7b9e6: Pulling fs layer 00:55:04 eaf3925da568: Pulling fs layer 00:55:04 bab4dde63d76: Pulling fs layer 00:55:04 bde34c3a00c8: Pulling fs layer 00:55:04 b352a97aabf1: Pulling fs layer 00:55:04 4872d77fe225: Pulling fs layer 00:55:04 5851b861e8e6: Pulling fs layer 00:55:04 988bab9f4d93: Waiting 00:55:04 1469e6f7b9e6: Waiting 00:55:04 eaf3925da568: Waiting 00:55:04 bab4dde63d76: Waiting 00:55:04 4872d77fe225: Waiting 00:55:04 5851b861e8e6: Waiting 00:55:04 bde34c3a00c8: Waiting 00:55:04 b352a97aabf1: Waiting 00:55:04 e2be974225ed: Verifying Checksum 00:55:04 e2be974225ed: Download complete 00:55:04 988bab9f4d93: Verifying Checksum 00:55:04 988bab9f4d93: Download complete 00:55:04 339a4e72a1f5: Verifying Checksum 00:55:04 339a4e72a1f5: Download complete 00:55:04 eaf3925da568: Verifying Checksum 00:55:04 eaf3925da568: Download complete 00:55:04 1469e6f7b9e6: Verifying Checksum 00:55:04 1469e6f7b9e6: Download complete 00:55:04 bde34c3a00c8: Download complete 00:55:04 b352a97aabf1: Verifying Checksum 00:55:04 b352a97aabf1: Download complete 00:55:04 4872d77fe225: Verifying Checksum 00:55:04 4872d77fe225: Download complete 00:55:04 5851b861e8e6: Download complete 00:55:04 b85a868b505f: Download complete 00:55:04 bab4dde63d76: Verifying Checksum 00:55:05 b85a868b505f: Pull complete 00:55:06 e2be974225ed: Pull complete 00:55:06 339a4e72a1f5: Pull complete 00:55:06 988bab9f4d93: Pull complete 00:55:06 1469e6f7b9e6: Pull complete 00:55:07 eaf3925da568: Pull complete 00:55:09 bab4dde63d76: Pull complete 00:55:09 bde34c3a00c8: Pull complete 00:55:09 b352a97aabf1: Pull complete 00:55:09 4872d77fe225: Pull complete 00:55:09 5851b861e8e6: Pull complete 00:55:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:55:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:55:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:09 prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container 00:55:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@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-devops/py-git-semver:0.1.4 cat 00:55:12 $ docker top 46bbc11212f73a208e399ca1ba162f8fdedd1836966408325c304fba4933960d -eo pid,comm 00:55:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:55:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:55:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:12 [ssh-agent] Looking for ssh-agent implementation... 00:55:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:12 $ docker exec 46bbc11212f73a208e399ca1ba162f8fdedd1836966408325c304fba4933960d ssh-agent 00:55:12 SSH_AUTH_SOCK=/tmp/ssh-KxmgpYncC6V6/agent.33 00:55:12 SSH_AGENT_PID=39 00:55:12 Running ssh-add (command line suppressed) 00:55:13 Identity added: /w/workspace/undry_device-onvif-camera_PR-269@tmp/private_key_17384267664825529738.key (/w/workspace/undry_device-onvif-camera_PR-269@tmp/private_key_17384267664825529738.key) 00:55:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:13 + git tag --points-at HEAD [Pipeline] } 00:55:13 $ docker exec --env ******** --env ******** 46bbc11212f73a208e399ca1ba162f8fdedd1836966408325c304fba4933960d ssh-agent -k 00:55:13 unset SSH_AUTH_SOCK; 00:55:13 unset SSH_AGENT_PID; 00:55:13 echo Agent pid 39 killed; 00:55:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:55:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:13 [ssh-agent] Looking for ssh-agent implementation... 00:55:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:13 $ docker exec 46bbc11212f73a208e399ca1ba162f8fdedd1836966408325c304fba4933960d ssh-agent 00:55:13 SSH_AUTH_SOCK=/tmp/ssh-b7akIAceaJBv/agent.71 00:55:13 SSH_AGENT_PID=77 00:55:13 Running ssh-add (command line suppressed) 00:55:13 Identity added: /w/workspace/undry_device-onvif-camera_PR-269@tmp/private_key_11714878225901154061.key (/w/workspace/undry_device-onvif-camera_PR-269@tmp/private_key_11714878225901154061.key) 00:55:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:14 + git semver init 00:55:14 2023-03-20 00:55:14,269 [run_init] DEBUG init version:0.0.0 force:False 00:55:14 2023-03-20 00:55:14,270 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-269/.semver 00:55:14 2023-03-20 00:55:14,270 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-269/.semver 00:55:14 2023-03-20 00:55:14,270 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-269/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-269, universal_newlines=False, shell=None, istream=None) 00:55:15 2023-03-20 00:55:15,196 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-269/.git/info/exclude 00:55:15 2023-03-20 00:55:15,197 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-269/.semver/PR-269 with force:False 00:55:15 2023-03-20 00:55:15,197 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-269/.semver/PR-269 00:55:15 2023-03-20 00:55:15,200 [execute] INFO git cat-file --batch-check 00:55:15 2023-03-20 00:55:15,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-269/.semver, universal_newlines=False, shell=None, istream=) 00:55:15 2023-03-20 00:55:15,205 [execute] INFO git cat-file --batch 00:55:15 2023-03-20 00:55:15,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-269/.semver, universal_newlines=False, shell=None, istream=) 00:55:15 2023-03-20 00:55:15,210 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-269/.semver/PR-269 00:55:15 0.0.0 [Pipeline] } 00:55:15 $ docker exec --env ******** --env ******** 46bbc11212f73a208e399ca1ba162f8fdedd1836966408325c304fba4933960d ssh-agent -k 00:55:15 unset SSH_AUTH_SOCK; 00:55:15 unset SSH_AGENT_PID; 00:55:15 echo Agent pid 77 killed; 00:55:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:55:15 + git semver [Pipeline] } 00:55:15 $ docker stop --time=1 46bbc11212f73a208e399ca1ba162f8fdedd1836966408325c304fba4933960d 00:55:17 $ docker rm -f --volumes 46bbc11212f73a208e399ca1ba162f8fdedd1836966408325c304fba4933960d [Pipeline] // withDockerContainer [Pipeline] sh 00:55:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:55:17 Stashed 1 file(s) [Pipeline] echo 00:55:17 [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 00:55:17 provisioning config files... 00:55:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-269@tmp/config9765940927495853061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:18 ---> docker-login.sh 00:55:18 nexus3.edgexfoundry.org:10001 00:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:18 Configure a credential helper to remove this warning. See 00:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:18 00:55:18 Login Succeeded 00:55:18 nexus3.edgexfoundry.org:10002 00:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:18 Configure a credential helper to remove this warning. See 00:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:18 00:55:18 Login Succeeded 00:55:18 nexus3.edgexfoundry.org:10003 00:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:18 Configure a credential helper to remove this warning. See 00:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:18 00:55:18 Login Succeeded 00:55:18 nexus3.edgexfoundry.org:10004 00:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:18 Configure a credential helper to remove this warning. See 00:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:18 00:55:18 Login Succeeded 00:55:18 docker.io 00:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:18 Configure a credential helper to remove this warning. See 00:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:18 00:55:18 Login Succeeded 00:55:18 ---> docker-login.sh ends [Pipeline] } 00:55:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:55:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:55:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:55:18 ========================================================= 00:55:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:55:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:55:19 Sending build context to Docker daemon 28.06MB 00:55:19 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:55:19 Step 2/13 : FROM ${BASE} AS builder 00:55:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:55:19 63b65145d645: Pulling fs layer 00:55:19 a2d21d5440eb: Pulling fs layer 00:55:19 935e6c44a52c: Pulling fs layer 00:55:19 94cc34f8dd06: Pulling fs layer 00:55:19 30dea6a524f1: Pulling fs layer 00:55:19 a2aff8979fd8: Pulling fs layer 00:55:19 6808be2612f2: Pulling fs layer 00:55:19 f25807f1079a: Pulling fs layer 00:55:19 30dea6a524f1: Waiting 00:55:19 a2aff8979fd8: Waiting 00:55:19 f25807f1079a: Waiting 00:55:19 6808be2612f2: Waiting 00:55:19 94cc34f8dd06: Waiting 00:55:19 a2d21d5440eb: Download complete 00:55:19 94cc34f8dd06: Download complete 00:55:19 30dea6a524f1: Verifying Checksum 00:55:19 30dea6a524f1: Download complete 00:55:19 63b65145d645: Verifying Checksum 00:55:19 63b65145d645: Download complete 00:55:19 a2aff8979fd8: Verifying Checksum 00:55:19 a2aff8979fd8: Download complete 00:55:19 63b65145d645: Pull complete 00:55:19 a2d21d5440eb: Pull complete 00:55:19 f25807f1079a: Verifying Checksum 00:55:19 f25807f1079a: Download complete 00:55:20 935e6c44a52c: Verifying Checksum 00:55:20 935e6c44a52c: Download complete 00:55:20 6808be2612f2: Verifying Checksum 00:55:20 6808be2612f2: Download complete 00:55:23 935e6c44a52c: Pull complete 00:55:23 94cc34f8dd06: Pull complete 00:55:23 30dea6a524f1: Pull complete 00:55:23 a2aff8979fd8: Pull complete 00:55:25 6808be2612f2: Pull complete 00:55:26 f25807f1079a: Pull complete 00:55:26 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 00:55:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:55:26 ---> 3b553350e43f 00:55:26 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:55:32 Still waiting to schedule task 00:55:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4557’ 00:55:34 ---> Running in f072833e6e17 00:55:34 Removing intermediate container f072833e6e17 00:55:34 ---> f27a26305142 00:55:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:34 ---> Running in 7e36c524874d 00:55:34 Removing intermediate container 7e36c524874d 00:55:34 ---> 95d7018e2a38 00:55:34 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:55:34 ---> Running in a4ae1e650335 00:55:34 Removing intermediate container a4ae1e650335 00:55:34 ---> a238e850781b 00:55:34 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:55:35 ---> Running in 1484b8f0eb3c 00:55:35 Removing intermediate container 1484b8f0eb3c 00:55:35 ---> 69829230f16d 00:55:35 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:55:35 ---> Running in 7fd98eaedf86 00:55:35 Removing intermediate container 7fd98eaedf86 00:55:35 ---> f67ad2c7f786 00:55:35 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:55:35 ---> Running in 44e5403f415d 00:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:55:36 OK: 265 MiB in 53 packages 00:55:36 Removing intermediate container 44e5403f415d 00:55:36 ---> c012fa85cccd 00:55:36 Step 9/13 : WORKDIR /device-onvif-camera 00:55:36 ---> Running in 9a77556687fa 00:55:36 Removing intermediate container 9a77556687fa 00:55:36 ---> af9e34c6a741 00:55:36 Step 10/13 : COPY go.mod vendor* ./ 00:55:36 ---> 30daedc1fe4b 00:55:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:36 ---> Running in 6a17729a3d4b 00:56:23 Removing intermediate container 6a17729a3d4b 00:56:23 ---> 42363e03e522 00:56:23 Step 12/13 : COPY . . 00:56:24 ---> 9f940092d042 00:56:24 Step 13/13 : RUN ${MAKE} 00:56:24 ---> Running in 64340fe9a5d8 00:56:24 noop 00:56:24 Removing intermediate container 64340fe9a5d8 00:56:24 ---> 0f328695d253 00:56:24 Successfully built 0f328695d253 00:56:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:25 + docker inspect -f . ci-base-image-x86_64 00:56:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:25 prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container 00:56:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:56:25 $ docker top 3e7a0e1796eb8a6214f6dac5258600075db2875bc3d7fd6b73ce1a6f4522062d -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:25 + go version 00:56:25 go version go1.20.2 linux/amd64 [Pipeline] } 00:56:25 $ docker stop --time=1 3e7a0e1796eb8a6214f6dac5258600075db2875bc3d7fd6b73ce1a6f4522062d 00:56:27 $ docker rm -f --volumes 3e7a0e1796eb8a6214f6dac5258600075db2875bc3d7fd6b73ce1a6f4522062d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:27 + docker inspect -f . ci-base-image-x86_64 00:56:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:27 prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container 00:56:27 $ 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-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:56:28 $ docker top a01ccaaba73a0da9a2c3cc26aca30afc2435224af33a3bdcae5f93978d6f72c1 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:28 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-269 [Pipeline] fileExists [Pipeline] sh 00:56:28 + make test 00:56:28 go test ./... -coverprofile=coverage.out ./... 00:56:32 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:56:42 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:56:42 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:56:44 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.7% of statements 00:56:48 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.037s coverage: 86.5% of statements 00:56:54 go vet ./... 00:56:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:56:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:56:57 ./bin/test-attribution-txt.sh [Pipeline] echo 00:56:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:56:57 $ docker stop --time=1 a01ccaaba73a0da9a2c3cc26aca30afc2435224af33a3bdcae5f93978d6f72c1 00:57:01 $ docker rm -f --volumes a01ccaaba73a0da9a2c3cc26aca30afc2435224af33a3bdcae5f93978d6f72c1 [Pipeline] // withDockerContainer [Pipeline] sh 00:57:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:57:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:57:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:57:03 + ls -al . 00:57:03 total 236 00:57:03 drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 00:56 . 00:57:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 00:54 .. 00:57:03 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 00:55 .git 00:57:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 00:54 .github 00:57:03 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 00:54 .gitignore 00:57:03 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 00:54 .golangci.yml 00:57:03 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 00:55 .semver 00:57:03 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 20 00:54 Attribution.txt 00:57:03 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 00:54 CHANGELOG.md 00:57:03 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 20 00:54 Dockerfile 00:57:03 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 00:54 GOVERNANCE.md 00:57:03 -rw-rw-r-- 1 jenkins jenkins 734 Mar 20 00:54 Jenkinsfile 00:57:03 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 00:54 LICENSE 00:57:03 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 20 00:54 Makefile 00:57:03 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 00:54 OWNERS.md 00:57:03 -rw-rw-r-- 1 jenkins jenkins 6346 Mar 20 00:54 README.md 00:57:03 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 00:55 VERSION 00:57:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 00:54 bin 00:57:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 00:54 cmd 00:57:03 -rw-r--r-- 1 jenkins jenkins 78487 Mar 20 00:56 coverage.out 00:57:03 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 00:54 doc 00:57:03 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 20 00:54 go.mod 00:57:03 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 20 00:54 go.sum 00:57:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 00:54 internal 00:57:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 00:54 snap 00:57:03 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:03 + 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=9daee4b19a781fea1a9b455974c462ad669bfb0e --label arch=amd64 --label version=0.0.0 . 00:57:03 Sending build context to Docker daemon 28.14MB 00:57:03 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:57:03 Step 2/26 : FROM ${BASE} AS builder 00:57:03 ---> 0f328695d253 00:57:03 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:57:04 ---> Running in ff5c04d8b553 00:57:04 Removing intermediate container ff5c04d8b553 00:57:04 ---> f09b537053af 00:57:04 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:57:04 ---> Running in ca623d8b4963 00:57:04 Removing intermediate container ca623d8b4963 00:57:04 ---> ee314becdbb6 00:57:04 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 00:57:04 ---> Running in 2fd5d4701b3c 00:57:04 Removing intermediate container 2fd5d4701b3c 00:57:04 ---> 47135a8e558c 00:57:04 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:57:04 ---> Running in b9dc33c11453 00:57:04 Removing intermediate container b9dc33c11453 00:57:04 ---> 2916428bdd45 00:57:04 Step 7/26 : LABEL Name=edgex-device-onvif-camera 00:57:04 ---> Running in fc2c94bf9430 00:57:04 Removing intermediate container fc2c94bf9430 00:57:04 ---> 3fe6bbab6d17 00:57:04 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:57:04 ---> Running in ffe1391a204a 00:57:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:57:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:57:05 OK: 265 MiB in 53 packages 00:57:05 Removing intermediate container ffe1391a204a 00:57:05 ---> 955c3f0d40bc 00:57:05 Step 9/26 : WORKDIR /device-onvif-camera 00:57:05 ---> Running in 86d99b7b15a7 00:57:05 Removing intermediate container 86d99b7b15a7 00:57:05 ---> b853a1fa8335 00:57:05 Step 10/26 : COPY go.mod vendor* ./ 00:57:05 ---> fd4084126d57 00:57:05 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:57:05 ---> Running in 3dcbb54c1ba5 00:57:06 Removing intermediate container 3dcbb54c1ba5 00:57:06 ---> f2766803e0d5 00:57:06 Step 12/26 : COPY . . 00:57:08 ---> c25f1c378db5 00:57:08 Step 13/26 : RUN ${MAKE} 00:57:08 ---> Running in cd44a17f1e96 00:57:08 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 00:57:30 Removing intermediate container cd44a17f1e96 00:57:30 ---> 44ed8294179e 00:57:30 Step 14/26 : FROM alpine:3.17 00:57:30 3.17: Pulling from library/alpine 00:57:30 63b65145d645: Already exists 00:57:30 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 00:57:30 Status: Downloaded newer image for alpine:3.17 00:57:30 ---> b2aa39c304c2 00:57:30 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:57:30 ---> Running in 900b1b33e39d 00:57:30 Removing intermediate container 900b1b33e39d 00:57:30 ---> 6eb6bf32db4f 00:57:30 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:57:30 ---> Running in f08e9c22819c 00:57:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:57:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:57:30 (1/1) Installing dumb-init (1.2.5-r2) 00:57:30 Executing busybox-1.35.0-r29.trigger 00:57:30 OK: 7 MiB in 16 packages 00:57:30 Removing intermediate container f08e9c22819c 00:57:30 ---> 8874699b9c89 00:57:30 Step 17/26 : WORKDIR / 00:57:30 ---> Running in a8f13add09eb 00:57:30 Removing intermediate container a8f13add09eb 00:57:30 ---> eb36f1cf804b 00:57:30 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:57:30 ---> 321776d8cda4 00:57:30 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:57:31 ---> 4ad72acdd50a 00:57:31 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:57:31 ---> be9ee0b0104b 00:57:31 Step 21/26 : EXPOSE 59984 00:57:31 ---> Running in 5f0cad8d6e6e 00:57:31 Removing intermediate container 5f0cad8d6e6e 00:57:31 ---> 4444008f4595 00:57:31 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:57:31 ---> Running in b666df644676 00:57:31 Removing intermediate container b666df644676 00:57:31 ---> 1ceaf3b15fff 00:57:31 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:57:31 ---> Running in 25f6b6ad6200 00:57:31 Removing intermediate container 25f6b6ad6200 00:57:31 ---> 8aabefc46e84 00:57:31 Step 24/26 : LABEL arch=amd64 00:57:31 ---> Running in 46d97458e671 00:57:31 Removing intermediate container 46d97458e671 00:57:31 ---> 28c5ef78f3e0 00:57:31 Step 25/26 : LABEL git_sha=9daee4b19a781fea1a9b455974c462ad669bfb0e 00:57:31 ---> Running in 030b6be9c08f 00:57:31 Removing intermediate container 030b6be9c08f 00:57:31 ---> e95d9d4e067d 00:57:31 Step 26/26 : LABEL version=0.0.0 00:57:31 ---> Running in a5ea84b7a414 00:57:31 Removing intermediate container a5ea84b7a414 00:57:31 ---> fdb61f25c0d1 00:57:31 [Warning] One or more build-args [ARCH] were not consumed 00:57:31 Successfully built fdb61f25c0d1 00:57:31 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 00:57:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:32 00:57:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:32 latest: Pulling from edgex-lftools-log-publisher 00:57:32 5eb5b503b376: Pulling fs layer 00:57:32 5c69ac0246d0: Pulling fs layer 00:57:32 ec43610c2a17: Pulling fs layer 00:57:32 3a2ae6a8a46f: Pulling fs layer 00:57:32 33b1e0a273af: Pulling fs layer 00:57:32 5d3b04190fa2: Pulling fs layer 00:57:32 2f39f015ded8: Pulling fs layer 00:57:32 5d3b04190fa2: Waiting 00:57:32 33b1e0a273af: Waiting 00:57:32 2f39f015ded8: Waiting 00:57:32 3a2ae6a8a46f: Waiting 00:57:32 5c69ac0246d0: Download complete 00:57:32 3a2ae6a8a46f: Verifying Checksum 00:57:32 3a2ae6a8a46f: Download complete 00:57:32 33b1e0a273af: Verifying Checksum 00:57:32 33b1e0a273af: Download complete 00:57:32 5d3b04190fa2: Verifying Checksum 00:57:32 5d3b04190fa2: Download complete 00:57:32 ec43610c2a17: Verifying Checksum 00:57:32 ec43610c2a17: Download complete 00:57:32 5eb5b503b376: Verifying Checksum 00:57:32 5eb5b503b376: Download complete 00:57:33 2f39f015ded8: Download complete 00:57:33 5eb5b503b376: Pull complete 00:57:33 5c69ac0246d0: Pull complete 00:57:34 ec43610c2a17: Pull complete 00:57:34 3a2ae6a8a46f: Pull complete 00:57:34 33b1e0a273af: Pull complete 00:57:34 5d3b04190fa2: Pull complete 00:57:38 2f39f015ded8: Pull complete 00:57:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:57:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:38 prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container 00:57:38 $ 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-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:57:42 $ docker top 12d57803fa4947d0bc40f9173b7a98d2f1b6bbc7608466c777d90a9d5e70910d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:42 ---> job-cost.sh 00:57:42 lf-activate-venv: SKIPPING 00:57:42 INFO: No Stack... 00:57:43 INFO: Retrieving Pricing Info for: v3-standard-8 00:57:43 INFO: Archiving Costs [Pipeline] sh 00:57:43 + cat /w/workspace/undry_device-onvif-camera_PR-269/archives/cost.csv 00:57:43 + cut -d, -f6 [Pipeline] lock 00:57:43 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-269-6-stack-cost] 00:57:43 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-269-6-stack-cost] did not exist. Created. 00:57:43 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-269-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:57:44 + echo total: 0.2199999988079071 [Pipeline] stash 00:57:44 Stashed 1 file(s) [Pipeline] } 00:57:44 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-269-6-stack-cost] [Pipeline] // lock [Pipeline] } 00:57:44 $ docker stop --time=1 12d57803fa4947d0bc40f9173b7a98d2f1b6bbc7608466c777d90a9d5e70910d 00:57:45 $ docker rm -f --volumes 12d57803fa4947d0bc40f9173b7a98d2f1b6bbc7608466c777d90a9d5e70910d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:58:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4559 in /w/workspace/undry_device-onvif-camera_PR-269 [Pipeline] { [Pipeline] ws 00:58:27 Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout 00:58:27 The recommended git tool is: git 00:58:32 using credential edgex-jenkins-ssh 00:58:32 Cloning the remote Git repository 00:58:32 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:58:32 > git init /w/workspace/device-onvif-camera/6 # timeout=10 00:58:32 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:58:32 > git --version # timeout=10 00:58:32 > git --version # 'git version 2.25.1' 00:58:32 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:34 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:58:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:35 Merging remotes/origin/main commit 77ccddf1f831a316cff875f9b23112dd948a8538 into PR head commit 536676251fad012d58d5776f8d67e7aac0f0e893 00:58:35 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:58:35 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:58:35 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:58:35 > git config core.sparsecheckout # timeout=10 00:58:36 > git checkout -f 536676251fad012d58d5776f8d67e7aac0f0e893 # timeout=10 00:58:36 Merge succeeded, producing 7bac61da2b272d6b82e411bd904266bf1db5c4c0 00:58:36 Checking out Revision 7bac61da2b272d6b82e411bd904266bf1db5c4c0 (PR-269) 00:58:36 > git remote # timeout=10 00:58:36 > git config --get remote.origin.url # timeout=10 00:58:36 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:36 > git merge 77ccddf1f831a316cff875f9b23112dd948a8538 # timeout=10 00:58:36 > git rev-parse HEAD^{commit} # timeout=10 00:58:36 > git config core.sparsecheckout # timeout=10 00:58:37 > git checkout -f 7bac61da2b272d6b82e411bd904266bf1db5c4c0 # timeout=10 00:58:40 Commit message: "Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD" 00:58:40 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:58:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:58:41 % Total % Received % Xferd Average Speed Time Time Time Current 00:58:41 Dload Upload Total Spent Left Speed 00:58:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh 00:58:40 > git rev-list --no-walk 79d7ffab3fba731a028fd2fd4b4ac6f7d81503e5 # timeout=10 00:58:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:58:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:58:42 + sudo tee /etc/docker/daemon.new 00:58:42 { 00:58:42 "registry-mirrors": [ 00:58:42 "https://nexus3.edgexfoundry.org:10001" 00:58:42 ], 00:58:42 "bip": "10.250.0.254/24", 00:58:42 "hosts": [ 00:58:42 "tcp://0.0.0.0:5555", 00:58:42 "unix:///var/run/docker.sock" 00:58:42 ], 00:58:42 "mtu": 1458, 00:58:42 "selinux-enabled": true, 00:58:42 "seccomp-profile": "/etc/docker/seccomp.json" 00:58:42 } [Pipeline] sh 00:58:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:58:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:01 provisioning config files... 00:59:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config9006712248556350741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:02 ---> docker-login.sh 00:59:02 nexus3.edgexfoundry.org:10001 00:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:03 Configure a credential helper to remove this warning. See 00:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:03 00:59:03 Login Succeeded 00:59:03 nexus3.edgexfoundry.org:10002 00:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:03 Configure a credential helper to remove this warning. See 00:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:03 00:59:03 Login Succeeded 00:59:03 nexus3.edgexfoundry.org:10003 00:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:03 Configure a credential helper to remove this warning. See 00:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:03 00:59:03 Login Succeeded 00:59:03 nexus3.edgexfoundry.org:10004 00:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:03 Configure a credential helper to remove this warning. See 00:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:03 00:59:03 Login Succeeded 00:59:03 docker.io 00:59:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:04 Configure a credential helper to remove this warning. See 00:59:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:04 00:59:04 Login Succeeded 00:59:04 ---> docker-login.sh ends [Pipeline] } 00:59:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:59:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:59:04 ========================================================= 00:59:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:59:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:59:05 Sending build context to Docker daemon 20.79MB 00:59:05 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:59:05 Step 2/13 : FROM ${BASE} AS builder 00:59:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:59:05 af6eaf76a39c: Pulling fs layer 00:59:05 55522c791124: Pulling fs layer 00:59:05 ce5c4a1c91eb: Pulling fs layer 00:59:05 169dfbe0d373: Pulling fs layer 00:59:05 e1ff8fa3b103: Pulling fs layer 00:59:05 52ebb69f0ebf: Pulling fs layer 00:59:05 5abe8eddf0d5: Pulling fs layer 00:59:05 169dfbe0d373: Waiting 00:59:05 e1ff8fa3b103: Waiting 00:59:05 52ebb69f0ebf: Waiting 00:59:05 5abe8eddf0d5: Waiting 00:59:05 55522c791124: Verifying Checksum 00:59:05 55522c791124: Download complete 00:59:05 169dfbe0d373: Verifying Checksum 00:59:05 169dfbe0d373: Download complete 00:59:05 e1ff8fa3b103: Verifying Checksum 00:59:05 e1ff8fa3b103: Download complete 00:59:05 af6eaf76a39c: Verifying Checksum 00:59:05 af6eaf76a39c: Download complete 00:59:06 5abe8eddf0d5: Verifying Checksum 00:59:06 5abe8eddf0d5: Download complete 00:59:07 af6eaf76a39c: Pull complete 00:59:08 55522c791124: Pull complete 00:59:08 ce5c4a1c91eb: Verifying Checksum 00:59:08 ce5c4a1c91eb: Download complete 00:59:08 52ebb69f0ebf: Verifying Checksum 00:59:08 52ebb69f0ebf: Download complete 00:59:18 ce5c4a1c91eb: Pull complete 00:59:18 169dfbe0d373: Pull complete 00:59:18 e1ff8fa3b103: Pull complete 00:59:25 52ebb69f0ebf: Pull complete 00:59:26 5abe8eddf0d5: Pull complete 00:59:26 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 00:59:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:59:27 ---> 6cb57ee374ae 00:59:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:59:29 ---> Running in 96c850bc50dc 00:59:29 Removing intermediate container 96c850bc50dc 00:59:29 ---> 65eca9d5388e 00:59:29 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:59:29 ---> Running in e92d47555cb7 00:59:29 Removing intermediate container e92d47555cb7 00:59:29 ---> 862490b5cb92 00:59:29 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:59:29 ---> Running in 5272badb5e13 00:59:29 Removing intermediate container 5272badb5e13 00:59:29 ---> c7afe16cafaa 00:59:29 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:59:29 ---> Running in 17cac0854f64 00:59:30 Removing intermediate container 17cac0854f64 00:59:30 ---> d38d4451750c 00:59:30 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:59:30 ---> Running in 00ce7ab641ee 00:59:30 Removing intermediate container 00ce7ab641ee 00:59:30 ---> f9e890f7b285 00:59:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:59:30 ---> Running in d412f997f7f1 00:59:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:59:33 OK: 263 MiB in 53 packages 00:59:34 Removing intermediate container d412f997f7f1 00:59:34 ---> 2f87d509f2a1 00:59:34 Step 9/13 : WORKDIR /device-onvif-camera 00:59:34 ---> Running in c5f93a3ab075 00:59:34 Removing intermediate container c5f93a3ab075 00:59:34 ---> d523197df96b 00:59:34 Step 10/13 : COPY go.mod vendor* ./ 00:59:35 ---> 32be2d5bf29c 00:59:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:59:35 ---> Running in 7faf98fd0895 01:00:43 Removing intermediate container 7faf98fd0895 01:00:43 ---> 553149ef9484 01:00:43 Step 12/13 : COPY . . 01:00:43 ---> 2cb0aae0d98d 01:00:43 Step 13/13 : RUN ${MAKE} 01:00:43 ---> Running in 0b24344be7d1 01:00:43 noop 01:00:43 Removing intermediate container 0b24344be7d1 01:00:43 ---> c7f4a3a9d827 01:00:43 Successfully built c7f4a3a9d827 01:00:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:43 + docker inspect -f . ci-base-image-arm64 01:00:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:43 prd-ubuntu20.04-docker-arm64-4c-16g-4559 does not seem to be running inside a container 01:00:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:00:44 $ docker top 38bebf4f2053bef4a0d59576cfcad8c9b6fec97a1a4b57717c8c76a868866cce -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:45 + go version 01:00:45 go version go1.20.2 linux/arm64 [Pipeline] } 01:00:45 $ docker stop --time=1 38bebf4f2053bef4a0d59576cfcad8c9b6fec97a1a4b57717c8c76a868866cce 01:00:47 $ docker rm -f --volumes 38bebf4f2053bef4a0d59576cfcad8c9b6fec97a1a4b57717c8c76a868866cce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:47 + docker inspect -f . ci-base-image-arm64 01:00:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:48 prd-ubuntu20.04-docker-arm64-4c-16g-4559 does not seem to be running inside a container 01:00:48 $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:00:49 $ docker top f22f0ff5defda5ba5903979d6b1ebedf7df05b87ddc59c78613f880340ec1339 -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:50 + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh 01:00:50 + make test 01:00:50 go test ./... -coverprofile=coverage.out ./... 01:01:23 ? github.com/edgexfoundry/device-onvif-camera [no test files] 01:03:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 01:03:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 01:03:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.208s coverage: 31.7% of statements 01:04:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.110s coverage: 86.5% of statements 01:04:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:04:01 go vet ./... 01:04:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:04:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:04:28 ./bin/test-attribution-txt.sh [Pipeline] echo 01:04:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:04:28 $ docker stop --time=1 f22f0ff5defda5ba5903979d6b1ebedf7df05b87ddc59c78613f880340ec1339 01:04:30 $ docker rm -f --volumes f22f0ff5defda5ba5903979d6b1ebedf7df05b87ddc59c78613f880340ec1339 [Pipeline] // withDockerContainer [Pipeline] sh 01:04:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:04:31 Warning: overwriting stash ‘coverage-report’ 01:04:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:04:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:04:33 + ls -al . 01:04:33 total 232 01:04:33 drwxrwxr-x 9 jenkins jenkins 4096 Mar 20 01:00 . 01:04:33 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 00:58 .. 01:04:33 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 00:58 .git 01:04:33 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 00:58 .github 01:04:33 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 00:58 .gitignore 01:04:33 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 00:58 .golangci.yml 01:04:33 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 20 00:58 Attribution.txt 01:04:33 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 00:58 CHANGELOG.md 01:04:33 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 20 00:58 Dockerfile 01:04:33 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 00:58 GOVERNANCE.md 01:04:33 -rw-rw-r-- 1 jenkins jenkins 734 Mar 20 00:58 Jenkinsfile 01:04:33 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 00:58 LICENSE 01:04:33 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 20 00:58 Makefile 01:04:33 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 00:58 OWNERS.md 01:04:33 -rw-rw-r-- 1 jenkins jenkins 6346 Mar 20 00:58 README.md 01:04:33 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 00:55 VERSION 01:04:33 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 00:58 bin 01:04:33 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 00:58 cmd 01:04:33 -rw-r--r-- 1 jenkins jenkins 78487 Mar 20 01:03 coverage.out 01:04:33 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 00:58 doc 01:04:33 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 20 00:58 go.mod 01:04:33 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 20 00:58 go.sum 01:04:33 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 00:58 internal 01:04:33 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 00:58 snap 01:04:33 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 00:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:33 + 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=7bac61da2b272d6b82e411bd904266bf1db5c4c0 --label arch=arm64 --label version=0.0.0 . 01:04:34 Sending build context to Docker daemon 20.87MB 01:04:34 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 01:04:34 Step 2/26 : FROM ${BASE} AS builder 01:04:34 ---> c7f4a3a9d827 01:04:34 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:04:34 ---> Running in 068fc5f002ee 01:04:34 Removing intermediate container 068fc5f002ee 01:04:34 ---> e16258ad736d 01:04:34 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:04:34 ---> Running in a7e232a2fdac 01:04:35 Removing intermediate container a7e232a2fdac 01:04:35 ---> 8bf742a73f36 01:04:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 01:04:35 ---> Running in 248451770b94 01:04:35 Removing intermediate container 248451770b94 01:04:35 ---> 71cd6746480c 01:04:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:04:35 ---> Running in a9917d84f462 01:04:35 Removing intermediate container a9917d84f462 01:04:35 ---> c94f6a50dd2f 01:04:35 Step 7/26 : LABEL Name=edgex-device-onvif-camera 01:04:35 ---> Running in 0a1a6f27cb7d 01:04:36 Removing intermediate container 0a1a6f27cb7d 01:04:36 ---> 81190a118b9b 01:04:36 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:04:36 ---> Running in b60456fa7a60 01:04:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:04:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:04:38 OK: 263 MiB in 53 packages 01:04:39 Removing intermediate container b60456fa7a60 01:04:39 ---> 4f921e0958d8 01:04:39 Step 9/26 : WORKDIR /device-onvif-camera 01:04:39 ---> Running in b2b32fedb88e 01:04:40 Removing intermediate container b2b32fedb88e 01:04:40 ---> 83c398758ef4 01:04:40 Step 10/26 : COPY go.mod vendor* ./ 01:04:40 ---> 1c8d4e796c75 01:04:40 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:04:40 ---> Running in 138bb845f1f4 01:04:43 Removing intermediate container 138bb845f1f4 01:04:43 ---> 045f6cd9302a 01:04:43 Step 12/26 : COPY . . 01:04:45 ---> 43e4b0584e88 01:04:45 Step 13/26 : RUN ${MAKE} 01:04:45 ---> Running in 59c33f073e0b 01:04:46 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 01:07:07 Removing intermediate container 59c33f073e0b 01:07:07 ---> 32de3b084772 01:07:07 Step 14/26 : FROM alpine:3.17 01:07:07 3.17: Pulling from library/alpine 01:07:07 af6eaf76a39c: Already exists 01:07:07 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 01:07:07 Status: Downloaded newer image for alpine:3.17 01:07:07 ---> d74e625d9115 01:07:07 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:07:07 ---> Running in 5d1a51d7033f 01:07:07 Removing intermediate container 5d1a51d7033f 01:07:07 ---> 8c6c564faed1 01:07:07 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:07:07 ---> Running in 8835ce8ef514 01:07:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:07:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:07:07 (1/1) Installing dumb-init (1.2.5-r2) 01:07:07 Executing busybox-1.35.0-r29.trigger 01:07:07 OK: 8 MiB in 16 packages 01:07:07 Removing intermediate container 8835ce8ef514 01:07:07 ---> fb0d0eeb04e3 01:07:07 Step 17/26 : WORKDIR / 01:07:07 ---> Running in 898f2e81c553 01:07:07 Removing intermediate container 898f2e81c553 01:07:07 ---> c8f5fe506a28 01:07:07 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 01:07:07 ---> 3844974170f4 01:07:07 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 01:07:07 ---> 2901e9d70346 01:07:07 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 01:07:08 ---> ea57d6c7e8a2 01:07:08 Step 21/26 : EXPOSE 59984 01:07:08 ---> Running in c0dc4a8cee28 01:07:08 Removing intermediate container c0dc4a8cee28 01:07:08 ---> c06cc4100c33 01:07:08 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 01:07:08 ---> Running in 3dc23c874e90 01:07:09 Removing intermediate container 3dc23c874e90 01:07:09 ---> 5345d5719a6f 01:07:09 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 01:07:09 ---> Running in 7f34303e5f99 01:07:09 Removing intermediate container 7f34303e5f99 01:07:09 ---> 81b0f3622320 01:07:09 Step 24/26 : LABEL arch=arm64 01:07:09 ---> Running in b504e5f9b88f 01:07:09 Removing intermediate container b504e5f9b88f 01:07:09 ---> f2e54f0a087a 01:07:09 Step 25/26 : LABEL git_sha=7bac61da2b272d6b82e411bd904266bf1db5c4c0 01:07:09 ---> Running in 06d32f171590 01:07:10 Removing intermediate container 06d32f171590 01:07:10 ---> da24e1fee173 01:07:10 Step 26/26 : LABEL version=0.0.0 01:07:10 ---> Running in 9b38e8894783 01:07:10 Removing intermediate container 9b38e8894783 01:07:10 ---> 8694d69ab869 01:07:10 [Warning] One or more build-args [ARCH] were not consumed 01:07:10 Successfully built 8694d69ab869 01:07:10 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 01:07:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:07:10 01:07:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:07:11 arm64: Pulling from edgex-lftools-log-publisher 01:07:11 8998bd30e6a1: Pulling fs layer 01:07:11 04944245beec: Pulling fs layer 01:07:11 699f458cf7ca: Pulling fs layer 01:07:11 765212b225bb: Pulling fs layer 01:07:11 f23df028b6ca: Pulling fs layer 01:07:11 d65c8cfc05b1: Pulling fs layer 01:07:11 2437ff75d9bd: Pulling fs layer 01:07:11 765212b225bb: Waiting 01:07:11 f23df028b6ca: Waiting 01:07:11 d65c8cfc05b1: Waiting 01:07:11 2437ff75d9bd: Waiting 01:07:11 04944245beec: Verifying Checksum 01:07:11 04944245beec: Download complete 01:07:11 765212b225bb: Verifying Checksum 01:07:11 765212b225bb: Download complete 01:07:11 f23df028b6ca: Verifying Checksum 01:07:11 f23df028b6ca: Download complete 01:07:11 d65c8cfc05b1: Verifying Checksum 01:07:11 d65c8cfc05b1: Download complete 01:07:11 699f458cf7ca: Verifying Checksum 01:07:11 699f458cf7ca: Download complete 01:07:11 8998bd30e6a1: Verifying Checksum 01:07:11 8998bd30e6a1: Download complete 01:07:13 2437ff75d9bd: Verifying Checksum 01:07:13 2437ff75d9bd: Download complete 01:07:15 8998bd30e6a1: Pull complete 01:07:16 04944245beec: Pull complete 01:07:17 699f458cf7ca: Pull complete 01:07:17 765212b225bb: Pull complete 01:07:18 f23df028b6ca: Pull complete 01:07:18 d65c8cfc05b1: Pull complete 01:07:33 2437ff75d9bd: Pull complete 01:07:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:07:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:07:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:33 prd-ubuntu20.04-docker-arm64-4c-16g-4559 does not seem to be running inside a container 01:07:33 $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:07:36 $ docker top 75c41f1c301574c5833ed6e14bb2f75fa47ddc8865deb05fd30d613f9856def9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:07:37 ---> job-cost.sh 01:07:37 lf-activate-venv: SKIPPING 01:07:37 INFO: No Stack... 01:07:37 INFO: Retrieving Pricing Info for: v3-standard-4 01:07:38 INFO: Archiving Costs [Pipeline] sh 01:07:39 + + cutcat -d, /w/workspace/device-onvif-camera/6/archives/cost.csv -f6 01:07:39 [Pipeline] lock 01:07:39 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-269-6-stack-cost] 01:07:39 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-269-6-stack-cost] did not exist. Created. 01:07:39 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-269-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:07:39 /w/workspace/device-onvif-camera/6@tmp/durable-0118f6d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:07:40 + echo total: 0.10999999940395355 [Pipeline] stash 01:07:40 Warning: overwriting stash ‘stack-cost’ 01:07:40 Stashed 1 file(s) [Pipeline] } 01:07:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-269-6-stack-cost] [Pipeline] // lock [Pipeline] } 01:07:40 $ docker stop --time=1 75c41f1c301574c5833ed6e14bb2f75fa47ddc8865deb05fd30d613f9856def9 01:07:42 $ docker rm -f --volumes 75c41f1c301574c5833ed6e14bb2f75fa47ddc8865deb05fd30d613f9856def9 [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 01:07:42 provisioning config files... 01:07:42 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-269@tmp/config3844739781807668043tmp [Pipeline] { [Pipeline] sh 01:07:42 + set +x 01:07:42 + curl -s https://codecov.io/bash 01:07:42 + bash -s -- 01:07:42 01:07:42 _____ _ 01:07:42 / ____| | | 01:07:42 | | ___ __| | ___ ___ _____ __ 01:07:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:07:42 | |___| (_) | (_| | __/ (_| (_) \ V / 01:07:42 \_____\___/ \__,_|\___|\___\___/ \_/ 01:07:42 Bash-1.0.6 01:07:42 01:07:42 01:07:42 ==> git version 2.25.1 found 01:07:42 ==> 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 01:07:42 Release-Date: 2020-01-08 01:07:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:07:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:07:42 ==> Jenkins CI detected. 01:07:42 current dir:  /w/workspace/undry_device-onvif-camera_PR-269 01:07:42 project root: . 01:07:42 --> token set from env 01:07:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:07:42 ==> Running gcov in . (disable via -X gcov) 01:07:42 ==> Python coveragepy not found 01:07:42 ==> Searching for coverage reports in: 01:07:42 + . 01:07:42 -> Found 1 reports 01:07:42 ==> Detecting git/mercurial file structure 01:07:43 ==> Reading reports 01:07:43 + ./coverage.out bytes=78487 01:07:43 ==> Appending adjustments 01:07:43 https://docs.codecov.io/docs/fixing-reports 01:07:43 + Found adjustments 01:07:43 ==> Gzipping contents 01:07:43 12K /tmp/codecov.p6BpMj.gz 01:07:43 ==> Uploading reports 01:07:43 url: https://codecov.io 01:07:43 query: branch=PR-269&commit=9daee4b19a781fea1a9b455974c462ad669bfb0e&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-269%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=269&job=&cmd_args= 01:07:43 -> Pinging Codecov 01:07:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-269&commit=9daee4b19a781fea1a9b455974c462ad669bfb0e&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-269%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=269&job=&cmd_args= 01:07:43 -> Uploading to 01:07:43 https://storage.googleapis.com/codecov/v4/raw/2023-03-20/F29A59C45E3A92E06B3E522C9905F8EF/9daee4b19a781fea1a9b455974c462ad669bfb0e/28a8d463-b121-497d-b640-c11b018c1b87.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230320T010743Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5295ab6c74d22818db4887f7000d9bb2bf178f852122a2facca6c8ba3ab6754b 01:07:43 % Total % Received % Xferd Average Speed Time Time Time Current 01:07:43 Dload Upload Total Spent Left Speed 01:07:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10526 0 0 100 10526 0 32588 --:--:-- --:--:-- --:--:-- 32588 01:07:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9daee4b19a781fea1a9b455974c462ad669bfb0e [Pipeline] } 01:07:43 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 01:07:44 + [ -d /w/workspace/undry_device-onvif-camera_PR-269/archives ] 01:07:44 + ls -al /w/workspace/undry_device-onvif-camera_PR-269/archives 01:07:44 total 16 01:07:44 drwxr-xr-x 3 root root 4096 Mar 20 00:57 . 01:07:44 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 00:57 .. 01:07:44 drwxr-xr-x 2 root root 4096 Mar 20 00:57 cost 01:07:44 -rw-r--r-- 1 root root 91 Mar 20 00:57 cost.csv 01:07:44 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-269/archives 01:07:44 + ls -al /w/workspace/undry_device-onvif-camera_PR-269/archives 01:07:44 total 16 01:07:44 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 00:57 . 01:07:44 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 00:57 .. 01:07:44 drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 00:57 cost 01:07:44 -rw-r--r-- 1 jenkins jenkins 91 Mar 20 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:07:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:07:45 ---> package-listing.sh 01:07:45 ++ facter osfamily 01:07:45 ++ tr '[:upper:]' '[:lower:]' 01:07:45 + OS_FAMILY=debian 01:07:45 + workspace=/w/workspace/undry_device-onvif-camera_PR-269 01:07:45 + START_PACKAGES=/tmp/packages_start.txt 01:07:45 + END_PACKAGES=/tmp/packages_end.txt 01:07:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:07:45 + PACKAGES=/tmp/packages_start.txt 01:07:45 + '[' /w/workspace/undry_device-onvif-camera_PR-269 ']' 01:07:45 + PACKAGES=/tmp/packages_end.txt 01:07:45 + case "${OS_FAMILY}" in 01:07:45 + dpkg -l 01:07:45 + grep '^ii' 01:07:45 + '[' -f /tmp/packages_start.txt ']' 01:07:45 + '[' -f /tmp/packages_end.txt ']' 01:07:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:07:45 + '[' /w/workspace/undry_device-onvif-camera_PR-269 ']' 01:07:45 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-269/archives/ 01:07:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-269/archives/ [Pipeline] echo 01:07:45 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-269/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:07:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:46 prd-ubuntu20.04-docker-8c-8g-4558 does not seem to be running inside a container 01:07:46 $ 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-269/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-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:07:46 $ docker top 932bfde47e90929210d67f4c33ad6dc868c8891053e2a9a0761cbfe6f8e566f9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:47 + touch /tmp/pre-build-complete [Pipeline] sh 01:07:47 + mkdir -p /var/log/sysstat [Pipeline] sh 01:07:47 + ls /var/log/sa-host 01:07:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:07:48 provisioning config files... 01:07:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-269@tmp/config11603625514715126990tmp [Pipeline] { [Pipeline] echo 01:07:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:07:48 ---> create-netrc.sh [Pipeline] } 01:07:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:07:48 ---> python-tools-install.sh [Pipeline] echo 01:07:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:07:48 ---> sudo-logs.sh 01:07:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:07:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:07:49 ---> job-cost.sh 01:07:49 lf-activate-venv: SKIPPING 01:07:49 DEBUG: total: 0.2199999988079071 01:07:49 INFO: Retrieving Stack Cost... 01:07:49 INFO: Retrieving Pricing Info for: v3-standard-8 01:07:50 INFO: Archiving Costs [Pipeline] echo 01:07:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:07:50 ---> logs-deploy.sh 01:07:50 lf-activate-venv: SKIPPING 01:07:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-269/6 01:07:50 INFO: archiving workspace using pattern(s): 01:07:51 Archives upload complete. 01:07:51 INFO: archiving logs to Nexus