Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 1eee78246ddadf080ca918d3282e63ea352734bf+dcb5ff70d07d89643353ce084bf74e7176a8b088 (989535228faa81b1f04f25734fa3af603641fa68) 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-ssh2028193435100924476.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4126959413389736448.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-270/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-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12299149073845062815.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10945567328535357622.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-270/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-270/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2735060369460384536.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2525 in /w/workspace/undry_device-onvif-camera_PR-270 [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-270 # 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 dcb5ff70d07d89643353ce084bf74e7176a8b088 into PR head commit 1eee78246ddadf080ca918d3282e63ea352734bf Merge succeeded, producing acba688733abd037107c7a7002db1df1fb55c2f6 Checking out Revision acba688733abd037107c7a7002db1df1fb55c2f6 (PR-270) > 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/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1eee78246ddadf080ca918d3282e63ea352734bf # 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 dcb5ff70d07d89643353ce084bf74e7176a8b088 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acba688733abd037107c7a7002db1df1fb55c2f6 # timeout=10 Commit message: "Merge commit 'dcb5ff70d07d89643353ce084bf74e7176a8b088' into HEAD" > git rev-list --no-walk 1eee78246ddadf080ca918d3282e63ea352734bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:25 ========================================================= 22:10:25 EdgeX Global Pipelines Version Info 22:10:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:10:26 ------------------- 22:10:26 stable info: 22:10:26 ------------------- 22:10:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:10:26 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 22:10:26 Message: update stable to v1.0.245 22:10:27 ------------------- 22:10:27 experimental info: 22:10:27 ------------------- 22:10:27 Commited By: **** collab-it+edgex@linuxfoundation.org 22:10:27 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 22:10:27 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-270 [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-270 [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-270 [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = acba688733abd037107c7a7002db1df1fb55c2f6 [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = acba688 [Pipeline] echo 22:10:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:27 provisioning config files... 22:10:27 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-270@tmp/config13790089273863952641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:28 ---> docker-login.sh 22:10:28 nexus3.edgexfoundry.org:10001 22:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:28 Configure a credential helper to remove this warning. See 22:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:28 22:10:28 Login Succeeded 22:10:28 nexus3.edgexfoundry.org:10002 22:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:28 Configure a credential helper to remove this warning. See 22:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:28 22:10:28 Login Succeeded 22:10:28 nexus3.edgexfoundry.org:10003 22:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:28 Configure a credential helper to remove this warning. See 22:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:28 22:10:28 Login Succeeded 22:10:28 nexus3.edgexfoundry.org:10004 22:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:28 Configure a credential helper to remove this warning. See 22:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:28 22:10:28 Login Succeeded 22:10:28 docker.io 22:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:29 Configure a credential helper to remove this warning. See 22:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:29 22:10:29 Login Succeeded 22:10:29 ---> docker-login.sh ends [Pipeline] } 22:10:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:10:29 + git rev-list -1 --merges acba688733abd037107c7a7002db1df1fb55c2f6~1..acba688733abd037107c7a7002db1df1fb55c2f6 [Pipeline] echo 22:10:29 -----------> git rev-list -1 --merges acba688733abd037107c7a7002db1df1fb55c2f6~1..acba688733abd037107c7a7002db1df1fb55c2f6 acba688733abd037107c7a7002db1df1fb55c2f6 22:10:29 acba688733abd037107c7a7002db1df1fb55c2f6 [false] [Pipeline] sh 22:10:29 + git log --format=format:%s -1 acba688733abd037107c7a7002db1df1fb55c2f6 [Pipeline] echo 22:10:29 ========================================================= 22:10:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:10:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:30 + git log --format=format:%s -1 acba688733abd037107c7a7002db1df1fb55c2f6 [Pipeline] echo 22:10:30 [semverPrep] GIT_COMMIT: acba688733abd037107c7a7002db1df1fb55c2f6, Commit Message: Merge commit 'dcb5ff70d07d89643353ce084bf74e7176a8b088' into HEAD [Pipeline] echo 22:10:30 [semverPrep] This is not a build commit. [Pipeline] sh 22:10:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:30 + grep -v github /etc/ssh/ssh_known_hosts 22:10:30 + [ -e /tmp/ssh_known_hosts ] 22:10:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:10:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:10:30 + sudo tee -a /etc/ssh/ssh_known_hosts 22:10:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:31 22:10:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:31 0.1.4: Pulling from edgex-devops/py-git-semver 22:10:31 b85a868b505f: Pulling fs layer 22:10:31 e2be974225ed: Pulling fs layer 22:10:31 339a4e72a1f5: Pulling fs layer 22:10:31 988bab9f4d93: Pulling fs layer 22:10:31 1469e6f7b9e6: Pulling fs layer 22:10:31 eaf3925da568: Pulling fs layer 22:10:31 bab4dde63d76: Pulling fs layer 22:10:31 bde34c3a00c8: Pulling fs layer 22:10:31 b352a97aabf1: Pulling fs layer 22:10:31 b352a97aabf1: Waiting 22:10:31 eaf3925da568: Waiting 22:10:31 bab4dde63d76: Waiting 22:10:31 988bab9f4d93: Waiting 22:10:31 1469e6f7b9e6: Waiting 22:10:31 4872d77fe225: Pulling fs layer 22:10:31 bde34c3a00c8: Waiting 22:10:31 5851b861e8e6: Pulling fs layer 22:10:31 4872d77fe225: Waiting 22:10:31 5851b861e8e6: Waiting 22:10:31 e2be974225ed: Verifying Checksum 22:10:31 e2be974225ed: Download complete 22:10:31 988bab9f4d93: Verifying Checksum 22:10:31 988bab9f4d93: Download complete 22:10:31 1469e6f7b9e6: Verifying Checksum 22:10:31 1469e6f7b9e6: Download complete 22:10:31 339a4e72a1f5: Verifying Checksum 22:10:31 339a4e72a1f5: Download complete 22:10:31 eaf3925da568: Verifying Checksum 22:10:31 eaf3925da568: Download complete 22:10:31 bde34c3a00c8: Download complete 22:10:31 b352a97aabf1: Download complete 22:10:31 4872d77fe225: Download complete 22:10:32 5851b861e8e6: Verifying Checksum 22:10:32 5851b861e8e6: Download complete 22:10:32 b85a868b505f: Verifying Checksum 22:10:32 b85a868b505f: Download complete 22:10:32 bab4dde63d76: Verifying Checksum 22:10:32 bab4dde63d76: Download complete 22:10:33 b85a868b505f: Pull complete 22:10:33 e2be974225ed: Pull complete 22:10:33 339a4e72a1f5: Pull complete 22:10:34 988bab9f4d93: Pull complete 22:10:34 1469e6f7b9e6: Pull complete 22:10:34 eaf3925da568: Pull complete 22:10:36 bab4dde63d76: Pull complete 22:10:36 bde34c3a00c8: Pull complete 22:10:36 b352a97aabf1: Pull complete 22:10:36 4872d77fe225: Pull complete 22:10:36 5851b861e8e6: Pull complete 22:10:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:10:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:36 prd-ubuntu20.04-docker-8c-8g-2525 does not seem to be running inside a container 22:10:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:10:37 $ docker top 796644163ceea3b77d402d1fea147924531345f456394fc41adc3f3cab8050bf -eo pid,comm 22:10:37 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:10:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:37 [ssh-agent] Looking for ssh-agent implementation... 22:10:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:38 $ docker exec 796644163ceea3b77d402d1fea147924531345f456394fc41adc3f3cab8050bf ssh-agent 22:10:38 SSH_AUTH_SOCK=/tmp/ssh-wLUMhNcVARuQ/agent.32 22:10:38 SSH_AGENT_PID=38 22:10:38 Running ssh-add (command line suppressed) 22:10:38 Identity added: /w/workspace/undry_device-onvif-camera_PR-270@tmp/private_key_27212722105143715.key (/w/workspace/undry_device-onvif-camera_PR-270@tmp/private_key_27212722105143715.key) 22:10:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:38 + git tag --points-at HEAD [Pipeline] } 22:10:38 $ docker exec --env ******** --env ******** 796644163ceea3b77d402d1fea147924531345f456394fc41adc3f3cab8050bf ssh-agent -k 22:10:38 unset SSH_AUTH_SOCK; 22:10:38 unset SSH_AGENT_PID; 22:10:38 echo Agent pid 38 killed; 22:10:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:10:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:38 [ssh-agent] Looking for ssh-agent implementation... 22:10:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:38 $ docker exec 796644163ceea3b77d402d1fea147924531345f456394fc41adc3f3cab8050bf ssh-agent 22:10:39 SSH_AUTH_SOCK=/tmp/ssh-w8fHcMyRPpha/agent.70 22:10:39 SSH_AGENT_PID=76 22:10:39 Running ssh-add (command line suppressed) 22:10:39 Identity added: /w/workspace/undry_device-onvif-camera_PR-270@tmp/private_key_1611017724774675272.key (/w/workspace/undry_device-onvif-camera_PR-270@tmp/private_key_1611017724774675272.key) 22:10:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:39 + git semver init 22:10:39 2023-03-16 22:10:39,621 [run_init] DEBUG init version:0.0.0 force:False 22:10:39 2023-03-16 22:10:39,622 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-270/.semver 22:10:39 2023-03-16 22:10:39,623 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-270/.semver 22:10:39 2023-03-16 22:10:39,623 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-270/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-270, universal_newlines=False, shell=None, istream=None) 22:10:40 2023-03-16 22:10:40,420 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-270/.git/info/exclude 22:10:40 2023-03-16 22:10:40,421 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-270/.semver/PR-270 with force:False 22:10:40 2023-03-16 22:10:40,421 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-270/.semver/PR-270 22:10:40 2023-03-16 22:10:40,425 [execute] INFO git cat-file --batch-check 22:10:40 2023-03-16 22:10:40,426 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-270/.semver, universal_newlines=False, shell=None, istream=) 22:10:40 2023-03-16 22:10:40,433 [execute] INFO git cat-file --batch 22:10:40 2023-03-16 22:10:40,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-270/.semver, universal_newlines=False, shell=None, istream=) 22:10:40 2023-03-16 22:10:40,439 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-270/.semver/PR-270 22:10:40 0.0.0 [Pipeline] } 22:10:40 $ docker exec --env ******** --env ******** 796644163ceea3b77d402d1fea147924531345f456394fc41adc3f3cab8050bf ssh-agent -k 22:10:40 unset SSH_AUTH_SOCK; 22:10:40 unset SSH_AGENT_PID; 22:10:40 echo Agent pid 76 killed; 22:10:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:41 + git semver [Pipeline] } 22:10:41 $ docker stop --time=1 796644163ceea3b77d402d1fea147924531345f456394fc41adc3f3cab8050bf 22:10:42 $ docker rm -f --volumes 796644163ceea3b77d402d1fea147924531345f456394fc41adc3f3cab8050bf [Pipeline] // withDockerContainer [Pipeline] sh 22:10:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:10:43 Stashed 1 file(s) [Pipeline] echo 22:10:43 [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:10:43 provisioning config files... 22:10:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-270@tmp/config1129991730953098253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:43 ---> docker-login.sh 22:10:43 nexus3.edgexfoundry.org:10001 22:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:43 Configure a credential helper to remove this warning. See 22:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:43 22:10:43 Login Succeeded 22:10:43 nexus3.edgexfoundry.org:10002 22:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:43 Configure a credential helper to remove this warning. See 22:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:43 22:10:43 Login Succeeded 22:10:43 nexus3.edgexfoundry.org:10003 22:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:43 Configure a credential helper to remove this warning. See 22:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:43 22:10:43 Login Succeeded 22:10:43 nexus3.edgexfoundry.org:10004 22:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:44 Configure a credential helper to remove this warning. See 22:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:44 22:10:44 Login Succeeded 22:10:44 docker.io 22:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:44 Configure a credential helper to remove this warning. See 22:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:44 22:10:44 Login Succeeded 22:10:44 ---> docker-login.sh ends [Pipeline] } 22:10:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:10:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:10:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:10:44 ========================================================= 22:10:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:10:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:44 + 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:10:44 Sending build context to Docker daemon 27.88MB 22:10:44 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:10:44 Step 2/13 : FROM ${BASE} AS builder 22:10:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:10:45 63b65145d645: Pulling fs layer 22:10:45 a2d21d5440eb: Pulling fs layer 22:10:45 935e6c44a52c: Pulling fs layer 22:10:45 94cc34f8dd06: Pulling fs layer 22:10:45 30dea6a524f1: Pulling fs layer 22:10:45 a2aff8979fd8: Pulling fs layer 22:10:45 6808be2612f2: Pulling fs layer 22:10:45 f25807f1079a: Pulling fs layer 22:10:45 30dea6a524f1: Waiting 22:10:45 a2aff8979fd8: Waiting 22:10:45 6808be2612f2: Waiting 22:10:45 f25807f1079a: Waiting 22:10:45 94cc34f8dd06: Waiting 22:10:45 a2d21d5440eb: Download complete 22:10:45 94cc34f8dd06: Download complete 22:10:45 30dea6a524f1: Verifying Checksum 22:10:45 30dea6a524f1: Download complete 22:10:45 63b65145d645: Verifying Checksum 22:10:45 63b65145d645: Download complete 22:10:45 a2aff8979fd8: Verifying Checksum 22:10:45 a2aff8979fd8: Download complete 22:10:45 63b65145d645: Pull complete 22:10:45 a2d21d5440eb: Pull complete 22:10:45 935e6c44a52c: Download complete 22:10:45 f25807f1079a: Verifying Checksum 22:10:45 f25807f1079a: Download complete 22:10:46 6808be2612f2: Verifying Checksum 22:10:46 6808be2612f2: Download complete 22:10:49 935e6c44a52c: Pull complete 22:10:49 94cc34f8dd06: Pull complete 22:10:49 30dea6a524f1: Pull complete 22:10:49 a2aff8979fd8: Pull complete 22:10:52 6808be2612f2: Pull complete 22:10:52 f25807f1079a: Pull complete 22:10:52 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 22:10:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:10:52 ---> 3b553350e43f 22:10:52 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:10:54 ---> Running in 3767ef0a1bcd 22:10:54 Removing intermediate container 3767ef0a1bcd 22:10:54 ---> 14fc9e563b28 22:10:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:10:54 ---> Running in f07997b96e1c 22:10:54 Removing intermediate container f07997b96e1c 22:10:54 ---> a5a1d389f313 22:10:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:10:54 ---> Running in cb65c48bb537 22:10:54 Removing intermediate container cb65c48bb537 22:10:54 ---> f564d0d74ef1 22:10:54 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:10:54 ---> Running in 474dc6880d67 22:10:54 Removing intermediate container 474dc6880d67 22:10:54 ---> 155d97379c18 22:10:54 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:10:54 ---> Running in a52b8d6d8ade 22:10:54 Removing intermediate container a52b8d6d8ade 22:10:54 ---> 11bfc4555612 22:10:54 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:10:54 ---> Running in 7c0ef9b7b8ae 22:10:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:10:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:10:55 OK: 265 MiB in 53 packages 22:10:55 Removing intermediate container 7c0ef9b7b8ae 22:10:55 ---> c5ddfe597fd4 22:10:55 Step 9/13 : WORKDIR /device-onvif-camera 22:10:55 ---> Running in 05fe66a8d17d 22:10:56 Removing intermediate container 05fe66a8d17d 22:10:56 ---> 604eb9a7a038 22:10:56 Step 10/13 : COPY go.mod vendor* ./ 22:10:56 ---> 2d131c4aa776 22:10:56 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:10:56 ---> Running in 45eaada6dfd4 22:10:58 Still waiting to schedule task 22:10:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:11:42 Removing intermediate container 45eaada6dfd4 22:11:42 ---> f9cfab16d676 22:11:42 Step 12/13 : COPY . . 22:11:42 ---> 3c26c92a243f 22:11:42 Step 13/13 : RUN ${MAKE} 22:11:42 ---> Running in 8886f4dce0e5 22:11:42 noop 22:11:42 Removing intermediate container 8886f4dce0e5 22:11:42 ---> cbf5e4b2e3f0 22:11:42 Successfully built cbf5e4b2e3f0 22:11:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:43 + docker inspect -f . ci-base-image-x86_64 22:11:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:43 prd-ubuntu20.04-docker-8c-8g-2525 does not seem to be running inside a container 22:11:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:11:43 $ docker top 087461fde5dfe47cd6d33d270d2f3b0cadf638632eebb6e492e54a926b0e914f -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:43 + go version 22:11:43 go version go1.20.2 linux/amd64 [Pipeline] } 22:11:43 $ docker stop --time=1 087461fde5dfe47cd6d33d270d2f3b0cadf638632eebb6e492e54a926b0e914f 22:11:45 $ docker rm -f --volumes 087461fde5dfe47cd6d33d270d2f3b0cadf638632eebb6e492e54a926b0e914f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:45 + docker inspect -f . ci-base-image-x86_64 22:11:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:45 prd-ubuntu20.04-docker-8c-8g-2525 does not seem to be running inside a container 22:11:45 $ 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-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:11:46 $ docker top 1a8d6549441f09a2785e17c1240c07552cf4d0a59fbf30ac48cfdd213ee2ca3a -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:46 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-270 [Pipeline] fileExists [Pipeline] sh 22:11:46 + make test 22:11:46 go test ./... -coverprofile=coverage.out ./... 22:11:52 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:04 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:04 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:06 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 30.5% of statements 22:12:06 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.480s coverage: 86.5% of statements 22:12:14 go vet ./... 22:12:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:18 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:18 $ docker stop --time=1 1a8d6549441f09a2785e17c1240c07552cf4d0a59fbf30ac48cfdd213ee2ca3a 22:12:20 $ docker rm -f --volumes 1a8d6549441f09a2785e17c1240c07552cf4d0a59fbf30ac48cfdd213ee2ca3a [Pipeline] // withDockerContainer [Pipeline] sh 22:12:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:12:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:21 + ls -al . 22:12:21 total 232 22:12:21 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 22:11 . 22:12:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 22:10 .. 22:12:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 22:10 .git 22:12:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 22:10 .github 22:12:21 -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 22:10 .gitignore 22:12:21 -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 22:10 .golangci.yml 22:12:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 22:10 .semver 22:12:21 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 16 22:10 Attribution.txt 22:12:21 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 22:10 CHANGELOG.md 22:12:21 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 16 22:10 Dockerfile 22:12:21 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 22:10 GOVERNANCE.md 22:12:21 -rw-rw-r-- 1 jenkins jenkins 734 Mar 16 22:10 Jenkinsfile 22:12:21 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 22:10 LICENSE 22:12:21 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 16 22:10 Makefile 22:12:21 -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 22:10 OWNERS.md 22:12:21 -rw-rw-r-- 1 jenkins jenkins 6346 Mar 16 22:10 README.md 22:12:21 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 22:10 VERSION 22:12:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 22:10 bin 22:12:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 22:10 cmd 22:12:21 -rw-r--r-- 1 jenkins jenkins 76650 Mar 16 22:12 coverage.out 22:12:21 drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 22:10 doc 22:12:21 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 16 22:10 go.mod 22:12:21 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 16 22:10 go.sum 22:12:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 22:10 internal 22:12:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 22:10 snap 22:12:21 -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:21 + 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=acba688733abd037107c7a7002db1df1fb55c2f6 --label arch=amd64 --label version=0.0.0 . 22:12:21 Sending build context to Docker daemon 27.96MB 22:12:21 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:12:21 Step 2/26 : FROM ${BASE} AS builder 22:12:21 ---> cbf5e4b2e3f0 22:12:21 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:12:21 ---> Running in c086288d611a 22:12:21 Removing intermediate container c086288d611a 22:12:21 ---> 41e6ef9a6376 22:12:21 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:21 ---> Running in 4663c81a125e 22:12:21 Removing intermediate container 4663c81a125e 22:12:21 ---> 7bed20222318 22:12:21 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:12:21 ---> Running in f831b1513458 22:12:22 Removing intermediate container f831b1513458 22:12:22 ---> 3a66620468a3 22:12:22 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:12:22 ---> Running in a094352fa7ee 22:12:22 Removing intermediate container a094352fa7ee 22:12:22 ---> 1fb6d9e2b64d 22:12:22 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:12:22 ---> Running in ba9c939dd2ab 22:12:22 Removing intermediate container ba9c939dd2ab 22:12:22 ---> 0869f48aba3e 22:12:22 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:22 ---> Running in 43040dbf76f1 22:12:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:23 OK: 265 MiB in 53 packages 22:12:23 Removing intermediate container 43040dbf76f1 22:12:23 ---> e4d0c24a19db 22:12:23 Step 9/26 : WORKDIR /device-onvif-camera 22:12:23 ---> Running in 600d0ec9869d 22:12:23 Removing intermediate container 600d0ec9869d 22:12:23 ---> fb35f260a83b 22:12:23 Step 10/26 : COPY go.mod vendor* ./ 22:12:23 ---> 1f013e11aad4 22:12:23 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:23 ---> Running in 5a9b5d76a003 22:12:24 Removing intermediate container 5a9b5d76a003 22:12:24 ---> 82f47e86f96d 22:12:24 Step 12/26 : COPY . . 22:12:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2530 in /w/workspace/undry_device-onvif-camera_PR-270 [Pipeline] { [Pipeline] ws 22:12:24 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 22:12:24 The recommended git tool is: git 22:12:25 ---> 62d137623882 22:12:25 Step 13/26 : RUN ${MAKE} 22:12:25 ---> Running in 6fab16b49832 22:12:25 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:12:31 using credential edgex-jenkins-ssh 22:12:31 Cloning the remote Git repository 22:12:31 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:12:31 > git init /w/workspace/device-onvif-camera/2 # timeout=10 22:12:31 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:12:31 > git --version # timeout=10 22:12:31 > git --version # 'git version 2.25.1' 22:12:31 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:33 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:12:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:34 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:12:34 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:12:34 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:12:34 Merging remotes/origin/main commit dcb5ff70d07d89643353ce084bf74e7176a8b088 into PR head commit 1eee78246ddadf080ca918d3282e63ea352734bf 22:12:36 Merge succeeded, producing 25d15dfd3305f62475539180c3a1d047e5857bf0 22:12:36 Checking out Revision 25d15dfd3305f62475539180c3a1d047e5857bf0 (PR-270) 22:12:34 > git config core.sparsecheckout # timeout=10 22:12:34 > git checkout -f 1eee78246ddadf080ca918d3282e63ea352734bf # timeout=10 22:12:35 > git remote # timeout=10 22:12:35 > git config --get remote.origin.url # timeout=10 22:12:35 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:35 > git merge dcb5ff70d07d89643353ce084bf74e7176a8b088 # timeout=10 22:12:36 > git rev-parse HEAD^{commit} # timeout=10 22:12:36 > git config core.sparsecheckout # timeout=10 22:12:36 > git checkout -f 25d15dfd3305f62475539180c3a1d047e5857bf0 # timeout=10 22:12:39 Commit message: "Merge commit 'dcb5ff70d07d89643353ce084bf74e7176a8b088' into HEAD" 22:12:39 > git rev-list --no-walk 1eee78246ddadf080ca918d3282e63ea352734bf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:12:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:12:40 % Total % Received % Xferd Average Speed Time Time Time Current 22:12:40 Dload Upload Total Spent Left Speed 22:12:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh 22:12:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:12:41 + sudo tee /etc/docker/daemon.new 22:12:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:12:41 { 22:12:41 "registry-mirrors": [ 22:12:41 "https://nexus3.edgexfoundry.org:10001" 22:12:41 ], 22:12:41 "bip": "10.250.0.254/24", 22:12:41 "hosts": [ 22:12:41 "tcp://0.0.0.0:5555", 22:12:41 "unix:///var/run/docker.sock" 22:12:41 ], 22:12:41 "mtu": 1458, 22:12:41 "selinux-enabled": true, 22:12:41 "seccomp-profile": "/etc/docker/seccomp.json" 22:12:41 } [Pipeline] sh 22:12:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:12:42 + sudo service docker restart 22:12:43 Removing intermediate container 6fab16b49832 22:12:43 ---> 595b2aac0d41 22:12:43 Step 14/26 : FROM alpine:3.17 22:12:43 3.17: Pulling from library/alpine 22:12:43 63b65145d645: Already exists 22:12:43 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:12:43 Status: Downloaded newer image for alpine:3.17 22:12:43 ---> b2aa39c304c2 22:12:43 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:12:43 ---> Running in afc2c046b3fe 22:12:43 Removing intermediate container afc2c046b3fe 22:12:43 ---> 5156d4e5af78 22:12:43 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:12:43 ---> Running in 648f09161ee9 22:12:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:44 (1/1) Installing dumb-init (1.2.5-r2) 22:12:44 Executing busybox-1.35.0-r29.trigger 22:12:44 OK: 7 MiB in 16 packages 22:12:44 Removing intermediate container 648f09161ee9 22:12:44 ---> 4b7024abed37 22:12:44 Step 17/26 : WORKDIR / 22:12:44 ---> Running in 2545cd221e6f 22:12:44 Removing intermediate container 2545cd221e6f 22:12:44 ---> 2c8fa554c7b3 22:12:44 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:12:45 ---> 2382005a09ad 22:12:45 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:12:45 ---> 9e2e7dd8f344 22:12:45 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:12:45 ---> 698466164d39 22:12:45 Step 21/26 : EXPOSE 59984 22:12:45 ---> Running in 12fc65d0e6f6 22:12:45 Removing intermediate container 12fc65d0e6f6 22:12:45 ---> fb89b826acd3 22:12:45 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:12:46 ---> Running in 17119d032542 22:12:46 Removing intermediate container 17119d032542 22:12:46 ---> 481d30b33420 22:12:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:12:46 ---> Running in 98a798989ebe 22:12:46 Removing intermediate container 98a798989ebe 22:12:46 ---> 8abb035b943a 22:12:46 Step 24/26 : LABEL arch=amd64 22:12:46 ---> Running in 8654ddb5c905 22:12:46 Removing intermediate container 8654ddb5c905 22:12:46 ---> dea1387c354f 22:12:46 Step 25/26 : LABEL git_sha=acba688733abd037107c7a7002db1df1fb55c2f6 22:12:46 ---> Running in cac3a28ec5d4 22:12:46 Removing intermediate container cac3a28ec5d4 22:12:46 ---> e381206cba5b 22:12:46 Step 26/26 : LABEL version=0.0.0 22:12:46 ---> Running in 7c6df0f8c9b6 22:12:46 Removing intermediate container 7c6df0f8c9b6 22:12:46 ---> 3d68bb1224ec 22:12:46 [Warning] One or more build-args [ARCH] were not consumed 22:12:46 Successfully built 3d68bb1224ec 22:12:46 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:12:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:46 22:12:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:46 latest: Pulling from edgex-lftools-log-publisher 22:12:46 5eb5b503b376: Pulling fs layer 22:12:46 5c69ac0246d0: Pulling fs layer 22:12:46 ec43610c2a17: Pulling fs layer 22:12:46 3a2ae6a8a46f: Pulling fs layer 22:12:46 33b1e0a273af: Pulling fs layer 22:12:46 5d3b04190fa2: Pulling fs layer 22:12:46 2f39f015ded8: Pulling fs layer 22:12:46 5d3b04190fa2: Waiting 22:12:46 2f39f015ded8: Waiting 22:12:46 33b1e0a273af: Waiting 22:12:46 3a2ae6a8a46f: Waiting 22:12:46 5c69ac0246d0: Verifying Checksum 22:12:46 5c69ac0246d0: Download complete 22:12:46 3a2ae6a8a46f: Verifying Checksum 22:12:46 3a2ae6a8a46f: Download complete 22:12:47 33b1e0a273af: Verifying Checksum 22:12:47 33b1e0a273af: Download complete 22:12:47 5d3b04190fa2: Verifying Checksum 22:12:47 5d3b04190fa2: Download complete 22:12:47 ec43610c2a17: Verifying Checksum 22:12:47 ec43610c2a17: Download complete 22:12:47 5eb5b503b376: Verifying Checksum 22:12:47 5eb5b503b376: Download complete 22:12:47 2f39f015ded8: Download complete 22:12:48 5eb5b503b376: Pull complete 22:12:48 5c69ac0246d0: Pull complete 22:12:49 ec43610c2a17: Pull complete 22:12:49 3a2ae6a8a46f: Pull complete 22:12:49 33b1e0a273af: Pull complete 22:12:49 5d3b04190fa2: Pull complete 22:12:53 2f39f015ded8: Pull complete 22:12:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:12:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:53 prd-ubuntu20.04-docker-8c-8g-2525 does not seem to be running inside a container 22:12:53 $ 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-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:12:55 $ docker top 4dac09558af6d33210c357ad8bdd1c586f81686226061957a984dd6bcdc17373 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:55 ---> job-cost.sh 22:12:55 lf-activate-venv: SKIPPING 22:12:55 INFO: No Stack... 22:12:55 INFO: Retrieving Pricing Info for: v3-standard-8 22:12:55 INFO: Archiving Costs [Pipeline] sh 22:12:56 + cat /w/workspace/undry_device-onvif-camera_PR-270/archives/cost.csv 22:12:56 + cut -d, -f6 [Pipeline] lock 22:12:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-270-2-stack-cost] 22:12:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-270-2-stack-cost] did not exist. Created. 22:12:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-270-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:12:56 + echo total: 0.2199999988079071 [Pipeline] stash 22:12:56 Stashed 1 file(s) [Pipeline] } 22:12:56 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-270-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:12:56 $ docker stop --time=1 4dac09558af6d33210c357ad8bdd1c586f81686226061957a984dd6bcdc17373 22:12:57 $ docker rm -f --volumes 4dac09558af6d33210c357ad8bdd1c586f81686226061957a984dd6bcdc17373 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:00 provisioning config files... 22:13:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config15773447384303746651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:01 ---> docker-login.sh 22:13:01 nexus3.edgexfoundry.org:10001 22:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:01 Configure a credential helper to remove this warning. See 22:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:01 22:13:01 Login Succeeded 22:13:01 nexus3.edgexfoundry.org:10002 22:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:02 Configure a credential helper to remove this warning. See 22:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:02 22:13:02 Login Succeeded 22:13:02 nexus3.edgexfoundry.org:10003 22:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:02 Configure a credential helper to remove this warning. See 22:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:02 22:13:02 Login Succeeded 22:13:02 nexus3.edgexfoundry.org:10004 22:13:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:03 Configure a credential helper to remove this warning. See 22:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:03 22:13:03 Login Succeeded 22:13:03 docker.io 22:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:03 Configure a credential helper to remove this warning. See 22:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:03 22:13:03 Login Succeeded 22:13:03 ---> docker-login.sh ends [Pipeline] } 22:13:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:13:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:04 ========================================================= 22:13:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:13:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:04 + 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:13:05 Sending build context to Docker daemon 20.63MB 22:13:05 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:13:05 Step 2/13 : FROM ${BASE} AS builder 22:13:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:13:05 af6eaf76a39c: Pulling fs layer 22:13:05 55522c791124: Pulling fs layer 22:13:05 ce5c4a1c91eb: Pulling fs layer 22:13:05 169dfbe0d373: Pulling fs layer 22:13:05 e1ff8fa3b103: Pulling fs layer 22:13:05 52ebb69f0ebf: Pulling fs layer 22:13:05 5abe8eddf0d5: Pulling fs layer 22:13:05 169dfbe0d373: Waiting 22:13:05 e1ff8fa3b103: Waiting 22:13:05 52ebb69f0ebf: Waiting 22:13:05 55522c791124: Download complete 22:13:05 169dfbe0d373: Verifying Checksum 22:13:05 169dfbe0d373: Download complete 22:13:05 e1ff8fa3b103: Verifying Checksum 22:13:05 e1ff8fa3b103: Download complete 22:13:05 af6eaf76a39c: Verifying Checksum 22:13:05 af6eaf76a39c: Download complete 22:13:06 5abe8eddf0d5: Verifying Checksum 22:13:06 5abe8eddf0d5: Download complete 22:13:06 af6eaf76a39c: Pull complete 22:13:06 55522c791124: Pull complete 22:13:07 ce5c4a1c91eb: Verifying Checksum 22:13:07 ce5c4a1c91eb: Download complete 22:13:07 52ebb69f0ebf: Verifying Checksum 22:13:07 52ebb69f0ebf: Download complete 22:13:18 ce5c4a1c91eb: Pull complete 22:13:18 169dfbe0d373: Pull complete 22:13:18 e1ff8fa3b103: Pull complete 22:13:25 52ebb69f0ebf: Pull complete 22:13:25 5abe8eddf0d5: Pull complete 22:13:25 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 22:13:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:13:25 ---> 6cb57ee374ae 22:13:25 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:13:27 ---> Running in ef7d0f1dd500 22:13:28 Removing intermediate container ef7d0f1dd500 22:13:28 ---> f0395c0addfc 22:13:28 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:28 ---> Running in 9ed6db3cb6ca 22:13:28 Removing intermediate container 9ed6db3cb6ca 22:13:28 ---> 1c07cd8830d4 22:13:28 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:13:28 ---> Running in 42cc70aff893 22:13:29 Removing intermediate container 42cc70aff893 22:13:29 ---> 7e2117836dd2 22:13:29 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:13:29 ---> Running in 69a78b68c814 22:13:29 Removing intermediate container 69a78b68c814 22:13:29 ---> 0259a41cb9f9 22:13:29 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:13:29 ---> Running in bbd5aa1fb20a 22:13:30 Removing intermediate container bbd5aa1fb20a 22:13:30 ---> 0a00b4e80211 22:13:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:30 ---> Running in 3588f9bc864b 22:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:13:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:13:33 OK: 263 MiB in 53 packages 22:13:34 Removing intermediate container 3588f9bc864b 22:13:34 ---> 1b35e0721d50 22:13:34 Step 9/13 : WORKDIR /device-onvif-camera 22:13:34 ---> Running in 00af98189eb3 22:13:35 Removing intermediate container 00af98189eb3 22:13:35 ---> 906f50e1a1ec 22:13:35 Step 10/13 : COPY go.mod vendor* ./ 22:13:35 ---> ae17c8d91ff3 22:13:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:13:35 ---> Running in a5e4de2e32ab 22:14:43 Removing intermediate container a5e4de2e32ab 22:14:43 ---> 0ce7d0de517a 22:14:43 Step 12/13 : COPY . . 22:14:43 ---> 6c7cdd18aba6 22:14:43 Step 13/13 : RUN ${MAKE} 22:14:43 ---> Running in 6511e48a1afd 22:14:43 noop 22:14:44 Removing intermediate container 6511e48a1afd 22:14:44 ---> a31c47bd3852 22:14:44 Successfully built a31c47bd3852 22:14:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:44 + docker inspect -f . ci-base-image-arm64 22:14:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:44 prd-ubuntu20.04-docker-arm64-4c-16g-2530 does not seem to be running inside a container 22:14:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:14:46 $ docker top a5b51cdcd4831e3c2f82242162f9298f74075f429b7d0f404766dcf910133494 -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:47 + go version 22:14:47 go version go1.20.2 linux/arm64 [Pipeline] } 22:14:47 $ docker stop --time=1 a5b51cdcd4831e3c2f82242162f9298f74075f429b7d0f404766dcf910133494 22:14:49 $ docker rm -f --volumes a5b51cdcd4831e3c2f82242162f9298f74075f429b7d0f404766dcf910133494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:49 + docker inspect -f . ci-base-image-arm64 22:14:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:49 prd-ubuntu20.04-docker-arm64-4c-16g-2530 does not seem to be running inside a container 22:14:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:14:51 $ docker top c94530c36a4646c5edd9a00724d30eeb88d3421c4f9e9deafa4b7a923ce808e5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:52 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 22:14:53 + make test 22:14:53 go test ./... -coverprofile=coverage.out ./... 22:15:31 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:18:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:18:25 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:18:27 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.212s coverage: 30.5% of statements 22:19:00 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.201s coverage: 86.5% of statements 22:19:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:19:00 go vet ./... 22:19:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:19:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:19:32 ./bin/test-attribution-txt.sh [Pipeline] echo 22:19:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:19:32 $ docker stop --time=1 c94530c36a4646c5edd9a00724d30eeb88d3421c4f9e9deafa4b7a923ce808e5 22:19:34 $ docker rm -f --volumes c94530c36a4646c5edd9a00724d30eeb88d3421c4f9e9deafa4b7a923ce808e5 [Pipeline] // withDockerContainer [Pipeline] sh 22:19:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:19:35 Warning: overwriting stash ‘coverage-report’ 22:19:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:19:37 + ls -al . 22:19:37 total 228 22:19:37 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 22:14 . 22:19:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 22:12 .. 22:19:37 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 22:12 .git 22:19:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 22:12 .github 22:19:37 -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 22:12 .gitignore 22:19:37 -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 22:12 .golangci.yml 22:19:37 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 16 22:12 Attribution.txt 22:19:37 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 22:12 CHANGELOG.md 22:19:37 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 16 22:12 Dockerfile 22:19:37 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 22:12 GOVERNANCE.md 22:19:37 -rw-rw-r-- 1 jenkins jenkins 734 Mar 16 22:12 Jenkinsfile 22:19:37 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 22:12 LICENSE 22:19:37 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 16 22:12 Makefile 22:19:37 -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 22:12 OWNERS.md 22:19:37 -rw-rw-r-- 1 jenkins jenkins 6346 Mar 16 22:12 README.md 22:19:37 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 22:10 VERSION 22:19:37 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 22:12 bin 22:19:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 22:12 cmd 22:19:37 -rw-r--r-- 1 jenkins jenkins 76650 Mar 16 22:18 coverage.out 22:19:37 drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 22:12 doc 22:19:37 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 16 22:12 go.mod 22:19:37 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 16 22:12 go.sum 22:19:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 22:12 internal 22:19:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 22:12 snap 22:19:37 -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 22:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:37 + 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=25d15dfd3305f62475539180c3a1d047e5857bf0 --label arch=arm64 --label version=0.0.0 . 22:19:38 Sending build context to Docker daemon 20.71MB 22:19:38 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:19:38 Step 2/26 : FROM ${BASE} AS builder 22:19:38 ---> a31c47bd3852 22:19:38 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:19:38 ---> Running in 46e93361bdea 22:19:39 Removing intermediate container 46e93361bdea 22:19:39 ---> 57bcaefea2df 22:19:39 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:19:39 ---> Running in 1cabffdaa6f6 22:19:39 Removing intermediate container 1cabffdaa6f6 22:19:39 ---> 6aa982ab10ae 22:19:39 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:19:39 ---> Running in 6ad00765a701 22:19:40 Removing intermediate container 6ad00765a701 22:19:40 ---> cce55d13f9d3 22:19:40 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:19:40 ---> Running in 00b2daef6238 22:19:40 Removing intermediate container 00b2daef6238 22:19:40 ---> c7fda692574d 22:19:40 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:19:40 ---> Running in c99ebb9d9a4b 22:19:40 Removing intermediate container c99ebb9d9a4b 22:19:40 ---> 0e639f879cee 22:19:40 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:19:40 ---> Running in 4e1d6913cd45 22:19:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:19:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:19:44 OK: 263 MiB in 53 packages 22:19:44 Removing intermediate container 4e1d6913cd45 22:19:44 ---> ef2f8b8c6715 22:19:44 Step 9/26 : WORKDIR /device-onvif-camera 22:19:44 ---> Running in 3fe8b44addf8 22:19:45 Removing intermediate container 3fe8b44addf8 22:19:45 ---> e389626e6f58 22:19:45 Step 10/26 : COPY go.mod vendor* ./ 22:19:45 ---> 676f3cbb081a 22:19:45 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:19:46 ---> Running in 5da76a0ab485 22:19:49 Removing intermediate container 5da76a0ab485 22:19:49 ---> c95888710c10 22:19:49 Step 12/26 : COPY . . 22:19:51 ---> e5845acd4572 22:19:51 Step 13/26 : RUN ${MAKE} 22:19:51 ---> Running in 0726ff890172 22:19:52 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:22:44 Removing intermediate container 0726ff890172 22:22:44 ---> d0764f986866 22:22:44 Step 14/26 : FROM alpine:3.17 22:22:44 3.17: Pulling from library/alpine 22:22:44 af6eaf76a39c: Already exists 22:22:44 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:22:44 Status: Downloaded newer image for alpine:3.17 22:22:44 ---> d74e625d9115 22:22:44 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:22:44 ---> Running in 15ed244f567e 22:22:44 Removing intermediate container 15ed244f567e 22:22:44 ---> e2ac89f52608 22:22:44 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:22:44 ---> Running in 9842064193bc 22:22:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:22:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:22:44 (1/1) Installing dumb-init (1.2.5-r2) 22:22:44 Executing busybox-1.35.0-r29.trigger 22:22:44 OK: 8 MiB in 16 packages 22:22:45 Removing intermediate container 9842064193bc 22:22:45 ---> bca4dfc070ff 22:22:45 Step 17/26 : WORKDIR / 22:22:45 ---> Running in 922320dbed54 22:22:45 Removing intermediate container 922320dbed54 22:22:45 ---> 952496a00f4c 22:22:45 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:22:46 ---> 03e3863f5f4a 22:22:46 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:22:47 ---> 93adce3912f7 22:22:47 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:22:47 ---> d07ff4828254 22:22:47 Step 21/26 : EXPOSE 59984 22:22:47 ---> Running in b6999f76b025 22:22:48 Removing intermediate container b6999f76b025 22:22:48 ---> 0e32b1052463 22:22:48 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:22:48 ---> Running in 020d3afc1c8b 22:22:48 Removing intermediate container 020d3afc1c8b 22:22:48 ---> 1e1e5002dff0 22:22:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:22:48 ---> Running in 7487ae1582f5 22:22:49 Removing intermediate container 7487ae1582f5 22:22:49 ---> 9e207d0fb848 22:22:49 Step 24/26 : LABEL arch=arm64 22:22:49 ---> Running in 6f5a4d8467e4 22:22:49 Removing intermediate container 6f5a4d8467e4 22:22:49 ---> fd86b15a8792 22:22:49 Step 25/26 : LABEL git_sha=25d15dfd3305f62475539180c3a1d047e5857bf0 22:22:49 ---> Running in 990c4857a6de 22:22:49 Removing intermediate container 990c4857a6de 22:22:49 ---> 322647265b33 22:22:49 Step 26/26 : LABEL version=0.0.0 22:22:50 ---> Running in 87e6aac86cef 22:22:50 Removing intermediate container 87e6aac86cef 22:22:50 ---> f876acd335d5 22:22:50 [Warning] One or more build-args [ARCH] were not consumed 22:22:50 Successfully built f876acd335d5 22:22:50 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:22:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:50 22:22:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:51 arm64: Pulling from edgex-lftools-log-publisher 22:22:51 8998bd30e6a1: Pulling fs layer 22:22:51 04944245beec: Pulling fs layer 22:22:51 699f458cf7ca: Pulling fs layer 22:22:51 765212b225bb: Pulling fs layer 22:22:51 f23df028b6ca: Pulling fs layer 22:22:51 d65c8cfc05b1: Pulling fs layer 22:22:51 2437ff75d9bd: Pulling fs layer 22:22:51 d65c8cfc05b1: Waiting 22:22:51 f23df028b6ca: Waiting 22:22:51 2437ff75d9bd: Waiting 22:22:51 765212b225bb: Waiting 22:22:51 04944245beec: Verifying Checksum 22:22:51 04944245beec: Download complete 22:22:51 765212b225bb: Verifying Checksum 22:22:51 765212b225bb: Download complete 22:22:51 f23df028b6ca: Verifying Checksum 22:22:51 f23df028b6ca: Download complete 22:22:51 d65c8cfc05b1: Verifying Checksum 22:22:51 d65c8cfc05b1: Download complete 22:22:51 699f458cf7ca: Verifying Checksum 22:22:51 699f458cf7ca: Download complete 22:22:52 8998bd30e6a1: Download complete 22:22:54 2437ff75d9bd: Verifying Checksum 22:22:54 2437ff75d9bd: Download complete 22:22:56 8998bd30e6a1: Pull complete 22:22:56 04944245beec: Pull complete 22:22:58 699f458cf7ca: Pull complete 22:22:58 765212b225bb: Pull complete 22:22:59 f23df028b6ca: Pull complete 22:22:59 d65c8cfc05b1: Pull complete 22:23:14 2437ff75d9bd: Pull complete 22:23:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:23:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:23:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:14 prd-ubuntu20.04-docker-arm64-4c-16g-2530 does not seem to be running inside a container 22:23:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:23:17 $ docker top fc4c21259efd8f4eab31a0d6a986634a4fdc66d9fd1948ce7f1c87066b8929c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:18 ---> job-cost.sh 22:23:18 lf-activate-venv: SKIPPING 22:23:18 INFO: No Stack... 22:23:19 INFO: Retrieving Pricing Info for: v3-standard-4 22:23:20 INFO: Archiving Costs [Pipeline] sh 22:23:20 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 22:23:20 + cut -d, -f6 [Pipeline] lock 22:23:20 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-270-2-stack-cost] 22:23:20 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-270-2-stack-cost] did not exist. Created. 22:23:20 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-270-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:23:21 /w/workspace/device-onvif-camera/2@tmp/durable-60c8f745/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:23:22 + echo total: 0.10999999940395355 [Pipeline] stash 22:23:22 Warning: overwriting stash ‘stack-cost’ 22:23:22 Stashed 1 file(s) [Pipeline] } 22:23:22 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-270-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:23:22 $ docker stop --time=1 fc4c21259efd8f4eab31a0d6a986634a4fdc66d9fd1948ce7f1c87066b8929c0 22:23:23 $ docker rm -f --volumes fc4c21259efd8f4eab31a0d6a986634a4fdc66d9fd1948ce7f1c87066b8929c0 [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:23:24 provisioning config files... 22:23:24 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-270@tmp/config11274075688494389158tmp [Pipeline] { [Pipeline] sh 22:23:24 + set +x 22:23:24 + curl -s https://codecov.io/bash 22:23:24 + bash -s -- 22:23:24 22:23:24 _____ _ 22:23:24 / ____| | | 22:23:24 | | ___ __| | ___ ___ _____ __ 22:23:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:23:24 | |___| (_) | (_| | __/ (_| (_) \ V / 22:23:24 \_____\___/ \__,_|\___|\___\___/ \_/ 22:23:24 Bash-1.0.6 22:23:24 22:23:24 22:23:24 ==> git version 2.25.1 found 22:23:24 ==> 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:23:24 Release-Date: 2020-01-08 22:23:24 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:23:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:23:24 ==> Jenkins CI detected. 22:23:24 current dir:  /w/workspace/undry_device-onvif-camera_PR-270 22:23:24 project root: . 22:23:24 --> token set from env 22:23:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:23:24 ==> Running gcov in . (disable via -X gcov) 22:23:24 ==> Python coveragepy not found 22:23:24 ==> Searching for coverage reports in: 22:23:24 + . 22:23:24 -> Found 1 reports 22:23:24 ==> Detecting git/mercurial file structure 22:23:24 ==> Reading reports 22:23:24 + ./coverage.out bytes=76650 22:23:24 ==> Appending adjustments 22:23:24 https://docs.codecov.io/docs/fixing-reports 22:23:24 + Found adjustments 22:23:24 ==> Gzipping contents 22:23:24 12K /tmp/codecov.viiGXK.gz 22:23:24 ==> Uploading reports 22:23:24 url: https://codecov.io 22:23:24 query: branch=PR-270&commit=acba688733abd037107c7a7002db1df1fb55c2f6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-270%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=270&job=&cmd_args= 22:23:24 -> Pinging Codecov 22:23:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-270&commit=acba688733abd037107c7a7002db1df1fb55c2f6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-270%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=270&job=&cmd_args= 22:23:25 -> Uploading to 22:23:25 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/F29A59C45E3A92E06B3E522C9905F8EF/acba688733abd037107c7a7002db1df1fb55c2f6/2e8fcb25-e5d0-4305-a563-906212db7818.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T222324Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1f608378a0cddfd55665a24c010c7286d3fa840b3cb2c53fda8a43c38e5fa125 22:23:25 % Total % Received % Xferd Average Speed Time Time Time Current 22:23:25 Dload Upload Total Spent Left Speed 22:23:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10354 0 0 100 10354 0 33400 --:--:-- --:--:-- --:--:-- 33400 22:23:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/acba688733abd037107c7a7002db1df1fb55c2f6 [Pipeline] } 22:23:25 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:23:25 + [ -d /w/workspace/undry_device-onvif-camera_PR-270/archives ] 22:23:25 + ls -al /w/workspace/undry_device-onvif-camera_PR-270/archives 22:23:25 total 16 22:23:25 drwxr-xr-x 3 root root 4096 Mar 16 22:12 . 22:23:25 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 22:12 .. 22:23:25 drwxr-xr-x 2 root root 4096 Mar 16 22:12 cost 22:23:25 -rw-r--r-- 1 root root 91 Mar 16 22:12 cost.csv 22:23:25 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-270/archives 22:23:25 + ls -al /w/workspace/undry_device-onvif-camera_PR-270/archives 22:23:25 total 16 22:23:25 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 22:12 . 22:23:25 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 22:12 .. 22:23:25 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 22:12 cost 22:23:25 -rw-r--r-- 1 jenkins jenkins 91 Mar 16 22:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:23:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:23:27 ---> package-listing.sh 22:23:27 ++ facter osfamily 22:23:27 ++ tr '[:upper:]' '[:lower:]' 22:23:27 + OS_FAMILY=debian 22:23:27 + workspace=/w/workspace/undry_device-onvif-camera_PR-270 22:23:27 + START_PACKAGES=/tmp/packages_start.txt 22:23:27 + END_PACKAGES=/tmp/packages_end.txt 22:23:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:23:27 + PACKAGES=/tmp/packages_start.txt 22:23:27 + '[' /w/workspace/undry_device-onvif-camera_PR-270 ']' 22:23:27 + PACKAGES=/tmp/packages_end.txt 22:23:27 + case "${OS_FAMILY}" in 22:23:27 + dpkg -l 22:23:27 + grep '^ii' 22:23:27 + '[' -f /tmp/packages_start.txt ']' 22:23:27 + '[' -f /tmp/packages_end.txt ']' 22:23:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:23:27 + '[' /w/workspace/undry_device-onvif-camera_PR-270 ']' 22:23:27 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-270/archives/ 22:23:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-270/archives/ [Pipeline] echo 22:23:27 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-270/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:23:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:28 prd-ubuntu20.04-docker-8c-8g-2525 does not seem to be running inside a container 22:23:28 $ 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-270/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-270 -v /w/workspace/undry_device-onvif-camera_PR-270:/w/workspace/undry_device-onvif-camera_PR-270:rw,z -v /w/workspace/undry_device-onvif-camera_PR-270@tmp:/w/workspace/undry_device-onvif-camera_PR-270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:23:28 $ docker top d9b806f149262603243202712ebd0cd59656d49afcb97ca992430451337e943d -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:28 + touch /tmp/pre-build-complete [Pipeline] sh 22:23:29 + mkdir -p /var/log/sysstat [Pipeline] sh 22:23:29 + ls /var/log/sa-host 22:23:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:23:29 provisioning config files... 22:23:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-270@tmp/config3363449311598947320tmp [Pipeline] { [Pipeline] echo 22:23:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:23:29 ---> create-netrc.sh [Pipeline] } 22:23:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:23:30 ---> python-tools-install.sh [Pipeline] echo 22:23:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:23:30 ---> sudo-logs.sh 22:23:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:23:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:23:30 ---> job-cost.sh 22:23:30 lf-activate-venv: SKIPPING 22:23:30 DEBUG: total: 0.2199999988079071 22:23:30 INFO: Retrieving Stack Cost... 22:23:31 INFO: Retrieving Pricing Info for: v3-standard-8 22:23:31 INFO: Archiving Costs [Pipeline] echo 22:23:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:23:31 ---> logs-deploy.sh 22:23:31 lf-activate-venv: SKIPPING 22:23:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-270/2 22:23:31 INFO: archiving workspace using pattern(s): 22:23:32 Archives upload complete. 22:23:32 INFO: archiving logs to Nexus