farshidtz commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9efdaeb0c936031f9651aefd1e4bba13124b75e2+c4faddb2a87debb4847eb62e77eafc712bf7e65e (589fcfca9b2fc19b2f0d18c1bc1fe3cb5bce4b6b) 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-ssh12656624727526953085.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-ssh7034004893754696551.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-362/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-362/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11814168653703417638.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-ssh7483066418449429120.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-362/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-362/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7509853852723913173.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15712 in /w/workspace/undry_device-onvif-camera_PR-362 [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-362 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/362/head:refs/remotes/origin/PR-362 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c4faddb2a87debb4847eb62e77eafc712bf7e65e into PR head commit 9efdaeb0c936031f9651aefd1e4bba13124b75e2 Merge succeeded, producing 9efdaeb0c936031f9651aefd1e4bba13124b75e2 Checking out Revision 9efdaeb0c936031f9651aefd1e4bba13124b75e2 (PR-362) Commit message: "build(snap): Bump epoch for major v3 upgrade" > git config core.sparsecheckout # timeout=10 > git checkout -f 9efdaeb0c936031f9651aefd1e4bba13124b75e2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9efdaeb0c936031f9651aefd1e4bba13124b75e2 # timeout=10 > git rev-list --no-walk 9efdaeb0c936031f9651aefd1e4bba13124b75e2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:48:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:48:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:48:54 ========================================================= 11:48:54 EdgeX Global Pipelines Version Info 11:48:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:48:55 ------------------- 11:48:55 stable info: 11:48:55 ------------------- 11:48:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:48:55 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 11:48:55 Message: update stable to v1.0.249 11:48:55 ------------------- 11:48:55 experimental info: 11:48:55 ------------------- 11:48:55 Commited By: **** collab-it+edgex@linuxfoundation.org 11:48:55 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 11:48:55 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:48:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-362 [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-362 [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-362 [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9efdaeb0c936031f9651aefd1e4bba13124b75e2 [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9efdaeb [Pipeline] echo 11:48:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:48:56 provisioning config files... 11:48:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-362@tmp/config4895487030312080499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:48:56 ---> docker-login.sh 11:48:56 nexus3.edgexfoundry.org:10001 11:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:57 Configure a credential helper to remove this warning. See 11:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:57 11:48:57 Login Succeeded 11:48:57 nexus3.edgexfoundry.org:10002 11:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:57 Configure a credential helper to remove this warning. See 11:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:57 11:48:57 Login Succeeded 11:48:57 nexus3.edgexfoundry.org:10003 11:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:57 Configure a credential helper to remove this warning. See 11:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:57 11:48:57 Login Succeeded 11:48:57 nexus3.edgexfoundry.org:10004 11:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:57 Configure a credential helper to remove this warning. See 11:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:57 11:48:57 Login Succeeded 11:48:57 docker.io 11:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:48:57 Configure a credential helper to remove this warning. See 11:48:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:48:57 11:48:57 Login Succeeded 11:48:57 ---> docker-login.sh ends [Pipeline] } 11:48:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:48:58 + git rev-list -1 --merges 9efdaeb0c936031f9651aefd1e4bba13124b75e2~1..9efdaeb0c936031f9651aefd1e4bba13124b75e2 [Pipeline] echo 11:48:58 -----------> git rev-list -1 --merges 9efdaeb0c936031f9651aefd1e4bba13124b75e2~1..9efdaeb0c936031f9651aefd1e4bba13124b75e2 9efdaeb0c936031f9651aefd1e4bba13124b75e2 [false] [Pipeline] sh 11:48:58 + git log --format=format:%s -1 9efdaeb0c936031f9651aefd1e4bba13124b75e2 [Pipeline] echo 11:48:58 ========================================================= 11:48:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:48:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:48:58 + git log --format=format:%s -1 9efdaeb0c936031f9651aefd1e4bba13124b75e2 [Pipeline] echo 11:48:59 [semverPrep] GIT_COMMIT: 9efdaeb0c936031f9651aefd1e4bba13124b75e2, Commit Message: build(snap): Bump epoch for major v3 upgrade [Pipeline] echo 11:48:59 [semverPrep] This is not a build commit. [Pipeline] sh 11:48:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:48:59 + grep -v github /etc/ssh/ssh_known_hosts 11:48:59 + [ -e /tmp/ssh_known_hosts ] 11:48:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:48:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:48:59 + sudo tee -a /etc/ssh/ssh_known_hosts 11:48:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:48:59 11:48:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:49:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:49:00 0.1.4: Pulling from edgex-devops/py-git-semver 11:49:00 b85a868b505f: Pulling fs layer 11:49:00 e2be974225ed: Pulling fs layer 11:49:00 339a4e72a1f5: Pulling fs layer 11:49:00 988bab9f4d93: Pulling fs layer 11:49:00 1469e6f7b9e6: Pulling fs layer 11:49:00 eaf3925da568: Pulling fs layer 11:49:00 bab4dde63d76: Pulling fs layer 11:49:00 bde34c3a00c8: Pulling fs layer 11:49:00 b352a97aabf1: Pulling fs layer 11:49:00 4872d77fe225: Pulling fs layer 11:49:00 5851b861e8e6: Pulling fs layer 11:49:00 bab4dde63d76: Waiting 11:49:00 bde34c3a00c8: Waiting 11:49:00 b352a97aabf1: Waiting 11:49:00 4872d77fe225: Waiting 11:49:00 988bab9f4d93: Waiting 11:49:00 5851b861e8e6: Waiting 11:49:00 eaf3925da568: Waiting 11:49:00 1469e6f7b9e6: Waiting 11:49:00 e2be974225ed: Verifying Checksum 11:49:00 e2be974225ed: Download complete 11:49:00 988bab9f4d93: Verifying Checksum 11:49:00 988bab9f4d93: Download complete 11:49:00 1469e6f7b9e6: Verifying Checksum 11:49:00 1469e6f7b9e6: Download complete 11:49:00 339a4e72a1f5: Verifying Checksum 11:49:00 339a4e72a1f5: Download complete 11:49:00 eaf3925da568: Verifying Checksum 11:49:00 eaf3925da568: Download complete 11:49:00 bde34c3a00c8: Verifying Checksum 11:49:00 bde34c3a00c8: Download complete 11:49:00 b352a97aabf1: Verifying Checksum 11:49:00 b352a97aabf1: Download complete 11:49:00 4872d77fe225: Verifying Checksum 11:49:00 4872d77fe225: Download complete 11:49:00 5851b861e8e6: Download complete 11:49:00 b85a868b505f: Verifying Checksum 11:49:00 b85a868b505f: Download complete 11:49:00 bab4dde63d76: Verifying Checksum 11:49:00 bab4dde63d76: Download complete 11:49:01 b85a868b505f: Pull complete 11:49:01 e2be974225ed: Pull complete 11:49:02 339a4e72a1f5: Pull complete 11:49:02 988bab9f4d93: Pull complete 11:49:02 1469e6f7b9e6: Pull complete 11:49:02 eaf3925da568: Pull complete 11:49:04 bab4dde63d76: Pull complete 11:49:04 bde34c3a00c8: Pull complete 11:49:04 b352a97aabf1: Pull complete 11:49:04 4872d77fe225: Pull complete 11:49:04 5851b861e8e6: Pull complete 11:49:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:49:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:49:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:49:04 prd-ubuntu20.04-docker-8c-8g-15712 does not seem to be running inside a container 11:49:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:49:07 $ docker top fafd12cb57afae19822706816586fa7c86d8a822fc74924175816942d8458327 -eo pid,comm 11:49:07 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). 11:49:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:49:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:49:07 [ssh-agent] Looking for ssh-agent implementation... 11:49:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:49:07 $ docker exec fafd12cb57afae19822706816586fa7c86d8a822fc74924175816942d8458327 ssh-agent 11:49:07 SSH_AUTH_SOCK=/tmp/ssh-vln4P9gqijxf/agent.32 11:49:07 SSH_AGENT_PID=38 11:49:07 Running ssh-add (command line suppressed) 11:49:08 Identity added: /w/workspace/undry_device-onvif-camera_PR-362@tmp/private_key_14632090625878519123.key (/w/workspace/undry_device-onvif-camera_PR-362@tmp/private_key_14632090625878519123.key) 11:49:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:49:08 + git tag --points-at HEAD [Pipeline] } 11:49:08 $ docker exec --env ******** --env ******** fafd12cb57afae19822706816586fa7c86d8a822fc74924175816942d8458327 ssh-agent -k 11:49:08 unset SSH_AUTH_SOCK; 11:49:08 unset SSH_AGENT_PID; 11:49:08 echo Agent pid 38 killed; 11:49:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:49:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:49:08 [ssh-agent] Looking for ssh-agent implementation... 11:49:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:49:08 $ docker exec fafd12cb57afae19822706816586fa7c86d8a822fc74924175816942d8458327 ssh-agent 11:49:08 SSH_AUTH_SOCK=/tmp/ssh-uuPIOW7MXPoO/agent.71 11:49:08 SSH_AGENT_PID=77 11:49:08 Running ssh-add (command line suppressed) 11:49:08 Identity added: /w/workspace/undry_device-onvif-camera_PR-362@tmp/private_key_10317861402175889249.key (/w/workspace/undry_device-onvif-camera_PR-362@tmp/private_key_10317861402175889249.key) 11:49:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:49:09 + git semver init 11:49:09 2023-05-16 11:49:09,300 [run_init] DEBUG init version:0.0.0 force:False 11:49:09 2023-05-16 11:49:09,301 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-362/.semver 11:49:09 2023-05-16 11:49:09,302 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-362/.semver 11:49:09 2023-05-16 11:49:09,302 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-362/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-362, universal_newlines=False, shell=None, istream=None) 11:49:10 2023-05-16 11:49:10,269 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-362/.git/info/exclude 11:49:10 2023-05-16 11:49:10,270 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-362/.semver/PR-362 with force:False 11:49:10 2023-05-16 11:49:10,270 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-362/.semver/PR-362 11:49:10 2023-05-16 11:49:10,274 [execute] INFO git cat-file --batch-check 11:49:10 2023-05-16 11:49:10,275 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-362/.semver, universal_newlines=False, shell=None, istream=) 11:49:10 2023-05-16 11:49:10,281 [execute] INFO git cat-file --batch 11:49:10 2023-05-16 11:49:10,281 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-362/.semver, universal_newlines=False, shell=None, istream=) 11:49:10 2023-05-16 11:49:10,285 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-362/.semver/PR-362 11:49:10 0.0.0 [Pipeline] } 11:49:10 $ docker exec --env ******** --env ******** fafd12cb57afae19822706816586fa7c86d8a822fc74924175816942d8458327 ssh-agent -k 11:49:10 unset SSH_AUTH_SOCK; 11:49:10 unset SSH_AGENT_PID; 11:49:10 echo Agent pid 77 killed; 11:49:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:49:10 + git semver [Pipeline] } 11:49:11 $ docker stop --time=1 fafd12cb57afae19822706816586fa7c86d8a822fc74924175816942d8458327 11:49:12 $ docker rm -f --volumes fafd12cb57afae19822706816586fa7c86d8a822fc74924175816942d8458327 [Pipeline] // withDockerContainer [Pipeline] sh 11:49:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:49:12 Stashed 1 file(s) [Pipeline] echo 11:49:12 [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 11:49:13 provisioning config files... 11:49:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-362@tmp/config6340434416782391923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:49:13 ---> docker-login.sh 11:49:13 nexus3.edgexfoundry.org:10001 11:49:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:49:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:49:13 Configure a credential helper to remove this warning. See 11:49:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:49:13 11:49:13 Login Succeeded 11:49:13 nexus3.edgexfoundry.org:10002 11:49:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:49:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:49:13 Configure a credential helper to remove this warning. See 11:49:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:49:13 11:49:13 Login Succeeded 11:49:13 nexus3.edgexfoundry.org:10003 11:49:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:49:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:49:13 Configure a credential helper to remove this warning. See 11:49:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:49:13 11:49:13 Login Succeeded 11:49:13 nexus3.edgexfoundry.org:10004 11:49:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:49:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:49:13 Configure a credential helper to remove this warning. See 11:49:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:49:13 11:49:13 Login Succeeded 11:49:13 docker.io 11:49:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:49:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:49:13 Configure a credential helper to remove this warning. See 11:49:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:49:13 11:49:13 Login Succeeded 11:49:13 ---> docker-login.sh ends [Pipeline] } 11:49:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:49:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:49:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:49:13 ========================================================= 11:49:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 11:49:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:49:14 + 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 . 11:49:14 Sending build context to Docker daemon 21.83MB 11:49:14 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 11:49:14 Step 2/13 : FROM ${BASE} AS builder 11:49:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 11:49:14 f56be85fc22e: Pulling fs layer 11:49:14 85791d961cd3: Pulling fs layer 11:49:14 d694b5ae8c79: Pulling fs layer 11:49:14 9f32a84ed3da: Pulling fs layer 11:49:14 4d19c01a9841: Pulling fs layer 11:49:14 9325e15d5711: Pulling fs layer 11:49:14 556b6ee489ea: Pulling fs layer 11:49:14 c5a4b2cf53e6: Pulling fs layer 11:49:14 9f32a84ed3da: Waiting 11:49:14 9325e15d5711: Waiting 11:49:14 556b6ee489ea: Waiting 11:49:14 4d19c01a9841: Waiting 11:49:14 c5a4b2cf53e6: Waiting 11:49:14 85791d961cd3: Verifying Checksum 11:49:14 85791d961cd3: Download complete 11:49:14 9f32a84ed3da: Verifying Checksum 11:49:14 4d19c01a9841: Download complete 11:49:14 f56be85fc22e: Verifying Checksum 11:49:14 f56be85fc22e: Download complete 11:49:14 9325e15d5711: Verifying Checksum 11:49:14 9325e15d5711: Download complete 11:49:14 f56be85fc22e: Pull complete 11:49:14 85791d961cd3: Pull complete 11:49:15 c5a4b2cf53e6: Verifying Checksum 11:49:15 d694b5ae8c79: Verifying Checksum 11:49:15 d694b5ae8c79: Download complete 11:49:15 556b6ee489ea: Verifying Checksum 11:49:15 556b6ee489ea: Download complete 11:49:18 d694b5ae8c79: Pull complete 11:49:18 9f32a84ed3da: Pull complete 11:49:18 4d19c01a9841: Pull complete 11:49:18 9325e15d5711: Pull complete 11:49:20 556b6ee489ea: Pull complete 11:49:21 c5a4b2cf53e6: Pull complete 11:49:21 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 11:49:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 11:49:21 ---> c4be618373d6 11:49:21 Step 3/13 : ARG ADD_BUILD_TAGS="" 11:49:25 ---> Running in 77486789a827 11:49:25 Removing intermediate container 77486789a827 11:49:25 ---> 5ec37770a7a2 11:49:25 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:49:25 ---> Running in bc8473e503c0 11:49:25 Removing intermediate container bc8473e503c0 11:49:25 ---> 251f1179f575 11:49:25 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 11:49:25 ---> Running in 116d2da79f7d 11:49:25 Removing intermediate container 116d2da79f7d 11:49:25 ---> 2c83a4f6d66f 11:49:25 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 11:49:25 ---> Running in 620b799a7c8e 11:49:25 Removing intermediate container 620b799a7c8e 11:49:25 ---> 21f736888f84 11:49:25 Step 7/13 : LABEL Name=edgex-device-onvif-camera 11:49:25 ---> Running in 670a5c5d08fa 11:49:25 Removing intermediate container 670a5c5d08fa 11:49:25 ---> 02c51ae212fb 11:49:25 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:49:25 ---> Running in 1769c67c177c 11:49:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:49:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:49:26 OK: 265 MiB in 53 packages 11:49:27 Removing intermediate container 1769c67c177c 11:49:27 ---> 5f089507c897 11:49:27 Step 9/13 : WORKDIR /device-onvif-camera 11:49:27 ---> Running in 7b182bc8d6eb 11:49:27 Removing intermediate container 7b182bc8d6eb 11:49:27 ---> c42123cec7c2 11:49:27 Step 10/13 : COPY go.mod vendor* ./ 11:49:27 ---> 53f85d86b299 11:49:27 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:49:27 ---> Running in 7f8e39045e1b 11:49:27 Still waiting to schedule task 11:49:27 ‘prd-centos7-blackbox-4c-2g-15339’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 11:49:27 ‘prd-centos7-blackbox-4c-2g-15340’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 11:49:27 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15713’ is offline 11:49:53 Removing intermediate container 7f8e39045e1b 11:49:53 ---> 11553519e78b 11:49:53 Step 12/13 : COPY . . 11:49:53 ---> 2a50e5c7c3b9 11:49:53 Step 13/13 : RUN ${MAKE} 11:49:53 ---> Running in 9c5c9878dd12 11:49:54 noop 11:49:54 Removing intermediate container 9c5c9878dd12 11:49:54 ---> fd1b8f5391c0 11:49:54 Successfully built fd1b8f5391c0 11:49:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:49:54 + docker inspect -f . ci-base-image-x86_64 11:49:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:49:54 prd-ubuntu20.04-docker-8c-8g-15712 does not seem to be running inside a container 11:49:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@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 ******** ci-base-image-x86_64 cat 11:49:55 $ docker top 7b89525ccc9a2770fa2e18d412adc204ad80d000d5a557e2a50b27d8a0c0ff18 -eo pid,comm [Pipeline] { [Pipeline] sh 11:49:55 + go version 11:49:55 go version go1.20.2 linux/amd64 [Pipeline] } 11:49:55 $ docker stop --time=1 7b89525ccc9a2770fa2e18d412adc204ad80d000d5a557e2a50b27d8a0c0ff18 11:49:56 $ docker rm -f --volumes 7b89525ccc9a2770fa2e18d412adc204ad80d000d5a557e2a50b27d8a0c0ff18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:49:57 + docker inspect -f . ci-base-image-x86_64 11:49:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:49:57 prd-ubuntu20.04-docker-8c-8g-15712 does not seem to be running inside a container 11:49:57 $ 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-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@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 ******** ci-base-image-x86_64 cat 11:49:57 $ docker top 91d5bd2d1d4284718bf7aa4dc1c9a681df3e970adfca90e28cb8cd1bea529cd8 -eo pid,comm [Pipeline] { [Pipeline] sh 11:49:57 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-362 [Pipeline] fileExists [Pipeline] sh 11:49:58 + make test 11:49:58 go test ./... -coverprofile=coverage.out ./... 11:50:03 ? github.com/edgexfoundry/device-onvif-camera [no test files] 11:50:13 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 11:50:13 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 11:50:14 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.4% of statements 11:50:14 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.177s coverage: 86.5% of statements 11:50:21 go vet ./... 11:50:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:50:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:50:24 ./bin/test-attribution-txt.sh [Pipeline] echo 11:50:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:50:24 $ docker stop --time=1 91d5bd2d1d4284718bf7aa4dc1c9a681df3e970adfca90e28cb8cd1bea529cd8 11:50:28 $ docker rm -f --volumes 91d5bd2d1d4284718bf7aa4dc1c9a681df3e970adfca90e28cb8cd1bea529cd8 [Pipeline] // withDockerContainer [Pipeline] sh 11:50:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:50:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:50:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:50:29 + ls -al . 11:50:29 total 232 11:50:29 drwxrwxr-x 10 jenkins jenkins 4096 May 16 11:49 . 11:50:29 drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:48 .. 11:50:29 drwxrwxr-x 8 jenkins jenkins 4096 May 16 11:49 .git 11:50:29 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:48 .github 11:50:29 -rw-rw-r-- 1 jenkins jenkins 496 May 16 11:48 .gitignore 11:50:29 -rw-rw-r-- 1 jenkins jenkins 42 May 16 11:48 .golangci.yml 11:50:29 drwxr-xr-x 3 jenkins jenkins 4096 May 16 11:49 .semver 11:50:29 -rw-rw-r-- 1 jenkins jenkins 10087 May 16 11:48 Attribution.txt 11:50:29 -rw-rw-r-- 1 jenkins jenkins 6312 May 16 11:48 CHANGELOG.md 11:50:29 -rw-rw-r-- 1 jenkins jenkins 1574 May 16 11:48 Dockerfile 11:50:29 -rw-rw-r-- 1 jenkins jenkins 677 May 16 11:48 GOVERNANCE.md 11:50:29 -rw-rw-r-- 1 jenkins jenkins 739 May 16 11:48 Jenkinsfile 11:50:29 -rw-rw-r-- 1 jenkins jenkins 11348 May 16 11:48 LICENSE 11:50:29 -rw-rw-r-- 1 jenkins jenkins 2751 May 16 11:48 Makefile 11:50:29 -rw-rw-r-- 1 jenkins jenkins 625 May 16 11:48 OWNERS.md 11:50:29 -rw-rw-r-- 1 jenkins jenkins 2690 May 16 11:48 README.md 11:50:29 -rw-rw-r-- 1 jenkins jenkins 5 May 16 11:49 VERSION 11:50:29 drwxrwxr-x 2 jenkins jenkins 4096 May 16 11:48 bin 11:50:29 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:48 cmd 11:50:29 -rw-r--r-- 1 jenkins jenkins 78459 May 16 11:50 coverage.out 11:50:29 drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:48 doc 11:50:29 -rw-rw-r-- 1 jenkins jenkins 3642 May 16 11:48 go.mod 11:50:29 -rw-rw-r-- 1 jenkins jenkins 33491 May 16 11:48 go.sum 11:50:29 drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:48 internal 11:50:29 drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:48 snap 11:50:29 -rw-rw-r-- 1 jenkins jenkins 236 May 16 11:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:29 + 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=9efdaeb0c936031f9651aefd1e4bba13124b75e2 --label arch=amd64 --label version=0.0.0 . 11:50:29 Sending build context to Docker daemon 21.91MB 11:50:29 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 11:50:29 Step 2/26 : FROM ${BASE} AS builder 11:50:29 ---> fd1b8f5391c0 11:50:29 Step 3/26 : ARG ADD_BUILD_TAGS="" 11:50:30 ---> Running in 414727a62182 11:50:30 Removing intermediate container 414727a62182 11:50:30 ---> 9916101be2fc 11:50:30 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:50:30 ---> Running in 77262d951de6 11:50:30 Removing intermediate container 77262d951de6 11:50:30 ---> ca6d04e44500 11:50:30 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 11:50:30 ---> Running in 5611398c53dd 11:50:30 Removing intermediate container 5611398c53dd 11:50:30 ---> fcebcfa032c4 11:50:30 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 11:50:30 ---> Running in a8b7695d5ee8 11:50:30 Removing intermediate container a8b7695d5ee8 11:50:30 ---> a4829e6f833a 11:50:30 Step 7/26 : LABEL Name=edgex-device-onvif-camera 11:50:30 ---> Running in 78dd37e1b5c5 11:50:30 Removing intermediate container 78dd37e1b5c5 11:50:30 ---> b12a7786edcc 11:50:30 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:50:30 ---> Running in b6c2461e4023 11:50:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:50:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:50:31 OK: 265 MiB in 53 packages 11:50:31 Removing intermediate container b6c2461e4023 11:50:31 ---> 4ca51b694def 11:50:31 Step 9/26 : WORKDIR /device-onvif-camera 11:50:31 ---> Running in b619c19d03fc 11:50:31 Removing intermediate container b619c19d03fc 11:50:31 ---> 0410d35ab924 11:50:31 Step 10/26 : COPY go.mod vendor* ./ 11:50:31 ---> 71793d9fc476 11:50:31 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:50:31 ---> Running in 4a22f3ff357b 11:50:32 Removing intermediate container 4a22f3ff357b 11:50:32 ---> 928a7ccdfc60 11:50:32 Step 12/26 : COPY . . 11:50:33 ---> fa63ab9fd643 11:50:33 Step 13/26 : RUN ${MAKE} 11:50:33 ---> Running in 939a7e9a22ce 11:50:33 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 11:50:55 Removing intermediate container 939a7e9a22ce 11:50:55 ---> fbb25ec12c28 11:50:55 Step 14/26 : FROM alpine:3.17 11:50:55 3.17: Pulling from library/alpine 11:50:55 f56be85fc22e: Already exists 11:50:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 11:50:55 Status: Downloaded newer image for alpine:3.17 11:50:55 ---> 9ed4aefc74f6 11:50:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 11:50:55 ---> Running in cf7e314d9130 11:50:55 Removing intermediate container cf7e314d9130 11:50:55 ---> b3db8cc379f7 11:50:55 Step 16/26 : RUN apk add --update --no-cache dumb-init 11:50:55 ---> Running in e1cfce501365 11:50:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:50:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:50:55 (1/1) Installing dumb-init (1.2.5-r2) 11:50:55 Executing busybox-1.35.0-r29.trigger 11:50:55 OK: 7 MiB in 16 packages 11:50:55 Removing intermediate container e1cfce501365 11:50:55 ---> 7f9164d76caf 11:50:55 Step 17/26 : WORKDIR / 11:50:55 ---> Running in 25c985f77a8e 11:50:55 Removing intermediate container 25c985f77a8e 11:50:55 ---> 43eeb362efa0 11:50:55 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 11:50:55 ---> 70424cd15515 11:50:55 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 11:50:55 ---> 7624eb2001ba 11:50:55 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 11:50:55 ---> 995dd38a3e92 11:50:55 Step 21/26 : EXPOSE 59984 11:50:55 ---> Running in cc653e238dad 11:50:55 Removing intermediate container cc653e238dad 11:50:55 ---> c62da3b8c5f5 11:50:55 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 11:50:55 ---> Running in 79dac390fcfa 11:50:55 Removing intermediate container 79dac390fcfa 11:50:55 ---> 49415dbebda1 11:50:55 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:50:55 ---> Running in 95e8a5baefa9 11:50:55 Removing intermediate container 95e8a5baefa9 11:50:55 ---> c4c34efa4f92 11:50:55 Step 24/26 : LABEL arch=amd64 11:50:55 ---> Running in 925cbc7eb990 11:50:55 Removing intermediate container 925cbc7eb990 11:50:55 ---> 12d4acb6e44c 11:50:55 Step 25/26 : LABEL git_sha=9efdaeb0c936031f9651aefd1e4bba13124b75e2 11:50:55 ---> Running in 207926fbd46f 11:50:55 Removing intermediate container 207926fbd46f 11:50:55 ---> 27394a0026b2 11:50:55 Step 26/26 : LABEL version=0.0.0 11:50:55 ---> Running in 1bc754acc870 11:50:55 Removing intermediate container 1bc754acc870 11:50:55 ---> 2b6688522a3d 11:50:55 [Warning] One or more build-args [ARCH] were not consumed 11:50:55 Successfully built 2b6688522a3d 11:50:55 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 11:50:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:50:56 11:50:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:50:56 latest: Pulling from edgex-lftools-log-publisher 11:50:56 5eb5b503b376: Pulling fs layer 11:50:56 5c69ac0246d0: Pulling fs layer 11:50:56 ec43610c2a17: Pulling fs layer 11:50:56 3a2ae6a8a46f: Pulling fs layer 11:50:56 33b1e0a273af: Pulling fs layer 11:50:56 5d3b04190fa2: Pulling fs layer 11:50:56 2f39f015ded8: Pulling fs layer 11:50:56 3a2ae6a8a46f: Waiting 11:50:56 33b1e0a273af: Waiting 11:50:56 5d3b04190fa2: Waiting 11:50:56 2f39f015ded8: Waiting 11:50:56 5c69ac0246d0: Download complete 11:50:56 3a2ae6a8a46f: Download complete 11:50:56 33b1e0a273af: Verifying Checksum 11:50:56 33b1e0a273af: Download complete 11:50:56 5d3b04190fa2: Verifying Checksum 11:50:56 5d3b04190fa2: Download complete 11:50:56 ec43610c2a17: Verifying Checksum 11:50:56 ec43610c2a17: Download complete 11:50:56 5eb5b503b376: Verifying Checksum 11:50:56 5eb5b503b376: Download complete 11:50:57 2f39f015ded8: Download complete 11:50:57 5eb5b503b376: Pull complete 11:50:57 5c69ac0246d0: Pull complete 11:50:58 ec43610c2a17: Pull complete 11:50:58 3a2ae6a8a46f: Pull complete 11:50:58 33b1e0a273af: Pull complete 11:50:58 5d3b04190fa2: Pull complete 11:51:03 2f39f015ded8: Pull complete 11:51:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:51:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:51:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:51:03 prd-ubuntu20.04-docker-8c-8g-15712 does not seem to be running inside a container 11:51:03 $ 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-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@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 11:51:07 $ docker top 09c322a1a80a37f2765c9d05f23a720324243f4845ccd05a7cc0cb0c204c21c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:51:07 ---> job-cost.sh 11:51:07 lf-activate-venv: SKIPPING 11:51:07 INFO: No Stack... 11:51:07 INFO: Retrieving Pricing Info for: v3-standard-8 11:51:08 INFO: Archiving Costs [Pipeline] sh 11:51:08 + cat /w/workspace/undry_device-onvif-camera_PR-362/archives/cost.csv 11:51:08 + cut -d, -f6 [Pipeline] lock 11:51:08 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-362-3-stack-cost] 11:51:08 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-362-3-stack-cost] did not exist. Created. 11:51:08 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-362-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:51:08 + echo total: 0.2199999988079071 [Pipeline] stash 11:51:08 Stashed 1 file(s) [Pipeline] } 11:51:08 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-362-3-stack-cost] [Pipeline] // lock [Pipeline] } 11:51:08 $ docker stop --time=1 09c322a1a80a37f2765c9d05f23a720324243f4845ccd05a7cc0cb0c204c21c7 11:51:10 $ docker rm -f --volumes 09c322a1a80a37f2765c9d05f23a720324243f4845ccd05a7cc0cb0c204c21c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:52:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15715 in /w/workspace/undry_device-onvif-camera_PR-362 [Pipeline] { [Pipeline] ws 11:52:19 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 11:52:19 The recommended git tool is: git 11:52:29 using credential edgex-jenkins-ssh 11:52:29 Cloning the remote Git repository 11:52:29 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 11:52:29 > git init /w/workspace/device-onvif-camera/3 # timeout=10 11:52:29 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 11:52:29 > git --version # timeout=10 11:52:29 > git --version # 'git version 2.25.1' 11:52:29 using GIT_SSH to set credentials SSH Credentials for GitHub 11:52:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:52:31 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 11:52:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:52:32 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 11:52:32 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 11:52:32 using GIT_SSH to set credentials SSH Credentials for GitHub 11:52:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/362/head:refs/remotes/origin/PR-362 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:52:33 Merging remotes/origin/main commit c4faddb2a87debb4847eb62e77eafc712bf7e65e into PR head commit 9efdaeb0c936031f9651aefd1e4bba13124b75e2 11:52:33 Merge succeeded, producing 9efdaeb0c936031f9651aefd1e4bba13124b75e2 11:52:33 Checking out Revision 9efdaeb0c936031f9651aefd1e4bba13124b75e2 (PR-362) 11:52:34 Commit message: "build(snap): Bump epoch for major v3 upgrade" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 11:52:33 > git config core.sparsecheckout # timeout=10 11:52:33 > git checkout -f 9efdaeb0c936031f9651aefd1e4bba13124b75e2 # timeout=10 11:52:33 > git remote # timeout=10 11:52:33 > git config --get remote.origin.url # timeout=10 11:52:33 using GIT_SSH to set credentials SSH Credentials for GitHub 11:52:33 > git merge c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 11:52:33 > git rev-parse HEAD^{commit} # timeout=10 11:52:33 > git config core.sparsecheckout # timeout=10 11:52:33 > git checkout -f 9efdaeb0c936031f9651aefd1e4bba13124b75e2 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 11:52:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:52:35 % Total % Received % Xferd Average Speed Time Time Time Current 11:52:35 Dload Upload Total Spent Left Speed 11:52:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 11:52:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:52:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:52:36 + sudo tee /etc/docker/daemon.new 11:52:36 { 11:52:36 "registry-mirrors": [ 11:52:36 "https://nexus3.edgexfoundry.org:10001" 11:52:36 ], 11:52:36 "bip": "10.250.0.254/24", 11:52:36 "hosts": [ 11:52:36 "tcp://0.0.0.0:5555", 11:52:36 "unix:///var/run/docker.sock" 11:52:36 ], 11:52:36 "mtu": 1458, 11:52:36 "selinux-enabled": true, 11:52:36 "seccomp-profile": "/etc/docker/seccomp.json" 11:52:36 } [Pipeline] sh 11:52:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:52:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:52:55 provisioning config files... 11:52:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config17715107082292503084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:52:56 ---> docker-login.sh 11:52:56 nexus3.edgexfoundry.org:10001 11:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:56 Configure a credential helper to remove this warning. See 11:52:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:56 11:52:56 Login Succeeded 11:52:56 nexus3.edgexfoundry.org:10002 11:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:57 Configure a credential helper to remove this warning. See 11:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:57 11:52:57 Login Succeeded 11:52:57 nexus3.edgexfoundry.org:10003 11:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:57 Configure a credential helper to remove this warning. See 11:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:57 11:52:57 Login Succeeded 11:52:57 nexus3.edgexfoundry.org:10004 11:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:57 Configure a credential helper to remove this warning. See 11:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:57 11:52:57 Login Succeeded 11:52:57 docker.io 11:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:58 Configure a credential helper to remove this warning. See 11:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:58 11:52:58 Login Succeeded 11:52:58 ---> docker-login.sh ends [Pipeline] } 11:52:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:52:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:52:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:52:59 ========================================================= 11:52:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 11:52:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:59 + 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 . 11:52:59 Sending build context to Docker daemon 14.33MB 11:52:59 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 11:52:59 Step 2/13 : FROM ${BASE} AS builder 11:52:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:52:59 c41833b44d91: Pulling fs layer 11:52:59 ed15518f5707: Pulling fs layer 11:52:59 feae8fd75edb: Pulling fs layer 11:52:59 242c74f7c9fa: Pulling fs layer 11:52:59 3cdef696dda3: Pulling fs layer 11:52:59 2ced38df9373: Pulling fs layer 11:52:59 58f1dce35555: Pulling fs layer 11:52:59 242c74f7c9fa: Waiting 11:52:59 3cdef696dda3: Waiting 11:52:59 2ced38df9373: Waiting 11:52:59 58f1dce35555: Waiting 11:53:00 ed15518f5707: Verifying Checksum 11:53:00 ed15518f5707: Download complete 11:53:00 242c74f7c9fa: Verifying Checksum 11:53:00 242c74f7c9fa: Download complete 11:53:00 3cdef696dda3: Verifying Checksum 11:53:00 3cdef696dda3: Download complete 11:53:00 c41833b44d91: Verifying Checksum 11:53:00 c41833b44d91: Download complete 11:53:01 c41833b44d91: Pull complete 11:53:01 58f1dce35555: Verifying Checksum 11:53:01 58f1dce35555: Download complete 11:53:01 ed15518f5707: Pull complete 11:53:02 feae8fd75edb: Verifying Checksum 11:53:02 feae8fd75edb: Download complete 11:53:02 2ced38df9373: Verifying Checksum 11:53:02 2ced38df9373: Download complete 11:53:15 feae8fd75edb: Pull complete 11:53:15 242c74f7c9fa: Pull complete 11:53:15 3cdef696dda3: Pull complete 11:53:22 2ced38df9373: Pull complete 11:53:25 58f1dce35555: Pull complete 11:53:25 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 11:53:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 11:53:25 ---> fadd8f120f05 11:53:25 Step 3/13 : ARG ADD_BUILD_TAGS="" 11:53:27 ---> Running in 5ddaddd03ecf 11:53:27 Removing intermediate container 5ddaddd03ecf 11:53:27 ---> bbf3145dd72d 11:53:27 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:53:27 ---> Running in 25cb9ab55765 11:53:28 Removing intermediate container 25cb9ab55765 11:53:28 ---> f1cce7baab03 11:53:28 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 11:53:28 ---> Running in a320c7cd1edc 11:53:28 Removing intermediate container a320c7cd1edc 11:53:28 ---> 960946c5e5ca 11:53:28 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 11:53:28 ---> Running in 4befa03e1a95 11:53:29 Removing intermediate container 4befa03e1a95 11:53:29 ---> 0243351c8033 11:53:29 Step 7/13 : LABEL Name=edgex-device-onvif-camera 11:53:29 ---> Running in 3cef68cb6646 11:53:29 Removing intermediate container 3cef68cb6646 11:53:29 ---> fc7c5f33a56c 11:53:29 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:53:29 ---> Running in dbbc3abf17b5 11:53:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:53:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:53:34 OK: 263 MiB in 53 packages 11:53:34 Removing intermediate container dbbc3abf17b5 11:53:34 ---> 4c5bb506e7c2 11:53:34 Step 9/13 : WORKDIR /device-onvif-camera 11:53:34 ---> Running in 3373ce3a66b2 11:53:35 Removing intermediate container 3373ce3a66b2 11:53:35 ---> d9fe3b972509 11:53:35 Step 10/13 : COPY go.mod vendor* ./ 11:53:35 ---> c1165e149708 11:53:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:53:35 ---> Running in 18485f4452b6 11:54:43 Removing intermediate container 18485f4452b6 11:54:43 ---> cc84191ef86c 11:54:43 Step 12/13 : COPY . . 11:54:43 ---> 6dfc917a1bd6 11:54:43 Step 13/13 : RUN ${MAKE} 11:54:43 ---> Running in e9fc8eb224c3 11:54:44 noop 11:54:45 Removing intermediate container e9fc8eb224c3 11:54:45 ---> 213c65dc081a 11:54:45 Successfully built 213c65dc081a 11:54:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:46 + docker inspect -f . ci-base-image-arm64 11:54:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:54:46 prd-ubuntu20.04-docker-arm64-4c-16g-15715 does not seem to be running inside a container 11:54:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:54:47 $ docker top 8d57d669e96bc5f23cbd3ef99207dc3dd920c66943125039096ba332d3e605f3 -eo pid,comm [Pipeline] { [Pipeline] sh 11:54:48 + go version 11:54:48 go version go1.20.2 linux/arm64 [Pipeline] } 11:54:48 $ docker stop --time=1 8d57d669e96bc5f23cbd3ef99207dc3dd920c66943125039096ba332d3e605f3 11:54:50 $ docker rm -f --volumes 8d57d669e96bc5f23cbd3ef99207dc3dd920c66943125039096ba332d3e605f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:51 + docker inspect -f . ci-base-image-arm64 11:54:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:54:51 prd-ubuntu20.04-docker-arm64-4c-16g-15715 does not seem to be running inside a container 11:54:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:54:52 $ docker top 6299856f72aa76e91a60de95941c3e6ab920ff94306e060b99549f65922fff79 -eo pid,comm [Pipeline] { [Pipeline] sh 11:54:53 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 11:54:54 + make test 11:54:54 go test ./... -coverprofile=coverage.out ./... 11:55:33 ? github.com/edgexfoundry/device-onvif-camera [no test files] 11:57:54 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 11:57:54 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 11:57:54 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.231s coverage: 31.4% of statements 11:58:10 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.367s coverage: 86.5% of statements 11:58:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:58:10 go vet ./... 11:58:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:58:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:58:42 ./bin/test-attribution-txt.sh [Pipeline] echo 11:58:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:58:42 $ docker stop --time=1 6299856f72aa76e91a60de95941c3e6ab920ff94306e060b99549f65922fff79 11:58:44 $ docker rm -f --volumes 6299856f72aa76e91a60de95941c3e6ab920ff94306e060b99549f65922fff79 [Pipeline] // withDockerContainer [Pipeline] sh 11:58:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:58:45 Warning: overwriting stash ‘coverage-report’ 11:58:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:58:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:58:47 + ls -al . 11:58:47 total 228 11:58:47 drwxrwxr-x 9 jenkins jenkins 4096 May 16 11:54 . 11:58:47 drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:52 .. 11:58:47 drwxrwxr-x 8 jenkins jenkins 4096 May 16 11:52 .git 11:58:47 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:52 .github 11:58:47 -rw-rw-r-- 1 jenkins jenkins 496 May 16 11:52 .gitignore 11:58:47 -rw-rw-r-- 1 jenkins jenkins 42 May 16 11:52 .golangci.yml 11:58:47 -rw-rw-r-- 1 jenkins jenkins 10087 May 16 11:52 Attribution.txt 11:58:47 -rw-rw-r-- 1 jenkins jenkins 6312 May 16 11:52 CHANGELOG.md 11:58:47 -rw-rw-r-- 1 jenkins jenkins 1574 May 16 11:52 Dockerfile 11:58:47 -rw-rw-r-- 1 jenkins jenkins 677 May 16 11:52 GOVERNANCE.md 11:58:47 -rw-rw-r-- 1 jenkins jenkins 739 May 16 11:52 Jenkinsfile 11:58:47 -rw-rw-r-- 1 jenkins jenkins 11348 May 16 11:52 LICENSE 11:58:47 -rw-rw-r-- 1 jenkins jenkins 2751 May 16 11:52 Makefile 11:58:47 -rw-rw-r-- 1 jenkins jenkins 625 May 16 11:52 OWNERS.md 11:58:47 -rw-rw-r-- 1 jenkins jenkins 2690 May 16 11:52 README.md 11:58:47 -rw-rw-r-- 1 jenkins jenkins 5 May 16 11:49 VERSION 11:58:47 drwxrwxr-x 2 jenkins jenkins 4096 May 16 11:52 bin 11:58:47 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:52 cmd 11:58:47 -rw-r--r-- 1 jenkins jenkins 78459 May 16 11:58 coverage.out 11:58:47 drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:52 doc 11:58:47 -rw-rw-r-- 1 jenkins jenkins 3642 May 16 11:52 go.mod 11:58:47 -rw-rw-r-- 1 jenkins jenkins 33491 May 16 11:52 go.sum 11:58:47 drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:52 internal 11:58:47 drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:52 snap 11:58:47 -rw-rw-r-- 1 jenkins jenkins 236 May 16 11:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:58:47 + 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=9efdaeb0c936031f9651aefd1e4bba13124b75e2 --label arch=arm64 --label version=0.0.0 . 11:58:48 Sending build context to Docker daemon 14.41MB 11:58:48 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 11:58:48 Step 2/26 : FROM ${BASE} AS builder 11:58:48 ---> 213c65dc081a 11:58:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 11:58:48 ---> Running in 2d08a34d8e24 11:58:48 Removing intermediate container 2d08a34d8e24 11:58:48 ---> 9144e4493290 11:58:48 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:58:48 ---> Running in 0bd70130c7ad 11:58:48 Removing intermediate container 0bd70130c7ad 11:58:48 ---> 9cd27297e4b6 11:58:48 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 11:58:49 ---> Running in 1641e0158e08 11:58:49 Removing intermediate container 1641e0158e08 11:58:49 ---> 1cf85783f057 11:58:49 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 11:58:49 ---> Running in 201404cb7220 11:58:49 Removing intermediate container 201404cb7220 11:58:49 ---> 95ee0a491060 11:58:49 Step 7/26 : LABEL Name=edgex-device-onvif-camera 11:58:49 ---> Running in 1dfb22920af6 11:58:50 Removing intermediate container 1dfb22920af6 11:58:50 ---> ce09731b500f 11:58:50 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:58:50 ---> Running in a649377a354b 11:58:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:58:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:58:53 OK: 263 MiB in 53 packages 11:58:54 Removing intermediate container a649377a354b 11:58:54 ---> 718ade4db5cd 11:58:54 Step 9/26 : WORKDIR /device-onvif-camera 11:58:54 ---> Running in c77d91c426b6 11:58:54 Removing intermediate container c77d91c426b6 11:58:54 ---> 4e3fe6002565 11:58:54 Step 10/26 : COPY go.mod vendor* ./ 11:58:55 ---> 1641c0258c14 11:58:55 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:58:55 ---> Running in 5ecff9109c85 11:59:04 Removing intermediate container 5ecff9109c85 11:59:04 ---> 9db1c1d1c39c 11:59:04 Step 12/26 : COPY . . 11:59:04 ---> a03b97f075e0 11:59:04 Step 13/26 : RUN ${MAKE} 11:59:04 ---> Running in 66b0c32809f3 11:59:04 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 12:01:28 Removing intermediate container 66b0c32809f3 12:01:28 ---> 54bc5cda4e7f 12:01:28 Step 14/26 : FROM alpine:3.17 12:01:28 3.17: Pulling from library/alpine 12:01:28 c41833b44d91: Already exists 12:01:28 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 12:01:28 Status: Downloaded newer image for alpine:3.17 12:01:28 ---> 51e60588ff2c 12:01:28 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 12:01:28 ---> Running in 970aba4f5329 12:01:28 Removing intermediate container 970aba4f5329 12:01:28 ---> 68fdffca1543 12:01:28 Step 16/26 : RUN apk add --update --no-cache dumb-init 12:01:28 ---> Running in 80101320a92b 12:01:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:01:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:01:29 (1/1) Installing dumb-init (1.2.5-r2) 12:01:29 Executing busybox-1.35.0-r29.trigger 12:01:29 OK: 8 MiB in 16 packages 12:01:30 Removing intermediate container 80101320a92b 12:01:30 ---> aa2b84d56ffc 12:01:30 Step 17/26 : WORKDIR / 12:01:30 ---> Running in b881133280d6 12:01:31 Removing intermediate container b881133280d6 12:01:31 ---> f067cfe2c330 12:01:31 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 12:01:32 ---> 23470c1ad59b 12:01:32 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 12:01:33 ---> 974fc048e92a 12:01:33 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 12:01:33 ---> cdf1e8c8e4b4 12:01:33 Step 21/26 : EXPOSE 59984 12:01:33 ---> Running in 17c9dcc227bf 12:01:34 Removing intermediate container 17c9dcc227bf 12:01:34 ---> 57ca5ea84f3c 12:01:34 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 12:01:34 ---> Running in 504047e44bc2 12:01:34 Removing intermediate container 504047e44bc2 12:01:34 ---> 023ab17a9161 12:01:34 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:01:34 ---> Running in 9936da7f0792 12:01:34 Removing intermediate container 9936da7f0792 12:01:34 ---> 3397feaf9082 12:01:34 Step 24/26 : LABEL arch=arm64 12:01:34 ---> Running in 334873e56959 12:01:35 Removing intermediate container 334873e56959 12:01:35 ---> e976cc2d1272 12:01:35 Step 25/26 : LABEL git_sha=9efdaeb0c936031f9651aefd1e4bba13124b75e2 12:01:35 ---> Running in 1dcd072acfeb 12:01:35 Removing intermediate container 1dcd072acfeb 12:01:35 ---> 3e4c140a524b 12:01:35 Step 26/26 : LABEL version=0.0.0 12:01:35 ---> Running in 99bf24e07e3d 12:01:35 Removing intermediate container 99bf24e07e3d 12:01:35 ---> d0e1791f8842 12:01:35 [Warning] One or more build-args [ARCH] were not consumed 12:01:35 Successfully built d0e1791f8842 12:01:35 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 12:01:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:01:36 12:01:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:01:36 arm64: Pulling from edgex-lftools-log-publisher 12:01:36 8998bd30e6a1: Pulling fs layer 12:01:36 04944245beec: Pulling fs layer 12:01:36 699f458cf7ca: Pulling fs layer 12:01:36 765212b225bb: Pulling fs layer 12:01:36 f23df028b6ca: Pulling fs layer 12:01:36 d65c8cfc05b1: Pulling fs layer 12:01:36 2437ff75d9bd: Pulling fs layer 12:01:36 f23df028b6ca: Waiting 12:01:36 d65c8cfc05b1: Waiting 12:01:36 765212b225bb: Waiting 12:01:36 2437ff75d9bd: Waiting 12:01:37 04944245beec: Verifying Checksum 12:01:37 04944245beec: Download complete 12:01:37 765212b225bb: Verifying Checksum 12:01:37 765212b225bb: Download complete 12:01:37 f23df028b6ca: Verifying Checksum 12:01:37 f23df028b6ca: Download complete 12:01:37 d65c8cfc05b1: Verifying Checksum 12:01:37 d65c8cfc05b1: Download complete 12:01:37 699f458cf7ca: Download complete 12:01:37 8998bd30e6a1: Verifying Checksum 12:01:37 8998bd30e6a1: Download complete 12:01:39 2437ff75d9bd: Verifying Checksum 12:01:39 2437ff75d9bd: Download complete 12:01:41 8998bd30e6a1: Pull complete 12:01:41 04944245beec: Pull complete 12:01:43 699f458cf7ca: Pull complete 12:01:43 765212b225bb: Pull complete 12:01:45 f23df028b6ca: Pull complete 12:01:45 d65c8cfc05b1: Pull complete 12:02:00 2437ff75d9bd: Pull complete 12:02:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:02:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:02:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:00 prd-ubuntu20.04-docker-arm64-4c-16g-15715 does not seem to be running inside a container 12:02:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:02:03 $ docker top 85bd16eb21245b1b309dd6c3176ccd4fd32e16471ecde4756145a3244c99526c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:02:03 ---> job-cost.sh 12:02:04 lf-activate-venv: SKIPPING 12:02:04 INFO: No Stack... 12:02:04 INFO: Retrieving Pricing Info for: v3-standard-4 12:02:05 INFO: Archiving Costs [Pipeline] sh 12:02:06 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 12:02:06 + cut -d, -f6 [Pipeline] lock 12:02:06 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-362-3-stack-cost] 12:02:06 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-362-3-stack-cost] did not exist. Created. 12:02:06 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-362-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:02:06 /w/workspace/device-onvif-camera/3@tmp/durable-8ada55ae/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:02:07 + echo total: 0.10999999940395355 [Pipeline] stash 12:02:07 Warning: overwriting stash ‘stack-cost’ 12:02:07 Stashed 1 file(s) [Pipeline] } 12:02:07 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-362-3-stack-cost] [Pipeline] // lock [Pipeline] } 12:02:07 $ docker stop --time=1 85bd16eb21245b1b309dd6c3176ccd4fd32e16471ecde4756145a3244c99526c 12:02:08 $ docker rm -f --volumes 85bd16eb21245b1b309dd6c3176ccd4fd32e16471ecde4756145a3244c99526c [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 12:02:09 provisioning config files... 12:02:09 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-362@tmp/config13886341252113311384tmp [Pipeline] { [Pipeline] sh 12:02:09 + set +x 12:02:09 + curl -s https://codecov.io/bash 12:02:09 + bash -s -- 12:02:09 12:02:09 _____ _ 12:02:09 / ____| | | 12:02:09 | | ___ __| | ___ ___ _____ __ 12:02:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:02:09 | |___| (_) | (_| | __/ (_| (_) \ V / 12:02:09 \_____\___/ \__,_|\___|\___\___/ \_/ 12:02:09 Bash-1.0.6 12:02:09 12:02:09 12:02:09 ==> git version 2.25.1 found 12:02:09 ==> 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 12:02:09 Release-Date: 2020-01-08 12:02:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:02:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:02:09 ==> Jenkins CI detected. 12:02:09 current dir:  /w/workspace/undry_device-onvif-camera_PR-362 12:02:09 project root: . 12:02:09 --> token set from env 12:02:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:02:09 ==> Running gcov in . (disable via -X gcov) 12:02:09 ==> Python coveragepy not found 12:02:09 ==> Searching for coverage reports in: 12:02:09 + . 12:02:09 -> Found 1 reports 12:02:09 ==> Detecting git/mercurial file structure 12:02:09 ==> Reading reports 12:02:09 + ./coverage.out bytes=78459 12:02:09 ==> Appending adjustments 12:02:09 https://docs.codecov.io/docs/fixing-reports 12:02:09 + Found adjustments 12:02:09 ==> Gzipping contents 12:02:09 12K /tmp/codecov.KQCXdm.gz 12:02:09 ==> Uploading reports 12:02:09 url: https://codecov.io 12:02:09 query: branch=PR-362&commit=9efdaeb0c936031f9651aefd1e4bba13124b75e2&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-362%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=362&job=&cmd_args= 12:02:09 -> Pinging Codecov 12:02:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-362&commit=9efdaeb0c936031f9651aefd1e4bba13124b75e2&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-362%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=362&job=&cmd_args= 12:02:10 -> Uploading to 12:02:10 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/F29A59C45E3A92E06B3E522C9905F8EF/9efdaeb0c936031f9651aefd1e4bba13124b75e2/d5686c1b-57fa-4789-b5f7-084ef0b30e92.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T120209Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4e1f20a59d450a3b2e8aa4cc692627cc68ffcdb62409ce90c0bddde9a9147a98 12:02:10 % Total % Received % Xferd Average Speed Time Time Time Current 12:02:10 Dload Upload Total Spent Left Speed 12:02:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 48875 --:--:-- --:--:-- --:--:-- 49102 12:02:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9efdaeb0c936031f9651aefd1e4bba13124b75e2 [Pipeline] } 12:02:10 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 12:02:11 + [ -d /w/workspace/undry_device-onvif-camera_PR-362/archives ] 12:02:11 + ls -al /w/workspace/undry_device-onvif-camera_PR-362/archives 12:02:11 total 16 12:02:11 drwxr-xr-x 3 root root 4096 May 16 11:51 . 12:02:11 drwxrwxr-x 11 jenkins jenkins 4096 May 16 11:51 .. 12:02:11 drwxr-xr-x 2 root root 4096 May 16 11:51 cost 12:02:11 -rw-r--r-- 1 root root 91 May 16 11:51 cost.csv 12:02:11 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-362/archives 12:02:11 + ls -al /w/workspace/undry_device-onvif-camera_PR-362/archives 12:02:11 total 16 12:02:11 drwxr-xr-x 3 jenkins jenkins 4096 May 16 11:51 . 12:02:11 drwxrwxr-x 11 jenkins jenkins 4096 May 16 11:51 .. 12:02:11 drwxr-xr-x 2 jenkins jenkins 4096 May 16 11:51 cost 12:02:11 -rw-r--r-- 1 jenkins jenkins 91 May 16 11:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:02:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:02:12 ---> package-listing.sh 12:02:12 ++ facter osfamily 12:02:12 ++ tr '[:upper:]' '[:lower:]' 12:02:12 + OS_FAMILY=debian 12:02:12 + workspace=/w/workspace/undry_device-onvif-camera_PR-362 12:02:12 + START_PACKAGES=/tmp/packages_start.txt 12:02:12 + END_PACKAGES=/tmp/packages_end.txt 12:02:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:02:12 + PACKAGES=/tmp/packages_start.txt 12:02:12 + '[' /w/workspace/undry_device-onvif-camera_PR-362 ']' 12:02:12 + PACKAGES=/tmp/packages_end.txt 12:02:12 + case "${OS_FAMILY}" in 12:02:12 + dpkg -l 12:02:12 + grep '^ii' 12:02:12 + '[' -f /tmp/packages_start.txt ']' 12:02:12 + '[' -f /tmp/packages_end.txt ']' 12:02:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:02:12 + '[' /w/workspace/undry_device-onvif-camera_PR-362 ']' 12:02:12 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-362/archives/ 12:02:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-362/archives/ [Pipeline] echo 12:02:12 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-362/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:02:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:02:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:13 prd-ubuntu20.04-docker-8c-8g-15712 does not seem to be running inside a container 12:02:13 $ 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-362/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-362 -v /w/workspace/undry_device-onvif-camera_PR-362:/w/workspace/undry_device-onvif-camera_PR-362:rw,z -v /w/workspace/undry_device-onvif-camera_PR-362@tmp:/w/workspace/undry_device-onvif-camera_PR-362@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:02:13 $ docker top 8c04463e17aa9d0ac5cc2406d5ab72530c88c6097a568347cc240b1e6efba107 -eo pid,comm [Pipeline] { [Pipeline] sh 12:02:14 + touch /tmp/pre-build-complete [Pipeline] sh 12:02:14 + mkdir -p /var/log/sysstat [Pipeline] sh 12:02:14 + ls /var/log/sa-host 12:02:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:02:14 provisioning config files... 12:02:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-362@tmp/config9595488361544739952tmp [Pipeline] { [Pipeline] echo 12:02:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:02:14 ---> create-netrc.sh [Pipeline] } 12:02:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:02:15 ---> python-tools-install.sh [Pipeline] echo 12:02:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:02:15 ---> sudo-logs.sh 12:02:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:02:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:02:15 ---> job-cost.sh 12:02:15 lf-activate-venv: SKIPPING 12:02:15 DEBUG: total: 0.2199999988079071 12:02:15 INFO: Retrieving Stack Cost... 12:02:16 INFO: Retrieving Pricing Info for: v3-standard-8 12:02:16 INFO: Archiving Costs [Pipeline] echo 12:02:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:02:17 ---> logs-deploy.sh 12:02:17 lf-activate-venv: SKIPPING 12:02:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-362/3 12:02:17 INFO: archiving workspace using pattern(s): 12:02:17 Archives upload complete. 12:02:17 INFO: archiving logs to Nexus