Pull request #357 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 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea rather than 29851ac6c8a3e42b143be144228d1166000d634d Obtained Jenkinsfile from 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea 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-ssh3404937018968420895.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-ssh6122099720661445902.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-357/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-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10951894540388890955.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-ssh12475092715769344482.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-357/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-357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18159579763902360008.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15142’ Running on prd-ubuntu20.04-docker-8c-8g-15152 in /w/workspace/undry_device-onvif-camera_PR-357 [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-357 # 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 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea into PR head commit 29851ac6c8a3e42b143be144228d1166000d634d > 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/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 29851ac6c8a3e42b143be144228d1166000d634d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 29851ac6c8a3e42b143be144228d1166000d634d Checking out Revision 29851ac6c8a3e42b143be144228d1166000d634d (PR-357) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 29851ac6c8a3e42b143be144228d1166000d634d # timeout=10 Commit message: "refactor: update postman collection and swagger files" > git rev-list --no-walk e61dac18dabb6db14a20819fe9dd5d100533ca4a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:24:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:24:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:24:14 ========================================================= 02:24:14 EdgeX Global Pipelines Version Info 02:24:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:24:15 ------------------- 02:24:15 stable info: 02:24:15 ------------------- 02:24:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:24:15 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:24:15 Message: update stable to v1.0.249 02:24:16 ------------------- 02:24:16 experimental info: 02:24:16 ------------------- 02:24:16 Commited By: **** collab-it+edgex@linuxfoundation.org 02:24:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:24:16 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 29851ac6c8a3e42b143be144228d1166000d634d [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 29851ac [Pipeline] echo 02:24:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:24:16 provisioning config files... 02:24:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-357@tmp/config1743154186483354204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:24:17 ---> docker-login.sh 02:24:17 nexus3.edgexfoundry.org:10001 02:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:17 Configure a credential helper to remove this warning. See 02:24:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:17 02:24:17 Login Succeeded 02:24:17 nexus3.edgexfoundry.org:10002 02:24:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:18 Configure a credential helper to remove this warning. See 02:24:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:18 02:24:18 Login Succeeded 02:24:18 nexus3.edgexfoundry.org:10003 02:24:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:18 Configure a credential helper to remove this warning. See 02:24:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:18 02:24:18 Login Succeeded 02:24:18 nexus3.edgexfoundry.org:10004 02:24:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:18 Configure a credential helper to remove this warning. See 02:24:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:18 02:24:18 Login Succeeded 02:24:18 docker.io 02:24:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:18 Configure a credential helper to remove this warning. See 02:24:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:18 02:24:18 Login Succeeded 02:24:18 ---> docker-login.sh ends [Pipeline] } 02:24:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:24:19 + git rev-list -1 --merges 29851ac6c8a3e42b143be144228d1166000d634d~1..29851ac6c8a3e42b143be144228d1166000d634d [Pipeline] echo 02:24:19 -----------> git rev-list -1 --merges 29851ac6c8a3e42b143be144228d1166000d634d~1..29851ac6c8a3e42b143be144228d1166000d634d 29851ac6c8a3e42b143be144228d1166000d634d [false] [Pipeline] sh 02:24:19 + git log --format=format:%s -1 29851ac6c8a3e42b143be144228d1166000d634d [Pipeline] echo 02:24:19 ========================================================= 02:24:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:24:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:24:19 + git log --format=format:%s -1 29851ac6c8a3e42b143be144228d1166000d634d [Pipeline] echo 02:24:19 [semverPrep] GIT_COMMIT: 29851ac6c8a3e42b143be144228d1166000d634d, Commit Message: refactor: update postman collection and swagger files [Pipeline] echo 02:24:19 [semverPrep] This is not a build commit. [Pipeline] sh 02:24:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:24:20 + grep -v github /etc/ssh/ssh_known_hosts 02:24:20 + [ -e /tmp/ssh_known_hosts ] 02:24:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:24:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:24:20 + sudo tee -a /etc/ssh/ssh_known_hosts 02:24:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:24:20 02:24:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:24:21 0.1.4: Pulling from edgex-devops/py-git-semver 02:24:21 b85a868b505f: Pulling fs layer 02:24:21 e2be974225ed: Pulling fs layer 02:24:21 339a4e72a1f5: Pulling fs layer 02:24:21 988bab9f4d93: Pulling fs layer 02:24:21 1469e6f7b9e6: Pulling fs layer 02:24:21 eaf3925da568: Pulling fs layer 02:24:21 bab4dde63d76: Pulling fs layer 02:24:21 bde34c3a00c8: Pulling fs layer 02:24:21 b352a97aabf1: Pulling fs layer 02:24:21 4872d77fe225: Pulling fs layer 02:24:21 5851b861e8e6: Pulling fs layer 02:24:21 eaf3925da568: Waiting 02:24:21 988bab9f4d93: Waiting 02:24:21 bab4dde63d76: Waiting 02:24:21 bde34c3a00c8: Waiting 02:24:21 b352a97aabf1: Waiting 02:24:21 4872d77fe225: Waiting 02:24:21 5851b861e8e6: Waiting 02:24:21 1469e6f7b9e6: Waiting 02:24:21 e2be974225ed: Verifying Checksum 02:24:21 e2be974225ed: Download complete 02:24:21 988bab9f4d93: Verifying Checksum 02:24:21 988bab9f4d93: Download complete 02:24:21 1469e6f7b9e6: Download complete 02:24:21 eaf3925da568: Download complete 02:24:21 339a4e72a1f5: Verifying Checksum 02:24:21 339a4e72a1f5: Download complete 02:24:21 bde34c3a00c8: Verifying Checksum 02:24:21 bde34c3a00c8: Download complete 02:24:21 b352a97aabf1: Verifying Checksum 02:24:21 b352a97aabf1: Download complete 02:24:21 4872d77fe225: Verifying Checksum 02:24:21 4872d77fe225: Download complete 02:24:21 5851b861e8e6: Verifying Checksum 02:24:21 5851b861e8e6: Download complete 02:24:21 b85a868b505f: Verifying Checksum 02:24:21 b85a868b505f: Download complete 02:24:21 bab4dde63d76: Verifying Checksum 02:24:21 bab4dde63d76: Download complete 02:24:22 b85a868b505f: Pull complete 02:24:23 e2be974225ed: Pull complete 02:24:23 339a4e72a1f5: Pull complete 02:24:23 988bab9f4d93: Pull complete 02:24:23 1469e6f7b9e6: Pull complete 02:24:24 eaf3925da568: Pull complete 02:24:26 bab4dde63d76: Pull complete 02:24:26 bde34c3a00c8: Pull complete 02:24:26 b352a97aabf1: Pull complete 02:24:26 4872d77fe225: Pull complete 02:24:26 5851b861e8e6: Pull complete 02:24:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:24:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:24:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:24:27 prd-ubuntu20.04-docker-8c-8g-15152 does not seem to be running inside a container 02:24:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@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 02:24:30 $ docker top d50fe812ecd87438b7bfdc6103e9fc9fbdb152220e1fd00a97948651769b4728 -eo pid,comm 02:24:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:24:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:24:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:24:30 [ssh-agent] Looking for ssh-agent implementation... 02:24:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:24:30 $ docker exec d50fe812ecd87438b7bfdc6103e9fc9fbdb152220e1fd00a97948651769b4728 ssh-agent 02:24:30 SSH_AUTH_SOCK=/tmp/ssh-JAqMVCoL8deB/agent.14 02:24:30 SSH_AGENT_PID=27 02:24:30 Running ssh-add (command line suppressed) 02:24:30 Identity added: /w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_7723020608283930087.key (/w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_7723020608283930087.key) 02:24:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:24:30 + git tag --points-at HEAD [Pipeline] } 02:24:30 $ docker exec --env ******** --env ******** d50fe812ecd87438b7bfdc6103e9fc9fbdb152220e1fd00a97948651769b4728 ssh-agent -k 02:24:30 unset SSH_AUTH_SOCK; 02:24:30 unset SSH_AGENT_PID; 02:24:30 echo Agent pid 27 killed; 02:24:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:24:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:24:31 [ssh-agent] Looking for ssh-agent implementation... 02:24:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:24:31 $ docker exec d50fe812ecd87438b7bfdc6103e9fc9fbdb152220e1fd00a97948651769b4728 ssh-agent 02:24:31 SSH_AUTH_SOCK=/tmp/ssh-WbIVYXcdPWTY/agent.71 02:24:31 SSH_AGENT_PID=77 02:24:31 Running ssh-add (command line suppressed) 02:24:31 Identity added: /w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_6910179490834730390.key (/w/workspace/undry_device-onvif-camera_PR-357@tmp/private_key_6910179490834730390.key) 02:24:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:24:31 + git semver init 02:24:32 2023-05-11 02:24:32,181 [run_init] DEBUG init version:0.0.0 force:False 02:24:32 2023-05-11 02:24:32,182 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-357/.semver 02:24:32 2023-05-11 02:24:32,182 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-357/.semver 02:24:32 2023-05-11 02:24:32,183 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-357/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-357, universal_newlines=False, shell=None, istream=None) 02:24:33 2023-05-11 02:24:33,107 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-357/.git/info/exclude 02:24:33 2023-05-11 02:24:33,108 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-357/.semver/PR-357 with force:False 02:24:33 2023-05-11 02:24:33,109 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-357/.semver/PR-357 02:24:33 2023-05-11 02:24:33,114 [execute] INFO git cat-file --batch-check 02:24:33 2023-05-11 02:24:33,115 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-357/.semver, universal_newlines=False, shell=None, istream=) 02:24:33 2023-05-11 02:24:33,124 [execute] INFO git cat-file --batch 02:24:33 2023-05-11 02:24:33,125 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-357/.semver, universal_newlines=False, shell=None, istream=) 02:24:33 2023-05-11 02:24:33,129 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-357/.semver/PR-357 02:24:33 0.0.0 [Pipeline] } 02:24:33 $ docker exec --env ******** --env ******** d50fe812ecd87438b7bfdc6103e9fc9fbdb152220e1fd00a97948651769b4728 ssh-agent -k 02:24:33 unset SSH_AUTH_SOCK; 02:24:33 unset SSH_AGENT_PID; 02:24:33 echo Agent pid 77 killed; 02:24:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:24:33 + git semver [Pipeline] } 02:24:33 $ docker stop --time=1 d50fe812ecd87438b7bfdc6103e9fc9fbdb152220e1fd00a97948651769b4728 02:24:35 $ docker rm -f --volumes d50fe812ecd87438b7bfdc6103e9fc9fbdb152220e1fd00a97948651769b4728 [Pipeline] // withDockerContainer [Pipeline] sh 02:24:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:24:35 Stashed 1 file(s) [Pipeline] echo 02:24:35 [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 02:24:36 provisioning config files... 02:24:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-357@tmp/config2645151164292750420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:24:36 ---> docker-login.sh 02:24:36 nexus3.edgexfoundry.org:10001 02:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:36 Configure a credential helper to remove this warning. See 02:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:36 02:24:36 Login Succeeded 02:24:36 nexus3.edgexfoundry.org:10002 02:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:36 Configure a credential helper to remove this warning. See 02:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:36 02:24:36 Login Succeeded 02:24:36 nexus3.edgexfoundry.org:10003 02:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:36 Configure a credential helper to remove this warning. See 02:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:36 02:24:36 Login Succeeded 02:24:36 nexus3.edgexfoundry.org:10004 02:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:36 Configure a credential helper to remove this warning. See 02:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:36 02:24:36 Login Succeeded 02:24:36 docker.io 02:24:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:24:36 Configure a credential helper to remove this warning. See 02:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:24:36 02:24:36 Login Succeeded 02:24:36 ---> docker-login.sh ends [Pipeline] } 02:24:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:24:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:24:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:24:36 ========================================================= 02:24:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:24:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:24:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:24:37 Sending build context to Docker daemon 22.35MB 02:24:37 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 02:24:37 Step 2/13 : FROM ${BASE} AS builder 02:24:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:24:37 f56be85fc22e: Pulling fs layer 02:24:37 85791d961cd3: Pulling fs layer 02:24:37 d694b5ae8c79: Pulling fs layer 02:24:37 9f32a84ed3da: Pulling fs layer 02:24:37 4d19c01a9841: Pulling fs layer 02:24:37 9325e15d5711: Pulling fs layer 02:24:37 556b6ee489ea: Pulling fs layer 02:24:37 c5a4b2cf53e6: Pulling fs layer 02:24:37 4d19c01a9841: Waiting 02:24:37 9325e15d5711: Waiting 02:24:37 556b6ee489ea: Waiting 02:24:37 c5a4b2cf53e6: Waiting 02:24:37 9f32a84ed3da: Waiting 02:24:37 85791d961cd3: Verifying Checksum 02:24:37 85791d961cd3: Download complete 02:24:37 9f32a84ed3da: Verifying Checksum 02:24:37 9f32a84ed3da: Download complete 02:24:37 4d19c01a9841: Verifying Checksum 02:24:37 4d19c01a9841: Download complete 02:24:37 f56be85fc22e: Verifying Checksum 02:24:37 f56be85fc22e: Download complete 02:24:37 9325e15d5711: Verifying Checksum 02:24:37 9325e15d5711: Download complete 02:24:37 f56be85fc22e: Pull complete 02:24:38 85791d961cd3: Pull complete 02:24:38 c5a4b2cf53e6: Verifying Checksum 02:24:38 c5a4b2cf53e6: Download complete 02:24:38 d694b5ae8c79: Download complete 02:24:38 556b6ee489ea: Verifying Checksum 02:24:38 556b6ee489ea: Download complete 02:24:41 d694b5ae8c79: Pull complete 02:24:41 9f32a84ed3da: Pull complete 02:24:42 4d19c01a9841: Pull complete 02:24:42 9325e15d5711: Pull complete 02:24:44 556b6ee489ea: Pull complete 02:24:45 c5a4b2cf53e6: Pull complete 02:24:45 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 02:24:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:24:45 ---> c4be618373d6 02:24:45 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:24:49 ---> Running in a0773269958d 02:24:50 Removing intermediate container a0773269958d 02:24:50 ---> c30c4f9f357b 02:24:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:24:50 ---> Running in 122cf1a0f4ba 02:24:50 Removing intermediate container 122cf1a0f4ba 02:24:50 ---> 93646372acaa 02:24:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 02:24:50 ---> Running in 2148b95f719a 02:24:50 Removing intermediate container 2148b95f719a 02:24:50 ---> 4a4e00dadc11 02:24:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:24:50 ---> Running in e09375d73e36 02:24:50 Removing intermediate container e09375d73e36 02:24:50 ---> 3a38e5d06525 02:24:50 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:24:50 ---> Running in 9fe5419f2685 02:24:51 Still waiting to schedule task 02:24:51 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15148’ 02:24:51 Removing intermediate container 9fe5419f2685 02:24:51 ---> 8a47e6642dc7 02:24:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:24:51 ---> Running in e768da7c9a08 02:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:24:51 OK: 265 MiB in 53 packages 02:24:52 Removing intermediate container e768da7c9a08 02:24:52 ---> eef38658e842 02:24:52 Step 9/13 : WORKDIR /device-onvif-camera 02:24:52 ---> Running in b2038a0cbef2 02:24:52 Removing intermediate container b2038a0cbef2 02:24:52 ---> 10db16f5b2ba 02:24:52 Step 10/13 : COPY go.mod vendor* ./ 02:24:52 ---> 83dceb29295b 02:24:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:24:53 ---> Running in f4554532c2a9 02:25:19 Removing intermediate container f4554532c2a9 02:25:19 ---> 9072a682318e 02:25:19 Step 12/13 : COPY . . 02:25:19 ---> 36981a8afe25 02:25:19 Step 13/13 : RUN ${MAKE} 02:25:19 ---> Running in ba92c53e14fa 02:25:19 noop 02:25:19 Removing intermediate container ba92c53e14fa 02:25:19 ---> a5a2ad91b3b5 02:25:19 Successfully built a5a2ad91b3b5 02:25:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:20 + docker inspect -f . ci-base-image-x86_64 02:25:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:25:20 prd-ubuntu20.04-docker-8c-8g-15152 does not seem to be running inside a container 02:25:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@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 02:25:21 $ docker top db51b3a7ac898f97e2213eb8985e21f828fe55bc89d7ca95c88961d586b224fc -eo pid,comm [Pipeline] { [Pipeline] sh 02:25:21 + go version 02:25:21 go version go1.20.2 linux/amd64 [Pipeline] } 02:25:21 $ docker stop --time=1 db51b3a7ac898f97e2213eb8985e21f828fe55bc89d7ca95c88961d586b224fc 02:25:22 $ docker rm -f --volumes db51b3a7ac898f97e2213eb8985e21f828fe55bc89d7ca95c88961d586b224fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:23 + docker inspect -f . ci-base-image-x86_64 02:25:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:25:23 prd-ubuntu20.04-docker-8c-8g-15152 does not seem to be running inside a container 02:25:23 $ 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-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@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 02:25:24 $ docker top ee45189762cef8eca639b86d70c5968b76484f7b578f0e3db3d0c81ca8e3fc78 -eo pid,comm [Pipeline] { [Pipeline] sh 02:25:24 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-357 [Pipeline] fileExists [Pipeline] sh 02:25:24 + make test 02:25:24 go test ./... -coverprofile=coverage.out ./... 02:25:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:25:38 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:25:39 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:25:41 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 31.4% of statements 02:25:41 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.049s coverage: 86.5% of statements 02:25:48 go vet ./... 02:25:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:25:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:25:51 ./bin/test-attribution-txt.sh [Pipeline] echo 02:25:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:25:51 $ docker stop --time=1 ee45189762cef8eca639b86d70c5968b76484f7b578f0e3db3d0c81ca8e3fc78 02:25:54 $ docker rm -f --volumes ee45189762cef8eca639b86d70c5968b76484f7b578f0e3db3d0c81ca8e3fc78 [Pipeline] // withDockerContainer [Pipeline] sh 02:25:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:25:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:25:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:25:55 + ls -al . 02:25:55 total 232 02:25:55 drwxrwxr-x 10 jenkins jenkins 4096 May 11 02:25 . 02:25:55 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:24 .. 02:25:55 drwxrwxr-x 8 jenkins jenkins 4096 May 11 02:24 .git 02:25:55 drwxrwxr-x 3 jenkins jenkins 4096 May 11 02:24 .github 02:25:55 -rw-rw-r-- 1 jenkins jenkins 496 May 11 02:24 .gitignore 02:25:55 -rw-rw-r-- 1 jenkins jenkins 42 May 11 02:24 .golangci.yml 02:25:55 drwxr-xr-x 3 jenkins jenkins 4096 May 11 02:24 .semver 02:25:55 -rw-rw-r-- 1 jenkins jenkins 10087 May 11 02:24 Attribution.txt 02:25:55 -rw-rw-r-- 1 jenkins jenkins 6312 May 11 02:24 CHANGELOG.md 02:25:55 -rw-rw-r-- 1 jenkins jenkins 1574 May 11 02:24 Dockerfile 02:25:55 -rw-rw-r-- 1 jenkins jenkins 677 May 11 02:24 GOVERNANCE.md 02:25:55 -rw-rw-r-- 1 jenkins jenkins 734 May 11 02:24 Jenkinsfile 02:25:55 -rw-rw-r-- 1 jenkins jenkins 11348 May 11 02:24 LICENSE 02:25:55 -rw-rw-r-- 1 jenkins jenkins 2751 May 11 02:24 Makefile 02:25:55 -rw-rw-r-- 1 jenkins jenkins 625 May 11 02:24 OWNERS.md 02:25:55 -rw-rw-r-- 1 jenkins jenkins 2690 May 11 02:24 README.md 02:25:55 -rw-rw-r-- 1 jenkins jenkins 5 May 11 02:24 VERSION 02:25:55 drwxrwxr-x 2 jenkins jenkins 4096 May 11 02:24 bin 02:25:55 drwxrwxr-x 3 jenkins jenkins 4096 May 11 02:24 cmd 02:25:55 -rw-r--r-- 1 jenkins jenkins 78459 May 11 02:25 coverage.out 02:25:55 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:24 doc 02:25:55 -rw-rw-r-- 1 jenkins jenkins 3642 May 11 02:24 go.mod 02:25:55 -rw-rw-r-- 1 jenkins jenkins 33491 May 11 02:24 go.sum 02:25:55 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:24 internal 02:25:55 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:24 snap 02:25:55 -rw-rw-r-- 1 jenkins jenkins 236 May 11 02:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:56 + 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=29851ac6c8a3e42b143be144228d1166000d634d --label arch=amd64 --label version=0.0.0 . 02:25:56 Sending build context to Docker daemon 22.43MB 02:25:56 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 02:25:56 Step 2/26 : FROM ${BASE} AS builder 02:25:56 ---> a5a2ad91b3b5 02:25:56 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:25:56 ---> Running in 3d6d97d71c64 02:25:56 Removing intermediate container 3d6d97d71c64 02:25:56 ---> 5a3cbaa6fec5 02:25:56 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:25:56 ---> Running in 1a682f3e4b48 02:25:56 Removing intermediate container 1a682f3e4b48 02:25:56 ---> 8d01ded53558 02:25:56 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 02:25:56 ---> Running in e36cb0609429 02:25:56 Removing intermediate container e36cb0609429 02:25:56 ---> 42891dd7c45e 02:25:56 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:25:56 ---> Running in c66a4b461f48 02:25:56 Removing intermediate container c66a4b461f48 02:25:56 ---> 919d835268c7 02:25:56 Step 7/26 : LABEL Name=edgex-device-onvif-camera 02:25:56 ---> Running in dafbc58aa4ee 02:25:56 Removing intermediate container dafbc58aa4ee 02:25:56 ---> 91816c3c0519 02:25:56 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:25:56 ---> Running in ff60a83d2f48 02:25:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:25:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:25:57 OK: 265 MiB in 53 packages 02:25:57 Removing intermediate container ff60a83d2f48 02:25:57 ---> d8da0da85e76 02:25:57 Step 9/26 : WORKDIR /device-onvif-camera 02:25:57 ---> Running in 52c1aef87cf8 02:25:57 Removing intermediate container 52c1aef87cf8 02:25:57 ---> 88104f977026 02:25:57 Step 10/26 : COPY go.mod vendor* ./ 02:25:57 ---> ac59b87c0c5c 02:25:57 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:25:58 ---> Running in a1fd1db9efa8 02:25:58 Removing intermediate container a1fd1db9efa8 02:25:58 ---> 9374d12330fa 02:25:58 Step 12/26 : COPY . . 02:25:59 ---> d9b176a7cc65 02:25:59 Step 13/26 : RUN ${MAKE} 02:25:59 ---> Running in e8d72d30f9c5 02:25:59 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 02:26:17 Removing intermediate container e8d72d30f9c5 02:26:17 ---> d4c3a189547f 02:26:17 Step 14/26 : FROM alpine:3.17 02:26:17 3.17: Pulling from library/alpine 02:26:17 f56be85fc22e: Already exists 02:26:17 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:26:17 Status: Downloaded newer image for alpine:3.17 02:26:17 ---> 9ed4aefc74f6 02:26:17 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:26:17 ---> Running in daa0220b6bca 02:26:17 Removing intermediate container daa0220b6bca 02:26:17 ---> ab81cdfa7149 02:26:17 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:26:17 ---> Running in 7e4790f91f3b 02:26:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:26:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:26:18 (1/1) Installing dumb-init (1.2.5-r2) 02:26:18 Executing busybox-1.35.0-r29.trigger 02:26:18 OK: 7 MiB in 16 packages 02:26:18 Removing intermediate container 7e4790f91f3b 02:26:18 ---> 1a9374c8f8b4 02:26:18 Step 17/26 : WORKDIR / 02:26:18 ---> Running in 8d5294b15ae8 02:26:18 Removing intermediate container 8d5294b15ae8 02:26:18 ---> ad2e8c104d73 02:26:18 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 02:26:19 ---> 711c14cae1c7 02:26:19 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 02:26:19 ---> 9d90eff4a3be 02:26:19 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:26:19 ---> 72033216acd6 02:26:19 Step 21/26 : EXPOSE 59984 02:26:19 ---> Running in 13ace016765d 02:26:19 Removing intermediate container 13ace016765d 02:26:19 ---> 9dcbbe311a55 02:26:19 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 02:26:19 ---> Running in 02c1fb12e9f9 02:26:19 Removing intermediate container 02c1fb12e9f9 02:26:19 ---> f6d0a2fc4e49 02:26:19 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:26:19 ---> Running in 4dde41e7d265 02:26:19 Removing intermediate container 4dde41e7d265 02:26:19 ---> 8b620fd42cee 02:26:19 Step 24/26 : LABEL arch=amd64 02:26:19 ---> Running in 5aabfe45c481 02:26:19 Removing intermediate container 5aabfe45c481 02:26:19 ---> 61f5f1ee8d01 02:26:19 Step 25/26 : LABEL git_sha=29851ac6c8a3e42b143be144228d1166000d634d 02:26:19 ---> Running in 4828a17e4700 02:26:20 Removing intermediate container 4828a17e4700 02:26:20 ---> 6e6720cb6234 02:26:20 Step 26/26 : LABEL version=0.0.0 02:26:20 ---> Running in c342e13b8d4e 02:26:20 Removing intermediate container c342e13b8d4e 02:26:20 ---> d3ec23fd79dc 02:26:20 [Warning] One or more build-args [ARCH] were not consumed 02:26:20 Successfully built d3ec23fd79dc 02:26:20 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:26:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:26:20 02:26:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:26:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:26:20 latest: Pulling from edgex-lftools-log-publisher 02:26:20 5eb5b503b376: Pulling fs layer 02:26:20 5c69ac0246d0: Pulling fs layer 02:26:20 ec43610c2a17: Pulling fs layer 02:26:20 3a2ae6a8a46f: Pulling fs layer 02:26:20 33b1e0a273af: Pulling fs layer 02:26:20 5d3b04190fa2: Pulling fs layer 02:26:20 2f39f015ded8: Pulling fs layer 02:26:20 3a2ae6a8a46f: Waiting 02:26:20 33b1e0a273af: Waiting 02:26:20 5d3b04190fa2: Waiting 02:26:20 2f39f015ded8: Waiting 02:26:20 5c69ac0246d0: Verifying Checksum 02:26:20 5c69ac0246d0: Download complete 02:26:20 3a2ae6a8a46f: Verifying Checksum 02:26:20 3a2ae6a8a46f: Download complete 02:26:20 33b1e0a273af: Verifying Checksum 02:26:20 33b1e0a273af: Download complete 02:26:20 5d3b04190fa2: Verifying Checksum 02:26:20 5d3b04190fa2: Download complete 02:26:21 ec43610c2a17: Download complete 02:26:21 5eb5b503b376: Verifying Checksum 02:26:21 5eb5b503b376: Download complete 02:26:21 2f39f015ded8: Download complete 02:26:22 5eb5b503b376: Pull complete 02:26:22 5c69ac0246d0: Pull complete 02:26:22 ec43610c2a17: Pull complete 02:26:22 3a2ae6a8a46f: Pull complete 02:26:22 33b1e0a273af: Pull complete 02:26:22 5d3b04190fa2: Pull complete 02:26:27 2f39f015ded8: Pull complete 02:26:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:26:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:26:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:26:27 prd-ubuntu20.04-docker-8c-8g-15152 does not seem to be running inside a container 02:26:27 $ 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-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@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 02:26:29 $ docker top aa5512aaaa2d2ef2cac88f9c68816fc7a3a6418654b87f90f8a9ab47be9652b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:26:29 ---> job-cost.sh 02:26:29 lf-activate-venv: SKIPPING 02:26:29 INFO: No Stack... 02:26:30 INFO: Retrieving Pricing Info for: v3-standard-8 02:26:30 INFO: Archiving Costs [Pipeline] sh 02:26:30 + cat /w/workspace/undry_device-onvif-camera_PR-357/archives/cost.csv 02:26:30 + cut -d, -f6 [Pipeline] lock 02:26:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-357-4-stack-cost] 02:26:30 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-4-stack-cost] did not exist. Created. 02:26:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-357-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:26:31 + echo total: 0.2199999988079071 [Pipeline] stash 02:26:31 Stashed 1 file(s) [Pipeline] } 02:26:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-4-stack-cost] [Pipeline] // lock [Pipeline] } 02:26:31 $ docker stop --time=1 aa5512aaaa2d2ef2cac88f9c68816fc7a3a6418654b87f90f8a9ab47be9652b4 02:26:32 $ docker rm -f --volumes aa5512aaaa2d2ef2cac88f9c68816fc7a3a6418654b87f90f8a9ab47be9652b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:28:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15153 in /w/workspace/undry_device-onvif-camera_PR-357 [Pipeline] { [Pipeline] ws 02:28:23 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 02:28:23 The recommended git tool is: git 02:28:29 using credential edgex-jenkins-ssh 02:28:29 Cloning the remote Git repository 02:28:29 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:28:29 > git init /w/workspace/device-onvif-camera/4 # timeout=10 02:28:29 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:28:29 > git --version # timeout=10 02:28:29 > git --version # 'git version 2.25.1' 02:28:29 using GIT_SSH to set credentials SSH Credentials for GitHub 02:28:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:28:31 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:28:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:28:32 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:28:32 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:28:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:28:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:28:33 Merging remotes/origin/main commit 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea into PR head commit 29851ac6c8a3e42b143be144228d1166000d634d 02:28:33 Merge succeeded, producing 29851ac6c8a3e42b143be144228d1166000d634d 02:28:33 Checking out Revision 29851ac6c8a3e42b143be144228d1166000d634d (PR-357) 02:28:33 > git config core.sparsecheckout # timeout=10 02:28:33 > git checkout -f 29851ac6c8a3e42b143be144228d1166000d634d # timeout=10 02:28:33 > git remote # timeout=10 02:28:33 > git config --get remote.origin.url # timeout=10 02:28:33 using GIT_SSH to set credentials SSH Credentials for GitHub 02:28:33 > git merge 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea # timeout=10 02:28:33 > git rev-parse HEAD^{commit} # timeout=10 02:28:33 > git config core.sparsecheckout # timeout=10 02:28:33 > git checkout -f 29851ac6c8a3e42b143be144228d1166000d634d # timeout=10 02:28:37 Commit message: "refactor: update postman collection and swagger files" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:28:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:28:38 % Total % Received % Xferd Average Speed Time Time Time Current 02:28:38 Dload Upload Total Spent Left Speed 02:28:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 62812 0 --:--:-- --:--:-- --:--:-- 63123 [Pipeline] sh 02:28:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:28:39 + sudo tee /etc/docker/daemon.new 02:28:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:28:39 { 02:28:39 "registry-mirrors": [ 02:28:39 "https://nexus3.edgexfoundry.org:10001" 02:28:39 ], 02:28:39 "bip": "10.250.0.254/24", 02:28:39 "hosts": [ 02:28:39 "tcp://0.0.0.0:5555", 02:28:39 "unix:///var/run/docker.sock" 02:28:39 ], 02:28:39 "mtu": 1458, 02:28:39 "selinux-enabled": true, 02:28:39 "seccomp-profile": "/etc/docker/seccomp.json" 02:28:39 } [Pipeline] sh 02:28:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:28:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:28:58 provisioning config files... 02:28:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config82332873347294690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:58 ---> docker-login.sh 02:28:58 nexus3.edgexfoundry.org:10001 02:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:28:59 Configure a credential helper to remove this warning. See 02:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:28:59 02:28:59 Login Succeeded 02:28:59 nexus3.edgexfoundry.org:10002 02:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:28:59 Configure a credential helper to remove this warning. See 02:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:28:59 02:28:59 Login Succeeded 02:28:59 nexus3.edgexfoundry.org:10003 02:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:29:00 Configure a credential helper to remove this warning. See 02:29:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:29:00 02:29:00 Login Succeeded 02:29:00 nexus3.edgexfoundry.org:10004 02:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:29:00 Configure a credential helper to remove this warning. See 02:29:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:29:00 02:29:00 Login Succeeded 02:29:00 docker.io 02:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:29:00 Configure a credential helper to remove this warning. See 02:29:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:29:00 02:29:00 Login Succeeded 02:29:00 ---> docker-login.sh ends [Pipeline] } 02:29:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:29:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:29:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:29:01 ========================================================= 02:29:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:29:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:29:01 + 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 . 02:29:02 Sending build context to Docker daemon 14.86MB 02:29:02 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 02:29:02 Step 2/13 : FROM ${BASE} AS builder 02:29:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:29:02 c41833b44d91: Pulling fs layer 02:29:02 ed15518f5707: Pulling fs layer 02:29:02 feae8fd75edb: Pulling fs layer 02:29:02 242c74f7c9fa: Pulling fs layer 02:29:02 3cdef696dda3: Pulling fs layer 02:29:02 2ced38df9373: Pulling fs layer 02:29:02 58f1dce35555: Pulling fs layer 02:29:02 3cdef696dda3: Waiting 02:29:02 2ced38df9373: Waiting 02:29:02 58f1dce35555: Waiting 02:29:02 242c74f7c9fa: Waiting 02:29:02 ed15518f5707: Download complete 02:29:02 242c74f7c9fa: Verifying Checksum 02:29:02 242c74f7c9fa: Download complete 02:29:02 3cdef696dda3: Verifying Checksum 02:29:02 3cdef696dda3: Download complete 02:29:02 c41833b44d91: Verifying Checksum 02:29:02 c41833b44d91: Download complete 02:29:03 c41833b44d91: Pull complete 02:29:03 58f1dce35555: Verifying Checksum 02:29:03 58f1dce35555: Download complete 02:29:03 ed15518f5707: Pull complete 02:29:04 feae8fd75edb: Verifying Checksum 02:29:04 feae8fd75edb: Download complete 02:29:04 2ced38df9373: Verifying Checksum 02:29:04 2ced38df9373: Download complete 02:29:14 feae8fd75edb: Pull complete 02:29:14 242c74f7c9fa: Pull complete 02:29:15 3cdef696dda3: Pull complete 02:29:21 2ced38df9373: Pull complete 02:29:24 58f1dce35555: Pull complete 02:29:24 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:29:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:29:24 ---> fadd8f120f05 02:29:24 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:29:26 ---> Running in 4b988411cd63 02:29:26 Removing intermediate container 4b988411cd63 02:29:26 ---> 8bcc1edd73bd 02:29:26 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:29:26 ---> Running in f6b5f9305c94 02:29:26 Removing intermediate container f6b5f9305c94 02:29:26 ---> f3d6f26569a4 02:29:26 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 02:29:26 ---> Running in 4428302f7ad7 02:29:27 Removing intermediate container 4428302f7ad7 02:29:27 ---> e09f5b2362bc 02:29:27 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:29:27 ---> Running in ed5433f8ac73 02:29:27 Removing intermediate container ed5433f8ac73 02:29:27 ---> a48b410c3e92 02:29:27 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:29:27 ---> Running in 0e69e5e95fd2 02:29:27 Removing intermediate container 0e69e5e95fd2 02:29:27 ---> ef97e2ea3fbf 02:29:27 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:29:27 ---> Running in b7fb53c5a6aa 02:29:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:29:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:29:30 OK: 263 MiB in 53 packages 02:29:35 Removing intermediate container b7fb53c5a6aa 02:29:35 ---> 7dea6c4f9f3c 02:29:35 Step 9/13 : WORKDIR /device-onvif-camera 02:29:35 ---> Running in daeb2ea185df 02:29:35 Removing intermediate container daeb2ea185df 02:29:35 ---> cfeb6ce61234 02:29:35 Step 10/13 : COPY go.mod vendor* ./ 02:29:35 ---> 47605c1bc248 02:29:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:29:35 ---> Running in 6ce870a7702d 02:30:43 Removing intermediate container 6ce870a7702d 02:30:43 ---> 88fa38734992 02:30:43 Step 12/13 : COPY . . 02:30:43 ---> 6800420716f7 02:30:43 Step 13/13 : RUN ${MAKE} 02:30:43 ---> Running in 8bd2d85343ab 02:30:43 noop 02:30:43 Removing intermediate container 8bd2d85343ab 02:30:43 ---> b3fc58dfd2bc 02:30:43 Successfully built b3fc58dfd2bc 02:30:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:43 + docker inspect -f . ci-base-image-arm64 02:30:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:30:43 prd-ubuntu20.04-docker-arm64-4c-16g-15153 does not seem to be running inside a container 02:30:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 02:30:45 $ docker top 5e61d2f301d5f1eda0dfeea0cc64b90e53b11dbb7a135d2ac4481a3f60d1857f -eo pid,comm [Pipeline] { [Pipeline] sh 02:30:45 + go version 02:30:45 go version go1.20.2 linux/arm64 [Pipeline] } 02:30:45 $ docker stop --time=1 5e61d2f301d5f1eda0dfeea0cc64b90e53b11dbb7a135d2ac4481a3f60d1857f 02:30:47 $ docker rm -f --volumes 5e61d2f301d5f1eda0dfeea0cc64b90e53b11dbb7a135d2ac4481a3f60d1857f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:48 + docker inspect -f . ci-base-image-arm64 02:30:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:30:48 prd-ubuntu20.04-docker-arm64-4c-16g-15153 does not seem to be running inside a container 02:30:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 02:30:49 $ docker top d71755e70aefafafc0a75f3ec958cdb300d8e5dce97e33a2dc48e07d59fd303d -eo pid,comm [Pipeline] { [Pipeline] sh 02:30:50 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 02:30:50 + make test 02:30:50 go test ./... -coverprofile=coverage.out ./... 02:31:23 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:33:44 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:33:44 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:33:44 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.206s coverage: 31.4% of statements 02:34:07 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.459s coverage: 86.5% of statements 02:34:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:34:07 go vet ./... 02:34:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:34:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:34:34 ./bin/test-attribution-txt.sh [Pipeline] echo 02:34:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:34:34 $ docker stop --time=1 d71755e70aefafafc0a75f3ec958cdb300d8e5dce97e33a2dc48e07d59fd303d 02:34:36 $ docker rm -f --volumes d71755e70aefafafc0a75f3ec958cdb300d8e5dce97e33a2dc48e07d59fd303d [Pipeline] // withDockerContainer [Pipeline] sh 02:34:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:34:37 Warning: overwriting stash ‘coverage-report’ 02:34:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:34:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:34:38 + ls -al . 02:34:38 total 228 02:34:38 drwxrwxr-x 9 jenkins jenkins 4096 May 11 02:30 . 02:34:38 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:28 .. 02:34:38 drwxrwxr-x 8 jenkins jenkins 4096 May 11 02:28 .git 02:34:38 drwxrwxr-x 3 jenkins jenkins 4096 May 11 02:28 .github 02:34:38 -rw-rw-r-- 1 jenkins jenkins 496 May 11 02:28 .gitignore 02:34:38 -rw-rw-r-- 1 jenkins jenkins 42 May 11 02:28 .golangci.yml 02:34:38 -rw-rw-r-- 1 jenkins jenkins 10087 May 11 02:28 Attribution.txt 02:34:38 -rw-rw-r-- 1 jenkins jenkins 6312 May 11 02:28 CHANGELOG.md 02:34:38 -rw-rw-r-- 1 jenkins jenkins 1574 May 11 02:28 Dockerfile 02:34:38 -rw-rw-r-- 1 jenkins jenkins 677 May 11 02:28 GOVERNANCE.md 02:34:38 -rw-rw-r-- 1 jenkins jenkins 734 May 11 02:28 Jenkinsfile 02:34:38 -rw-rw-r-- 1 jenkins jenkins 11348 May 11 02:28 LICENSE 02:34:38 -rw-rw-r-- 1 jenkins jenkins 2751 May 11 02:28 Makefile 02:34:38 -rw-rw-r-- 1 jenkins jenkins 625 May 11 02:28 OWNERS.md 02:34:38 -rw-rw-r-- 1 jenkins jenkins 2690 May 11 02:28 README.md 02:34:38 -rw-rw-r-- 1 jenkins jenkins 5 May 11 02:24 VERSION 02:34:38 drwxrwxr-x 2 jenkins jenkins 4096 May 11 02:28 bin 02:34:38 drwxrwxr-x 3 jenkins jenkins 4096 May 11 02:28 cmd 02:34:38 -rw-r--r-- 1 jenkins jenkins 78459 May 11 02:34 coverage.out 02:34:38 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:28 doc 02:34:38 -rw-rw-r-- 1 jenkins jenkins 3642 May 11 02:28 go.mod 02:34:38 -rw-rw-r-- 1 jenkins jenkins 33491 May 11 02:28 go.sum 02:34:38 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:28 internal 02:34:38 drwxrwxr-x 4 jenkins jenkins 4096 May 11 02:28 snap 02:34:38 -rw-rw-r-- 1 jenkins jenkins 236 May 11 02:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:39 + 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=29851ac6c8a3e42b143be144228d1166000d634d --label arch=arm64 --label version=0.0.0 . 02:34:39 Sending build context to Docker daemon 14.94MB 02:34:39 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 02:34:39 Step 2/26 : FROM ${BASE} AS builder 02:34:39 ---> b3fc58dfd2bc 02:34:39 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:34:39 ---> Running in 9d5448df74d2 02:34:40 Removing intermediate container 9d5448df74d2 02:34:40 ---> 1f8bd5d5dd8b 02:34:40 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:34:40 ---> Running in 3d902d12adba 02:34:40 Removing intermediate container 3d902d12adba 02:34:40 ---> 461748e47c79 02:34:40 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 02:34:40 ---> Running in f62c46652807 02:34:40 Removing intermediate container f62c46652807 02:34:40 ---> 1355f7faecc5 02:34:40 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:34:40 ---> Running in c2c44932c914 02:34:41 Removing intermediate container c2c44932c914 02:34:41 ---> 56596a4bba65 02:34:41 Step 7/26 : LABEL Name=edgex-device-onvif-camera 02:34:41 ---> Running in e146fd73eaeb 02:34:41 Removing intermediate container e146fd73eaeb 02:34:41 ---> fc724a2dfeb0 02:34:41 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:34:41 ---> Running in aa3dc285d7d4 02:34:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:34:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:34:44 OK: 263 MiB in 53 packages 02:34:45 Removing intermediate container aa3dc285d7d4 02:34:45 ---> 6fd21805a4f3 02:34:45 Step 9/26 : WORKDIR /device-onvif-camera 02:34:45 ---> Running in 2b74d6ff489b 02:34:45 Removing intermediate container 2b74d6ff489b 02:34:45 ---> c4ef4f491be8 02:34:45 Step 10/26 : COPY go.mod vendor* ./ 02:34:46 ---> f98f198285c1 02:34:46 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:34:46 ---> Running in 2d48068cba65 02:34:48 Removing intermediate container 2d48068cba65 02:34:48 ---> 87d0a8aa8027 02:34:48 Step 12/26 : COPY . . 02:34:50 ---> f5fd1bda64a2 02:34:50 Step 13/26 : RUN ${MAKE} 02:34:50 ---> Running in 75515954b971 02:34:51 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 02:37:12 Removing intermediate container 75515954b971 02:37:12 ---> 00d2659d867c 02:37:12 Step 14/26 : FROM alpine:3.17 02:37:12 3.17: Pulling from library/alpine 02:37:12 c41833b44d91: Already exists 02:37:12 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:37:12 Status: Downloaded newer image for alpine:3.17 02:37:12 ---> 51e60588ff2c 02:37:12 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:37:12 ---> Running in 357f45ae2eb5 02:37:12 Removing intermediate container 357f45ae2eb5 02:37:12 ---> f6c6f22e8e03 02:37:12 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:37:12 ---> Running in 6ea25f97b318 02:37:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:37:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:37:12 (1/1) Installing dumb-init (1.2.5-r2) 02:37:12 Executing busybox-1.35.0-r29.trigger 02:37:12 OK: 8 MiB in 16 packages 02:37:12 Removing intermediate container 6ea25f97b318 02:37:12 ---> 9e0da9317ab7 02:37:12 Step 17/26 : WORKDIR / 02:37:12 ---> Running in 9691f697d174 02:37:12 Removing intermediate container 9691f697d174 02:37:12 ---> 400fdd61edec 02:37:12 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 02:37:12 ---> be59b7af7977 02:37:12 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 02:37:13 ---> 4311ba02a15f 02:37:13 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:37:13 ---> 3f9ea820a6f4 02:37:13 Step 21/26 : EXPOSE 59984 02:37:14 ---> Running in 3715f276c53b 02:37:14 Removing intermediate container 3715f276c53b 02:37:14 ---> fdf1105af282 02:37:14 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 02:37:14 ---> Running in 3c80b4679c54 02:37:14 Removing intermediate container 3c80b4679c54 02:37:14 ---> 7661dea6fc6e 02:37:14 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:37:14 ---> Running in 5785220253c0 02:37:14 Removing intermediate container 5785220253c0 02:37:14 ---> 9ca791cc42fd 02:37:14 Step 24/26 : LABEL arch=arm64 02:37:14 ---> Running in 7a31748fb66e 02:37:15 Removing intermediate container 7a31748fb66e 02:37:15 ---> 059a83ce3397 02:37:15 Step 25/26 : LABEL git_sha=29851ac6c8a3e42b143be144228d1166000d634d 02:37:15 ---> Running in 8d183e642dcb 02:37:15 Removing intermediate container 8d183e642dcb 02:37:15 ---> 99d1f577866f 02:37:15 Step 26/26 : LABEL version=0.0.0 02:37:15 ---> Running in e26efba207e0 02:37:15 Removing intermediate container e26efba207e0 02:37:15 ---> 0517bd2f17e5 02:37:15 [Warning] One or more build-args [ARCH] were not consumed 02:37:15 Successfully built 0517bd2f17e5 02:37:15 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 02:37:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:37:16 02:37:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:37:16 arm64: Pulling from edgex-lftools-log-publisher 02:37:16 8998bd30e6a1: Pulling fs layer 02:37:16 04944245beec: Pulling fs layer 02:37:16 699f458cf7ca: Pulling fs layer 02:37:16 765212b225bb: Pulling fs layer 02:37:16 f23df028b6ca: Pulling fs layer 02:37:16 d65c8cfc05b1: Pulling fs layer 02:37:16 2437ff75d9bd: Pulling fs layer 02:37:16 f23df028b6ca: Waiting 02:37:16 d65c8cfc05b1: Waiting 02:37:16 2437ff75d9bd: Waiting 02:37:16 765212b225bb: Waiting 02:37:16 04944245beec: Verifying Checksum 02:37:16 04944245beec: Download complete 02:37:16 765212b225bb: Verifying Checksum 02:37:16 765212b225bb: Download complete 02:37:16 f23df028b6ca: Verifying Checksum 02:37:16 f23df028b6ca: Download complete 02:37:16 d65c8cfc05b1: Verifying Checksum 02:37:16 d65c8cfc05b1: Download complete 02:37:16 699f458cf7ca: Verifying Checksum 02:37:16 699f458cf7ca: Download complete 02:37:17 8998bd30e6a1: Download complete 02:37:19 2437ff75d9bd: Verifying Checksum 02:37:19 2437ff75d9bd: Download complete 02:37:20 8998bd30e6a1: Pull complete 02:37:21 04944245beec: Pull complete 02:37:22 699f458cf7ca: Pull complete 02:37:22 765212b225bb: Pull complete 02:37:26 f23df028b6ca: Pull complete 02:37:26 d65c8cfc05b1: Pull complete 02:37:39 2437ff75d9bd: Pull complete 02:37:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:37:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:37:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:39 prd-ubuntu20.04-docker-arm64-4c-16g-15153 does not seem to be running inside a container 02:37:39 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 02:37:42 $ docker top a21fb71ec41a3f91abfc285ba935ee1f9bac75f66e68eafeb47a27f9ac6cb3f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:42 ---> job-cost.sh 02:37:42 lf-activate-venv: SKIPPING 02:37:42 INFO: No Stack... 02:37:43 INFO: Retrieving Pricing Info for: v3-standard-4 02:37:44 INFO: Archiving Costs [Pipeline] sh 02:37:44 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 02:37:44 + cut -d, -f6 [Pipeline] lock 02:37:44 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-357-4-stack-cost] 02:37:44 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-4-stack-cost] did not exist. Created. 02:37:44 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-357-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:37:45 /w/workspace/device-onvif-camera/4@tmp/durable-a5b7d355/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:37:45 + echo total: 0.10999999940395355 [Pipeline] stash 02:37:46 Warning: overwriting stash ‘stack-cost’ 02:37:46 Stashed 1 file(s) [Pipeline] } 02:37:46 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-357-4-stack-cost] [Pipeline] // lock [Pipeline] } 02:37:46 $ docker stop --time=1 a21fb71ec41a3f91abfc285ba935ee1f9bac75f66e68eafeb47a27f9ac6cb3f2 02:37:47 $ docker rm -f --volumes a21fb71ec41a3f91abfc285ba935ee1f9bac75f66e68eafeb47a27f9ac6cb3f2 [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 02:37:48 provisioning config files... 02:37:48 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-357@tmp/config11829817952398826980tmp [Pipeline] { [Pipeline] sh 02:37:48 + set +x 02:37:48 + curl -s https://codecov.io/bash 02:37:48 + bash -s -- 02:37:48 02:37:48 _____ _ 02:37:48 / ____| | | 02:37:48 | | ___ __| | ___ ___ _____ __ 02:37:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:37:48 | |___| (_) | (_| | __/ (_| (_) \ V / 02:37:48 \_____\___/ \__,_|\___|\___\___/ \_/ 02:37:48 Bash-1.0.6 02:37:48 02:37:48 02:37:48 ==> git version 2.25.1 found 02:37:48 ==> 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 02:37:48 Release-Date: 2020-01-08 02:37:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:37:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:37:48 ==> Jenkins CI detected. 02:37:48 current dir:  /w/workspace/undry_device-onvif-camera_PR-357 02:37:48 project root: . 02:37:48 --> token set from env 02:37:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:37:48 ==> Running gcov in . (disable via -X gcov) 02:37:48 ==> Python coveragepy not found 02:37:48 ==> Searching for coverage reports in: 02:37:48 + . 02:37:48 -> Found 1 reports 02:37:48 ==> Detecting git/mercurial file structure 02:37:48 ==> Reading reports 02:37:48 + ./coverage.out bytes=78459 02:37:48 ==> Appending adjustments 02:37:48 https://docs.codecov.io/docs/fixing-reports 02:37:48 + Found adjustments 02:37:48 ==> Gzipping contents 02:37:48 12K /tmp/codecov.YEABsP.gz 02:37:48 ==> Uploading reports 02:37:48 url: https://codecov.io 02:37:48 query: branch=PR-357&commit=29851ac6c8a3e42b143be144228d1166000d634d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-357%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=357&job=&cmd_args= 02:37:48 -> Pinging Codecov 02:37:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-357&commit=29851ac6c8a3e42b143be144228d1166000d634d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-357%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=357&job=&cmd_args= 02:37:48 -> Uploading to 02:37:48 https://storage.googleapis.com/codecov/v4/raw/2023-05-11/F29A59C45E3A92E06B3E522C9905F8EF/29851ac6c8a3e42b143be144228d1166000d634d/9f39f239-dd6e-475b-86ef-e16ac49b7ef1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T023748Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4eea96dc03bf4f3ed63ee6839d9af906b4d0d0f6c3ae726081f49912fa09ea58 02:37:48 % Total % Received % Xferd Average Speed Time Time Time Current 02:37:48 Dload Upload Total Spent Left Speed 02:37:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 43623 --:--:-- --:--:-- --:--:-- 43623 02:37:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/29851ac6c8a3e42b143be144228d1166000d634d [Pipeline] } 02:37:49 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 02:37:49 + [ -d /w/workspace/undry_device-onvif-camera_PR-357/archives ] 02:37:49 + ls -al /w/workspace/undry_device-onvif-camera_PR-357/archives 02:37:49 total 16 02:37:49 drwxr-xr-x 3 root root 4096 May 11 02:26 . 02:37:49 drwxrwxr-x 11 jenkins jenkins 4096 May 11 02:26 .. 02:37:49 drwxr-xr-x 2 root root 4096 May 11 02:26 cost 02:37:49 -rw-r--r-- 1 root root 91 May 11 02:26 cost.csv 02:37:49 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-357/archives 02:37:49 + ls -al /w/workspace/undry_device-onvif-camera_PR-357/archives 02:37:49 total 16 02:37:49 drwxr-xr-x 3 jenkins jenkins 4096 May 11 02:26 . 02:37:49 drwxrwxr-x 11 jenkins jenkins 4096 May 11 02:26 .. 02:37:49 drwxr-xr-x 2 jenkins jenkins 4096 May 11 02:26 cost 02:37:49 -rw-r--r-- 1 jenkins jenkins 91 May 11 02:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:37:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:37:51 ---> package-listing.sh 02:37:51 ++ facter osfamily 02:37:51 ++ tr '[:upper:]' '[:lower:]' 02:37:51 + OS_FAMILY=debian 02:37:51 + workspace=/w/workspace/undry_device-onvif-camera_PR-357 02:37:51 + START_PACKAGES=/tmp/packages_start.txt 02:37:51 + END_PACKAGES=/tmp/packages_end.txt 02:37:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:37:51 + PACKAGES=/tmp/packages_start.txt 02:37:51 + '[' /w/workspace/undry_device-onvif-camera_PR-357 ']' 02:37:51 + PACKAGES=/tmp/packages_end.txt 02:37:51 + case "${OS_FAMILY}" in 02:37:51 + dpkg -l 02:37:51 + grep '^ii' 02:37:51 + '[' -f /tmp/packages_start.txt ']' 02:37:51 + '[' -f /tmp/packages_end.txt ']' 02:37:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:37:51 + '[' /w/workspace/undry_device-onvif-camera_PR-357 ']' 02:37:51 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-357/archives/ 02:37:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-357/archives/ [Pipeline] echo 02:37:51 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:37:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:52 prd-ubuntu20.04-docker-8c-8g-15152 does not seem to be running inside a container 02:37:52 $ 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-357/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-357 -v /w/workspace/undry_device-onvif-camera_PR-357:/w/workspace/undry_device-onvif-camera_PR-357:rw,z -v /w/workspace/undry_device-onvif-camera_PR-357@tmp:/w/workspace/undry_device-onvif-camera_PR-357@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 02:37:52 $ docker top ad882ed8a86188aee0555f83b52f71ac29250366011daaa377c5371888f5ba95 -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:53 + touch /tmp/pre-build-complete [Pipeline] sh 02:37:53 + mkdir -p /var/log/sysstat [Pipeline] sh 02:37:53 + ls /var/log/sa-host 02:37:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:37:53 provisioning config files... 02:37:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-357@tmp/config45022812756785179tmp [Pipeline] { [Pipeline] echo 02:37:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:37:54 ---> create-netrc.sh [Pipeline] } 02:37:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:37:54 ---> python-tools-install.sh [Pipeline] echo 02:37:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:37:54 ---> sudo-logs.sh 02:37:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:37:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:37:55 ---> job-cost.sh 02:37:55 lf-activate-venv: SKIPPING 02:37:55 DEBUG: total: 0.2199999988079071 02:37:55 INFO: Retrieving Stack Cost... 02:37:55 INFO: Retrieving Pricing Info for: v3-standard-8 02:37:56 INFO: Archiving Costs [Pipeline] echo 02:37:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:37:56 ---> logs-deploy.sh 02:37:56 lf-activate-venv: SKIPPING 02:37:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-357/4 02:37:56 INFO: archiving workspace using pattern(s): 02:37:57 Archives upload complete. 02:37:57 INFO: archiving logs to Nexus