Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332+e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 (1939707275619e84c2fb9868bbba661c95d0f888) 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-ssh2949299947805290062.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh12706118433569559453.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-318/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-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5049229914508642101.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh17734951576668815361.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-318/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-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17019672718704224421.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10882 in /w/workspace/undry_device-onvif-camera_PR-318 [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-318 # 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/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 into PR head commit a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 Merge succeeded, producing 36067cc434ed8979ecf98deffcd37e0456a2e22f Checking out Revision 36067cc434ed8979ecf98deffcd37e0456a2e22f (PR-318) > git config core.sparsecheckout # timeout=10 > git checkout -f a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 # 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 e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 36067cc434ed8979ecf98deffcd37e0456a2e22f # timeout=10 Commit message: "Merge commit 'e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:12:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:12:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:12:10 ========================================================= 22:12:10 EdgeX Global Pipelines Version Info 22:12:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:12:10 ------------------- 22:12:10 stable info: 22:12:10 ------------------- 22:12:10 Commited By: Bill Mahoney bill.mahoney@intel.com 22:12:10 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 22:12:10 Message: update stable to v1.0.248 > git rev-list --no-walk cecf5b2265e7688f2622d185c6ddf8302a22eab9 # timeout=10 22:12:11 ------------------- 22:12:11 experimental info: 22:12:11 ------------------- 22:12:11 Commited By: **** collab-it+edgex@linuxfoundation.org 22:12:11 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 22:12:11 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:12:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:12:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:12:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-318 [Pipeline] echo 22:12:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-318 [Pipeline] echo 22:12:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-318 [Pipeline] echo 22:12:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 36067cc434ed8979ecf98deffcd37e0456a2e22f [Pipeline] echo 22:12:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 36067cc [Pipeline] echo 22:12:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:12:12 provisioning config files... 22:12:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-318@tmp/config4305153679688239792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:12 ---> docker-login.sh 22:12:12 nexus3.edgexfoundry.org:10001 22:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:12 Configure a credential helper to remove this warning. See 22:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:12 22:12:12 Login Succeeded 22:12:12 nexus3.edgexfoundry.org:10002 22:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:12 Configure a credential helper to remove this warning. See 22:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:12 22:12:12 Login Succeeded 22:12:12 nexus3.edgexfoundry.org:10003 22:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:12 Configure a credential helper to remove this warning. See 22:12:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:12 22:12:12 Login Succeeded 22:12:12 nexus3.edgexfoundry.org:10004 22:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:13 Configure a credential helper to remove this warning. See 22:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:13 22:12:13 Login Succeeded 22:12:13 docker.io 22:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:13 Configure a credential helper to remove this warning. See 22:12:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:13 22:12:13 Login Succeeded 22:12:13 ---> docker-login.sh ends [Pipeline] } 22:12:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:12:13 + git rev-list -1 --merges 36067cc434ed8979ecf98deffcd37e0456a2e22f~1..36067cc434ed8979ecf98deffcd37e0456a2e22f [Pipeline] echo 22:12:13 -----------> git rev-list -1 --merges 36067cc434ed8979ecf98deffcd37e0456a2e22f~1..36067cc434ed8979ecf98deffcd37e0456a2e22f 36067cc434ed8979ecf98deffcd37e0456a2e22f 22:12:13 36067cc434ed8979ecf98deffcd37e0456a2e22f [false] [Pipeline] sh 22:12:14 + git log --format=format:%s -1 36067cc434ed8979ecf98deffcd37e0456a2e22f [Pipeline] echo 22:12:14 ========================================================= 22:12:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:12:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:12:14 + git log --format=format:%s -1 36067cc434ed8979ecf98deffcd37e0456a2e22f [Pipeline] echo 22:12:14 [semverPrep] GIT_COMMIT: 36067cc434ed8979ecf98deffcd37e0456a2e22f, Commit Message: Merge commit 'e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0' into HEAD [Pipeline] echo 22:12:14 [semverPrep] This is not a build commit. [Pipeline] sh 22:12:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:12:14 + grep -v github /etc/ssh/ssh_known_hosts 22:12:14 + [ -e /tmp/ssh_known_hosts ] 22:12:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:12:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:12:14 + sudo tee -a /etc/ssh/ssh_known_hosts 22:12:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:12:15 22:12:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:12:15 0.1.4: Pulling from edgex-devops/py-git-semver 22:12:15 b85a868b505f: Pulling fs layer 22:12:15 e2be974225ed: Pulling fs layer 22:12:15 339a4e72a1f5: Pulling fs layer 22:12:15 988bab9f4d93: Pulling fs layer 22:12:15 1469e6f7b9e6: Pulling fs layer 22:12:15 eaf3925da568: Pulling fs layer 22:12:15 bab4dde63d76: Pulling fs layer 22:12:15 bde34c3a00c8: Pulling fs layer 22:12:15 b352a97aabf1: Pulling fs layer 22:12:15 4872d77fe225: Pulling fs layer 22:12:15 5851b861e8e6: Pulling fs layer 22:12:15 bab4dde63d76: Waiting 22:12:15 b352a97aabf1: Waiting 22:12:15 4872d77fe225: Waiting 22:12:15 bde34c3a00c8: Waiting 22:12:15 1469e6f7b9e6: Waiting 22:12:15 5851b861e8e6: Waiting 22:12:15 988bab9f4d93: Waiting 22:12:15 eaf3925da568: Waiting 22:12:15 e2be974225ed: Verifying Checksum 22:12:15 e2be974225ed: Download complete 22:12:15 988bab9f4d93: Verifying Checksum 22:12:15 988bab9f4d93: Download complete 22:12:15 1469e6f7b9e6: Verifying Checksum 22:12:15 1469e6f7b9e6: Download complete 22:12:15 eaf3925da568: Verifying Checksum 22:12:15 eaf3925da568: Download complete 22:12:15 339a4e72a1f5: Verifying Checksum 22:12:15 339a4e72a1f5: Download complete 22:12:15 bde34c3a00c8: Verifying Checksum 22:12:15 b352a97aabf1: Download complete 22:12:15 4872d77fe225: Download complete 22:12:15 5851b861e8e6: Verifying Checksum 22:12:15 5851b861e8e6: Download complete 22:12:15 b85a868b505f: Verifying Checksum 22:12:15 b85a868b505f: Download complete 22:12:16 bab4dde63d76: Verifying Checksum 22:12:16 bab4dde63d76: Download complete 22:12:17 b85a868b505f: Pull complete 22:12:17 e2be974225ed: Pull complete 22:12:18 339a4e72a1f5: Pull complete 22:12:18 988bab9f4d93: Pull complete 22:12:18 1469e6f7b9e6: Pull complete 22:12:18 eaf3925da568: Pull complete 22:12:20 bab4dde63d76: Pull complete 22:12:20 bde34c3a00c8: Pull complete 22:12:20 b352a97aabf1: Pull complete 22:12:20 4872d77fe225: Pull complete 22:12:20 5851b861e8e6: Pull complete 22:12:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:12:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:12:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:20 prd-ubuntu20.04-docker-8c-8g-10882 does not seem to be running inside a container 22:12:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:12:25 $ docker top 0e9b33c2cd079fd9133972ab7c6a5bdda25046a55b57ffef68d4e3b269258f10 -eo pid,comm 22:12:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:12:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:12:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:12:25 [ssh-agent] Looking for ssh-agent implementation... 22:12:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:12:25 $ docker exec 0e9b33c2cd079fd9133972ab7c6a5bdda25046a55b57ffef68d4e3b269258f10 ssh-agent 22:12:25 SSH_AUTH_SOCK=/tmp/ssh-4mWtHTeeUqYB/agent.32 22:12:25 SSH_AGENT_PID=39 22:12:25 Running ssh-add (command line suppressed) 22:12:26 Identity added: /w/workspace/undry_device-onvif-camera_PR-318@tmp/private_key_12882388022893919972.key (/w/workspace/undry_device-onvif-camera_PR-318@tmp/private_key_12882388022893919972.key) 22:12:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:12:26 + git tag --points-at HEAD [Pipeline] } 22:12:26 $ docker exec --env ******** --env ******** 0e9b33c2cd079fd9133972ab7c6a5bdda25046a55b57ffef68d4e3b269258f10 ssh-agent -k 22:12:26 unset SSH_AUTH_SOCK; 22:12:26 unset SSH_AGENT_PID; 22:12:26 echo Agent pid 39 killed; 22:12:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:12:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:12:26 [ssh-agent] Looking for ssh-agent implementation... 22:12:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:12:26 $ docker exec 0e9b33c2cd079fd9133972ab7c6a5bdda25046a55b57ffef68d4e3b269258f10 ssh-agent 22:12:26 SSH_AUTH_SOCK=/tmp/ssh-IQ5xbIuXmSrw/agent.71 22:12:26 SSH_AGENT_PID=77 22:12:26 Running ssh-add (command line suppressed) 22:12:26 Identity added: /w/workspace/undry_device-onvif-camera_PR-318@tmp/private_key_13088579757673796982.key (/w/workspace/undry_device-onvif-camera_PR-318@tmp/private_key_13088579757673796982.key) 22:12:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:12:27 + git semver init 22:12:27 2023-04-25 22:12:27,365 [run_init] DEBUG init version:0.0.0 force:False 22:12:27 2023-04-25 22:12:27,366 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-318/.semver 22:12:27 2023-04-25 22:12:27,367 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-318/.semver 22:12:27 2023-04-25 22:12:27,367 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-318/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-318, universal_newlines=False, shell=None, istream=None) 22:12:28 2023-04-25 22:12:28,331 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-318/.git/info/exclude 22:12:28 2023-04-25 22:12:28,332 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-318/.semver/PR-318 with force:False 22:12:28 2023-04-25 22:12:28,332 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-318/.semver/PR-318 22:12:28 2023-04-25 22:12:28,335 [execute] INFO git cat-file --batch-check 22:12:28 2023-04-25 22:12:28,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-318/.semver, universal_newlines=False, shell=None, istream=) 22:12:28 2023-04-25 22:12:28,340 [execute] INFO git cat-file --batch 22:12:28 2023-04-25 22:12:28,340 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-318/.semver, universal_newlines=False, shell=None, istream=) 22:12:28 2023-04-25 22:12:28,344 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-318/.semver/PR-318 22:12:28 0.0.0 [Pipeline] } 22:12:28 $ docker exec --env ******** --env ******** 0e9b33c2cd079fd9133972ab7c6a5bdda25046a55b57ffef68d4e3b269258f10 ssh-agent -k 22:12:28 unset SSH_AUTH_SOCK; 22:12:28 unset SSH_AGENT_PID; 22:12:28 echo Agent pid 77 killed; 22:12:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:12:28 + git semver [Pipeline] } 22:12:29 $ docker stop --time=1 0e9b33c2cd079fd9133972ab7c6a5bdda25046a55b57ffef68d4e3b269258f10 22:12:30 $ docker rm -f --volumes 0e9b33c2cd079fd9133972ab7c6a5bdda25046a55b57ffef68d4e3b269258f10 [Pipeline] // withDockerContainer [Pipeline] sh 22:12:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:12:30 Stashed 1 file(s) [Pipeline] echo 22:12:30 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:12:31 provisioning config files... 22:12:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-318@tmp/config13554464679310925930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:31 ---> docker-login.sh 22:12:31 nexus3.edgexfoundry.org:10001 22:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:31 Configure a credential helper to remove this warning. See 22:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:31 22:12:31 Login Succeeded 22:12:31 nexus3.edgexfoundry.org:10002 22:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:31 Configure a credential helper to remove this warning. See 22:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:31 22:12:31 Login Succeeded 22:12:31 nexus3.edgexfoundry.org:10003 22:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:31 Configure a credential helper to remove this warning. See 22:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:31 22:12:31 Login Succeeded 22:12:31 nexus3.edgexfoundry.org:10004 22:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:31 Configure a credential helper to remove this warning. See 22:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:31 22:12:31 Login Succeeded 22:12:31 docker.io 22:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:32 Configure a credential helper to remove this warning. See 22:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:32 22:12:32 Login Succeeded 22:12:32 ---> docker-login.sh ends [Pipeline] } 22:12:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:12:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:32 ========================================================= 22:12:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:12:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:12:32 Sending build context to Docker daemon 26.96MB 22:12:32 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:12:32 Step 2/13 : FROM ${BASE} AS builder 22:12:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:12:32 f56be85fc22e: Pulling fs layer 22:12:32 85791d961cd3: Pulling fs layer 22:12:32 d694b5ae8c79: Pulling fs layer 22:12:32 9f32a84ed3da: Pulling fs layer 22:12:32 4d19c01a9841: Pulling fs layer 22:12:32 9325e15d5711: Pulling fs layer 22:12:32 556b6ee489ea: Pulling fs layer 22:12:32 c5a4b2cf53e6: Pulling fs layer 22:12:32 9325e15d5711: Waiting 22:12:32 556b6ee489ea: Waiting 22:12:32 9f32a84ed3da: Waiting 22:12:32 c5a4b2cf53e6: Waiting 22:12:32 4d19c01a9841: Waiting 22:12:32 85791d961cd3: Download complete 22:12:32 9f32a84ed3da: Download complete 22:12:32 4d19c01a9841: Verifying Checksum 22:12:32 4d19c01a9841: Download complete 22:12:32 f56be85fc22e: Verifying Checksum 22:12:32 f56be85fc22e: Download complete 22:12:32 9325e15d5711: Verifying Checksum 22:12:32 9325e15d5711: Download complete 22:12:33 f56be85fc22e: Pull complete 22:12:33 85791d961cd3: Pull complete 22:12:33 c5a4b2cf53e6: Download complete 22:12:33 d694b5ae8c79: Verifying Checksum 22:12:33 d694b5ae8c79: Download complete 22:12:33 556b6ee489ea: Verifying Checksum 22:12:33 556b6ee489ea: Download complete 22:12:37 d694b5ae8c79: Pull complete 22:12:37 9f32a84ed3da: Pull complete 22:12:37 4d19c01a9841: Pull complete 22:12:37 9325e15d5711: Pull complete 22:12:39 556b6ee489ea: Pull complete 22:12:40 c5a4b2cf53e6: Pull complete 22:12:40 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:12:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:12:40 ---> c4be618373d6 22:12:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:12:46 Still waiting to schedule task 22:12:46 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:12:49 ---> Running in 346eda8a5d7f 22:12:49 Removing intermediate container 346eda8a5d7f 22:12:49 ---> b954e46151c9 22:12:49 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:49 ---> Running in 743dd14dc80b 22:12:49 Removing intermediate container 743dd14dc80b 22:12:49 ---> f06ecc88a3cd 22:12:49 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:12:49 ---> Running in 988757a2e825 22:12:49 Removing intermediate container 988757a2e825 22:12:49 ---> 818e469f5281 22:12:49 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:12:49 ---> Running in 749dac2971c3 22:12:49 Removing intermediate container 749dac2971c3 22:12:49 ---> 94b7be27682c 22:12:49 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:12:49 ---> Running in 7a0bc09fdb0b 22:12:50 Removing intermediate container 7a0bc09fdb0b 22:12:50 ---> ea0b216710a8 22:12:50 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:50 ---> Running in 412a9177493e 22:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:50 OK: 265 MiB in 53 packages 22:12:51 Removing intermediate container 412a9177493e 22:12:51 ---> ad51fbd6a0f8 22:12:51 Step 9/13 : WORKDIR /device-onvif-camera 22:12:51 ---> Running in a71167d62ce6 22:12:51 Removing intermediate container a71167d62ce6 22:12:51 ---> 3b626d10eaba 22:12:51 Step 10/13 : COPY go.mod vendor* ./ 22:12:51 ---> d1ebbf340434 22:12:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:51 ---> Running in a4b48a95d21e 22:13:30 Removing intermediate container a4b48a95d21e 22:13:30 ---> bcb2a447c865 22:13:30 Step 12/13 : COPY . . 22:13:30 ---> 909683f95163 22:13:30 Step 13/13 : RUN ${MAKE} 22:13:30 ---> Running in 6db598ab78bc 22:13:30 noop 22:13:30 Removing intermediate container 6db598ab78bc 22:13:30 ---> 4230520b7c59 22:13:30 Successfully built 4230520b7c59 22:13:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:31 + docker inspect -f . ci-base-image-x86_64 22:13:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:31 prd-ubuntu20.04-docker-8c-8g-10882 does not seem to be running inside a container 22:13:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:13:31 $ docker top 891b6496baf4787bda7168ed5c6df3e35bca3ace31376366f9cf6d51672d4770 -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:31 + go version 22:13:31 go version go1.20.2 linux/amd64 [Pipeline] } 22:13:31 $ docker stop --time=1 891b6496baf4787bda7168ed5c6df3e35bca3ace31376366f9cf6d51672d4770 22:13:33 $ docker rm -f --volumes 891b6496baf4787bda7168ed5c6df3e35bca3ace31376366f9cf6d51672d4770 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:33 + docker inspect -f . ci-base-image-x86_64 22:13:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:33 prd-ubuntu20.04-docker-8c-8g-10882 does not seem to be running inside a container 22:13:33 $ 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-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:13:34 $ docker top 850bcb6a244cef4ec883095ce0c51fd909031a229ceb02d3fbc4c7e34925bdbd -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:34 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-318 [Pipeline] fileExists [Pipeline] sh 22:13:34 + make test 22:13:34 go test ./... -coverprofile=coverage.out ./... 22:13:38 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:13:51 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:13:51 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:13:51 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 31.6% of statements 22:13:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.142s coverage: 86.5% of statements 22:13:58 go vet ./... 22:14:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:14:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:14:01 ./bin/test-attribution-txt.sh [Pipeline] echo 22:14:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:14:01 $ docker stop --time=1 850bcb6a244cef4ec883095ce0c51fd909031a229ceb02d3fbc4c7e34925bdbd 22:14:05 $ docker rm -f --volumes 850bcb6a244cef4ec883095ce0c51fd909031a229ceb02d3fbc4c7e34925bdbd [Pipeline] // withDockerContainer [Pipeline] sh 22:14:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:14:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:14:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:14:07 + ls -al . 22:14:07 total 236 22:14:07 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 22:13 . 22:14:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:12 .. 22:14:07 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 22:12 .git 22:14:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:12 .github 22:14:07 -rw-rw-r-- 1 jenkins jenkins 496 Apr 25 22:12 .gitignore 22:14:07 -rw-rw-r-- 1 jenkins jenkins 42 Apr 25 22:12 .golangci.yml 22:14:07 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 22:12 .semver 22:14:07 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 25 22:12 Attribution.txt 22:14:07 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 25 22:12 CHANGELOG.md 22:14:07 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 25 22:12 Dockerfile 22:14:07 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 22:12 GOVERNANCE.md 22:14:07 -rw-rw-r-- 1 jenkins jenkins 734 Apr 25 22:12 Jenkinsfile 22:14:07 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 25 22:12 LICENSE 22:14:07 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 25 22:12 Makefile 22:14:07 -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 22:12 OWNERS.md 22:14:07 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 25 22:12 README.md 22:14:07 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 22:12 VERSION 22:14:07 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 22:12 bin 22:14:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:12 cmd 22:14:07 -rw-r--r-- 1 jenkins jenkins 78922 Apr 25 22:13 coverage.out 22:14:07 drwxrwxr-x 6 jenkins jenkins 4096 Apr 25 22:12 doc 22:14:07 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 25 22:12 go.mod 22:14:07 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 25 22:12 go.sum 22:14:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:12 internal 22:14:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:12 snap 22:14:07 -rw-rw-r-- 1 jenkins jenkins 236 Apr 25 22:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:07 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=36067cc434ed8979ecf98deffcd37e0456a2e22f --label arch=amd64 --label version=0.0.0 . 22:14:07 Sending build context to Docker daemon 27.04MB 22:14:07 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:14:07 Step 2/26 : FROM ${BASE} AS builder 22:14:07 ---> 4230520b7c59 22:14:07 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:14:08 ---> Running in 5c493a930a37 22:14:08 Removing intermediate container 5c493a930a37 22:14:08 ---> 11d76f37953b 22:14:08 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:14:08 ---> Running in 114f6e192bd5 22:14:08 Removing intermediate container 114f6e192bd5 22:14:08 ---> a75b99b7ec57 22:14:08 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:14:08 ---> Running in 17f16d4894e2 22:14:08 Removing intermediate container 17f16d4894e2 22:14:08 ---> 1f5fb116aa5a 22:14:08 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:14:08 ---> Running in 71d91934345e 22:14:08 Removing intermediate container 71d91934345e 22:14:08 ---> c8b569b996e9 22:14:08 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:14:08 ---> Running in a9349de79c2a 22:14:08 Removing intermediate container a9349de79c2a 22:14:08 ---> 769432dc0a27 22:14:08 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:08 ---> Running in 054cae0212dc 22:14:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:14:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:14:09 OK: 265 MiB in 53 packages 22:14:09 Removing intermediate container 054cae0212dc 22:14:09 ---> ffc37ebc0ea0 22:14:09 Step 9/26 : WORKDIR /device-onvif-camera 22:14:09 ---> Running in 07f35cf1e793 22:14:09 Removing intermediate container 07f35cf1e793 22:14:09 ---> 54ada8d1ac44 22:14:09 Step 10/26 : COPY go.mod vendor* ./ 22:14:10 ---> 67d298bf3edc 22:14:10 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:10 ---> Running in 8133d07dfd81 22:14:11 Removing intermediate container 8133d07dfd81 22:14:11 ---> 13d9778cdc6d 22:14:11 Step 12/26 : COPY . . 22:14:12 ---> dc0b43ec4747 22:14:12 Step 13/26 : RUN ${MAKE} 22:14:12 ---> Running in e3eed2604d8d 22:14:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:14:34 Removing intermediate container e3eed2604d8d 22:14:34 ---> 1447b5f01b85 22:14:34 Step 14/26 : FROM alpine:3.17 22:14:34 3.17: Pulling from library/alpine 22:14:34 f56be85fc22e: Already exists 22:14:34 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:14:34 Status: Downloaded newer image for alpine:3.17 22:14:34 ---> 9ed4aefc74f6 22:14:34 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:14:34 ---> Running in 8d3e7c8ca0bd 22:14:34 Removing intermediate container 8d3e7c8ca0bd 22:14:34 ---> 3732f2173059 22:14:34 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:14:34 ---> Running in 6b5c262ed126 22:14:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:14:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:14:34 (1/1) Installing dumb-init (1.2.5-r2) 22:14:34 Executing busybox-1.35.0-r29.trigger 22:14:34 OK: 7 MiB in 16 packages 22:14:34 Removing intermediate container 6b5c262ed126 22:14:34 ---> cd49754636c7 22:14:34 Step 17/26 : WORKDIR / 22:14:34 ---> Running in e757b3aec5da 22:14:34 Removing intermediate container e757b3aec5da 22:14:34 ---> 48bb8f93e7a3 22:14:34 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:14:35 ---> 59be9a34e810 22:14:35 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:14:35 ---> 710ab59c352e 22:14:35 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:14:35 ---> 5f7132a0cd24 22:14:35 Step 21/26 : EXPOSE 59984 22:14:35 ---> Running in 145f36fca1a8 22:14:35 Removing intermediate container 145f36fca1a8 22:14:35 ---> 39d0a0f690eb 22:14:35 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:14:35 ---> Running in 59d901d89eb8 22:14:35 Removing intermediate container 59d901d89eb8 22:14:35 ---> c4059200bd0d 22:14:35 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:14:35 ---> Running in ae47f207138e 22:14:36 Removing intermediate container ae47f207138e 22:14:36 ---> 535b17ebabe0 22:14:36 Step 24/26 : LABEL arch=amd64 22:14:36 ---> Running in 1c243827573a 22:14:36 Removing intermediate container 1c243827573a 22:14:36 ---> d83427247da1 22:14:36 Step 25/26 : LABEL git_sha=36067cc434ed8979ecf98deffcd37e0456a2e22f 22:14:36 ---> Running in 41cc1ee42433 22:14:36 Removing intermediate container 41cc1ee42433 22:14:36 ---> d7b00d9b3127 22:14:36 Step 26/26 : LABEL version=0.0.0 22:14:36 ---> Running in 6b82fab5c5ae 22:14:36 Removing intermediate container 6b82fab5c5ae 22:14:36 ---> c30699a39a95 22:14:36 [Warning] One or more build-args [ARCH] were not consumed 22:14:36 Successfully built c30699a39a95 22:14:36 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:36 22:14:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:37 latest: Pulling from edgex-lftools-log-publisher 22:14:37 5eb5b503b376: Pulling fs layer 22:14:37 5c69ac0246d0: Pulling fs layer 22:14:37 ec43610c2a17: Pulling fs layer 22:14:37 3a2ae6a8a46f: Pulling fs layer 22:14:37 33b1e0a273af: Pulling fs layer 22:14:37 5d3b04190fa2: Pulling fs layer 22:14:37 2f39f015ded8: Pulling fs layer 22:14:37 33b1e0a273af: Waiting 22:14:37 5d3b04190fa2: Waiting 22:14:37 2f39f015ded8: Waiting 22:14:37 5c69ac0246d0: Verifying Checksum 22:14:37 5c69ac0246d0: Download complete 22:14:37 3a2ae6a8a46f: Verifying Checksum 22:14:37 3a2ae6a8a46f: Download complete 22:14:37 33b1e0a273af: Verifying Checksum 22:14:37 33b1e0a273af: Download complete 22:14:37 5d3b04190fa2: Verifying Checksum 22:14:37 5d3b04190fa2: Download complete 22:14:37 ec43610c2a17: Verifying Checksum 22:14:37 ec43610c2a17: Download complete 22:14:37 5eb5b503b376: Verifying Checksum 22:14:37 5eb5b503b376: Download complete 22:14:38 2f39f015ded8: Download complete 22:14:38 5eb5b503b376: Pull complete 22:14:38 5c69ac0246d0: Pull complete 22:14:39 ec43610c2a17: Pull complete 22:14:39 3a2ae6a8a46f: Pull complete 22:14:39 33b1e0a273af: Pull complete 22:14:39 5d3b04190fa2: Pull complete 22:14:43 2f39f015ded8: Pull complete 22:14:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:14:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:43 prd-ubuntu20.04-docker-8c-8g-10882 does not seem to be running inside a container 22:14:43 $ 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-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:14:48 $ docker top bacaca206289f07da3472a589ec6e259216cff30118ae4376b1f5fd457e0a8c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:48 ---> job-cost.sh 22:14:48 lf-activate-venv: SKIPPING 22:14:48 INFO: No Stack... 22:14:48 INFO: Retrieving Pricing Info for: v3-standard-8 22:14:49 INFO: Archiving Costs [Pipeline] sh 22:14:49 + cat /w/workspace/undry_device-onvif-camera_PR-318/archives/cost.csv 22:14:49 + cut -d, -f6 [Pipeline] lock 22:14:49 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-318-4-stack-cost] 22:14:49 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-318-4-stack-cost] did not exist. Created. 22:14:49 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-318-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:14:49 + echo total: 0.2199999988079071 [Pipeline] stash 22:14:49 Stashed 1 file(s) [Pipeline] } 22:14:49 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-318-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:14:49 $ docker stop --time=1 bacaca206289f07da3472a589ec6e259216cff30118ae4376b1f5fd457e0a8c4 22:14:50 $ docker rm -f --volumes bacaca206289f07da3472a589ec6e259216cff30118ae4376b1f5fd457e0a8c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:15:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10888 in /w/workspace/undry_device-onvif-camera_PR-318 [Pipeline] { [Pipeline] ws 22:15:48 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 22:15:48 The recommended git tool is: git 22:15:55 using credential edgex-jenkins-ssh 22:15:55 Cloning the remote Git repository 22:15:55 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:15:55 > git init /w/workspace/device-onvif-camera/4 # timeout=10 22:15:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:15:55 > git --version # timeout=10 22:15:55 > git --version # 'git version 2.25.1' 22:15:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:15:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:15:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:15:59 Merging remotes/origin/main commit e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 into PR head commit a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 22:15:58 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:15:58 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:15:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:15:59 > git config core.sparsecheckout # timeout=10 22:15:59 > git checkout -f a1c1e41c0b280ed0c7fa7a6b6860ac0ca3e2f332 # timeout=10 22:16:00 > git remote # timeout=10 22:16:00 > git config --get remote.origin.url # timeout=10 22:16:00 using GIT_SSH to set credentials SSH Credentials for GitHub 22:16:00 > git merge e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 # timeout=10 22:16:00 Merge succeeded, producing ba7b0b3ba7d8982d884242c8308e1bb8179b9f52 22:16:00 Checking out Revision ba7b0b3ba7d8982d884242c8308e1bb8179b9f52 (PR-318) 22:16:00 > git rev-parse HEAD^{commit} # timeout=10 22:16:00 > git config core.sparsecheckout # timeout=10 22:16:00 > git checkout -f ba7b0b3ba7d8982d884242c8308e1bb8179b9f52 # timeout=10 22:16:04 Commit message: "Merge commit 'e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0' into HEAD" 22:16:04 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:16:04 > git rev-list --no-walk cecf5b2265e7688f2622d185c6ddf8302a22eab9 # timeout=10 22:16:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:16:05 % Total % Received % Xferd Average Speed Time Time Time Current 22:16:05 Dload Upload Total Spent Left Speed 22:16:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 22:16:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:16:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:16:06 + sudo tee /etc/docker/daemon.new 22:16:06 { 22:16:06 "registry-mirrors": [ 22:16:06 "https://nexus3.edgexfoundry.org:10001" 22:16:06 ], 22:16:06 "bip": "10.250.0.254/24", 22:16:06 "hosts": [ 22:16:06 "tcp://0.0.0.0:5555", 22:16:06 "unix:///var/run/docker.sock" 22:16:06 ], 22:16:06 "mtu": 1458, 22:16:06 "selinux-enabled": true, 22:16:06 "seccomp-profile": "/etc/docker/seccomp.json" 22:16:06 } [Pipeline] sh 22:16:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:16:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:25 provisioning config files... 22:16:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config14881210264382770411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:25 ---> docker-login.sh 22:16:25 nexus3.edgexfoundry.org:10001 22:16:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:26 Configure a credential helper to remove this warning. See 22:16:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:26 22:16:26 Login Succeeded 22:16:26 nexus3.edgexfoundry.org:10002 22:16:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:27 Configure a credential helper to remove this warning. See 22:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:27 22:16:27 Login Succeeded 22:16:27 nexus3.edgexfoundry.org:10003 22:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:27 Configure a credential helper to remove this warning. See 22:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:27 22:16:27 Login Succeeded 22:16:27 nexus3.edgexfoundry.org:10004 22:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:28 Configure a credential helper to remove this warning. See 22:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:28 22:16:28 Login Succeeded 22:16:28 docker.io 22:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:28 Configure a credential helper to remove this warning. See 22:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:28 22:16:28 Login Succeeded 22:16:28 ---> docker-login.sh ends [Pipeline] } 22:16:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:16:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:16:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:16:28 ========================================================= 22:16:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:16:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:16:29 Sending build context to Docker daemon 19.67MB 22:16:29 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:16:29 Step 2/13 : FROM ${BASE} AS builder 22:16:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:16:30 c41833b44d91: Pulling fs layer 22:16:30 ed15518f5707: Pulling fs layer 22:16:30 feae8fd75edb: Pulling fs layer 22:16:30 242c74f7c9fa: Pulling fs layer 22:16:30 3cdef696dda3: Pulling fs layer 22:16:30 2ced38df9373: Pulling fs layer 22:16:30 58f1dce35555: Pulling fs layer 22:16:30 242c74f7c9fa: Waiting 22:16:30 3cdef696dda3: Waiting 22:16:30 2ced38df9373: Waiting 22:16:30 58f1dce35555: Waiting 22:16:30 ed15518f5707: Verifying Checksum 22:16:30 ed15518f5707: Download complete 22:16:30 242c74f7c9fa: Verifying Checksum 22:16:30 242c74f7c9fa: Download complete 22:16:30 3cdef696dda3: Verifying Checksum 22:16:30 3cdef696dda3: Download complete 22:16:30 c41833b44d91: Verifying Checksum 22:16:30 c41833b44d91: Download complete 22:16:31 c41833b44d91: Pull complete 22:16:31 58f1dce35555: Verifying Checksum 22:16:31 58f1dce35555: Download complete 22:16:31 ed15518f5707: Pull complete 22:16:33 feae8fd75edb: Download complete 22:16:33 2ced38df9373: Verifying Checksum 22:16:33 2ced38df9373: Download complete 22:16:46 feae8fd75edb: Pull complete 22:16:46 242c74f7c9fa: Pull complete 22:16:46 3cdef696dda3: Pull complete 22:16:51 2ced38df9373: Pull complete 22:16:53 58f1dce35555: Pull complete 22:16:53 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:16:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:16:53 ---> fadd8f120f05 22:16:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:16:56 ---> Running in 5c8fb177ddf6 22:16:56 Removing intermediate container 5c8fb177ddf6 22:16:56 ---> b27a56d6a042 22:16:56 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:16:56 ---> Running in 0ea719938110 22:16:56 Removing intermediate container 0ea719938110 22:16:56 ---> 3b88d0cd5a6c 22:16:56 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:16:56 ---> Running in aaa16e11da64 22:16:56 Removing intermediate container aaa16e11da64 22:16:56 ---> 7bd4d05c06f8 22:16:56 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:16:56 ---> Running in 27fbd6b58907 22:16:57 Removing intermediate container 27fbd6b58907 22:16:57 ---> 24bacaddde9d 22:16:57 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:16:57 ---> Running in 0fda75ecf137 22:16:57 Removing intermediate container 0fda75ecf137 22:16:57 ---> ab36e4dbd95d 22:16:57 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:16:57 ---> Running in fda67b7692d7 22:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:17:01 OK: 263 MiB in 53 packages 22:17:02 Removing intermediate container fda67b7692d7 22:17:02 ---> dff4788f50ac 22:17:02 Step 9/13 : WORKDIR /device-onvif-camera 22:17:02 ---> Running in 0a35210eb022 22:17:02 Removing intermediate container 0a35210eb022 22:17:02 ---> a3efd3019a8a 22:17:02 Step 10/13 : COPY go.mod vendor* ./ 22:17:03 ---> bbcc046d8a2d 22:17:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:17:03 ---> Running in 51d6c84066f6 22:18:25 Removing intermediate container 51d6c84066f6 22:18:25 ---> c29f5dbd1d2d 22:18:25 Step 12/13 : COPY . . 22:18:25 ---> 24b75fe1324b 22:18:25 Step 13/13 : RUN ${MAKE} 22:18:25 ---> Running in 8aef440e4804 22:18:25 noop 22:18:25 Removing intermediate container 8aef440e4804 22:18:25 ---> b70e4ea751ca 22:18:25 Successfully built b70e4ea751ca 22:18:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:25 + docker inspect -f . ci-base-image-arm64 22:18:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:26 prd-ubuntu20.04-docker-arm64-4c-16g-10888 does not seem to be running inside a container 22:18:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:18:27 $ docker top 0389e6b8d7c8ab0ceb047f5b9d39e788709d002fc635304565c2254cfb92da9a -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:28 + go version 22:18:28 go version go1.20.2 linux/arm64 [Pipeline] } 22:18:28 $ docker stop --time=1 0389e6b8d7c8ab0ceb047f5b9d39e788709d002fc635304565c2254cfb92da9a 22:18:30 $ docker rm -f --volumes 0389e6b8d7c8ab0ceb047f5b9d39e788709d002fc635304565c2254cfb92da9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:30 + docker inspect -f . ci-base-image-arm64 22:18:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:30 prd-ubuntu20.04-docker-arm64-4c-16g-10888 does not seem to be running inside a container 22:18:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:18:32 $ docker top a544bb1d6590424b8ca5616b495f8a72456899b235fef7a2fa51defbdcdd10e5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:33 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 22:18:33 + make test 22:18:33 go test ./... -coverprofile=coverage.out ./... 22:19:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:22:04 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:22:04 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:22:04 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.215s coverage: 31.6% of statements 22:22:31 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.859s coverage: 86.5% of statements 22:22:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:22:31 go vet ./... 22:23:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:23:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:23:03 ./bin/test-attribution-txt.sh [Pipeline] echo 22:23:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:23:04 $ docker stop --time=1 a544bb1d6590424b8ca5616b495f8a72456899b235fef7a2fa51defbdcdd10e5 22:23:06 $ docker rm -f --volumes a544bb1d6590424b8ca5616b495f8a72456899b235fef7a2fa51defbdcdd10e5 [Pipeline] // withDockerContainer [Pipeline] sh 22:23:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:23:07 Warning: overwriting stash ‘coverage-report’ 22:23:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:23:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:23:09 + ls -al . 22:23:09 total 232 22:23:09 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 22:18 . 22:23:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:15 .. 22:23:09 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 22:16 .git 22:23:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:15 .github 22:23:09 -rw-rw-r-- 1 jenkins jenkins 496 Apr 25 22:15 .gitignore 22:23:09 -rw-rw-r-- 1 jenkins jenkins 42 Apr 25 22:15 .golangci.yml 22:23:09 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 25 22:15 Attribution.txt 22:23:09 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 25 22:15 CHANGELOG.md 22:23:09 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 25 22:15 Dockerfile 22:23:09 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 22:15 GOVERNANCE.md 22:23:09 -rw-rw-r-- 1 jenkins jenkins 734 Apr 25 22:15 Jenkinsfile 22:23:09 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 25 22:15 LICENSE 22:23:09 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 25 22:15 Makefile 22:23:09 -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 22:15 OWNERS.md 22:23:09 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 25 22:15 README.md 22:23:09 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 22:12 VERSION 22:23:09 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 22:15 bin 22:23:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:15 cmd 22:23:09 -rw-r--r-- 1 jenkins jenkins 78922 Apr 25 22:22 coverage.out 22:23:09 drwxrwxr-x 6 jenkins jenkins 4096 Apr 25 22:15 doc 22:23:09 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 25 22:15 go.mod 22:23:09 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 25 22:15 go.sum 22:23:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:15 internal 22:23:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:16 snap 22:23:09 -rw-rw-r-- 1 jenkins jenkins 236 Apr 25 22:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:09 + 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=ba7b0b3ba7d8982d884242c8308e1bb8179b9f52 --label arch=arm64 --label version=0.0.0 . 22:23:09 Sending build context to Docker daemon 19.75MB 22:23:10 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:23:10 Step 2/26 : FROM ${BASE} AS builder 22:23:10 ---> b70e4ea751ca 22:23:10 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:23:10 ---> Running in 00e12ebd96db 22:23:10 Removing intermediate container 00e12ebd96db 22:23:10 ---> ed94d661eec1 22:23:10 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:23:10 ---> Running in 3af25c351c0b 22:23:10 Removing intermediate container 3af25c351c0b 22:23:10 ---> 7446a9a72034 22:23:10 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:23:11 ---> Running in 915f143c2ac6 22:23:11 Removing intermediate container 915f143c2ac6 22:23:11 ---> 27dceac07701 22:23:11 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:23:11 ---> Running in d39e7a9a5139 22:23:11 Removing intermediate container d39e7a9a5139 22:23:11 ---> 4959de1e9a22 22:23:11 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:23:12 ---> Running in e0aec610ca64 22:23:12 Removing intermediate container e0aec610ca64 22:23:12 ---> 3c903b95444d 22:23:12 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:23:12 ---> Running in f9b648bf7317 22:23:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:23:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:23:15 OK: 263 MiB in 53 packages 22:23:16 Removing intermediate container f9b648bf7317 22:23:16 ---> 7b55d1a95b29 22:23:16 Step 9/26 : WORKDIR /device-onvif-camera 22:23:16 ---> Running in 1ec1dc9bd0d6 22:23:17 Removing intermediate container 1ec1dc9bd0d6 22:23:17 ---> 1b807840129d 22:23:17 Step 10/26 : COPY go.mod vendor* ./ 22:23:17 ---> 9e5e4b3d7716 22:23:17 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:23:17 ---> Running in 98f987f25542 22:23:21 Removing intermediate container 98f987f25542 22:23:21 ---> 67614d011efa 22:23:21 Step 12/26 : COPY . . 22:23:22 ---> ac1d60f5dce8 22:23:22 Step 13/26 : RUN ${MAKE} 22:23:22 ---> Running in b7b7328a52ec 22:23:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:26:15 Removing intermediate container b7b7328a52ec 22:26:15 ---> 1e9f1ca91fe1 22:26:15 Step 14/26 : FROM alpine:3.17 22:26:15 3.17: Pulling from library/alpine 22:26:15 c41833b44d91: Already exists 22:26:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:26:15 Status: Downloaded newer image for alpine:3.17 22:26:15 ---> 51e60588ff2c 22:26:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:26:15 ---> Running in 288e480414ee 22:26:15 Removing intermediate container 288e480414ee 22:26:15 ---> 37a0083a0ecf 22:26:15 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:26:15 ---> Running in 52c9c1105a8e 22:26:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:26:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:26:15 (1/1) Installing dumb-init (1.2.5-r2) 22:26:15 Executing busybox-1.35.0-r29.trigger 22:26:15 OK: 8 MiB in 16 packages 22:26:15 Removing intermediate container 52c9c1105a8e 22:26:15 ---> c89d53b3b1c0 22:26:15 Step 17/26 : WORKDIR / 22:26:15 ---> Running in 234fe0f0d597 22:26:15 Removing intermediate container 234fe0f0d597 22:26:15 ---> 7b82abf19d80 22:26:15 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:26:15 ---> fc28ac3cd6bf 22:26:15 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:26:15 ---> ebad1498b34a 22:26:15 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:26:15 ---> 5af87596f59f 22:26:15 Step 21/26 : EXPOSE 59984 22:26:15 ---> Running in 13de3cf0750e 22:26:15 Removing intermediate container 13de3cf0750e 22:26:15 ---> 9f80843a621e 22:26:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:26:15 ---> Running in 7089d0617c8e 22:26:15 Removing intermediate container 7089d0617c8e 22:26:15 ---> d40bc3e0732e 22:26:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:26:15 ---> Running in 2ff8aaeedf59 22:26:15 Removing intermediate container 2ff8aaeedf59 22:26:15 ---> 82608fb82b49 22:26:15 Step 24/26 : LABEL arch=arm64 22:26:15 ---> Running in 4c314cb00cfe 22:26:15 Removing intermediate container 4c314cb00cfe 22:26:15 ---> 9af30b2e4e97 22:26:15 Step 25/26 : LABEL git_sha=ba7b0b3ba7d8982d884242c8308e1bb8179b9f52 22:26:15 ---> Running in c787ba2e935f 22:26:15 Removing intermediate container c787ba2e935f 22:26:15 ---> 0a578dc38c9f 22:26:15 Step 26/26 : LABEL version=0.0.0 22:26:15 ---> Running in 87a57a80e39a 22:26:15 Removing intermediate container 87a57a80e39a 22:26:15 ---> b4dbe88d05c0 22:26:15 [Warning] One or more build-args [ARCH] were not consumed 22:26:15 Successfully built b4dbe88d05c0 22:26:15 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:26:15 22:26:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:26:16 arm64: Pulling from edgex-lftools-log-publisher 22:26:16 8998bd30e6a1: Pulling fs layer 22:26:16 04944245beec: Pulling fs layer 22:26:16 699f458cf7ca: Pulling fs layer 22:26:16 765212b225bb: Pulling fs layer 22:26:16 f23df028b6ca: Pulling fs layer 22:26:16 d65c8cfc05b1: Pulling fs layer 22:26:16 2437ff75d9bd: Pulling fs layer 22:26:16 f23df028b6ca: Waiting 22:26:16 d65c8cfc05b1: Waiting 22:26:16 2437ff75d9bd: Waiting 22:26:16 765212b225bb: Waiting 22:26:16 04944245beec: Verifying Checksum 22:26:16 04944245beec: Download complete 22:26:16 765212b225bb: Verifying Checksum 22:26:16 765212b225bb: Download complete 22:26:16 f23df028b6ca: Verifying Checksum 22:26:16 f23df028b6ca: Download complete 22:26:16 d65c8cfc05b1: Verifying Checksum 22:26:16 d65c8cfc05b1: Download complete 22:26:16 699f458cf7ca: Verifying Checksum 22:26:16 699f458cf7ca: Download complete 22:26:17 8998bd30e6a1: Verifying Checksum 22:26:17 8998bd30e6a1: Download complete 22:26:19 2437ff75d9bd: Verifying Checksum 22:26:21 8998bd30e6a1: Pull complete 22:26:21 04944245beec: Pull complete 22:26:22 699f458cf7ca: Pull complete 22:26:23 765212b225bb: Pull complete 22:26:24 f23df028b6ca: Pull complete 22:26:24 d65c8cfc05b1: Pull complete 22:26:36 2437ff75d9bd: Pull complete 22:26:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:26:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:26:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:36 prd-ubuntu20.04-docker-arm64-4c-16g-10888 does not seem to be running inside a container 22:26:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:26:39 $ docker top 0408d6d95f3eebc0db7cffe85399a448b3bed1cd8e14354fe522df218ce335f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:26:40 ---> job-cost.sh 22:26:40 lf-activate-venv: SKIPPING 22:26:40 INFO: No Stack... 22:26:40 INFO: Retrieving Pricing Info for: v3-standard-4 22:26:41 INFO: Archiving Costs [Pipeline] sh 22:26:42 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 22:26:42 + cut -d, -f6 [Pipeline] lock 22:26:42 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-318-4-stack-cost] 22:26:42 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-318-4-stack-cost] did not exist. Created. 22:26:42 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-318-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:26:42 /w/workspace/device-onvif-camera/4@tmp/durable-29f03e13/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:26:43 + echo total: 0.10999999940395355 [Pipeline] stash 22:26:43 Warning: overwriting stash ‘stack-cost’ 22:26:43 Stashed 1 file(s) [Pipeline] } 22:26:43 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-318-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:26:43 $ docker stop --time=1 0408d6d95f3eebc0db7cffe85399a448b3bed1cd8e14354fe522df218ce335f2 22:26:44 $ docker rm -f --volumes 0408d6d95f3eebc0db7cffe85399a448b3bed1cd8e14354fe522df218ce335f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:26:45 provisioning config files... 22:26:45 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-318@tmp/config3867388480955741642tmp [Pipeline] { [Pipeline] sh 22:26:45 + set +x 22:26:45 + curl -s https://codecov.io/bash 22:26:45 + bash -s -- 22:26:45 22:26:45 _____ _ 22:26:45 / ____| | | 22:26:45 | | ___ __| | ___ ___ _____ __ 22:26:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:26:45 | |___| (_) | (_| | __/ (_| (_) \ V / 22:26:45 \_____\___/ \__,_|\___|\___\___/ \_/ 22:26:45 Bash-1.0.6 22:26:45 22:26:45 22:26:45 ==> git version 2.25.1 found 22:26:45 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:26:45 Release-Date: 2020-01-08 22:26:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:26:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:26:45 ==> Jenkins CI detected. 22:26:45 current dir:  /w/workspace/undry_device-onvif-camera_PR-318 22:26:45 project root: . 22:26:45 --> token set from env 22:26:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:26:45 ==> Running gcov in . (disable via -X gcov) 22:26:45 ==> Python coveragepy not found 22:26:45 ==> Searching for coverage reports in: 22:26:45 + . 22:26:45 -> Found 1 reports 22:26:45 ==> Detecting git/mercurial file structure 22:26:45 ==> Reading reports 22:26:45 + ./coverage.out bytes=78922 22:26:45 ==> Appending adjustments 22:26:45 https://docs.codecov.io/docs/fixing-reports 22:26:45 + Found adjustments 22:26:45 ==> Gzipping contents 22:26:45 12K /tmp/codecov.K1riF5.gz 22:26:45 ==> Uploading reports 22:26:45 url: https://codecov.io 22:26:45 query: branch=PR-318&commit=36067cc434ed8979ecf98deffcd37e0456a2e22f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-318%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=318&job=&cmd_args= 22:26:45 -> Pinging Codecov 22:26:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-318&commit=36067cc434ed8979ecf98deffcd37e0456a2e22f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-318%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=318&job=&cmd_args= 22:26:45 -> Uploading to 22:26:45 https://storage.googleapis.com/codecov/v4/raw/2023-04-25/F29A59C45E3A92E06B3E522C9905F8EF/36067cc434ed8979ecf98deffcd37e0456a2e22f/3ec4d8bd-d8cf-4d35-bf92-e4d682a3ed84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230425T222645Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=97b2e68479de8518aceeebdf9603d9fb391d810d93abff8f80f5884a8670209e 22:26:45 % Total % Received % Xferd Average Speed Time Time Time Current 22:26:45 Dload Upload Total Spent Left Speed 22:26:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 47949 --:--:-- --:--:-- --:--:-- 48169 22:26:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/36067cc434ed8979ecf98deffcd37e0456a2e22f [Pipeline] } 22:26:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:26:46 + [ -d /w/workspace/undry_device-onvif-camera_PR-318/archives ] 22:26:46 + ls -al /w/workspace/undry_device-onvif-camera_PR-318/archives 22:26:46 total 16 22:26:46 drwxr-xr-x 3 root root 4096 Apr 25 22:14 . 22:26:46 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 22:14 .. 22:26:46 drwxr-xr-x 2 root root 4096 Apr 25 22:14 cost 22:26:46 -rw-r--r-- 1 root root 91 Apr 25 22:14 cost.csv 22:26:46 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-318/archives 22:26:46 + ls -al /w/workspace/undry_device-onvif-camera_PR-318/archives 22:26:46 total 16 22:26:46 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 22:14 . 22:26:46 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 22:14 .. 22:26:46 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 22:14 cost 22:26:46 -rw-r--r-- 1 jenkins jenkins 91 Apr 25 22:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:26:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:26:48 ---> package-listing.sh 22:26:48 ++ facter osfamily 22:26:48 ++ tr '[:upper:]' '[:lower:]' 22:26:48 + OS_FAMILY=debian 22:26:48 + workspace=/w/workspace/undry_device-onvif-camera_PR-318 22:26:48 + START_PACKAGES=/tmp/packages_start.txt 22:26:48 + END_PACKAGES=/tmp/packages_end.txt 22:26:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:26:48 + PACKAGES=/tmp/packages_start.txt 22:26:48 + '[' /w/workspace/undry_device-onvif-camera_PR-318 ']' 22:26:48 + PACKAGES=/tmp/packages_end.txt 22:26:48 + case "${OS_FAMILY}" in 22:26:48 + dpkg -l 22:26:48 + grep '^ii' 22:26:48 + '[' -f /tmp/packages_start.txt ']' 22:26:48 + '[' -f /tmp/packages_end.txt ']' 22:26:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:26:48 + '[' /w/workspace/undry_device-onvif-camera_PR-318 ']' 22:26:48 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-318/archives/ 22:26:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-318/archives/ [Pipeline] echo 22:26:48 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-318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:26:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:26:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:49 prd-ubuntu20.04-docker-8c-8g-10882 does not seem to be running inside a container 22:26:49 $ 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-318/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-318 -v /w/workspace/undry_device-onvif-camera_PR-318:/w/workspace/undry_device-onvif-camera_PR-318:rw,z -v /w/workspace/undry_device-onvif-camera_PR-318@tmp:/w/workspace/undry_device-onvif-camera_PR-318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:26:49 $ docker top eda1c31de0a6f2740d2a9bb7656b37ff66889e15ed7cd6296d157e1fecc110bf -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:49 + touch /tmp/pre-build-complete [Pipeline] sh 22:26:50 + mkdir -p /var/log/sysstat [Pipeline] sh 22:26:50 + ls /var/log/sa-host 22:26:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:26:50 provisioning config files... 22:26:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-318@tmp/config10950130704573365980tmp [Pipeline] { [Pipeline] echo 22:26:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:26:50 ---> create-netrc.sh [Pipeline] } 22:26:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:26:51 ---> python-tools-install.sh [Pipeline] echo 22:26:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:26:51 ---> sudo-logs.sh 22:26:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:26:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:26:51 ---> job-cost.sh 22:26:51 lf-activate-venv: SKIPPING 22:26:51 DEBUG: total: 0.2199999988079071 22:26:51 INFO: Retrieving Stack Cost... 22:26:51 INFO: Retrieving Pricing Info for: v3-standard-8 22:26:52 INFO: Archiving Costs [Pipeline] echo 22:26:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:26:52 ---> logs-deploy.sh 22:26:52 lf-activate-venv: SKIPPING 22:26:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-318/4 22:26:52 INFO: archiving workspace using pattern(s): 22:26:53 Archives upload complete. 22:26:53 INFO: archiving logs to Nexus