Pull request #372 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at c742c110d1cc62fb19cc4b7662ac95047aaf245d rather than 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 Obtained Jenkinsfile from c742c110d1cc62fb19cc4b7662ac95047aaf245d 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-ssh7811220780622936796.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh5883863784226206969.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-372/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-372/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10822594607171351517.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh1658968444915856795.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-372/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-372/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2050030085808328247.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-17524’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17526 in /w/workspace/undry_device-onvif-camera_PR-372 [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-372 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c742c110d1cc62fb19cc4b7662ac95047aaf245d into PR head commit 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 Merge succeeded, producing 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 Checking out Revision 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 (PR-372) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 # 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 c742c110d1cc62fb19cc4b7662ac95047aaf245d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 # timeout=10 Commit message: "docs: Code review comments addressed" > git rev-list --no-walk 386e6c7217c1dd84039ccc87ae4af97a5b9bbc07 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:44:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:44:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:44:18 ========================================================= 18:44:18 EdgeX Global Pipelines Version Info 18:44:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:44:19 ------------------- 18:44:19 stable info: 18:44:19 ------------------- 18:44:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:44:19 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:44:19 Message: update stable to v1.0.249 18:44:19 ------------------- 18:44:19 experimental info: 18:44:19 ------------------- 18:44:19 Commited By: **** collab-it+edgex@linuxfoundation.org 18:44:19 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:44:19 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:44:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:44:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:44:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:44:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:44:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:44:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:44:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:44:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:44:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:44:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-372 [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-372 [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-372 [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c83e7b [Pipeline] echo 18:44:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:20 provisioning config files... 18:44:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-372@tmp/config5139006590301744635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:20 ---> docker-login.sh 18:44:20 nexus3.edgexfoundry.org:10001 18:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:20 Configure a credential helper to remove this warning. See 18:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:20 18:44:20 Login Succeeded 18:44:20 nexus3.edgexfoundry.org:10002 18:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:20 Configure a credential helper to remove this warning. See 18:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:20 18:44:20 Login Succeeded 18:44:20 nexus3.edgexfoundry.org:10003 18:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:21 Configure a credential helper to remove this warning. See 18:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:21 18:44:21 Login Succeeded 18:44:21 nexus3.edgexfoundry.org:10004 18:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:21 Configure a credential helper to remove this warning. See 18:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:21 18:44:21 Login Succeeded 18:44:21 docker.io 18:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:21 Configure a credential helper to remove this warning. See 18:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:21 18:44:21 Login Succeeded 18:44:21 ---> docker-login.sh ends [Pipeline] } 18:44:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:44:21 + git rev-list -1 --merges 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16~1..9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 [Pipeline] echo 18:44:21 -----------> git rev-list -1 --merges 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16~1..9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 [false] [Pipeline] sh 18:44:22 + git log --format=format:%s -1 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 [Pipeline] echo 18:44:22 ========================================================= 18:44:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:44:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:44:22 + git log --format=format:%s -1 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 [Pipeline] echo 18:44:22 [semverPrep] GIT_COMMIT: 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16, Commit Message: docs: Code review comments addressed [Pipeline] echo 18:44:22 [semverPrep] This is not a build commit. [Pipeline] sh 18:44:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:44:23 + grep -v github /etc/ssh/ssh_known_hosts 18:44:23 + [ -e /tmp/ssh_known_hosts ] 18:44:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:44:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:44:23 + sudo tee -a /etc/ssh/ssh_known_hosts 18:44:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:44:23 18:44:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:44:23 0.1.4: Pulling from edgex-devops/py-git-semver 18:44:23 b85a868b505f: Pulling fs layer 18:44:23 e2be974225ed: Pulling fs layer 18:44:23 339a4e72a1f5: Pulling fs layer 18:44:23 988bab9f4d93: Pulling fs layer 18:44:23 1469e6f7b9e6: Pulling fs layer 18:44:23 eaf3925da568: Pulling fs layer 18:44:23 bab4dde63d76: Pulling fs layer 18:44:23 bde34c3a00c8: Pulling fs layer 18:44:23 b352a97aabf1: Pulling fs layer 18:44:23 4872d77fe225: Pulling fs layer 18:44:23 5851b861e8e6: Pulling fs layer 18:44:23 bde34c3a00c8: Waiting 18:44:23 eaf3925da568: Waiting 18:44:23 b352a97aabf1: Waiting 18:44:23 1469e6f7b9e6: Waiting 18:44:23 4872d77fe225: Waiting 18:44:23 bab4dde63d76: Waiting 18:44:23 5851b861e8e6: Waiting 18:44:23 988bab9f4d93: Waiting 18:44:23 e2be974225ed: Verifying Checksum 18:44:23 e2be974225ed: Download complete 18:44:23 988bab9f4d93: Download complete 18:44:24 1469e6f7b9e6: Verifying Checksum 18:44:24 1469e6f7b9e6: Download complete 18:44:24 339a4e72a1f5: Verifying Checksum 18:44:24 339a4e72a1f5: Download complete 18:44:24 eaf3925da568: Verifying Checksum 18:44:24 eaf3925da568: Download complete 18:44:24 bde34c3a00c8: Download complete 18:44:24 b352a97aabf1: Verifying Checksum 18:44:24 b352a97aabf1: Download complete 18:44:24 4872d77fe225: Verifying Checksum 18:44:24 4872d77fe225: Download complete 18:44:24 5851b861e8e6: Verifying Checksum 18:44:24 5851b861e8e6: Download complete 18:44:24 b85a868b505f: Verifying Checksum 18:44:24 b85a868b505f: Download complete 18:44:24 bab4dde63d76: Verifying Checksum 18:44:24 bab4dde63d76: Download complete 18:44:25 b85a868b505f: Pull complete 18:44:25 e2be974225ed: Pull complete 18:44:25 339a4e72a1f5: Pull complete 18:44:25 988bab9f4d93: Pull complete 18:44:26 1469e6f7b9e6: Pull complete 18:44:26 eaf3925da568: Pull complete 18:44:28 bab4dde63d76: Pull complete 18:44:28 bde34c3a00c8: Pull complete 18:44:28 b352a97aabf1: Pull complete 18:44:28 4872d77fe225: Pull complete 18:44:28 5851b861e8e6: Pull complete 18:44:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:44:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:44:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:28 prd-ubuntu20.04-docker-8c-8g-17526 does not seem to be running inside a container 18:44:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-372 -v /w/workspace/undry_device-onvif-camera_PR-372:/w/workspace/undry_device-onvif-camera_PR-372:rw,z -v /w/workspace/undry_device-onvif-camera_PR-372@tmp:/w/workspace/undry_device-onvif-camera_PR-372@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 18:44:31 $ docker top d7b4afc55cc1a8abebc84b30874b2fe0a221deb654f6434196359881504c5f6b -eo pid,comm 18:44:31 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). 18:44:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:44:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:44:31 [ssh-agent] Looking for ssh-agent implementation... 18:44:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:44:32 $ docker exec d7b4afc55cc1a8abebc84b30874b2fe0a221deb654f6434196359881504c5f6b ssh-agent 18:44:32 SSH_AUTH_SOCK=/tmp/ssh-CpisZgoYFxSd/agent.32 18:44:32 SSH_AGENT_PID=38 18:44:32 Running ssh-add (command line suppressed) 18:44:32 Identity added: /w/workspace/undry_device-onvif-camera_PR-372@tmp/private_key_16319926351951880756.key (/w/workspace/undry_device-onvif-camera_PR-372@tmp/private_key_16319926351951880756.key) 18:44:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:44:32 + git tag --points-at HEAD [Pipeline] } 18:44:32 $ docker exec --env ******** --env ******** d7b4afc55cc1a8abebc84b30874b2fe0a221deb654f6434196359881504c5f6b ssh-agent -k 18:44:32 unset SSH_AUTH_SOCK; 18:44:32 unset SSH_AGENT_PID; 18:44:32 echo Agent pid 38 killed; 18:44:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:44:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:44:32 [ssh-agent] Looking for ssh-agent implementation... 18:44:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:44:32 $ docker exec d7b4afc55cc1a8abebc84b30874b2fe0a221deb654f6434196359881504c5f6b ssh-agent 18:44:32 SSH_AUTH_SOCK=/tmp/ssh-iGJHWGCTkDM4/agent.70 18:44:32 SSH_AGENT_PID=76 18:44:32 Running ssh-add (command line suppressed) 18:44:33 Identity added: /w/workspace/undry_device-onvif-camera_PR-372@tmp/private_key_13806031354895261820.key (/w/workspace/undry_device-onvif-camera_PR-372@tmp/private_key_13806031354895261820.key) 18:44:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:44:33 + git semver init 18:44:33 2023-05-31 18:44:33,509 [run_init] DEBUG init version:0.0.0 force:False 18:44:33 2023-05-31 18:44:33,509 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-372/.semver 18:44:33 2023-05-31 18:44:33,510 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-372/.semver 18:44:33 2023-05-31 18:44:33,510 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-372/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-372, universal_newlines=False, shell=None, istream=None) 18:44:34 2023-05-31 18:44:34,531 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-372/.git/info/exclude 18:44:34 2023-05-31 18:44:34,532 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-372/.semver/PR-372 with force:False 18:44:34 2023-05-31 18:44:34,532 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-372/.semver/PR-372 18:44:34 2023-05-31 18:44:34,537 [execute] INFO git cat-file --batch-check 18:44:34 2023-05-31 18:44:34,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-372/.semver, universal_newlines=False, shell=None, istream=) 18:44:34 2023-05-31 18:44:34,545 [execute] INFO git cat-file --batch 18:44:34 2023-05-31 18:44:34,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-372/.semver, universal_newlines=False, shell=None, istream=) 18:44:34 2023-05-31 18:44:34,550 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-372/.semver/PR-372 18:44:34 0.0.0 [Pipeline] } 18:44:34 $ docker exec --env ******** --env ******** d7b4afc55cc1a8abebc84b30874b2fe0a221deb654f6434196359881504c5f6b ssh-agent -k 18:44:34 unset SSH_AUTH_SOCK; 18:44:34 unset SSH_AGENT_PID; 18:44:34 echo Agent pid 76 killed; 18:44:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:44:35 + git semver [Pipeline] } 18:44:35 $ docker stop --time=1 d7b4afc55cc1a8abebc84b30874b2fe0a221deb654f6434196359881504c5f6b 18:44:36 $ docker rm -f --volumes d7b4afc55cc1a8abebc84b30874b2fe0a221deb654f6434196359881504c5f6b [Pipeline] // withDockerContainer [Pipeline] sh 18:44:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:44:37 Stashed 1 file(s) [Pipeline] echo 18:44:37 [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 18:44:37 provisioning config files... 18:44:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-372@tmp/config13213024803728067447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:37 ---> docker-login.sh 18:44:37 nexus3.edgexfoundry.org:10001 18:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:37 Configure a credential helper to remove this warning. See 18:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:37 18:44:37 Login Succeeded 18:44:37 nexus3.edgexfoundry.org:10002 18:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:37 Configure a credential helper to remove this warning. See 18:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:37 18:44:37 Login Succeeded 18:44:37 nexus3.edgexfoundry.org:10003 18:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:38 Configure a credential helper to remove this warning. See 18:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:38 18:44:38 Login Succeeded 18:44:38 nexus3.edgexfoundry.org:10004 18:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:38 Configure a credential helper to remove this warning. See 18:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:38 18:44:38 Login Succeeded 18:44:38 docker.io 18:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:38 Configure a credential helper to remove this warning. See 18:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:38 18:44:38 Login Succeeded 18:44:38 ---> docker-login.sh ends [Pipeline] } 18:44:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:44:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:44:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:44:38 ========================================================= 18:44:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:44:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:38 + 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 . 18:44:38 Sending build context to Docker daemon 21.98MB 18:44:38 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:44:38 Step 2/13 : FROM ${BASE} AS builder 18:44:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:44:39 f56be85fc22e: Pulling fs layer 18:44:39 85791d961cd3: Pulling fs layer 18:44:39 d694b5ae8c79: Pulling fs layer 18:44:39 9f32a84ed3da: Pulling fs layer 18:44:39 4d19c01a9841: Pulling fs layer 18:44:39 9325e15d5711: Pulling fs layer 18:44:39 556b6ee489ea: Pulling fs layer 18:44:39 c5a4b2cf53e6: Pulling fs layer 18:44:39 4d19c01a9841: Waiting 18:44:39 9f32a84ed3da: Waiting 18:44:39 9325e15d5711: Waiting 18:44:39 556b6ee489ea: Waiting 18:44:39 c5a4b2cf53e6: Waiting 18:44:39 85791d961cd3: Download complete 18:44:39 9f32a84ed3da: Verifying Checksum 18:44:39 9f32a84ed3da: Download complete 18:44:39 4d19c01a9841: Verifying Checksum 18:44:39 4d19c01a9841: Download complete 18:44:39 f56be85fc22e: Verifying Checksum 18:44:39 f56be85fc22e: Download complete 18:44:39 9325e15d5711: Verifying Checksum 18:44:39 9325e15d5711: Download complete 18:44:39 f56be85fc22e: Pull complete 18:44:39 85791d961cd3: Pull complete 18:44:39 c5a4b2cf53e6: Verifying Checksum 18:44:39 c5a4b2cf53e6: Download complete 18:44:39 d694b5ae8c79: Verifying Checksum 18:44:39 d694b5ae8c79: Download complete 18:44:39 556b6ee489ea: Verifying Checksum 18:44:39 556b6ee489ea: Download complete 18:44:43 d694b5ae8c79: Pull complete 18:44:43 9f32a84ed3da: Pull complete 18:44:43 4d19c01a9841: Pull complete 18:44:43 9325e15d5711: Pull complete 18:44:45 556b6ee489ea: Pull complete 18:44:47 c5a4b2cf53e6: Pull complete 18:44:47 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:44:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:44:47 ---> c4be618373d6 18:44:47 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:44:52 Still waiting to schedule task 18:44:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17525’ is offline 18:44:55 ---> Running in 79ce7b7ca991 18:44:55 Removing intermediate container 79ce7b7ca991 18:44:55 ---> 3d1d0e9cfcff 18:44:55 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:44:55 ---> Running in b02fdd98f8ab 18:44:55 Removing intermediate container b02fdd98f8ab 18:44:55 ---> 8488734cde3f 18:44:55 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:44:55 ---> Running in 4d5f4c409aa5 18:44:55 Removing intermediate container 4d5f4c409aa5 18:44:55 ---> 92b276e6d616 18:44:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:44:55 ---> Running in 57b32298c4e1 18:44:55 Removing intermediate container 57b32298c4e1 18:44:55 ---> 90621e401c69 18:44:55 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:44:55 ---> Running in aac598174737 18:44:55 Removing intermediate container aac598174737 18:44:55 ---> 28a35053a808 18:44:55 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:44:55 ---> Running in 213c8c3b0136 18:44:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:44:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:44:55 OK: 265 MiB in 53 packages 18:44:55 Removing intermediate container 213c8c3b0136 18:44:55 ---> fdc436ca656f 18:44:55 Step 9/13 : WORKDIR /device-onvif-camera 18:44:55 ---> Running in d8c6c6d7788e 18:44:56 Removing intermediate container d8c6c6d7788e 18:44:56 ---> dab822f13a76 18:44:56 Step 10/13 : COPY go.mod vendor* ./ 18:44:56 ---> fb0e32fad40b 18:44:56 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:56 ---> Running in 75df243cdaf1 18:45:28 Removing intermediate container 75df243cdaf1 18:45:28 ---> 31c8c0695f1a 18:45:28 Step 12/13 : COPY . . 18:45:28 ---> 653f1e73370d 18:45:28 Step 13/13 : RUN ${MAKE} 18:45:28 ---> Running in 3d9065c5cfec 18:45:28 noop 18:45:28 Removing intermediate container 3d9065c5cfec 18:45:28 ---> 1112eb970312 18:45:28 Successfully built 1112eb970312 18:45:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:28 + docker inspect -f . ci-base-image-x86_64 18:45:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:28 prd-ubuntu20.04-docker-8c-8g-17526 does not seem to be running inside a container 18:45:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-372 -v /w/workspace/undry_device-onvif-camera_PR-372:/w/workspace/undry_device-onvif-camera_PR-372:rw,z -v /w/workspace/undry_device-onvif-camera_PR-372@tmp:/w/workspace/undry_device-onvif-camera_PR-372@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 18:45:29 $ docker top 1f42223ba46d81bf7baa6c765b7eda7384d2567ea77098377b4557e31a2f8aeb -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:29 + go version 18:45:29 go version go1.20.2 linux/amd64 [Pipeline] } 18:45:29 $ docker stop --time=1 1f42223ba46d81bf7baa6c765b7eda7384d2567ea77098377b4557e31a2f8aeb 18:45:30 $ docker rm -f --volumes 1f42223ba46d81bf7baa6c765b7eda7384d2567ea77098377b4557e31a2f8aeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:31 + docker inspect -f . ci-base-image-x86_64 18:45:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:31 prd-ubuntu20.04-docker-8c-8g-17526 does not seem to be running inside a container 18:45:31 $ 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-372 -v /w/workspace/undry_device-onvif-camera_PR-372:/w/workspace/undry_device-onvif-camera_PR-372:rw,z -v /w/workspace/undry_device-onvif-camera_PR-372@tmp:/w/workspace/undry_device-onvif-camera_PR-372@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 18:45:31 $ docker top fc90ae51a0e972eb21a75ac8185b2dc27da57c4afc17b7d4d7f1f9b49b02898d -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:32 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-372 [Pipeline] fileExists [Pipeline] sh 18:45:32 + make test 18:45:32 go test ./... -coverprofile=coverage.out ./... 18:45:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:45:47 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:45:48 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:45:51 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 31.4% of statements 18:45:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.165s coverage: 86.5% of statements 18:45:57 go vet ./... 18:46:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:46:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:46:00 ./bin/test-attribution-txt.sh [Pipeline] echo 18:46:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:46:01 $ docker stop --time=1 fc90ae51a0e972eb21a75ac8185b2dc27da57c4afc17b7d4d7f1f9b49b02898d 18:46:05 $ docker rm -f --volumes fc90ae51a0e972eb21a75ac8185b2dc27da57c4afc17b7d4d7f1f9b49b02898d [Pipeline] // withDockerContainer [Pipeline] sh 18:46:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:46:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:46:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:46:07 + ls -al . 18:46:07 total 240 18:46:07 drwxrwxr-x 10 jenkins jenkins 4096 May 31 18:45 . 18:46:07 drwxrwxr-x 4 jenkins jenkins 4096 May 31 18:44 .. 18:46:07 drwxrwxr-x 8 jenkins jenkins 4096 May 31 18:44 .git 18:46:07 drwxrwxr-x 3 jenkins jenkins 4096 May 31 18:44 .github 18:46:07 -rw-rw-r-- 1 jenkins jenkins 496 May 31 18:44 .gitignore 18:46:07 -rw-rw-r-- 1 jenkins jenkins 42 May 31 18:44 .golangci.yml 18:46:07 drwxr-xr-x 3 jenkins jenkins 4096 May 31 18:44 .semver 18:46:07 -rw-rw-r-- 1 jenkins jenkins 10087 May 31 18:44 Attribution.txt 18:46:07 -rw-rw-r-- 1 jenkins jenkins 15932 May 31 18:44 CHANGELOG.md 18:46:07 -rw-rw-r-- 1 jenkins jenkins 1574 May 31 18:44 Dockerfile 18:46:07 -rw-rw-r-- 1 jenkins jenkins 677 May 31 18:44 GOVERNANCE.md 18:46:07 -rw-rw-r-- 1 jenkins jenkins 739 May 31 18:44 Jenkinsfile 18:46:07 -rw-rw-r-- 1 jenkins jenkins 11348 May 31 18:44 LICENSE 18:46:07 -rw-rw-r-- 1 jenkins jenkins 2751 May 31 18:44 Makefile 18:46:07 -rw-rw-r-- 1 jenkins jenkins 625 May 31 18:44 OWNERS.md 18:46:07 -rw-rw-r-- 1 jenkins jenkins 2690 May 31 18:44 README.md 18:46:07 -rw-rw-r-- 1 jenkins jenkins 5 May 31 18:44 VERSION 18:46:07 drwxrwxr-x 2 jenkins jenkins 4096 May 31 18:44 bin 18:46:07 drwxrwxr-x 3 jenkins jenkins 4096 May 31 18:44 cmd 18:46:07 -rw-r--r-- 1 jenkins jenkins 78459 May 31 18:45 coverage.out 18:46:07 drwxrwxr-x 4 jenkins jenkins 4096 May 31 18:44 doc 18:46:07 -rw-rw-r-- 1 jenkins jenkins 3594 May 31 18:44 go.mod 18:46:07 -rw-rw-r-- 1 jenkins jenkins 33395 May 31 18:44 go.sum 18:46:07 drwxrwxr-x 4 jenkins jenkins 4096 May 31 18:44 internal 18:46:07 drwxrwxr-x 4 jenkins jenkins 4096 May 31 18:44 snap 18:46:07 -rw-rw-r-- 1 jenkins jenkins 236 May 31 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:07 + 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=9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 --label arch=amd64 --label version=0.0.0 . 18:46:07 Sending build context to Docker daemon 22.06MB 18:46:07 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:46:07 Step 2/26 : FROM ${BASE} AS builder 18:46:07 ---> 1112eb970312 18:46:07 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:46:07 ---> Running in 58714e7fb6a9 18:46:07 Removing intermediate container 58714e7fb6a9 18:46:07 ---> a634db6e1b34 18:46:07 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:46:07 ---> Running in 68850526fbde 18:46:07 Removing intermediate container 68850526fbde 18:46:07 ---> 2dded3df3a57 18:46:07 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:46:07 ---> Running in 483cd3b9dab0 18:46:08 Removing intermediate container 483cd3b9dab0 18:46:08 ---> 370d4732328c 18:46:08 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:46:08 ---> Running in aa410df7b36b 18:46:08 Removing intermediate container aa410df7b36b 18:46:08 ---> 22b214cc4167 18:46:08 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:46:08 ---> Running in 4a3b4b7c4c91 18:46:08 Removing intermediate container 4a3b4b7c4c91 18:46:08 ---> 66513b6937fb 18:46:08 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:46:08 ---> Running in a88f08665c6c 18:46:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:46:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:46:09 OK: 265 MiB in 53 packages 18:46:09 Removing intermediate container a88f08665c6c 18:46:09 ---> 22ddf5812286 18:46:09 Step 9/26 : WORKDIR /device-onvif-camera 18:46:09 ---> Running in 12417047dfdb 18:46:09 Removing intermediate container 12417047dfdb 18:46:09 ---> 97888a85b729 18:46:09 Step 10/26 : COPY go.mod vendor* ./ 18:46:09 ---> acdeaeb0206b 18:46:09 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:09 ---> Running in bd7bfce3b47f 18:46:10 Removing intermediate container bd7bfce3b47f 18:46:10 ---> 0e82dd045903 18:46:10 Step 12/26 : COPY . . 18:46:11 ---> a0c39a4b974f 18:46:11 Step 13/26 : RUN ${MAKE} 18:46:11 ---> Running in 1a7d68003f66 18:46:11 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 18:46:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17527 in /w/workspace/undry_device-onvif-camera_PR-372 [Pipeline] { [Pipeline] ws 18:46:23 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 18:46:23 The recommended git tool is: git 18:46:28 using credential edgex-jenkins-ssh 18:46:28 Cloning the remote Git repository 18:46:28 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:46:28 > git init /w/workspace/device-onvif-camera/2 # timeout=10 18:46:29 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:46:29 > git --version # timeout=10 18:46:29 > git --version # 'git version 2.25.1' 18:46:29 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:46:32 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:46:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:46:34 Merging remotes/origin/main commit c742c110d1cc62fb19cc4b7662ac95047aaf245d into PR head commit 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 18:46:34 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:46:34 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:46:34 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:46:34 > git config core.sparsecheckout # timeout=10 18:46:35 > git checkout -f 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 # timeout=10 18:46:35 Merge succeeded, producing 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 18:46:35 Checking out Revision 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 (PR-372) 18:46:35 > git remote # timeout=10 18:46:35 > git config --get remote.origin.url # timeout=10 18:46:35 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:35 > git merge c742c110d1cc62fb19cc4b7662ac95047aaf245d # timeout=10 18:46:35 > git rev-parse HEAD^{commit} # timeout=10 18:46:35 > git config core.sparsecheckout # timeout=10 18:46:35 > git checkout -f 9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 # timeout=10 18:46:39 Commit message: "docs: Code review comments addressed" 18:46:39 Removing intermediate container 1a7d68003f66 18:46:39 ---> 9158c58b647a 18:46:39 Step 14/26 : FROM alpine:3.17 18:46:39 3.17: Pulling from library/alpine 18:46:39 f56be85fc22e: Already exists 18:46:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:46:39 Status: Downloaded newer image for alpine:3.17 18:46:39 ---> 9ed4aefc74f6 18:46:39 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:46:39 ---> Running in 634c59694b9c 18:46:39 Removing intermediate container 634c59694b9c 18:46:39 ---> 81abb83ce6de 18:46:39 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:46:39 ---> Running in ba903ed69034 18:46:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:46:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:46:39 (1/1) Installing dumb-init (1.2.5-r2) 18:46:39 Executing busybox-1.35.0-r29.trigger 18:46:39 OK: 7 MiB in 16 packages 18:46:39 Removing intermediate container ba903ed69034 18:46:39 ---> 2b100b86db5c 18:46:39 Step 17/26 : WORKDIR / 18:46:39 ---> Running in 29dae5fb91b1 18:46:39 Removing intermediate container 29dae5fb91b1 18:46:39 ---> c9acc9485c8c 18:46:39 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:46:39 ---> 0a9b538627e4 18:46:39 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:46:39 ---> 34faa32bbe12 18:46:39 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:46:39 ---> b54dc5ecf702 18:46:39 Step 21/26 : EXPOSE 59984 18:46:39 ---> Running in 38cdc411ccb4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:46:39 Removing intermediate container 38cdc411ccb4 18:46:39 ---> 406c87f79e3e 18:46:39 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:46:39 ---> Running in 6d91b4973d63 18:46:39 Removing intermediate container 6d91b4973d63 18:46:39 ---> 6c1dab6f984a 18:46:39 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:46:39 ---> Running in 91532e31656d 18:46:39 Removing intermediate container 91532e31656d 18:46:39 ---> a04c54928249 18:46:39 Step 24/26 : LABEL arch=amd64 18:46:39 ---> Running in 6f62992a3b24 18:46:39 Removing intermediate container 6f62992a3b24 18:46:39 ---> e634ab99547d 18:46:39 Step 25/26 : LABEL git_sha=9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 18:46:39 ---> Running in 26c8dbed653a 18:46:39 Removing intermediate container 26c8dbed653a 18:46:39 ---> 8b66b9bff5dd 18:46:39 Step 26/26 : LABEL version=0.0.0 18:46:39 ---> Running in 35e54f13db24 18:46:39 Removing intermediate container 35e54f13db24 18:46:39 ---> 7fa38090938e 18:46:39 [Warning] One or more build-args [ARCH] were not consumed 18:46:39 Successfully built 7fa38090938e 18:46:39 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] } 18:46:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:46:40 % Total % Received % Xferd Average Speed Time Time Time Current 18:46:40 Dload Upload Total Spent Left Speed 18:46:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 93 12751 93 11880 0 0 66000 0 --:--:-- --:--:-- --:--:-- 65635 100 12751 100 12751 0 0 70060 0 --:--:-- --:--:-- --:--:-- 70060 [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 18:46:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:40 18:46:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:46:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:40 latest: Pulling from edgex-lftools-log-publisher 18:46:40 5eb5b503b376: Pulling fs layer 18:46:40 5c69ac0246d0: Pulling fs layer 18:46:40 ec43610c2a17: Pulling fs layer 18:46:40 3a2ae6a8a46f: Pulling fs layer 18:46:40 33b1e0a273af: Pulling fs layer 18:46:40 5d3b04190fa2: Pulling fs layer 18:46:40 2f39f015ded8: Pulling fs layer 18:46:40 5d3b04190fa2: Waiting 18:46:40 33b1e0a273af: Waiting 18:46:40 3a2ae6a8a46f: Waiting 18:46:40 2f39f015ded8: Waiting 18:46:40 5c69ac0246d0: Verifying Checksum 18:46:40 5c69ac0246d0: Download complete 18:46:40 3a2ae6a8a46f: Verifying Checksum 18:46:40 3a2ae6a8a46f: Download complete 18:46:40 ec43610c2a17: Verifying Checksum 18:46:40 ec43610c2a17: Download complete 18:46:40 33b1e0a273af: Verifying Checksum 18:46:40 33b1e0a273af: Download complete 18:46:40 5d3b04190fa2: Verifying Checksum 18:46:41 5eb5b503b376: Verifying Checksum 18:46:41 5eb5b503b376: Download complete 18:46:41 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 18:46:41 /etc/docker/daemon.json 18:46:41 { 18:46:41 "registry-mirrors": [ 18:46:41 "https://nexus3.edgexfoundry.org:10001" 18:46:41 ], 18:46:41 "bip": "10.250.0.254/24", 18:46:41 "hosts": [ 18:46:41 "tcp://0.0.0.0:5555", 18:46:41 "unix:///var/run/docker.sock" 18:46:41 ], 18:46:41 "mtu": 1458, 18:46:41 "selinux-enabled": true, 18:46:41 "seccomp-profile": "/etc/docker/seccomp.json" 18:46:41 } [Pipeline] sh 18:46:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:46:41 + sudo service docker restart 18:46:42 5eb5b503b376: Pull complete 18:46:42 5c69ac0246d0: Pull complete 18:46:42 ec43610c2a17: Pull complete 18:46:42 3a2ae6a8a46f: Pull complete 18:46:43 33b1e0a273af: Pull complete 18:46:43 5d3b04190fa2: Pull complete 18:46:48 2f39f015ded8: Pull complete 18:46:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:46:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:48 prd-ubuntu20.04-docker-8c-8g-17526 does not seem to be running inside a container 18:46:48 $ 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-372 -v /w/workspace/undry_device-onvif-camera_PR-372:/w/workspace/undry_device-onvif-camera_PR-372:rw,z -v /w/workspace/undry_device-onvif-camera_PR-372@tmp:/w/workspace/undry_device-onvif-camera_PR-372@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 18:46:55 $ docker top 8e1eebbec87cfc6f42acb8cc66fe0dff3756dec7a061b5290a779c2494d89350 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:55 ---> job-cost.sh 18:46:55 lf-activate-venv: SKIPPING 18:46:55 INFO: No Stack... 18:46:56 INFO: Retrieving Pricing Info for: v3-standard-8 18:46:56 INFO: Archiving Costs [Pipeline] sh 18:46:56 + cat /w/workspace/undry_device-onvif-camera_PR-372/archives/cost.csv 18:46:56 + cut -d, -f6 [Pipeline] lock 18:46:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-372-2-stack-cost] 18:46:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-372-2-stack-cost] did not exist. Created. 18:46:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-372-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:46:56 + echo total: 0.2199999988079071 [Pipeline] stash 18:46:56 Stashed 1 file(s) [Pipeline] } 18:46:56 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-372-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:46:56 $ docker stop --time=1 8e1eebbec87cfc6f42acb8cc66fe0dff3756dec7a061b5290a779c2494d89350 18:46:58 $ docker rm -f --volumes 8e1eebbec87cfc6f42acb8cc66fe0dff3756dec7a061b5290a779c2494d89350 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:47:00 provisioning config files... 18:47:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config13363396840602312078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:47:00 ---> docker-login.sh 18:47:00 nexus3.edgexfoundry.org:10001 18:47:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:00 Configure a credential helper to remove this warning. See 18:47:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:00 18:47:00 Login Succeeded 18:47:00 nexus3.edgexfoundry.org:10002 18:47:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:01 Configure a credential helper to remove this warning. See 18:47:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:01 18:47:01 Login Succeeded 18:47:01 nexus3.edgexfoundry.org:10003 18:47:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:01 Configure a credential helper to remove this warning. See 18:47:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:01 18:47:01 Login Succeeded 18:47:01 nexus3.edgexfoundry.org:10004 18:47:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:01 Configure a credential helper to remove this warning. See 18:47:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:01 18:47:01 Login Succeeded 18:47:01 docker.io 18:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:02 Configure a credential helper to remove this warning. See 18:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:02 18:47:02 Login Succeeded 18:47:02 ---> docker-login.sh ends [Pipeline] } 18:47:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:47:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:47:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:47:02 ========================================================= 18:47:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:47:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:03 + 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 . 18:47:03 Sending build context to Docker daemon 14.42MB 18:47:03 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:47:03 Step 2/13 : FROM ${BASE} AS builder 18:47:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:47:03 c41833b44d91: Pulling fs layer 18:47:03 ed15518f5707: Pulling fs layer 18:47:03 feae8fd75edb: Pulling fs layer 18:47:03 242c74f7c9fa: Pulling fs layer 18:47:03 3cdef696dda3: Pulling fs layer 18:47:03 2ced38df9373: Pulling fs layer 18:47:03 58f1dce35555: Pulling fs layer 18:47:03 3cdef696dda3: Waiting 18:47:03 2ced38df9373: Waiting 18:47:03 58f1dce35555: Waiting 18:47:03 242c74f7c9fa: Waiting 18:47:03 ed15518f5707: Download complete 18:47:03 242c74f7c9fa: Download complete 18:47:03 3cdef696dda3: Download complete 18:47:03 c41833b44d91: Verifying Checksum 18:47:03 c41833b44d91: Download complete 18:47:04 c41833b44d91: Pull complete 18:47:05 58f1dce35555: Verifying Checksum 18:47:05 58f1dce35555: Download complete 18:47:05 ed15518f5707: Pull complete 18:47:06 feae8fd75edb: Verifying Checksum 18:47:06 feae8fd75edb: Download complete 18:47:06 2ced38df9373: Verifying Checksum 18:47:06 2ced38df9373: Download complete 18:47:18 feae8fd75edb: Pull complete 18:47:18 242c74f7c9fa: Pull complete 18:47:18 3cdef696dda3: Pull complete 18:47:24 2ced38df9373: Pull complete 18:47:26 58f1dce35555: Pull complete 18:47:26 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:47:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:47:26 ---> fadd8f120f05 18:47:26 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:47:28 ---> Running in 91c1dfdde626 18:47:28 Removing intermediate container 91c1dfdde626 18:47:28 ---> 0d9a4e3d8303 18:47:28 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:47:28 ---> Running in fbd0b8487497 18:47:29 Removing intermediate container fbd0b8487497 18:47:29 ---> c10260a73314 18:47:29 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:47:29 ---> Running in 976b9477c727 18:47:29 Removing intermediate container 976b9477c727 18:47:29 ---> c6e619fe767e 18:47:29 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:47:29 ---> Running in 3e0308d23c1f 18:47:29 Removing intermediate container 3e0308d23c1f 18:47:29 ---> 5b26aa2fe7d0 18:47:29 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:47:29 ---> Running in 522cb9547c66 18:47:30 Removing intermediate container 522cb9547c66 18:47:30 ---> b5a2a7c7dcb8 18:47:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:47:30 ---> Running in 530e5bc929ca 18:47:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:47:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:47:32 OK: 263 MiB in 53 packages 18:47:33 Removing intermediate container 530e5bc929ca 18:47:33 ---> 93770c8898fa 18:47:33 Step 9/13 : WORKDIR /device-onvif-camera 18:47:33 ---> Running in 9ed7018cc1bf 18:47:33 Removing intermediate container 9ed7018cc1bf 18:47:33 ---> aa2515c75d19 18:47:33 Step 10/13 : COPY go.mod vendor* ./ 18:47:34 ---> e2e608a12785 18:47:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:47:34 ---> Running in 45eb6229df72 18:48:42 Removing intermediate container 45eb6229df72 18:48:42 ---> 737743e8db1e 18:48:42 Step 12/13 : COPY . . 18:48:42 ---> 7b57b4720064 18:48:42 Step 13/13 : RUN ${MAKE} 18:48:42 ---> Running in 46ebb823d95d 18:48:42 noop 18:48:42 Removing intermediate container 46ebb823d95d 18:48:42 ---> 2ce11e18145d 18:48:42 Successfully built 2ce11e18145d 18:48:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:42 + docker inspect -f . ci-base-image-arm64 18:48:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:42 prd-ubuntu20.04-docker-arm64-4c-16g-17527 does not seem to be running inside a container 18:48:43 $ 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 ******** -e ******** ci-base-image-arm64 cat 18:48:44 $ docker top 2380b6060567747154ef24c958e75972d7bb1d8bc418f591c0e53ef7624f7c7f -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:45 + go version 18:48:45 go version go1.20.2 linux/arm64 [Pipeline] } 18:48:45 $ docker stop --time=1 2380b6060567747154ef24c958e75972d7bb1d8bc418f591c0e53ef7624f7c7f 18:48:46 $ docker rm -f --volumes 2380b6060567747154ef24c958e75972d7bb1d8bc418f591c0e53ef7624f7c7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:47 + docker inspect -f . ci-base-image-arm64 18:48:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:47 prd-ubuntu20.04-docker-arm64-4c-16g-17527 does not seem to be running inside a container 18:48:47 $ 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 ******** -e ******** ci-base-image-arm64 cat 18:48:48 $ docker top dc5cc0b4d76fb45c8572955e0a92ddbbcb8ca28dd3d86a95e453e601bd162088 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:49 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 18:48:49 + make test 18:48:49 go test ./... -coverprofile=coverage.out ./... 18:49:21 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:51:13 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:51:16 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:51:19 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.220s coverage: 31.4% of statements 18:51:46 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.568s coverage: 86.5% of statements 18:51:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:51:46 go vet ./... 18:52:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:52:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:52:13 ./bin/test-attribution-txt.sh [Pipeline] echo 18:52:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:52:13 $ docker stop --time=1 dc5cc0b4d76fb45c8572955e0a92ddbbcb8ca28dd3d86a95e453e601bd162088 18:52:15 $ docker rm -f --volumes dc5cc0b4d76fb45c8572955e0a92ddbbcb8ca28dd3d86a95e453e601bd162088 [Pipeline] // withDockerContainer [Pipeline] sh 18:52:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:52:16 Warning: overwriting stash ‘coverage-report’ 18:52:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:52:17 + ls -al . 18:52:17 total 236 18:52:17 drwxrwxr-x 9 jenkins jenkins 4096 May 31 18:48 . 18:52:17 drwxrwxr-x 4 jenkins jenkins 4096 May 31 18:46 .. 18:52:17 drwxrwxr-x 8 jenkins jenkins 4096 May 31 18:46 .git 18:52:17 drwxrwxr-x 3 jenkins jenkins 4096 May 31 18:46 .github 18:52:17 -rw-rw-r-- 1 jenkins jenkins 496 May 31 18:46 .gitignore 18:52:17 -rw-rw-r-- 1 jenkins jenkins 42 May 31 18:46 .golangci.yml 18:52:17 -rw-rw-r-- 1 jenkins jenkins 10087 May 31 18:46 Attribution.txt 18:52:17 -rw-rw-r-- 1 jenkins jenkins 15932 May 31 18:46 CHANGELOG.md 18:52:17 -rw-rw-r-- 1 jenkins jenkins 1574 May 31 18:46 Dockerfile 18:52:17 -rw-rw-r-- 1 jenkins jenkins 677 May 31 18:46 GOVERNANCE.md 18:52:17 -rw-rw-r-- 1 jenkins jenkins 739 May 31 18:46 Jenkinsfile 18:52:17 -rw-rw-r-- 1 jenkins jenkins 11348 May 31 18:46 LICENSE 18:52:17 -rw-rw-r-- 1 jenkins jenkins 2751 May 31 18:46 Makefile 18:52:17 -rw-rw-r-- 1 jenkins jenkins 625 May 31 18:46 OWNERS.md 18:52:17 -rw-rw-r-- 1 jenkins jenkins 2690 May 31 18:46 README.md 18:52:17 -rw-rw-r-- 1 jenkins jenkins 5 May 31 18:44 VERSION 18:52:17 drwxrwxr-x 2 jenkins jenkins 4096 May 31 18:46 bin 18:52:17 drwxrwxr-x 3 jenkins jenkins 4096 May 31 18:46 cmd 18:52:17 -rw-r--r-- 1 jenkins jenkins 78459 May 31 18:51 coverage.out 18:52:17 drwxrwxr-x 4 jenkins jenkins 4096 May 31 18:46 doc 18:52:17 -rw-rw-r-- 1 jenkins jenkins 3594 May 31 18:46 go.mod 18:52:17 -rw-rw-r-- 1 jenkins jenkins 33395 May 31 18:46 go.sum 18:52:17 drwxrwxr-x 4 jenkins jenkins 4096 May 31 18:46 internal 18:52:17 drwxrwxr-x 4 jenkins jenkins 4096 May 31 18:46 snap 18:52:17 -rw-rw-r-- 1 jenkins jenkins 236 May 31 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:17 + 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=9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 --label arch=arm64 --label version=0.0.0 . 18:52:18 Sending build context to Docker daemon 14.5MB 18:52:18 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:52:18 Step 2/26 : FROM ${BASE} AS builder 18:52:18 ---> 2ce11e18145d 18:52:18 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:52:18 ---> Running in 79805f20ba90 18:52:18 Removing intermediate container 79805f20ba90 18:52:18 ---> 92891a0fbf58 18:52:18 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:52:18 ---> Running in 88d7bd796547 18:52:18 Removing intermediate container 88d7bd796547 18:52:18 ---> 62bf8f4d1d23 18:52:18 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:52:19 ---> Running in dd8057dbd39f 18:52:19 Removing intermediate container dd8057dbd39f 18:52:19 ---> 49897324a7b5 18:52:19 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:52:19 ---> Running in 2ccf80735798 18:52:19 Removing intermediate container 2ccf80735798 18:52:19 ---> 4456da6c9716 18:52:19 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:52:19 ---> Running in 67d1e966c865 18:52:20 Removing intermediate container 67d1e966c865 18:52:20 ---> ad6d15d0659a 18:52:20 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:52:20 ---> Running in e709aa9f6738 18:52:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:52:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:52:22 OK: 263 MiB in 53 packages 18:52:23 Removing intermediate container e709aa9f6738 18:52:23 ---> 4ecf99129eab 18:52:23 Step 9/26 : WORKDIR /device-onvif-camera 18:52:23 ---> Running in 74986fe6573c 18:52:23 Removing intermediate container 74986fe6573c 18:52:23 ---> 9069b720e2a1 18:52:23 Step 10/26 : COPY go.mod vendor* ./ 18:52:23 ---> 0a96fd2024d0 18:52:23 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:52:24 ---> Running in eb00e64537e5 18:52:26 Removing intermediate container eb00e64537e5 18:52:26 ---> 65d738574d1f 18:52:26 Step 12/26 : COPY . . 18:52:27 ---> 109f65713a69 18:52:27 Step 13/26 : RUN ${MAKE} 18:52:28 ---> Running in 441b5723d883 18:52:29 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 18:54:35 Removing intermediate container 441b5723d883 18:54:35 ---> 8a2f158219d4 18:54:35 Step 14/26 : FROM alpine:3.17 18:54:35 3.17: Pulling from library/alpine 18:54:35 c41833b44d91: Already exists 18:54:35 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:54:35 Status: Downloaded newer image for alpine:3.17 18:54:35 ---> 51e60588ff2c 18:54:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:54:35 ---> Running in 8c28323d37ab 18:54:35 Removing intermediate container 8c28323d37ab 18:54:35 ---> 4605754521a8 18:54:35 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:54:35 ---> Running in 14b469e9c5d9 18:54:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:54:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:54:37 (1/1) Installing dumb-init (1.2.5-r2) 18:54:37 Executing busybox-1.35.0-r29.trigger 18:54:37 OK: 8 MiB in 16 packages 18:54:38 Removing intermediate container 14b469e9c5d9 18:54:38 ---> ee7c301bf0cf 18:54:38 Step 17/26 : WORKDIR / 18:54:38 ---> Running in a2867c1a9248 18:54:38 Removing intermediate container a2867c1a9248 18:54:38 ---> c9ae8cebcd32 18:54:38 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:54:40 ---> 5a567b23d1c5 18:54:40 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:54:40 ---> 17b0fbe7d1a4 18:54:40 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:54:41 ---> 9cbe87c62e06 18:54:41 Step 21/26 : EXPOSE 59984 18:54:41 ---> Running in 097c131f9ca4 18:54:41 Removing intermediate container 097c131f9ca4 18:54:41 ---> 08e2e93c9836 18:54:41 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:54:41 ---> Running in 214b684466bc 18:54:41 Removing intermediate container 214b684466bc 18:54:41 ---> 5633446817ce 18:54:41 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:54:41 ---> Running in 3e528a95b241 18:54:42 Removing intermediate container 3e528a95b241 18:54:42 ---> 6f155ac63b87 18:54:42 Step 24/26 : LABEL arch=arm64 18:54:42 ---> Running in 56fd06e43639 18:54:42 Removing intermediate container 56fd06e43639 18:54:42 ---> 9bd1e37d7a4b 18:54:42 Step 25/26 : LABEL git_sha=9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 18:54:42 ---> Running in 21cb9f442402 18:54:42 Removing intermediate container 21cb9f442402 18:54:42 ---> 6c7a81db1195 18:54:42 Step 26/26 : LABEL version=0.0.0 18:54:42 ---> Running in 8a766bb7adaf 18:54:43 Removing intermediate container 8a766bb7adaf 18:54:43 ---> a561e043746f 18:54:43 [Warning] One or more build-args [ARCH] were not consumed 18:54:43 Successfully built a561e043746f 18:54:43 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 18:54:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:43 18:54:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:43 arm64: Pulling from edgex-lftools-log-publisher 18:54:43 8998bd30e6a1: Pulling fs layer 18:54:43 04944245beec: Pulling fs layer 18:54:43 699f458cf7ca: Pulling fs layer 18:54:43 765212b225bb: Pulling fs layer 18:54:43 f23df028b6ca: Pulling fs layer 18:54:43 d65c8cfc05b1: Pulling fs layer 18:54:43 2437ff75d9bd: Pulling fs layer 18:54:43 765212b225bb: Waiting 18:54:43 d65c8cfc05b1: Waiting 18:54:43 f23df028b6ca: Waiting 18:54:43 2437ff75d9bd: Waiting 18:54:44 04944245beec: Verifying Checksum 18:54:44 04944245beec: Download complete 18:54:44 765212b225bb: Verifying Checksum 18:54:44 765212b225bb: Download complete 18:54:44 f23df028b6ca: Verifying Checksum 18:54:44 f23df028b6ca: Download complete 18:54:44 d65c8cfc05b1: Verifying Checksum 18:54:44 d65c8cfc05b1: Download complete 18:54:44 699f458cf7ca: Verifying Checksum 18:54:44 699f458cf7ca: Download complete 18:54:44 8998bd30e6a1: Download complete 18:54:46 2437ff75d9bd: Verifying Checksum 18:54:46 2437ff75d9bd: Download complete 18:54:48 8998bd30e6a1: Pull complete 18:54:48 04944245beec: Pull complete 18:54:50 699f458cf7ca: Pull complete 18:54:50 765212b225bb: Pull complete 18:54:51 f23df028b6ca: Pull complete 18:54:51 d65c8cfc05b1: Pull complete 18:55:06 2437ff75d9bd: Pull complete 18:55:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:55:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:06 prd-ubuntu20.04-docker-arm64-4c-16g-17527 does not seem to be running inside a container 18:55:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:55:09 $ docker top e949f556c949690de3bf94fcd4aec046454f7e4e3a284ece9f8d9aa29d8a87a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:09 ---> job-cost.sh 18:55:09 lf-activate-venv: SKIPPING 18:55:09 INFO: No Stack... 18:55:10 INFO: Retrieving Pricing Info for: v3-standard-4 18:55:11 INFO: Archiving Costs [Pipeline] sh 18:55:11 + cut -d,+ -f6cat 18:55:11 /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock 18:55:11 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-372-2-stack-cost] 18:55:11 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-372-2-stack-cost] did not exist. Created. 18:55:11 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-372-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:55:11 /w/workspace/device-onvif-camera/2@tmp/durable-4f1828fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:55:12 + echo total: 0.10999999940395355 [Pipeline] stash 18:55:12 Warning: overwriting stash ‘stack-cost’ 18:55:12 Stashed 1 file(s) [Pipeline] } 18:55:12 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-372-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:55:12 $ docker stop --time=1 e949f556c949690de3bf94fcd4aec046454f7e4e3a284ece9f8d9aa29d8a87a2 18:55:16 $ docker rm -f --volumes e949f556c949690de3bf94fcd4aec046454f7e4e3a284ece9f8d9aa29d8a87a2 [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 18:55:16 provisioning config files... 18:55:16 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-372@tmp/config8689172184320109253tmp [Pipeline] { [Pipeline] sh 18:55:17 + set +x 18:55:17 + curl -s https://codecov.io/bash 18:55:17 + bash -s -- 18:55:17 18:55:17 _____ _ 18:55:17 / ____| | | 18:55:17 | | ___ __| | ___ ___ _____ __ 18:55:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:55:17 | |___| (_) | (_| | __/ (_| (_) \ V / 18:55:17 \_____\___/ \__,_|\___|\___\___/ \_/ 18:55:17 Bash-1.0.6 18:55:17 18:55:17 18:55:17 ==> git version 2.25.1 found 18:55:17 ==> 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 18:55:17 Release-Date: 2020-01-08 18:55:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:55:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:55:17 ==> Jenkins CI detected. 18:55:17 current dir:  /w/workspace/undry_device-onvif-camera_PR-372 18:55:17 project root: . 18:55:17 --> token set from env 18:55:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:55:17 ==> Running gcov in . (disable via -X gcov) 18:55:17 ==> Python coveragepy not found 18:55:17 ==> Searching for coverage reports in: 18:55:17 + . 18:55:17 -> Found 1 reports 18:55:17 ==> Detecting git/mercurial file structure 18:55:17 ==> Reading reports 18:55:17 + ./coverage.out bytes=78459 18:55:17 ==> Appending adjustments 18:55:17 https://docs.codecov.io/docs/fixing-reports 18:55:17 + Found adjustments 18:55:17 ==> Gzipping contents 18:55:17 12K /tmp/codecov.tbPSby.gz 18:55:17 ==> Uploading reports 18:55:17 url: https://codecov.io 18:55:17 query: branch=PR-372&commit=9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-372%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=372&job=&cmd_args= 18:55:17 -> Pinging Codecov 18:55:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-372&commit=9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-372%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=372&job=&cmd_args= 18:55:17 -> Uploading to 18:55:17 https://storage.googleapis.com/codecov/v4/raw/2023-05-31/F29A59C45E3A92E06B3E522C9905F8EF/9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16/373899a0-b831-4c74-bffb-f91cfcb4f01f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T185517Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8366b0406c02060c7600de227e01f59b7b4c8756c68061667f0d379fdc2b2ee 18:55:17 % Total % Received % Xferd Average Speed Time Time Time Current 18:55:17 Dload Upload Total Spent Left Speed 18:55:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 50511 --:--:-- --:--:-- --:--:-- 50511 18:55:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9c83e7b3ecc85fd2ffb40fa35d1427a38df48c16 [Pipeline] } 18:55:18 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 18:55:18 + [ -d /w/workspace/undry_device-onvif-camera_PR-372/archives ] 18:55:18 + ls -al /w/workspace/undry_device-onvif-camera_PR-372/archives 18:55:18 total 16 18:55:18 drwxr-xr-x 3 root root 4096 May 31 18:46 . 18:55:18 drwxrwxr-x 11 jenkins jenkins 4096 May 31 18:46 .. 18:55:18 drwxr-xr-x 2 root root 4096 May 31 18:46 cost 18:55:18 -rw-r--r-- 1 root root 91 May 31 18:46 cost.csv 18:55:18 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-372/archives 18:55:18 + ls -al /w/workspace/undry_device-onvif-camera_PR-372/archives 18:55:18 total 16 18:55:18 drwxr-xr-x 3 jenkins jenkins 4096 May 31 18:46 . 18:55:18 drwxrwxr-x 11 jenkins jenkins 4096 May 31 18:46 .. 18:55:18 drwxr-xr-x 2 jenkins jenkins 4096 May 31 18:46 cost 18:55:18 -rw-r--r-- 1 jenkins jenkins 91 May 31 18:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:55:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:55:19 ---> package-listing.sh 18:55:19 ++ facter osfamily 18:55:19 ++ tr '[:upper:]' '[:lower:]' 18:55:20 + OS_FAMILY=debian 18:55:20 + workspace=/w/workspace/undry_device-onvif-camera_PR-372 18:55:20 + START_PACKAGES=/tmp/packages_start.txt 18:55:20 + END_PACKAGES=/tmp/packages_end.txt 18:55:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:55:20 + PACKAGES=/tmp/packages_start.txt 18:55:20 + '[' /w/workspace/undry_device-onvif-camera_PR-372 ']' 18:55:20 + PACKAGES=/tmp/packages_end.txt 18:55:20 + case "${OS_FAMILY}" in 18:55:20 + dpkg -l 18:55:20 + grep '^ii' 18:55:20 + '[' -f /tmp/packages_start.txt ']' 18:55:20 + '[' -f /tmp/packages_end.txt ']' 18:55:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:55:20 + '[' /w/workspace/undry_device-onvif-camera_PR-372 ']' 18:55:20 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-372/archives/ 18:55:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-372/archives/ [Pipeline] echo 18:55:20 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-372/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:55:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:21 prd-ubuntu20.04-docker-8c-8g-17526 does not seem to be running inside a container 18:55:21 $ 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-372/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-372 -v /w/workspace/undry_device-onvif-camera_PR-372:/w/workspace/undry_device-onvif-camera_PR-372:rw,z -v /w/workspace/undry_device-onvif-camera_PR-372@tmp:/w/workspace/undry_device-onvif-camera_PR-372@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 18:55:21 $ docker top a5423dfb865e5dddbb5128237ea765d5df2e7aed77ae824dedbe4280d18c66fc -eo pid,comm [Pipeline] { [Pipeline] sh 18:55:21 + touch /tmp/pre-build-complete [Pipeline] sh 18:55:21 + mkdir -p /var/log/sysstat [Pipeline] sh 18:55:22 + ls /var/log/sa-host 18:55:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:22 provisioning config files... 18:55:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-372@tmp/config18243203472917951926tmp [Pipeline] { [Pipeline] echo 18:55:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:55:22 ---> create-netrc.sh [Pipeline] } 18:55:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:55:22 ---> python-tools-install.sh [Pipeline] echo 18:55:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:55:23 ---> sudo-logs.sh 18:55:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:55:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:55:23 ---> job-cost.sh 18:55:23 lf-activate-venv: SKIPPING 18:55:23 DEBUG: total: 0.2199999988079071 18:55:23 INFO: Retrieving Stack Cost... 18:55:24 INFO: Retrieving Pricing Info for: v3-standard-8 18:55:24 INFO: Archiving Costs [Pipeline] echo 18:55:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:55:24 ---> logs-deploy.sh 18:55:24 lf-activate-venv: SKIPPING 18:55:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-372/2 18:55:24 INFO: archiving workspace using pattern(s): 18:55:25 Archives upload complete. 18:55:25 INFO: archiving logs to Nexus