Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5f4d982d16408bad46e03cde750422a7ad4473cd+f8d6efeffbcc72b13ace8b41daac95c88037c92b (247046045706eb40ee01bce1e88f2ac1f27836cd) 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-ssh5413215316381522912.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh12990895893154445113.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-371/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-371/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6985267249291630565.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh6828554367473775452.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-371/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-371/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9641881761757883854.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/v3]] ========================================================= [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/v3 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17741 in /w/workspace/undry_device-onvif-camera_PR-371 [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-371 # 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 f8d6efeffbcc72b13ace8b41daac95c88037c92b into PR head commit 5f4d982d16408bad46e03cde750422a7ad4473cd Merge succeeded, producing 70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec Checking out Revision 70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec (PR-371) > 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/371/head:refs/remotes/origin/PR-371 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f4d982d16408bad46e03cde750422a7ad4473cd # 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 f8d6efeffbcc72b13ace8b41daac95c88037c92b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec # timeout=10 Commit message: "Merge commit 'f8d6efeffbcc72b13ace8b41daac95c88037c92b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:11:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:11:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:11:11 ========================================================= 22:11:11 EdgeX Global Pipelines Version Info 22:11:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7409d84ac9c7cc2b1fe9a052f4c7d5f1846825fb # timeout=10 22:11:11 ------------------- 22:11:11 stable info: 22:11:11 ------------------- 22:11:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:11:11 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 22:11:11 Message: update stable to v1.0.250 22:11:12 ------------------- 22:11:12 experimental info: 22:11:12 ------------------- 22:11:12 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:12 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 22:11:12 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-371 [Pipeline] echo 22:11:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-371 [Pipeline] echo 22:11:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-371 [Pipeline] echo 22:11:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec [Pipeline] echo 22:11:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 70e4dcf [Pipeline] echo 22:11:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:13 provisioning config files... 22:11:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-371@tmp/config8762578134983718318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:13 ---> docker-login.sh 22:11:13 nexus3.edgexfoundry.org:10001 22:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:13 Configure a credential helper to remove this warning. See 22:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:13 22:11:13 Login Succeeded 22:11:13 nexus3.edgexfoundry.org:10002 22:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:14 Configure a credential helper to remove this warning. See 22:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:14 22:11:14 Login Succeeded 22:11:14 nexus3.edgexfoundry.org:10003 22:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:14 Configure a credential helper to remove this warning. See 22:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:14 22:11:14 Login Succeeded 22:11:14 nexus3.edgexfoundry.org:10004 22:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:14 Configure a credential helper to remove this warning. See 22:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:14 22:11:14 Login Succeeded 22:11:14 docker.io 22:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:14 Configure a credential helper to remove this warning. See 22:11:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:14 22:11:14 Login Succeeded 22:11:14 ---> docker-login.sh ends [Pipeline] } 22:11:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:11:15 + git rev-list -1 --merges 70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec~1..70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec [Pipeline] echo 22:11:15 -----------> git rev-list -1 --merges 70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec~1..70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec 70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec 22:11:15 70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec [false] [Pipeline] sh 22:11:16 + git log --format=format:%s -1 70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec [Pipeline] echo 22:11:16 ========================================================= 22:11:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:11:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:16 + git log --format=format:%s -1 70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec [Pipeline] echo 22:11:16 [semverPrep] GIT_COMMIT: 70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec, Commit Message: Merge commit 'f8d6efeffbcc72b13ace8b41daac95c88037c92b' into HEAD [Pipeline] echo 22:11:16 [semverPrep] This is not a build commit. [Pipeline] sh 22:11:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:11:16 + grep -v github /etc/ssh/ssh_known_hosts 22:11:16 + [ -e /tmp/ssh_known_hosts ] 22:11:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:11:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:11:16 + sudo tee -a /etc/ssh/ssh_known_hosts 22:11:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:17 22:11:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:17 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:17 b85a868b505f: Pulling fs layer 22:11:17 e2be974225ed: Pulling fs layer 22:11:17 339a4e72a1f5: Pulling fs layer 22:11:17 988bab9f4d93: Pulling fs layer 22:11:17 1469e6f7b9e6: Pulling fs layer 22:11:17 eaf3925da568: Pulling fs layer 22:11:17 bab4dde63d76: Pulling fs layer 22:11:17 bde34c3a00c8: Pulling fs layer 22:11:17 b352a97aabf1: Pulling fs layer 22:11:17 4872d77fe225: Pulling fs layer 22:11:17 5851b861e8e6: Pulling fs layer 22:11:17 eaf3925da568: Waiting 22:11:17 bde34c3a00c8: Waiting 22:11:17 bab4dde63d76: Waiting 22:11:17 5851b861e8e6: Waiting 22:11:17 b352a97aabf1: Waiting 22:11:17 4872d77fe225: Waiting 22:11:17 988bab9f4d93: Waiting 22:11:17 1469e6f7b9e6: Waiting 22:11:17 e2be974225ed: Download complete 22:11:17 988bab9f4d93: Verifying Checksum 22:11:17 988bab9f4d93: Download complete 22:11:17 1469e6f7b9e6: Verifying Checksum 22:11:17 1469e6f7b9e6: Download complete 22:11:17 339a4e72a1f5: Verifying Checksum 22:11:17 339a4e72a1f5: Download complete 22:11:17 eaf3925da568: Verifying Checksum 22:11:17 eaf3925da568: Download complete 22:11:17 bde34c3a00c8: Verifying Checksum 22:11:17 bde34c3a00c8: Download complete 22:11:17 b352a97aabf1: Verifying Checksum 22:11:17 b352a97aabf1: Download complete 22:11:17 4872d77fe225: Download complete 22:11:17 5851b861e8e6: Download complete 22:11:17 b85a868b505f: Verifying Checksum 22:11:17 b85a868b505f: Download complete 22:11:18 bab4dde63d76: Verifying Checksum 22:11:18 bab4dde63d76: Download complete 22:11:19 b85a868b505f: Pull complete 22:11:19 e2be974225ed: Pull complete 22:11:19 339a4e72a1f5: Pull complete 22:11:19 988bab9f4d93: Pull complete 22:11:20 1469e6f7b9e6: Pull complete 22:11:20 eaf3925da568: Pull complete 22:11:22 bab4dde63d76: Pull complete 22:11:22 bde34c3a00c8: Pull complete 22:11:22 b352a97aabf1: Pull complete 22:11:22 4872d77fe225: Pull complete 22:11:22 5851b861e8e6: Pull complete 22:11:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:22 prd-ubuntu20.04-docker-8c-8g-17741 does not seem to be running inside a container 22:11:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-371 -v /w/workspace/undry_device-onvif-camera_PR-371:/w/workspace/undry_device-onvif-camera_PR-371:rw,z -v /w/workspace/undry_device-onvif-camera_PR-371@tmp:/w/workspace/undry_device-onvif-camera_PR-371@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:11:30 $ docker top a3d80ebec939f358836a27436ce908d02575a70048dfced35be45c6043ce3646 -eo pid,comm 22:11:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:11:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:30 [ssh-agent] Looking for ssh-agent implementation... 22:11:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:31 $ docker exec a3d80ebec939f358836a27436ce908d02575a70048dfced35be45c6043ce3646 ssh-agent 22:11:31 SSH_AUTH_SOCK=/tmp/ssh-4yo3RjLL6o7u/agent.32 22:11:31 SSH_AGENT_PID=38 22:11:31 Running ssh-add (command line suppressed) 22:11:31 Identity added: /w/workspace/undry_device-onvif-camera_PR-371@tmp/private_key_9613890919817085987.key (/w/workspace/undry_device-onvif-camera_PR-371@tmp/private_key_9613890919817085987.key) 22:11:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:31 + git tag --points-at HEAD [Pipeline] } 22:11:31 $ docker exec --env ******** --env ******** a3d80ebec939f358836a27436ce908d02575a70048dfced35be45c6043ce3646 ssh-agent -k 22:11:31 unset SSH_AUTH_SOCK; 22:11:31 unset SSH_AGENT_PID; 22:11:31 echo Agent pid 38 killed; 22:11:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:31 [ssh-agent] Looking for ssh-agent implementation... 22:11:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:31 $ docker exec a3d80ebec939f358836a27436ce908d02575a70048dfced35be45c6043ce3646 ssh-agent 22:11:31 SSH_AUTH_SOCK=/tmp/ssh-30dvQknOCHbR/agent.71 22:11:31 SSH_AGENT_PID=77 22:11:31 Running ssh-add (command line suppressed) 22:11:32 Identity added: /w/workspace/undry_device-onvif-camera_PR-371@tmp/private_key_14144797083523207495.key (/w/workspace/undry_device-onvif-camera_PR-371@tmp/private_key_14144797083523207495.key) 22:11:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:32 + git semver init 22:11:32 2023-06-02 22:11:32,514 [run_init] DEBUG init version:0.0.0 force:False 22:11:32 2023-06-02 22:11:32,515 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-371/.semver 22:11:32 2023-06-02 22:11:32,515 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-371/.semver 22:11:32 2023-06-02 22:11:32,515 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-371/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-371, universal_newlines=False, shell=None, istream=None) 22:11:33 2023-06-02 22:11:33,615 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-371/.git/info/exclude 22:11:33 2023-06-02 22:11:33,616 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-371/.semver/PR-371 with force:False 22:11:33 2023-06-02 22:11:33,616 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-371/.semver/PR-371 22:11:33 2023-06-02 22:11:33,620 [execute] INFO git cat-file --batch-check 22:11:33 2023-06-02 22:11:33,620 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-371/.semver, universal_newlines=False, shell=None, istream=) 22:11:33 2023-06-02 22:11:33,626 [execute] INFO git cat-file --batch 22:11:33 2023-06-02 22:11:33,627 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-371/.semver, universal_newlines=False, shell=None, istream=) 22:11:33 2023-06-02 22:11:33,632 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-371/.semver/PR-371 22:11:33 0.0.0 [Pipeline] } 22:11:33 $ docker exec --env ******** --env ******** a3d80ebec939f358836a27436ce908d02575a70048dfced35be45c6043ce3646 ssh-agent -k 22:11:34 unset SSH_AUTH_SOCK; 22:11:34 unset SSH_AGENT_PID; 22:11:34 echo Agent pid 77 killed; 22:11:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:34 + git semver [Pipeline] } 22:11:34 $ docker stop --time=1 a3d80ebec939f358836a27436ce908d02575a70048dfced35be45c6043ce3646 22:11:35 $ docker rm -f --volumes a3d80ebec939f358836a27436ce908d02575a70048dfced35be45c6043ce3646 [Pipeline] // withDockerContainer [Pipeline] sh 22:11:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:36 Stashed 1 file(s) [Pipeline] echo 22:11:36 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:36 provisioning config files... 22:11:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-371@tmp/config4138860685205682791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:36 ---> docker-login.sh 22:11:36 nexus3.edgexfoundry.org:10001 22:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:36 Configure a credential helper to remove this warning. See 22:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:36 22:11:36 Login Succeeded 22:11:36 nexus3.edgexfoundry.org:10002 22:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:36 Configure a credential helper to remove this warning. See 22:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:36 22:11:36 Login Succeeded 22:11:36 nexus3.edgexfoundry.org:10003 22:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:37 Configure a credential helper to remove this warning. See 22:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:37 22:11:37 Login Succeeded 22:11:37 nexus3.edgexfoundry.org:10004 22:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:37 Configure a credential helper to remove this warning. See 22:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:37 22:11:37 Login Succeeded 22:11:37 docker.io 22:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:37 Configure a credential helper to remove this warning. See 22:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:37 22:11:37 Login Succeeded 22:11:37 ---> docker-login.sh ends [Pipeline] } 22:11:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:37 ========================================================= 22:11:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:11:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:37 + 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 . 22:11:37 Sending build context to Docker daemon 21.95MB 22:11:37 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:11:37 Step 2/13 : FROM ${BASE} AS builder 22:11:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:38 f56be85fc22e: Pulling fs layer 22:11:38 85791d961cd3: Pulling fs layer 22:11:38 d694b5ae8c79: Pulling fs layer 22:11:38 9f32a84ed3da: Pulling fs layer 22:11:38 4d19c01a9841: Pulling fs layer 22:11:38 9325e15d5711: Pulling fs layer 22:11:38 556b6ee489ea: Pulling fs layer 22:11:38 c5a4b2cf53e6: Pulling fs layer 22:11:38 9f32a84ed3da: Waiting 22:11:38 556b6ee489ea: Waiting 22:11:38 4d19c01a9841: Waiting 22:11:38 c5a4b2cf53e6: Waiting 22:11:38 9325e15d5711: Waiting 22:11:38 85791d961cd3: Download complete 22:11:38 9f32a84ed3da: Verifying Checksum 22:11:38 9f32a84ed3da: Download complete 22:11:38 4d19c01a9841: Verifying Checksum 22:11:38 4d19c01a9841: Download complete 22:11:38 f56be85fc22e: Verifying Checksum 22:11:38 f56be85fc22e: Download complete 22:11:38 9325e15d5711: Verifying Checksum 22:11:38 9325e15d5711: Download complete 22:11:38 f56be85fc22e: Pull complete 22:11:38 85791d961cd3: Pull complete 22:11:38 c5a4b2cf53e6: Verifying Checksum 22:11:38 c5a4b2cf53e6: Download complete 22:11:38 d694b5ae8c79: Verifying Checksum 22:11:38 d694b5ae8c79: Download complete 22:11:38 556b6ee489ea: Verifying Checksum 22:11:38 556b6ee489ea: Download complete 22:11:41 d694b5ae8c79: Pull complete 22:11:41 9f32a84ed3da: Pull complete 22:11:41 4d19c01a9841: Pull complete 22:11:41 9325e15d5711: Pull complete 22:11:44 556b6ee489ea: Pull complete 22:11:45 c5a4b2cf53e6: Pull complete 22:11:45 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:11:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:11:45 ---> c4be618373d6 22:11:45 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:51 Still waiting to schedule task 22:11:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:11:57 ---> Running in 111371c0b269 22:11:57 Removing intermediate container 111371c0b269 22:11:57 ---> 705d6bab37d1 22:11:57 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:57 ---> Running in 03a81d13874b 22:11:57 Removing intermediate container 03a81d13874b 22:11:57 ---> eda449240201 22:11:57 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:11:57 ---> Running in 9ad5f4f2ff41 22:11:57 Removing intermediate container 9ad5f4f2ff41 22:11:57 ---> 4f1dc52e277d 22:11:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:57 ---> Running in a8d23bef04da 22:11:57 Removing intermediate container a8d23bef04da 22:11:57 ---> 85d031bc9109 22:11:57 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:57 ---> Running in e2574ebb63b7 22:11:57 Removing intermediate container e2574ebb63b7 22:11:57 ---> 8e529cea20fa 22:11:57 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:57 ---> Running in c5c6c2993dc2 22:11:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:11:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:11:57 OK: 265 MiB in 53 packages 22:11:57 Removing intermediate container c5c6c2993dc2 22:11:57 ---> a0e3546abdd5 22:11:57 Step 9/13 : WORKDIR /device-onvif-camera 22:11:57 ---> Running in baa18087394d 22:11:57 Removing intermediate container baa18087394d 22:11:57 ---> e677e52a09db 22:11:57 Step 10/13 : COPY go.mod vendor* ./ 22:11:57 ---> db1d6369f6a2 22:11:57 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:57 ---> Running in f8e0feeae760 22:13:05 Removing intermediate container f8e0feeae760 22:13:05 ---> 2f46513932f3 22:13:05 Step 12/13 : COPY . . 22:13:05 ---> ff104ebb07a7 22:13:05 Step 13/13 : RUN ${MAKE} 22:13:05 ---> Running in 6b2c0934ee64 22:13:05 noop 22:13:05 Removing intermediate container 6b2c0934ee64 22:13:05 ---> 888c6eec7b6b 22:13:05 Successfully built 888c6eec7b6b 22:13:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:05 + docker inspect -f . ci-base-image-x86_64 22:13:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:05 prd-ubuntu20.04-docker-8c-8g-17741 does not seem to be running inside a container 22:13:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-371 -v /w/workspace/undry_device-onvif-camera_PR-371:/w/workspace/undry_device-onvif-camera_PR-371:rw,z -v /w/workspace/undry_device-onvif-camera_PR-371@tmp:/w/workspace/undry_device-onvif-camera_PR-371@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:13:06 $ docker top f5dabb9cde6b6d4ebcd701127c7e89e0648641b2ff30c1c767cd0d3b038ac4d6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:06 + go version 22:13:06 go version go1.20.2 linux/amd64 [Pipeline] } 22:13:06 $ docker stop --time=1 f5dabb9cde6b6d4ebcd701127c7e89e0648641b2ff30c1c767cd0d3b038ac4d6 22:13:07 $ docker rm -f --volumes f5dabb9cde6b6d4ebcd701127c7e89e0648641b2ff30c1c767cd0d3b038ac4d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:08 + docker inspect -f . ci-base-image-x86_64 22:13:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:08 prd-ubuntu20.04-docker-8c-8g-17741 does not seem to be running inside a container 22:13:08 $ 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-371 -v /w/workspace/undry_device-onvif-camera_PR-371:/w/workspace/undry_device-onvif-camera_PR-371:rw,z -v /w/workspace/undry_device-onvif-camera_PR-371@tmp:/w/workspace/undry_device-onvif-camera_PR-371@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:13:08 $ docker top fb1c9b2c77aa56e2596a7a344ea7c6a04387f991c0d8bb8e8696234be21bd129 -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:09 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-371 [Pipeline] fileExists [Pipeline] sh 22:13:09 + make test 22:13:09 go test ./... -coverprofile=coverage.out ./... 22:13:14 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:13:24 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:13:24 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:13:26 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 31.4% of statements 22:13:27 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 3.193s coverage: 86.5% of statements 22:13:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17742 in /w/workspace/undry_device-onvif-camera_PR-371 [Pipeline] { [Pipeline] ws 22:13:29 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 22:13:29 The recommended git tool is: git 22:13:34 using credential edgex-jenkins-ssh 22:13:34 Cloning the remote Git repository 22:13:35 go vet ./... 22:13:34 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:13:34 > git init /w/workspace/device-onvif-camera/3 # timeout=10 22:13:34 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:13:34 > git --version # timeout=10 22:13:34 > git --version # 'git version 2.25.1' 22:13:34 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:36 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:13:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:38 Merging remotes/origin/main commit f8d6efeffbcc72b13ace8b41daac95c88037c92b into PR head commit 5f4d982d16408bad46e03cde750422a7ad4473cd 22:13:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:13:37 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:13:37 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/371/head:refs/remotes/origin/PR-371 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:13:38 > git config core.sparsecheckout # timeout=10 22:13:38 > git checkout -f 5f4d982d16408bad46e03cde750422a7ad4473cd # timeout=10 22:13:38 > git remote # timeout=10 22:13:38 > git config --get remote.origin.url # timeout=10 22:13:38 Merge succeeded, producing 8162b2a6fc29b3449f16eeb54cc5843a6d5c81ee 22:13:38 Checking out Revision 8162b2a6fc29b3449f16eeb54cc5843a6d5c81ee (PR-371) 22:13:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:13:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:13:38 ./bin/test-attribution-txt.sh [Pipeline] echo 22:13:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:13:38 $ docker stop --time=1 fb1c9b2c77aa56e2596a7a344ea7c6a04387f991c0d8bb8e8696234be21bd129 22:13:38 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:38 > git merge f8d6efeffbcc72b13ace8b41daac95c88037c92b # timeout=10 22:13:38 > git rev-parse HEAD^{commit} # timeout=10 22:13:38 > git config core.sparsecheckout # timeout=10 22:13:38 > git checkout -f 8162b2a6fc29b3449f16eeb54cc5843a6d5c81ee # timeout=10 22:13:42 $ docker rm -f --volumes fb1c9b2c77aa56e2596a7a344ea7c6a04387f991c0d8bb8e8696234be21bd129 [Pipeline] // withDockerContainer [Pipeline] sh 22:13:42 Commit message: "Merge commit 'f8d6efeffbcc72b13ace8b41daac95c88037c92b' into HEAD" 22:13:42 First time build. Skipping changelog. 22:13:42 > git rev-list --no-walk 7409d84ac9c7cc2b1fe9a052f4c7d5f1846825fb # timeout=10 22:13:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:13:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:13:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:13:43 % Total % Received % Xferd Average Speed Time Time Time Current 22:13:43 Dload Upload Total Spent Left Speed 22:13:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 22:13:43 + ls -al . 22:13:43 total 240 22:13:43 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 22:13 . 22:13:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 22:11 .. 22:13:43 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 22:11 .git 22:13:43 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 22:11 .github 22:13:43 -rw-rw-r-- 1 jenkins jenkins 496 Jun 2 22:11 .gitignore 22:13:43 -rw-rw-r-- 1 jenkins jenkins 42 Jun 2 22:11 .golangci.yml 22:13:43 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 22:11 .semver 22:13:43 -rw-rw-r-- 1 jenkins jenkins 10087 Jun 2 22:11 Attribution.txt 22:13:43 -rw-rw-r-- 1 jenkins jenkins 15932 Jun 2 22:11 CHANGELOG.md 22:13:43 -rw-rw-r-- 1 jenkins jenkins 1574 Jun 2 22:11 Dockerfile 22:13:43 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 22:11 GOVERNANCE.md 22:13:43 -rw-rw-r-- 1 jenkins jenkins 739 Jun 2 22:11 Jenkinsfile 22:13:43 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 2 22:11 LICENSE 22:13:43 -rw-rw-r-- 1 jenkins jenkins 2751 Jun 2 22:11 Makefile 22:13:43 -rw-rw-r-- 1 jenkins jenkins 625 Jun 2 22:11 OWNERS.md 22:13:43 -rw-rw-r-- 1 jenkins jenkins 2620 Jun 2 22:11 README.md 22:13:43 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 22:11 VERSION 22:13:43 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 22:11 bin 22:13:43 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 22:11 cmd 22:13:43 -rw-r--r-- 1 jenkins jenkins 78459 Jun 2 22:13 coverage.out 22:13:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 22:11 doc 22:13:43 -rw-rw-r-- 1 jenkins jenkins 3594 Jun 2 22:11 go.mod 22:13:43 -rw-rw-r-- 1 jenkins jenkins 33485 Jun 2 22:11 go.sum 22:13:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 22:11 internal 22:13:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 22:11 snap 22:13:43 -rw-rw-r-- 1 jenkins jenkins 236 Jun 2 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 22:13:44 + 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=70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec --label arch=amd64 --label version=0.0.0 . 22:13:44 Sending build context to Docker daemon 22.03MB 22:13:44 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:13:44 Step 2/26 : FROM ${BASE} AS builder 22:13:44 ---> 888c6eec7b6b 22:13:44 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:13:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:13:44 ---> Running in 61fae147c4c5 22:13:44 Removing intermediate container 61fae147c4c5 22:13:44 ---> 8e7808439fb5 22:13:44 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:44 ---> Running in b846105afbba 22:13:44 + sudo tee /etc/docker/daemon.new 22:13:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:13:44 { 22:13:44 "registry-mirrors": [ 22:13:44 "https://nexus3.edgexfoundry.org:10001" 22:13:44 ], 22:13:44 "bip": "10.250.0.254/24", 22:13:44 "hosts": [ 22:13:44 "tcp://0.0.0.0:5555", 22:13:44 "unix:///var/run/docker.sock" 22:13:44 ], 22:13:44 "mtu": 1458, 22:13:44 "selinux-enabled": true, 22:13:44 "seccomp-profile": "/etc/docker/seccomp.json" 22:13:44 } [Pipeline] sh 22:13:44 Removing intermediate container b846105afbba 22:13:44 ---> 8bf7acd64d17 22:13:44 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:13:44 ---> Running in 0114ac7bd4b7 22:13:44 Removing intermediate container 0114ac7bd4b7 22:13:44 ---> b0d81c639f87 22:13:44 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:13:44 ---> Running in fe594b25179a 22:13:45 Removing intermediate container fe594b25179a 22:13:45 ---> 43d3f4a9f046 22:13:45 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:13:45 ---> Running in 420eea82accd 22:13:45 Removing intermediate container 420eea82accd 22:13:45 ---> 239dd58ce9b5 22:13:45 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:45 ---> Running in 9db4cbf61e4c 22:13:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:13:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:13:45 + sudo service docker restart 22:13:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:13:45 OK: 265 MiB in 53 packages 22:13:45 Removing intermediate container 9db4cbf61e4c 22:13:45 ---> 3aff0c3f7d30 22:13:45 Step 9/26 : WORKDIR /device-onvif-camera 22:13:45 ---> Running in 39cd3f0e5846 22:13:46 Removing intermediate container 39cd3f0e5846 22:13:46 ---> 9476754baecc 22:13:46 Step 10/26 : COPY go.mod vendor* ./ 22:13:46 ---> 514d190d7a9c 22:13:46 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:13:46 ---> Running in 54d6ef99b6ee 22:13:47 Removing intermediate container 54d6ef99b6ee 22:13:47 ---> db82b89d3a6b 22:13:47 Step 12/26 : COPY . . 22:13:48 ---> 9647bd9c7d6a 22:13:48 Step 13/26 : RUN ${MAKE} 22:13:48 ---> Running in 113b30f81255 22:13:48 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:03 provisioning config files... 22:14:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config17435984137455900874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:04 ---> docker-login.sh 22:14:04 nexus3.edgexfoundry.org:10001 22:14:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:04 Configure a credential helper to remove this warning. See 22:14:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:04 22:14:04 Login Succeeded 22:14:04 nexus3.edgexfoundry.org:10002 22:14:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:05 Configure a credential helper to remove this warning. See 22:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:05 22:14:05 Login Succeeded 22:14:05 nexus3.edgexfoundry.org:10003 22:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:05 Configure a credential helper to remove this warning. See 22:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:05 22:14:05 Login Succeeded 22:14:05 nexus3.edgexfoundry.org:10004 22:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:05 Configure a credential helper to remove this warning. See 22:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:05 22:14:05 Login Succeeded 22:14:05 docker.io 22:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:06 Configure a credential helper to remove this warning. See 22:14:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:06 22:14:06 Login Succeeded 22:14:06 ---> docker-login.sh ends [Pipeline] } 22:14:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:14:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:06 ========================================================= 22:14:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:14:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:06 + 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 . 22:14:07 Sending build context to Docker daemon 14.41MB 22:14:07 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:14:07 Step 2/13 : FROM ${BASE} AS builder 22:14:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:14:07 c41833b44d91: Pulling fs layer 22:14:07 ed15518f5707: Pulling fs layer 22:14:07 feae8fd75edb: Pulling fs layer 22:14:07 242c74f7c9fa: Pulling fs layer 22:14:07 3cdef696dda3: Pulling fs layer 22:14:07 2ced38df9373: Pulling fs layer 22:14:07 58f1dce35555: Pulling fs layer 22:14:07 3cdef696dda3: Waiting 22:14:07 2ced38df9373: Waiting 22:14:07 58f1dce35555: Waiting 22:14:07 242c74f7c9fa: Waiting 22:14:07 ed15518f5707: Download complete 22:14:07 242c74f7c9fa: Verifying Checksum 22:14:07 242c74f7c9fa: Download complete 22:14:07 3cdef696dda3: Download complete 22:14:07 c41833b44d91: Verifying Checksum 22:14:09 58f1dce35555: Verifying Checksum 22:14:09 58f1dce35555: Download complete 22:14:10 feae8fd75edb: Verifying Checksum 22:14:10 feae8fd75edb: Download complete 22:14:10 2ced38df9373: Download complete 22:14:10 Removing intermediate container 113b30f81255 22:14:10 ---> f6a61c68ede2 22:14:10 Step 14/26 : FROM alpine:3.17 22:14:10 3.17: Pulling from library/alpine 22:14:10 f56be85fc22e: Already exists 22:14:10 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:14:10 Status: Downloaded newer image for alpine:3.17 22:14:10 ---> 9ed4aefc74f6 22:14:10 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:14:10 ---> Running in 51aa93b7aa4d 22:14:10 Removing intermediate container 51aa93b7aa4d 22:14:10 ---> 2dcc2c957a6a 22:14:10 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:14:10 ---> Running in 4e165d59e757 22:14:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:14:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:14:10 (1/1) Installing dumb-init (1.2.5-r2) 22:14:10 Executing busybox-1.35.0-r29.trigger 22:14:10 OK: 7 MiB in 16 packages 22:14:10 Removing intermediate container 4e165d59e757 22:14:10 ---> c7684d5fd9b2 22:14:10 Step 17/26 : WORKDIR / 22:14:10 ---> Running in 4882206f85b8 22:14:10 Removing intermediate container 4882206f85b8 22:14:10 ---> d6343d5fc2c3 22:14:10 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:14:10 ---> ef89c48c361e 22:14:10 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:14:11 c41833b44d91: Pull complete 22:14:11 ---> 850fce3ce992 22:14:11 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:14:11 ed15518f5707: Pull complete 22:14:11 ---> d220035464f5 22:14:11 Step 21/26 : EXPOSE 59984 22:14:11 ---> Running in ad452b67a262 22:14:11 Removing intermediate container ad452b67a262 22:14:11 ---> a0948c8905a9 22:14:11 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:14:11 ---> Running in c221a5d75a54 22:14:11 Removing intermediate container c221a5d75a54 22:14:11 ---> a15abe270101 22:14:11 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:14:11 ---> Running in 3e148dd41152 22:14:11 Removing intermediate container 3e148dd41152 22:14:11 ---> b82083511d3d 22:14:11 Step 24/26 : LABEL arch=amd64 22:14:11 ---> Running in 3ea0c66fa3f5 22:14:11 Removing intermediate container 3ea0c66fa3f5 22:14:11 ---> 1a5f9babe753 22:14:11 Step 25/26 : LABEL git_sha=70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec 22:14:11 ---> Running in aabdff463252 22:14:11 Removing intermediate container aabdff463252 22:14:11 ---> cbd6f342a9f6 22:14:11 Step 26/26 : LABEL version=0.0.0 22:14:11 ---> Running in 9868f2650a49 22:14:11 Removing intermediate container 9868f2650a49 22:14:11 ---> 931fba0b6010 22:14:11 [Warning] One or more build-args [ARCH] were not consumed 22:14:11 Successfully built 931fba0b6010 22:14:11 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:12 22:14:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:12 latest: Pulling from edgex-lftools-log-publisher 22:14:12 5eb5b503b376: Pulling fs layer 22:14:12 5c69ac0246d0: Pulling fs layer 22:14:12 ec43610c2a17: Pulling fs layer 22:14:12 3a2ae6a8a46f: Pulling fs layer 22:14:12 33b1e0a273af: Pulling fs layer 22:14:12 5d3b04190fa2: Pulling fs layer 22:14:12 2f39f015ded8: Pulling fs layer 22:14:12 33b1e0a273af: Waiting 22:14:12 5d3b04190fa2: Waiting 22:14:12 2f39f015ded8: Waiting 22:14:12 3a2ae6a8a46f: Waiting 22:14:12 5c69ac0246d0: Verifying Checksum 22:14:12 5c69ac0246d0: Download complete 22:14:12 3a2ae6a8a46f: Verifying Checksum 22:14:12 3a2ae6a8a46f: Download complete 22:14:12 33b1e0a273af: Verifying Checksum 22:14:12 33b1e0a273af: Download complete 22:14:12 5d3b04190fa2: Verifying Checksum 22:14:12 5d3b04190fa2: Download complete 22:14:12 ec43610c2a17: Verifying Checksum 22:14:12 ec43610c2a17: Download complete 22:14:12 5eb5b503b376: Verifying Checksum 22:14:12 5eb5b503b376: Download complete 22:14:13 2f39f015ded8: Download complete 22:14:14 5eb5b503b376: Pull complete 22:14:14 5c69ac0246d0: Pull complete 22:14:14 ec43610c2a17: Pull complete 22:14:14 3a2ae6a8a46f: Pull complete 22:14:14 33b1e0a273af: Pull complete 22:14:14 5d3b04190fa2: Pull complete 22:14:19 2f39f015ded8: Pull complete 22:14:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:14:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:19 prd-ubuntu20.04-docker-8c-8g-17741 does not seem to be running inside a container 22:14:19 $ 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-371 -v /w/workspace/undry_device-onvif-camera_PR-371:/w/workspace/undry_device-onvif-camera_PR-371:rw,z -v /w/workspace/undry_device-onvif-camera_PR-371@tmp:/w/workspace/undry_device-onvif-camera_PR-371@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:14:24 $ docker top 010dbd7c304939e9562e0b056eaba09b008bea0b2aabeb1670d646ee8db4064f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:25 ---> job-cost.sh 22:14:25 lf-activate-venv: SKIPPING 22:14:25 INFO: No Stack... 22:14:25 INFO: Retrieving Pricing Info for: v3-standard-8 22:14:26 INFO: Archiving Costs [Pipeline] sh 22:14:26 feae8fd75edb: Pull complete 22:14:26 242c74f7c9fa: Pull complete 22:14:26 3cdef696dda3: Pull complete 22:14:26 + cut -d, -f6 22:14:26 + cat /w/workspace/undry_device-onvif-camera_PR-371/archives/cost.csv [Pipeline] lock 22:14:26 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-371-3-stack-cost] 22:14:26 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-371-3-stack-cost] did not exist. Created. 22:14:26 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-371-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:14:26 + echo total: 0.2199999988079071 [Pipeline] stash 22:14:26 Stashed 1 file(s) [Pipeline] } 22:14:26 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-371-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:14:26 $ docker stop --time=1 010dbd7c304939e9562e0b056eaba09b008bea0b2aabeb1670d646ee8db4064f 22:14:27 $ docker rm -f --volumes 010dbd7c304939e9562e0b056eaba09b008bea0b2aabeb1670d646ee8db4064f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:14:31 2ced38df9373: Pull complete 22:14:34 58f1dce35555: Pull complete 22:14:34 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:14:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:14:34 ---> fadd8f120f05 22:14:34 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:14:35 ---> Running in e43ae59eb9b2 22:14:35 Removing intermediate container e43ae59eb9b2 22:14:35 ---> 7ea27fc79a50 22:14:35 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:14:35 ---> Running in adc44fd0f9df 22:14:36 Removing intermediate container adc44fd0f9df 22:14:36 ---> 5e396f9abdb7 22:14:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:14:36 ---> Running in ce16dad351fe 22:14:36 Removing intermediate container ce16dad351fe 22:14:36 ---> 213afdada638 22:14:36 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:14:36 ---> Running in 3806bc6ec085 22:14:36 Removing intermediate container 3806bc6ec085 22:14:36 ---> 20dac22a789f 22:14:36 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:14:37 ---> Running in d65cc404245f 22:14:37 Removing intermediate container d65cc404245f 22:14:37 ---> acac37510a43 22:14:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:37 ---> Running in 57b7fe72bfcd 22:14:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:14:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:14:39 OK: 263 MiB in 53 packages 22:14:40 Removing intermediate container 57b7fe72bfcd 22:14:40 ---> ca25a31d879c 22:14:40 Step 9/13 : WORKDIR /device-onvif-camera 22:14:40 ---> Running in d456f57df2e4 22:14:40 Removing intermediate container d456f57df2e4 22:14:40 ---> 855930207055 22:14:40 Step 10/13 : COPY go.mod vendor* ./ 22:14:41 ---> 03b115300499 22:14:41 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:41 ---> Running in d0c2b95f75c9 22:15:49 Removing intermediate container d0c2b95f75c9 22:15:49 ---> 6605866a7f9e 22:15:49 Step 12/13 : COPY . . 22:15:49 ---> 7356d0333d20 22:15:49 Step 13/13 : RUN ${MAKE} 22:15:49 ---> Running in eb042ebc25b5 22:15:49 noop 22:15:49 Removing intermediate container eb042ebc25b5 22:15:49 ---> 3348de2f1686 22:15:49 Successfully built 3348de2f1686 22:15:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:49 + docker inspect -f . ci-base-image-arm64 22:15:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:49 prd-ubuntu20.04-docker-arm64-4c-16g-17742 does not seem to be running inside a container 22:15:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:51 $ docker top 77c1e373a19d3231f9ed74e8845436a1ac905fd653ffd5d8d5f410aa6528ad1e -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:51 + go version 22:15:51 go version go1.20.2 linux/arm64 [Pipeline] } 22:15:51 $ docker stop --time=1 77c1e373a19d3231f9ed74e8845436a1ac905fd653ffd5d8d5f410aa6528ad1e 22:15:53 $ docker rm -f --volumes 77c1e373a19d3231f9ed74e8845436a1ac905fd653ffd5d8d5f410aa6528ad1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:53 + docker inspect -f . ci-base-image-arm64 22:15:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:54 prd-ubuntu20.04-docker-arm64-4c-16g-17742 does not seem to be running inside a container 22:15:54 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:57 $ docker top 888cff4aee98577c0077776bc3fa3390a2ae2feb8695cdaeff1615859c66f6bc -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:57 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 22:15:57 + make test 22:15:57 go test ./... -coverprofile=coverage.out ./... 22:16:30 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:18:36 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:18:36 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:18:36 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.254s coverage: 31.4% of statements 22:18:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.049s coverage: 86.5% of statements 22:18:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:18:55 go vet ./... 22:19:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:19:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:19:22 ./bin/test-attribution-txt.sh [Pipeline] echo 22:19:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:19:22 $ docker stop --time=1 888cff4aee98577c0077776bc3fa3390a2ae2feb8695cdaeff1615859c66f6bc 22:19:24 $ docker rm -f --volumes 888cff4aee98577c0077776bc3fa3390a2ae2feb8695cdaeff1615859c66f6bc [Pipeline] // withDockerContainer [Pipeline] sh 22:19:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:19:25 Warning: overwriting stash ‘coverage-report’ 22:19:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:19:26 + ls -al . 22:19:26 total 236 22:19:26 drwxrwxr-x 9 jenkins jenkins 4096 Jun 2 22:16 . 22:19:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 22:13 .. 22:19:26 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 22:13 .git 22:19:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 22:13 .github 22:19:26 -rw-rw-r-- 1 jenkins jenkins 496 Jun 2 22:13 .gitignore 22:19:26 -rw-rw-r-- 1 jenkins jenkins 42 Jun 2 22:13 .golangci.yml 22:19:26 -rw-rw-r-- 1 jenkins jenkins 10087 Jun 2 22:13 Attribution.txt 22:19:26 -rw-rw-r-- 1 jenkins jenkins 15932 Jun 2 22:13 CHANGELOG.md 22:19:26 -rw-rw-r-- 1 jenkins jenkins 1574 Jun 2 22:13 Dockerfile 22:19:26 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 22:13 GOVERNANCE.md 22:19:26 -rw-rw-r-- 1 jenkins jenkins 739 Jun 2 22:13 Jenkinsfile 22:19:26 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 2 22:13 LICENSE 22:19:26 -rw-rw-r-- 1 jenkins jenkins 2751 Jun 2 22:13 Makefile 22:19:26 -rw-rw-r-- 1 jenkins jenkins 625 Jun 2 22:13 OWNERS.md 22:19:26 -rw-rw-r-- 1 jenkins jenkins 2620 Jun 2 22:13 README.md 22:19:26 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 22:11 VERSION 22:19:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 22:13 bin 22:19:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 22:13 cmd 22:19:26 -rw-r--r-- 1 jenkins jenkins 78459 Jun 2 22:18 coverage.out 22:19:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 22:13 doc 22:19:26 -rw-rw-r-- 1 jenkins jenkins 3594 Jun 2 22:13 go.mod 22:19:26 -rw-rw-r-- 1 jenkins jenkins 33485 Jun 2 22:13 go.sum 22:19:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 22:13 internal 22:19:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 22:13 snap 22:19:26 -rw-rw-r-- 1 jenkins jenkins 236 Jun 2 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:26 + 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=8162b2a6fc29b3449f16eeb54cc5843a6d5c81ee --label arch=arm64 --label version=0.0.0 . 22:19:27 Sending build context to Docker daemon 14.49MB 22:19:27 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:19:27 Step 2/26 : FROM ${BASE} AS builder 22:19:27 ---> 3348de2f1686 22:19:27 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:19:27 ---> Running in e4071baf685f 22:19:27 Removing intermediate container e4071baf685f 22:19:27 ---> 0355e2a8f22d 22:19:27 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:19:27 ---> Running in ef6a74522635 22:19:28 Removing intermediate container ef6a74522635 22:19:28 ---> 8e0ef1e3d278 22:19:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:19:28 ---> Running in c40a688f3694 22:19:28 Removing intermediate container c40a688f3694 22:19:28 ---> 97003bd493b3 22:19:28 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:19:28 ---> Running in 0a0972c3abdf 22:19:28 Removing intermediate container 0a0972c3abdf 22:19:28 ---> ca8fc651cdff 22:19:28 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:19:28 ---> Running in 8880a3d0e8b9 22:19:28 Removing intermediate container 8880a3d0e8b9 22:19:28 ---> 9af34db59c70 22:19:28 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:19:29 ---> Running in 19c45066418e 22:19:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:19:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:19:31 OK: 263 MiB in 53 packages 22:19:32 Removing intermediate container 19c45066418e 22:19:32 ---> 8b60fda466e5 22:19:32 Step 9/26 : WORKDIR /device-onvif-camera 22:19:32 ---> Running in f08b01675a19 22:19:32 Removing intermediate container f08b01675a19 22:19:32 ---> ccc523f24428 22:19:32 Step 10/26 : COPY go.mod vendor* ./ 22:19:33 ---> 87fc9d2795be 22:19:33 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:19:33 ---> Running in 55599deac999 22:19:35 Removing intermediate container 55599deac999 22:19:35 ---> d2b3f7c68c10 22:19:35 Step 12/26 : COPY . . 22:19:37 ---> 736a1ce3fb9b 22:19:37 Step 13/26 : RUN ${MAKE} 22:19:37 ---> Running in 317d45c62a03 22:19:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:21:45 Removing intermediate container 317d45c62a03 22:21:45 ---> 8d8675267d10 22:21:45 Step 14/26 : FROM alpine:3.17 22:21:45 3.17: Pulling from library/alpine 22:21:45 c41833b44d91: Already exists 22:21:45 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:21:45 Status: Downloaded newer image for alpine:3.17 22:21:45 ---> 51e60588ff2c 22:21:45 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:21:45 ---> Running in 8e55e5f16af5 22:21:46 Removing intermediate container 8e55e5f16af5 22:21:46 ---> 2b3cf7ab3b2c 22:21:46 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:21:46 ---> Running in 9cad88305498 22:21:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:21:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:21:48 (1/1) Installing dumb-init (1.2.5-r2) 22:21:48 Executing busybox-1.35.0-r29.trigger 22:21:48 OK: 8 MiB in 16 packages 22:21:49 Removing intermediate container 9cad88305498 22:21:49 ---> 204b0ac5b461 22:21:49 Step 17/26 : WORKDIR / 22:21:49 ---> Running in 7dcefe77fdca 22:21:49 Removing intermediate container 7dcefe77fdca 22:21:49 ---> e56a093f8ce0 22:21:49 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:21:50 ---> 46719e50198e 22:21:50 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:21:51 ---> 219626ae010a 22:21:51 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:21:52 ---> c4194a3ed008 22:21:52 Step 21/26 : EXPOSE 59984 22:21:52 ---> Running in 0e825592c02a 22:21:52 Removing intermediate container 0e825592c02a 22:21:52 ---> 9ea680a6fe4e 22:21:52 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:21:52 ---> Running in cf55de8cd7cf 22:21:52 Removing intermediate container cf55de8cd7cf 22:21:52 ---> eca38a938368 22:21:52 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:21:52 ---> Running in 8f6e5db2172a 22:21:52 Removing intermediate container 8f6e5db2172a 22:21:52 ---> 8b850959c506 22:21:52 Step 24/26 : LABEL arch=arm64 22:21:53 ---> Running in 4bab9670d5da 22:21:53 Removing intermediate container 4bab9670d5da 22:21:53 ---> 1a2d06fc0330 22:21:53 Step 25/26 : LABEL git_sha=8162b2a6fc29b3449f16eeb54cc5843a6d5c81ee 22:21:53 ---> Running in 8435d15b061b 22:21:53 Removing intermediate container 8435d15b061b 22:21:53 ---> 14c1dd719a4d 22:21:53 Step 26/26 : LABEL version=0.0.0 22:21:53 ---> Running in a0ab83fb5fc0 22:21:54 Removing intermediate container a0ab83fb5fc0 22:21:54 ---> 7fdb79f0c7b3 22:21:54 [Warning] One or more build-args [ARCH] were not consumed 22:21:54 Successfully built 7fdb79f0c7b3 22:21:54 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 22:21:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:54 22:21:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:54 arm64: Pulling from edgex-lftools-log-publisher 22:21:54 8998bd30e6a1: Pulling fs layer 22:21:54 04944245beec: Pulling fs layer 22:21:54 699f458cf7ca: Pulling fs layer 22:21:54 765212b225bb: Pulling fs layer 22:21:54 f23df028b6ca: Pulling fs layer 22:21:54 d65c8cfc05b1: Pulling fs layer 22:21:54 2437ff75d9bd: Pulling fs layer 22:21:54 f23df028b6ca: Waiting 22:21:54 d65c8cfc05b1: Waiting 22:21:54 2437ff75d9bd: Waiting 22:21:54 765212b225bb: Waiting 22:21:55 04944245beec: Verifying Checksum 22:21:55 04944245beec: Download complete 22:21:55 765212b225bb: Verifying Checksum 22:21:55 765212b225bb: Download complete 22:21:55 f23df028b6ca: Verifying Checksum 22:21:55 f23df028b6ca: Download complete 22:21:55 d65c8cfc05b1: Verifying Checksum 22:21:55 d65c8cfc05b1: Download complete 22:21:55 699f458cf7ca: Verifying Checksum 22:21:55 699f458cf7ca: Download complete 22:21:55 8998bd30e6a1: Verifying Checksum 22:21:55 8998bd30e6a1: Download complete 22:21:57 2437ff75d9bd: Download complete 22:21:59 8998bd30e6a1: Pull complete 22:21:59 04944245beec: Pull complete 22:22:01 699f458cf7ca: Pull complete 22:22:01 765212b225bb: Pull complete 22:22:05 f23df028b6ca: Pull complete 22:22:05 d65c8cfc05b1: Pull complete 22:22:20 2437ff75d9bd: Pull complete 22:22:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:22:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:20 prd-ubuntu20.04-docker-arm64-4c-16g-17742 does not seem to be running inside a container 22:22:20 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:22:23 $ docker top bbeea25cba1066386633cb8bcc40e0666189361f179c707591e33546665fd062 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:24 ---> job-cost.sh 22:22:24 lf-activate-venv: SKIPPING 22:22:24 INFO: No Stack... 22:22:24 INFO: Retrieving Pricing Info for: v3-standard-4 22:22:25 INFO: Archiving Costs [Pipeline] sh 22:22:25 + cut -d, -f6 22:22:25 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock 22:22:25 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-371-3-stack-cost] 22:22:25 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-371-3-stack-cost] did not exist. Created. 22:22:25 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-371-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:22:26 /w/workspace/device-onvif-camera/3@tmp/durable-9ccc027c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:22:26 + echo total: 0.10999999940395355 [Pipeline] stash 22:22:26 Warning: overwriting stash ‘stack-cost’ 22:22:26 Stashed 1 file(s) [Pipeline] } 22:22:26 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-371-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:22:26 $ docker stop --time=1 bbeea25cba1066386633cb8bcc40e0666189361f179c707591e33546665fd062 22:22:28 $ docker rm -f --volumes bbeea25cba1066386633cb8bcc40e0666189361f179c707591e33546665fd062 [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 22:22:28 provisioning config files... 22:22:28 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-371@tmp/config5615305871905246930tmp [Pipeline] { [Pipeline] sh 22:22:28 + set +x 22:22:28 + curl -s https://codecov.io/bash 22:22:28 + bash -s -- 22:22:28 22:22:28 _____ _ 22:22:28 / ____| | | 22:22:28 | | ___ __| | ___ ___ _____ __ 22:22:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:22:28 | |___| (_) | (_| | __/ (_| (_) \ V / 22:22:28 \_____\___/ \__,_|\___|\___\___/ \_/ 22:22:28 Bash-1.0.6 22:22:28 22:22:28 22:22:28 ==> git version 2.25.1 found 22:22:28 ==> 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 22:22:28 Release-Date: 2020-01-08 22:22:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:22:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:22:28 ==> Jenkins CI detected. 22:22:28 current dir:  /w/workspace/undry_device-onvif-camera_PR-371 22:22:28 project root: . 22:22:28 --> token set from env 22:22:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:22:29 ==> Running gcov in . (disable via -X gcov) 22:22:29 ==> Python coveragepy not found 22:22:29 ==> Searching for coverage reports in: 22:22:29 + . 22:22:29 -> Found 1 reports 22:22:29 ==> Detecting git/mercurial file structure 22:22:29 ==> Reading reports 22:22:29 + ./coverage.out bytes=78459 22:22:29 ==> Appending adjustments 22:22:29 https://docs.codecov.io/docs/fixing-reports 22:22:29 + Found adjustments 22:22:29 ==> Gzipping contents 22:22:29 12K /tmp/codecov.mGSeg2.gz 22:22:29 ==> Uploading reports 22:22:29 url: https://codecov.io 22:22:29 query: branch=PR-371&commit=70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-371%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=371&job=&cmd_args= 22:22:29 -> Pinging Codecov 22:22:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-371&commit=70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-371%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=371&job=&cmd_args= 22:22:29 -> Uploading to 22:22:29 https://storage.googleapis.com/codecov/v4/raw/2023-06-02/F29A59C45E3A92E06B3E522C9905F8EF/70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec/a6d85bd3-7938-45a5-bd6c-65f479c3ae5c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230602T222229Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05da425b47a2901889b6f581a9dcedcc610c4ea07bfa625ec7dbdd644abcde59 22:22:29 % Total % Received % Xferd Average Speed Time Time Time Current 22:22:29 Dload Upload Total Spent Left Speed 22:22:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 47769 --:--:-- --:--:-- --:--:-- 47554 100 10557 0 0 100 10557 0 43987 --:--:-- --:--:-- --:--:-- 43987 22:22:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/70e4dcff8e4394b0f1e7dad5f8eb5a0c0b47a3ec [Pipeline] } 22:22:29 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 22:22:30 + [ -d /w/workspace/undry_device-onvif-camera_PR-371/archives ] 22:22:30 + ls -al /w/workspace/undry_device-onvif-camera_PR-371/archives 22:22:30 total 16 22:22:30 drwxr-xr-x 3 root root 4096 Jun 2 22:14 . 22:22:30 drwxrwxr-x 11 jenkins jenkins 4096 Jun 2 22:14 .. 22:22:30 drwxr-xr-x 2 root root 4096 Jun 2 22:14 cost 22:22:30 -rw-r--r-- 1 root root 91 Jun 2 22:14 cost.csv 22:22:30 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-371/archives 22:22:30 + ls -al /w/workspace/undry_device-onvif-camera_PR-371/archives 22:22:30 total 16 22:22:30 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 22:14 . 22:22:30 drwxrwxr-x 11 jenkins jenkins 4096 Jun 2 22:14 .. 22:22:30 drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 22:14 cost 22:22:30 -rw-r--r-- 1 jenkins jenkins 91 Jun 2 22:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:22:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:22:31 ---> package-listing.sh 22:22:31 ++ facter osfamily 22:22:31 ++ tr '[:upper:]' '[:lower:]' 22:22:31 + OS_FAMILY=debian 22:22:31 + workspace=/w/workspace/undry_device-onvif-camera_PR-371 22:22:31 + START_PACKAGES=/tmp/packages_start.txt 22:22:31 + END_PACKAGES=/tmp/packages_end.txt 22:22:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:22:31 + PACKAGES=/tmp/packages_start.txt 22:22:31 + '[' /w/workspace/undry_device-onvif-camera_PR-371 ']' 22:22:31 + PACKAGES=/tmp/packages_end.txt 22:22:31 + case "${OS_FAMILY}" in 22:22:31 + dpkg -l 22:22:31 + grep '^ii' 22:22:31 + '[' -f /tmp/packages_start.txt ']' 22:22:31 + '[' -f /tmp/packages_end.txt ']' 22:22:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:22:31 + '[' /w/workspace/undry_device-onvif-camera_PR-371 ']' 22:22:31 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-371/archives/ 22:22:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-371/archives/ [Pipeline] echo 22:22:31 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-371/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:22:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:22:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:32 prd-ubuntu20.04-docker-8c-8g-17741 does not seem to be running inside a container 22:22:32 $ 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-371/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-371 -v /w/workspace/undry_device-onvif-camera_PR-371:/w/workspace/undry_device-onvif-camera_PR-371:rw,z -v /w/workspace/undry_device-onvif-camera_PR-371@tmp:/w/workspace/undry_device-onvif-camera_PR-371@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:22:32 $ docker top ef0b7c6a5f8d4cc1749aa45410b734252cb47f61631099000706c8b1b6c902da -eo pid,comm [Pipeline] { [Pipeline] sh 22:22:33 + touch /tmp/pre-build-complete [Pipeline] sh 22:22:33 + mkdir -p /var/log/sysstat [Pipeline] sh 22:22:33 + ls /var/log/sa-host 22:22:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:22:33 provisioning config files... 22:22:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-371@tmp/config12268398723175426462tmp [Pipeline] { [Pipeline] echo 22:22:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:22:34 ---> create-netrc.sh [Pipeline] } 22:22:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:22:34 ---> python-tools-install.sh [Pipeline] echo 22:22:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:22:34 ---> sudo-logs.sh 22:22:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:22:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:22:35 ---> job-cost.sh 22:22:35 lf-activate-venv: SKIPPING 22:22:35 DEBUG: total: 0.2199999988079071 22:22:35 INFO: Retrieving Stack Cost... 22:22:35 INFO: Retrieving Pricing Info for: v3-standard-8 22:22:35 INFO: Archiving Costs [Pipeline] echo 22:22:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:22:36 ---> logs-deploy.sh 22:22:36 lf-activate-venv: SKIPPING 22:22:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-371/3 22:22:36 INFO: archiving workspace using pattern(s): 22:22:37 Archives upload complete. 22:22:37 INFO: archiving logs to Nexus