Pull request #333 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at ca50ff0226266dec6d343d3687e79f892dd3f78d rather than 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 Obtained Jenkinsfile from ca50ff0226266dec6d343d3687e79f892dd3f78d 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-ssh14379920875060535202.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-ssh17062528228880178097.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-333/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-333/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11907135443801095187.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-ssh749825991839610565.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-333/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-333/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7531362403805760688.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-12627’ Running on prd-ubuntu20.04-docker-8c-8g-12630 in /w/workspace/undry_device-onvif-camera_PR-333 [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-333 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ca50ff0226266dec6d343d3687e79f892dd3f78d into PR head commit 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 Merge succeeded, producing 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 Checking out Revision 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 (PR-333) > 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/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 # 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 ca50ff0226266dec6d343d3687e79f892dd3f78d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 # timeout=10 Commit message: "refactor: tweak onvif client creation logic and remove secret cache" > git rev-list --no-walk 1ca05bc8a7440a63a166dfecc8b8679b98d0a0fe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:49:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:49:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:49:54 ========================================================= 21:49:54 EdgeX Global Pipelines Version Info 21:49:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:49:55 ------------------- 21:49:55 stable info: 21:49:55 ------------------- 21:49:55 Commited By: Bill Mahoney bill.mahoney@intel.com 21:49:55 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:49:55 Message: update stable to v1.0.248 21:49:56 ------------------- 21:49:56 experimental info: 21:49:56 ------------------- 21:49:56 Commited By: **** collab-it+edgex@linuxfoundation.org 21:49:56 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:49:56 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-333 [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-333 [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-333 [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b4845b [Pipeline] echo 21:49:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:56 provisioning config files... 21:49:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-333@tmp/config6115567198479805016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:56 ---> docker-login.sh 21:49:56 nexus3.edgexfoundry.org:10001 21:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:57 Configure a credential helper to remove this warning. See 21:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:57 21:49:57 Login Succeeded 21:49:57 nexus3.edgexfoundry.org:10002 21:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:57 Configure a credential helper to remove this warning. See 21:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:57 21:49:57 Login Succeeded 21:49:57 nexus3.edgexfoundry.org:10003 21:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:57 Configure a credential helper to remove this warning. See 21:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:57 21:49:57 Login Succeeded 21:49:57 nexus3.edgexfoundry.org:10004 21:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:57 Configure a credential helper to remove this warning. See 21:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:57 21:49:57 Login Succeeded 21:49:57 docker.io 21:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:58 Configure a credential helper to remove this warning. See 21:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:58 21:49:58 Login Succeeded 21:49:58 ---> docker-login.sh ends [Pipeline] } 21:49:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:49:58 + git rev-list -1 --merges 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59~1..8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 [Pipeline] echo 21:49:58 -----------> git rev-list -1 --merges 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59~1..8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 [false] [Pipeline] sh 21:49:58 + git log --format=format:%s -1 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 [Pipeline] echo 21:49:58 ========================================================= 21:49:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:49:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:49:59 + git log --format=format:%s -1 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 [Pipeline] echo 21:49:59 [semverPrep] GIT_COMMIT: 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59, Commit Message: refactor: tweak onvif client creation logic and remove secret cache [Pipeline] echo 21:49:59 [semverPrep] This is not a build commit. [Pipeline] sh 21:49:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:49:59 + grep -v github /etc/ssh/ssh_known_hosts 21:49:59 + [ -e /tmp/ssh_known_hosts ] 21:49:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:49:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:49:59 + sudo tee -a /etc/ssh/ssh_known_hosts 21:49:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:49:59 21:49:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:50:00 0.1.4: Pulling from edgex-devops/py-git-semver 21:50:00 b85a868b505f: Pulling fs layer 21:50:00 e2be974225ed: Pulling fs layer 21:50:00 339a4e72a1f5: Pulling fs layer 21:50:00 988bab9f4d93: Pulling fs layer 21:50:00 1469e6f7b9e6: Pulling fs layer 21:50:00 eaf3925da568: Pulling fs layer 21:50:00 bab4dde63d76: Pulling fs layer 21:50:00 bde34c3a00c8: Pulling fs layer 21:50:00 b352a97aabf1: Pulling fs layer 21:50:00 4872d77fe225: Pulling fs layer 21:50:00 5851b861e8e6: Pulling fs layer 21:50:00 bde34c3a00c8: Waiting 21:50:00 988bab9f4d93: Waiting 21:50:00 1469e6f7b9e6: Waiting 21:50:00 b352a97aabf1: Waiting 21:50:00 4872d77fe225: Waiting 21:50:00 5851b861e8e6: Waiting 21:50:00 bab4dde63d76: Waiting 21:50:00 eaf3925da568: Waiting 21:50:00 e2be974225ed: Download complete 21:50:00 988bab9f4d93: Download complete 21:50:00 1469e6f7b9e6: Verifying Checksum 21:50:00 1469e6f7b9e6: Download complete 21:50:00 eaf3925da568: Verifying Checksum 21:50:00 eaf3925da568: Download complete 21:50:00 339a4e72a1f5: Verifying Checksum 21:50:00 339a4e72a1f5: Download complete 21:50:00 bde34c3a00c8: Verifying Checksum 21:50:00 bde34c3a00c8: Download complete 21:50:00 b352a97aabf1: Verifying Checksum 21:50:00 b352a97aabf1: Download complete 21:50:00 4872d77fe225: Download complete 21:50:00 5851b861e8e6: Verifying Checksum 21:50:00 5851b861e8e6: Download complete 21:50:00 b85a868b505f: Verifying Checksum 21:50:00 b85a868b505f: Download complete 21:50:00 bab4dde63d76: Verifying Checksum 21:50:00 bab4dde63d76: Download complete 21:50:01 b85a868b505f: Pull complete 21:50:01 e2be974225ed: Pull complete 21:50:02 339a4e72a1f5: Pull complete 21:50:02 988bab9f4d93: Pull complete 21:50:02 1469e6f7b9e6: Pull complete 21:50:02 eaf3925da568: Pull complete 21:50:04 bab4dde63d76: Pull complete 21:50:04 bde34c3a00c8: Pull complete 21:50:04 b352a97aabf1: Pull complete 21:50:04 4872d77fe225: Pull complete 21:50:04 5851b861e8e6: Pull complete 21:50:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:50:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:50:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:04 prd-ubuntu20.04-docker-8c-8g-12630 does not seem to be running inside a container 21:50:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@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-devops/py-git-semver:0.1.4 cat 21:50:05 $ docker top 460c7fac213638f3341a60ab8435df3dc793782929fccada034a919ef8b0ce9d -eo pid,comm 21:50:05 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). 21:50:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:50:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:50:05 [ssh-agent] Looking for ssh-agent implementation... 21:50:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:50:05 $ docker exec 460c7fac213638f3341a60ab8435df3dc793782929fccada034a919ef8b0ce9d ssh-agent 21:50:05 SSH_AUTH_SOCK=/tmp/ssh-UPP2E9b5Ofnd/agent.33 21:50:05 SSH_AGENT_PID=39 21:50:05 Running ssh-add (command line suppressed) 21:50:06 Identity added: /w/workspace/undry_device-onvif-camera_PR-333@tmp/private_key_12360947606408516717.key (/w/workspace/undry_device-onvif-camera_PR-333@tmp/private_key_12360947606408516717.key) 21:50:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:50:06 + git tag --points-at HEAD [Pipeline] } 21:50:06 $ docker exec --env ******** --env ******** 460c7fac213638f3341a60ab8435df3dc793782929fccada034a919ef8b0ce9d ssh-agent -k 21:50:06 unset SSH_AUTH_SOCK; 21:50:06 unset SSH_AGENT_PID; 21:50:06 echo Agent pid 39 killed; 21:50:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:50:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:50:06 [ssh-agent] Looking for ssh-agent implementation... 21:50:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:50:06 $ docker exec 460c7fac213638f3341a60ab8435df3dc793782929fccada034a919ef8b0ce9d ssh-agent 21:50:06 SSH_AUTH_SOCK=/tmp/ssh-T1YnW53rHK9k/agent.71 21:50:06 SSH_AGENT_PID=77 21:50:06 Running ssh-add (command line suppressed) 21:50:06 Identity added: /w/workspace/undry_device-onvif-camera_PR-333@tmp/private_key_17143343975822380993.key (/w/workspace/undry_device-onvif-camera_PR-333@tmp/private_key_17143343975822380993.key) 21:50:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:50:07 + git semver init 21:50:07 2023-05-03 21:50:07,260 [run_init] DEBUG init version:0.0.0 force:False 21:50:07 2023-05-03 21:50:07,262 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-333/.semver 21:50:07 2023-05-03 21:50:07,263 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-333/.semver 21:50:07 2023-05-03 21:50:07,263 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-333/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-333, universal_newlines=False, shell=None, istream=None) 21:50:08 2023-05-03 21:50:08,167 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-333/.git/info/exclude 21:50:08 2023-05-03 21:50:08,168 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-333/.semver/PR-333 with force:False 21:50:08 2023-05-03 21:50:08,168 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-333/.semver/PR-333 21:50:08 2023-05-03 21:50:08,172 [execute] INFO git cat-file --batch-check 21:50:08 2023-05-03 21:50:08,172 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-333/.semver, universal_newlines=False, shell=None, istream=) 21:50:08 2023-05-03 21:50:08,177 [execute] INFO git cat-file --batch 21:50:08 2023-05-03 21:50:08,177 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-333/.semver, universal_newlines=False, shell=None, istream=) 21:50:08 2023-05-03 21:50:08,182 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-333/.semver/PR-333 21:50:08 0.0.0 [Pipeline] } 21:50:08 $ docker exec --env ******** --env ******** 460c7fac213638f3341a60ab8435df3dc793782929fccada034a919ef8b0ce9d ssh-agent -k 21:50:08 unset SSH_AUTH_SOCK; 21:50:08 unset SSH_AGENT_PID; 21:50:08 echo Agent pid 77 killed; 21:50:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:50:08 + git semver [Pipeline] } 21:50:08 $ docker stop --time=1 460c7fac213638f3341a60ab8435df3dc793782929fccada034a919ef8b0ce9d 21:50:10 $ docker rm -f --volumes 460c7fac213638f3341a60ab8435df3dc793782929fccada034a919ef8b0ce9d [Pipeline] // withDockerContainer [Pipeline] sh 21:50:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:50:10 Stashed 1 file(s) [Pipeline] echo 21:50:10 [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 21:50:10 provisioning config files... 21:50:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-333@tmp/config3752329263933591415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:11 ---> docker-login.sh 21:50:11 nexus3.edgexfoundry.org:10001 21:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:11 Configure a credential helper to remove this warning. See 21:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:11 21:50:11 Login Succeeded 21:50:11 nexus3.edgexfoundry.org:10002 21:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:11 Configure a credential helper to remove this warning. See 21:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:11 21:50:11 Login Succeeded 21:50:11 nexus3.edgexfoundry.org:10003 21:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:11 Configure a credential helper to remove this warning. See 21:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:11 21:50:11 Login Succeeded 21:50:11 nexus3.edgexfoundry.org:10004 21:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:11 Configure a credential helper to remove this warning. See 21:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:11 21:50:11 Login Succeeded 21:50:11 docker.io 21:50:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:11 Configure a credential helper to remove this warning. See 21:50:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:11 21:50:11 Login Succeeded 21:50:11 ---> docker-login.sh ends [Pipeline] } 21:50:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:50:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:50:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:50:11 ========================================================= 21:50:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:50:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:12 + 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 . 21:50:12 Sending build context to Docker daemon 21.58MB 21:50:12 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:50:12 Step 2/13 : FROM ${BASE} AS builder 21:50:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:50:12 f56be85fc22e: Pulling fs layer 21:50:12 85791d961cd3: Pulling fs layer 21:50:12 d694b5ae8c79: Pulling fs layer 21:50:12 9f32a84ed3da: Pulling fs layer 21:50:12 4d19c01a9841: Pulling fs layer 21:50:12 9325e15d5711: Pulling fs layer 21:50:12 556b6ee489ea: Pulling fs layer 21:50:12 c5a4b2cf53e6: Pulling fs layer 21:50:12 9f32a84ed3da: Waiting 21:50:12 4d19c01a9841: Waiting 21:50:12 9325e15d5711: Waiting 21:50:12 556b6ee489ea: Waiting 21:50:12 c5a4b2cf53e6: Waiting 21:50:12 85791d961cd3: Verifying Checksum 21:50:12 85791d961cd3: Download complete 21:50:12 9f32a84ed3da: Verifying Checksum 21:50:12 9f32a84ed3da: Download complete 21:50:12 4d19c01a9841: Verifying Checksum 21:50:12 4d19c01a9841: Download complete 21:50:12 f56be85fc22e: Verifying Checksum 21:50:12 f56be85fc22e: Download complete 21:50:12 9325e15d5711: Verifying Checksum 21:50:12 9325e15d5711: Download complete 21:50:12 f56be85fc22e: Pull complete 21:50:12 85791d961cd3: Pull complete 21:50:12 c5a4b2cf53e6: Verifying Checksum 21:50:12 c5a4b2cf53e6: Download complete 21:50:12 d694b5ae8c79: Verifying Checksum 21:50:12 d694b5ae8c79: Download complete 21:50:13 556b6ee489ea: Verifying Checksum 21:50:13 556b6ee489ea: Download complete 21:50:15 d694b5ae8c79: Pull complete 21:50:15 9f32a84ed3da: Pull complete 21:50:15 4d19c01a9841: Pull complete 21:50:15 9325e15d5711: Pull complete 21:50:18 556b6ee489ea: Pull complete 21:50:18 c5a4b2cf53e6: Pull complete 21:50:18 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:50:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:50:18 ---> c4be618373d6 21:50:18 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:50:20 ---> Running in 45dc6b20ab16 21:50:20 Removing intermediate container 45dc6b20ab16 21:50:20 ---> 9bfe48c25291 21:50:20 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:50:20 ---> Running in eca236263d3a 21:50:20 Removing intermediate container eca236263d3a 21:50:20 ---> f677ab5bbcd8 21:50:20 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:50:20 ---> Running in c99899898939 21:50:20 Removing intermediate container c99899898939 21:50:20 ---> 859c7062608d 21:50:20 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:50:20 ---> Running in 26b4e41dfec6 21:50:20 Removing intermediate container 26b4e41dfec6 21:50:20 ---> 0cfc5838fc04 21:50:20 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:50:20 ---> Running in 78e3d738b4ce 21:50:20 Removing intermediate container 78e3d738b4ce 21:50:20 ---> 58355267f254 21:50:20 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:50:20 ---> Running in 04a21f016a77 21:50:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:50:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:50:21 OK: 265 MiB in 53 packages 21:50:21 Removing intermediate container 04a21f016a77 21:50:21 ---> 104bc0193cd0 21:50:21 Step 9/13 : WORKDIR /device-onvif-camera 21:50:21 ---> Running in 182c43077528 21:50:21 Removing intermediate container 182c43077528 21:50:21 ---> 686b6bf8647d 21:50:21 Step 10/13 : COPY go.mod vendor* ./ 21:50:21 ---> e5eddb4eb48c 21:50:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:50:21 ---> Running in d347b9483a51 21:50:25 Still waiting to schedule task 21:50:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12628’ 21:50:48 Removing intermediate container d347b9483a51 21:50:48 ---> ab3485a6e77b 21:50:48 Step 12/13 : COPY . . 21:50:48 ---> e4fc6a5db408 21:50:48 Step 13/13 : RUN ${MAKE} 21:50:48 ---> Running in 3bbc8956dd5b 21:50:48 noop 21:50:48 Removing intermediate container 3bbc8956dd5b 21:50:48 ---> 8d6382bc26c4 21:50:48 Successfully built 8d6382bc26c4 21:50:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:49 + docker inspect -f . ci-base-image-x86_64 21:50:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:49 prd-ubuntu20.04-docker-8c-8g-12630 does not seem to be running inside a container 21:50:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:50:49 $ docker top 31a9a26cfc42eb050da424acefd13cc59620424828b2971eca8dd3bef9ad0812 -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:49 + go version 21:50:49 go version go1.20.2 linux/amd64 [Pipeline] } 21:50:49 $ docker stop --time=1 31a9a26cfc42eb050da424acefd13cc59620424828b2971eca8dd3bef9ad0812 21:50:51 $ docker rm -f --volumes 31a9a26cfc42eb050da424acefd13cc59620424828b2971eca8dd3bef9ad0812 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:51 + docker inspect -f . ci-base-image-x86_64 21:50:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:51 prd-ubuntu20.04-docker-8c-8g-12630 does not seem to be running inside a container 21:50:51 $ 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-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:50:51 $ docker top 345b84375b2a824b8401e788420afb1fa61a5f7a6742d61ad599d8a2c7ff9532 -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:52 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-333 [Pipeline] fileExists [Pipeline] sh 21:50:52 + make test 21:50:52 go test ./... -coverprofile=coverage.out ./... 21:50:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:51:07 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:51:07 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:51:08 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.1% of statements 21:51:08 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.070s coverage: 86.5% of statements 21:51:15 go vet ./... 21:51:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:51:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:51:18 ./bin/test-attribution-txt.sh [Pipeline] echo 21:51:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:51:18 $ docker stop --time=1 345b84375b2a824b8401e788420afb1fa61a5f7a6742d61ad599d8a2c7ff9532 21:51:21 $ docker rm -f --volumes 345b84375b2a824b8401e788420afb1fa61a5f7a6742d61ad599d8a2c7ff9532 [Pipeline] // withDockerContainer [Pipeline] sh 21:51:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:51:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:51:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:51:22 + ls -al . 21:51:22 total 232 21:51:22 drwxrwxr-x 10 jenkins jenkins 4096 May 3 21:50 . 21:51:22 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:49 .. 21:51:22 drwxrwxr-x 8 jenkins jenkins 4096 May 3 21:50 .git 21:51:22 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:49 .github 21:51:22 -rw-rw-r-- 1 jenkins jenkins 496 May 3 21:49 .gitignore 21:51:22 -rw-rw-r-- 1 jenkins jenkins 42 May 3 21:49 .golangci.yml 21:51:22 drwxr-xr-x 3 jenkins jenkins 4096 May 3 21:50 .semver 21:51:22 -rw-rw-r-- 1 jenkins jenkins 10087 May 3 21:49 Attribution.txt 21:51:22 -rw-rw-r-- 1 jenkins jenkins 6312 May 3 21:49 CHANGELOG.md 21:51:22 -rw-rw-r-- 1 jenkins jenkins 1574 May 3 21:49 Dockerfile 21:51:22 -rw-rw-r-- 1 jenkins jenkins 677 May 3 21:49 GOVERNANCE.md 21:51:22 -rw-rw-r-- 1 jenkins jenkins 734 May 3 21:49 Jenkinsfile 21:51:22 -rw-rw-r-- 1 jenkins jenkins 11348 May 3 21:49 LICENSE 21:51:22 -rw-rw-r-- 1 jenkins jenkins 2751 May 3 21:49 Makefile 21:51:22 -rw-rw-r-- 1 jenkins jenkins 625 May 3 21:49 OWNERS.md 21:51:22 -rw-rw-r-- 1 jenkins jenkins 2591 May 3 21:49 README.md 21:51:22 -rw-rw-r-- 1 jenkins jenkins 5 May 3 21:50 VERSION 21:51:22 drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:49 bin 21:51:22 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:49 cmd 21:51:22 -rw-r--r-- 1 jenkins jenkins 79191 May 3 21:51 coverage.out 21:51:22 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:49 doc 21:51:22 -rw-rw-r-- 1 jenkins jenkins 3642 May 3 21:49 go.mod 21:51:22 -rw-rw-r-- 1 jenkins jenkins 33491 May 3 21:49 go.sum 21:51:22 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:49 internal 21:51:22 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:49 snap 21:51:22 -rw-rw-r-- 1 jenkins jenkins 236 May 3 21:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:23 + 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=8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 --label arch=amd64 --label version=0.0.0 . 21:51:23 Sending build context to Docker daemon 21.66MB 21:51:23 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:51:23 Step 2/26 : FROM ${BASE} AS builder 21:51:23 ---> 8d6382bc26c4 21:51:23 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:51:23 ---> Running in c2098087b921 21:51:23 Removing intermediate container c2098087b921 21:51:23 ---> 2252655c52e2 21:51:23 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:51:23 ---> Running in ce863867433d 21:51:23 Removing intermediate container ce863867433d 21:51:23 ---> cc205b83a796 21:51:23 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:51:23 ---> Running in f7dcff194e5f 21:51:23 Removing intermediate container f7dcff194e5f 21:51:23 ---> 137231f4208a 21:51:23 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:51:23 ---> Running in 5c56c339e89c 21:51:23 Removing intermediate container 5c56c339e89c 21:51:23 ---> 9be3078bda53 21:51:23 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:51:23 ---> Running in ff677cc60bc1 21:51:24 Removing intermediate container ff677cc60bc1 21:51:24 ---> 3429e563bc63 21:51:24 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:51:24 ---> Running in 004da73e4410 21:51:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:51:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:51:24 OK: 265 MiB in 53 packages 21:51:25 Removing intermediate container 004da73e4410 21:51:25 ---> 6dc07b3ba37c 21:51:25 Step 9/26 : WORKDIR /device-onvif-camera 21:51:25 ---> Running in c85da7bb9cb1 21:51:26 Removing intermediate container c85da7bb9cb1 21:51:26 ---> d81415bc2dfa 21:51:26 Step 10/26 : COPY go.mod vendor* ./ 21:51:26 ---> 7beac3badc05 21:51:26 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:51:27 ---> Running in 4bc6461d9398 21:51:28 Removing intermediate container 4bc6461d9398 21:51:28 ---> eec627ab8882 21:51:28 Step 12/26 : COPY . . 21:51:29 ---> 14516867f707 21:51:29 Step 13/26 : RUN ${MAKE} 21:51:29 ---> Running in e73ac4e500d9 21:51:30 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 21:51:48 Removing intermediate container e73ac4e500d9 21:51:48 ---> 2287c6eaa8b4 21:51:48 Step 14/26 : FROM alpine:3.17 21:51:48 3.17: Pulling from library/alpine 21:51:48 f56be85fc22e: Already exists 21:51:48 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:51:48 Status: Downloaded newer image for alpine:3.17 21:51:48 ---> 9ed4aefc74f6 21:51:48 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:51:48 ---> Running in ae60483d8058 21:51:48 Removing intermediate container ae60483d8058 21:51:48 ---> 0570a442edf7 21:51:48 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:51:48 ---> Running in e5c076bc2839 21:51:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:51:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:51:49 (1/1) Installing dumb-init (1.2.5-r2) 21:51:49 Executing busybox-1.35.0-r29.trigger 21:51:49 OK: 7 MiB in 16 packages 21:51:49 Removing intermediate container e5c076bc2839 21:51:49 ---> 2597061dc91e 21:51:49 Step 17/26 : WORKDIR / 21:51:49 ---> Running in 3c100462b671 21:51:49 Removing intermediate container 3c100462b671 21:51:49 ---> 99db36b188d7 21:51:49 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:51:50 ---> 6fdd7ad7a749 21:51:50 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:51:50 ---> 7ac0e789801c 21:51:50 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:51:50 ---> 50a30b4217e9 21:51:50 Step 21/26 : EXPOSE 59984 21:51:50 ---> Running in 87bdaa632587 21:51:50 Removing intermediate container 87bdaa632587 21:51:50 ---> d5eee7b9bcf2 21:51:50 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:51:50 ---> Running in 1c41a3141dad 21:51:50 Removing intermediate container 1c41a3141dad 21:51:50 ---> de9271323dc5 21:51:50 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:51:50 ---> Running in c7665f182ab5 21:51:50 Removing intermediate container c7665f182ab5 21:51:50 ---> 1c573f243024 21:51:50 Step 24/26 : LABEL arch=amd64 21:51:50 ---> Running in 4e6a13b7bd69 21:51:50 Removing intermediate container 4e6a13b7bd69 21:51:50 ---> 0dc9b7393306 21:51:50 Step 25/26 : LABEL git_sha=8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 21:51:50 ---> Running in f44e338ea82c 21:51:50 Removing intermediate container f44e338ea82c 21:51:50 ---> 4404880a4718 21:51:50 Step 26/26 : LABEL version=0.0.0 21:51:50 ---> Running in 03fb1ab2e458 21:51:50 Removing intermediate container 03fb1ab2e458 21:51:50 ---> 1dd0565eb5a9 21:51:50 [Warning] One or more build-args [ARCH] were not consumed 21:51:50 Successfully built 1dd0565eb5a9 21:51:50 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 21:51:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:51:51 21:51:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:51:51 latest: Pulling from edgex-lftools-log-publisher 21:51:51 5eb5b503b376: Pulling fs layer 21:51:51 5c69ac0246d0: Pulling fs layer 21:51:51 ec43610c2a17: Pulling fs layer 21:51:51 3a2ae6a8a46f: Pulling fs layer 21:51:51 33b1e0a273af: Pulling fs layer 21:51:51 5d3b04190fa2: Pulling fs layer 21:51:51 2f39f015ded8: Pulling fs layer 21:51:51 3a2ae6a8a46f: Waiting 21:51:51 5d3b04190fa2: Waiting 21:51:51 2f39f015ded8: Waiting 21:51:51 33b1e0a273af: Waiting 21:51:51 5c69ac0246d0: Download complete 21:51:51 3a2ae6a8a46f: Verifying Checksum 21:51:51 3a2ae6a8a46f: Download complete 21:51:51 33b1e0a273af: Verifying Checksum 21:51:51 33b1e0a273af: Download complete 21:51:51 5d3b04190fa2: Verifying Checksum 21:51:51 5d3b04190fa2: Download complete 21:51:51 ec43610c2a17: Verifying Checksum 21:51:51 ec43610c2a17: Download complete 21:51:51 5eb5b503b376: Verifying Checksum 21:51:51 5eb5b503b376: Download complete 21:51:52 2f39f015ded8: Download complete 21:51:53 5eb5b503b376: Pull complete 21:51:53 5c69ac0246d0: Pull complete 21:51:53 ec43610c2a17: Pull complete 21:51:53 3a2ae6a8a46f: Pull complete 21:51:53 33b1e0a273af: Pull complete 21:51:53 5d3b04190fa2: Pull complete 21:51:58 2f39f015ded8: Pull complete 21:51:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:51:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:51:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:58 prd-ubuntu20.04-docker-8c-8g-12630 does not seem to be running inside a container 21:51:58 $ 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-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:52:00 $ docker top d1f429d82b7df123ee9f23826b4270826af5415b786fa3d31cd89b54e68e0759 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:00 ---> job-cost.sh 21:52:00 lf-activate-venv: SKIPPING 21:52:00 INFO: No Stack... 21:52:00 INFO: Retrieving Pricing Info for: v3-standard-8 21:52:01 INFO: Archiving Costs [Pipeline] sh 21:52:01 + cut -d, -f6 21:52:01 + cat /w/workspace/undry_device-onvif-camera_PR-333/archives/cost.csv [Pipeline] lock 21:52:01 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-333-3-stack-cost] 21:52:01 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-333-3-stack-cost] did not exist. Created. 21:52:01 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-333-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:52:01 + echo total: 0.2199999988079071 [Pipeline] stash 21:52:01 Stashed 1 file(s) [Pipeline] } 21:52:01 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-333-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:52:01 $ docker stop --time=1 d1f429d82b7df123ee9f23826b4270826af5415b786fa3d31cd89b54e68e0759 21:52:03 $ docker rm -f --volumes d1f429d82b7df123ee9f23826b4270826af5415b786fa3d31cd89b54e68e0759 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:53:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12632 in /w/workspace/undry_device-onvif-camera_PR-333 [Pipeline] { [Pipeline] ws 21:53:50 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 21:53:50 The recommended git tool is: git 21:53:56 using credential edgex-jenkins-ssh 21:53:56 Cloning the remote Git repository 21:53:56 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 21:53:56 > git init /w/workspace/device-onvif-camera/3 # timeout=10 21:53:56 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:53:56 > git --version # timeout=10 21:53:56 > git --version # 'git version 2.25.1' 21:53:56 using GIT_SSH to set credentials SSH Credentials for GitHub 21:53:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:53:58 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:53:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:53:59 Merging remotes/origin/main commit ca50ff0226266dec6d343d3687e79f892dd3f78d into PR head commit 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 21:53:58 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:53:58 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:53:58 using GIT_SSH to set credentials SSH Credentials for GitHub 21:53:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:53:59 > git config core.sparsecheckout # timeout=10 21:53:59 Merge succeeded, producing 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 21:53:59 Checking out Revision 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 (PR-333) 21:53:59 > git checkout -f 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 # timeout=10 21:53:59 > git remote # timeout=10 21:53:59 > git config --get remote.origin.url # timeout=10 21:53:59 using GIT_SSH to set credentials SSH Credentials for GitHub 21:53:59 > git merge ca50ff0226266dec6d343d3687e79f892dd3f78d # timeout=10 21:53:59 > git rev-parse HEAD^{commit} # timeout=10 21:54:00 > git config core.sparsecheckout # timeout=10 21:54:00 > git checkout -f 8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 # timeout=10 21:54:03 Commit message: "refactor: tweak onvif client creation logic and remove secret cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:54:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:54:04 % Total % Received % Xferd Average Speed Time Time Time Current 21:54:04 Dload Upload Total Spent Left Speed 21:54:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 21:54:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:54:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:54:06 + sudo tee /etc/docker/daemon.new 21:54:06 { 21:54:06 "registry-mirrors": [ 21:54:06 "https://nexus3.edgexfoundry.org:10001" 21:54:06 ], 21:54:06 "bip": "10.250.0.254/24", 21:54:06 "hosts": [ 21:54:06 "tcp://0.0.0.0:5555", 21:54:06 "unix:///var/run/docker.sock" 21:54:06 ], 21:54:06 "mtu": 1458, 21:54:06 "selinux-enabled": true, 21:54:06 "seccomp-profile": "/etc/docker/seccomp.json" 21:54:06 } [Pipeline] sh 21:54:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:54:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:54:25 provisioning config files... 21:54:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config5839007347896966983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:25 ---> docker-login.sh 21:54:25 nexus3.edgexfoundry.org:10001 21:54:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:26 Configure a credential helper to remove this warning. See 21:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:26 21:54:26 Login Succeeded 21:54:26 nexus3.edgexfoundry.org:10002 21:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:26 Configure a credential helper to remove this warning. See 21:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:26 21:54:26 Login Succeeded 21:54:26 nexus3.edgexfoundry.org:10003 21:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:26 Configure a credential helper to remove this warning. See 21:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:26 21:54:26 Login Succeeded 21:54:26 nexus3.edgexfoundry.org:10004 21:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:27 Configure a credential helper to remove this warning. See 21:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:27 21:54:27 Login Succeeded 21:54:27 docker.io 21:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:27 Configure a credential helper to remove this warning. See 21:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:27 21:54:27 Login Succeeded 21:54:27 ---> docker-login.sh ends [Pipeline] } 21:54:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:54:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:54:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:54:27 ========================================================= 21:54:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:54:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:28 + 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 . 21:54:28 Sending build context to Docker daemon 14.3MB 21:54:28 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:54:28 Step 2/13 : FROM ${BASE} AS builder 21:54:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:54:28 c41833b44d91: Pulling fs layer 21:54:28 ed15518f5707: Pulling fs layer 21:54:28 feae8fd75edb: Pulling fs layer 21:54:28 242c74f7c9fa: Pulling fs layer 21:54:28 3cdef696dda3: Pulling fs layer 21:54:28 2ced38df9373: Pulling fs layer 21:54:28 58f1dce35555: Pulling fs layer 21:54:28 242c74f7c9fa: Waiting 21:54:28 2ced38df9373: Waiting 21:54:28 58f1dce35555: Waiting 21:54:28 3cdef696dda3: Waiting 21:54:28 ed15518f5707: Verifying Checksum 21:54:28 ed15518f5707: Download complete 21:54:29 242c74f7c9fa: Verifying Checksum 21:54:29 242c74f7c9fa: Download complete 21:54:29 3cdef696dda3: Verifying Checksum 21:54:29 3cdef696dda3: Download complete 21:54:29 c41833b44d91: Verifying Checksum 21:54:29 c41833b44d91: Download complete 21:54:30 c41833b44d91: Pull complete 21:54:30 58f1dce35555: Verifying Checksum 21:54:30 58f1dce35555: Download complete 21:54:31 feae8fd75edb: Verifying Checksum 21:54:31 feae8fd75edb: Download complete 21:54:31 2ced38df9373: Download complete 21:54:33 ed15518f5707: Pull complete 21:54:48 feae8fd75edb: Pull complete 21:54:48 242c74f7c9fa: Pull complete 21:54:48 3cdef696dda3: Pull complete 21:54:55 2ced38df9373: Pull complete 21:54:57 58f1dce35555: Pull complete 21:54:57 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:54:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:54:57 ---> fadd8f120f05 21:54:57 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:54:59 ---> Running in 5f115559cad1 21:54:59 Removing intermediate container 5f115559cad1 21:54:59 ---> b47b056d6d30 21:54:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:55:00 ---> Running in 8782dded193b 21:55:00 Removing intermediate container 8782dded193b 21:55:00 ---> b78ba210a67b 21:55:00 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:55:00 ---> Running in e26596bf4e4b 21:55:00 Removing intermediate container e26596bf4e4b 21:55:00 ---> cc8190e14f9e 21:55:00 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:55:00 ---> Running in c75c877cea64 21:55:01 Removing intermediate container c75c877cea64 21:55:01 ---> c9d827d5caf1 21:55:01 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:55:01 ---> Running in 3656cd17d9e6 21:55:01 Removing intermediate container 3656cd17d9e6 21:55:01 ---> e21dff506af7 21:55:01 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:55:01 ---> Running in 66921cf0fbc1 21:55:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:55:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:55:04 OK: 263 MiB in 53 packages 21:55:05 Removing intermediate container 66921cf0fbc1 21:55:05 ---> 063c50951d56 21:55:05 Step 9/13 : WORKDIR /device-onvif-camera 21:55:05 ---> Running in 066aa575a78b 21:55:05 Removing intermediate container 066aa575a78b 21:55:05 ---> 6b590414b811 21:55:05 Step 10/13 : COPY go.mod vendor* ./ 21:55:05 ---> 825fbadc25b6 21:55:05 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:55:05 ---> Running in 711704eedef6 21:56:13 Removing intermediate container 711704eedef6 21:56:13 ---> a37c00aef3b8 21:56:13 Step 12/13 : COPY . . 21:56:13 ---> 7d2d97c9e068 21:56:13 Step 13/13 : RUN ${MAKE} 21:56:13 ---> Running in a6b972d58a6a 21:56:13 noop 21:56:13 Removing intermediate container a6b972d58a6a 21:56:13 ---> 3b23b16194c6 21:56:13 Successfully built 3b23b16194c6 21:56:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:14 + docker inspect -f . ci-base-image-arm64 21:56:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:14 prd-ubuntu20.04-docker-arm64-4c-16g-12632 does not seem to be running inside a container 21:56:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:56:15 $ docker top 6ec1ffe3c6ac746560810f6da4e0c61ae5dbc55fbee69a827d749623fe5aafef -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:16 + go version 21:56:16 go version go1.20.2 linux/arm64 [Pipeline] } 21:56:16 $ docker stop --time=1 6ec1ffe3c6ac746560810f6da4e0c61ae5dbc55fbee69a827d749623fe5aafef 21:56:18 $ docker rm -f --volumes 6ec1ffe3c6ac746560810f6da4e0c61ae5dbc55fbee69a827d749623fe5aafef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:18 + docker inspect -f . ci-base-image-arm64 21:56:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:18 prd-ubuntu20.04-docker-arm64-4c-16g-12632 does not seem to be running inside a container 21:56:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:56:19 $ docker top 4c9aca9e1694fa1f4989362b15c7555cf1b5b1369ba0967fa16be0d1d5fa713a -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:20 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 21:56:21 + make test 21:56:21 go test ./... -coverprofile=coverage.out ./... 21:56:53 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:59:00 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:59:02 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:59:05 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.217s coverage: 31.1% of statements 21:59:32 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.980s coverage: 86.5% of statements 21:59:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:59:32 go vet ./... 21:59:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:59:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:59:58 ./bin/test-attribution-txt.sh [Pipeline] echo 21:59:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:59:58 $ docker stop --time=1 4c9aca9e1694fa1f4989362b15c7555cf1b5b1369ba0967fa16be0d1d5fa713a 22:00:01 $ docker rm -f --volumes 4c9aca9e1694fa1f4989362b15c7555cf1b5b1369ba0967fa16be0d1d5fa713a [Pipeline] // withDockerContainer [Pipeline] sh 22:00:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:00:02 Warning: overwriting stash ‘coverage-report’ 22:00:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:00:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:00:04 + ls -al . 22:00:04 total 228 22:00:04 drwxrwxr-x 9 jenkins jenkins 4096 May 3 21:56 . 22:00:04 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:53 .. 22:00:04 drwxrwxr-x 8 jenkins jenkins 4096 May 3 21:54 .git 22:00:04 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:53 .github 22:00:04 -rw-rw-r-- 1 jenkins jenkins 496 May 3 21:53 .gitignore 22:00:04 -rw-rw-r-- 1 jenkins jenkins 42 May 3 21:53 .golangci.yml 22:00:04 -rw-rw-r-- 1 jenkins jenkins 10087 May 3 21:53 Attribution.txt 22:00:04 -rw-rw-r-- 1 jenkins jenkins 6312 May 3 21:53 CHANGELOG.md 22:00:04 -rw-rw-r-- 1 jenkins jenkins 1574 May 3 21:53 Dockerfile 22:00:04 -rw-rw-r-- 1 jenkins jenkins 677 May 3 21:53 GOVERNANCE.md 22:00:04 -rw-rw-r-- 1 jenkins jenkins 734 May 3 21:53 Jenkinsfile 22:00:04 -rw-rw-r-- 1 jenkins jenkins 11348 May 3 21:53 LICENSE 22:00:04 -rw-rw-r-- 1 jenkins jenkins 2751 May 3 21:53 Makefile 22:00:04 -rw-rw-r-- 1 jenkins jenkins 625 May 3 21:53 OWNERS.md 22:00:04 -rw-rw-r-- 1 jenkins jenkins 2591 May 3 21:53 README.md 22:00:04 -rw-rw-r-- 1 jenkins jenkins 5 May 3 21:50 VERSION 22:00:04 drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:53 bin 22:00:04 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:53 cmd 22:00:04 -rw-r--r-- 1 jenkins jenkins 79191 May 3 21:59 coverage.out 22:00:04 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:53 doc 22:00:04 -rw-rw-r-- 1 jenkins jenkins 3642 May 3 21:53 go.mod 22:00:04 -rw-rw-r-- 1 jenkins jenkins 33491 May 3 21:53 go.sum 22:00:04 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:53 internal 22:00:04 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:53 snap 22:00:04 -rw-rw-r-- 1 jenkins jenkins 236 May 3 21:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:04 + 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=8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 --label arch=arm64 --label version=0.0.0 . 22:00:05 Sending build context to Docker daemon 14.37MB 22:00:05 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:00:05 Step 2/26 : FROM ${BASE} AS builder 22:00:05 ---> 3b23b16194c6 22:00:05 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:00:05 ---> Running in e6e1ac69f37f 22:00:05 Removing intermediate container e6e1ac69f37f 22:00:05 ---> 13c736b77a10 22:00:05 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:00:05 ---> Running in 20814d635bb0 22:00:05 Removing intermediate container 20814d635bb0 22:00:05 ---> a7ac1654a5aa 22:00:05 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:00:05 ---> Running in 81a5fff509b2 22:00:06 Removing intermediate container 81a5fff509b2 22:00:06 ---> ee2189f90f63 22:00:06 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:00:06 ---> Running in 8f33b192a67d 22:00:06 Removing intermediate container 8f33b192a67d 22:00:06 ---> ee4fc2b791d3 22:00:06 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:00:06 ---> Running in 6815a4b12a19 22:00:06 Removing intermediate container 6815a4b12a19 22:00:06 ---> 5bf71eb1ebb1 22:00:06 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:00:06 ---> Running in d078a7648a61 22:00:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:00:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:00:10 OK: 263 MiB in 53 packages 22:00:14 Removing intermediate container d078a7648a61 22:00:14 ---> caefe9eefb47 22:00:14 Step 9/26 : WORKDIR /device-onvif-camera 22:00:14 ---> Running in c1091203bb51 22:00:14 Removing intermediate container c1091203bb51 22:00:14 ---> 94fcad95fa6e 22:00:14 Step 10/26 : COPY go.mod vendor* ./ 22:00:14 ---> fe45f1073957 22:00:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:00:14 ---> Running in f5b2c85e0699 22:00:17 Removing intermediate container f5b2c85e0699 22:00:17 ---> defe7315d93f 22:00:17 Step 12/26 : COPY . . 22:00:18 ---> 73ff46fd8617 22:00:18 Step 13/26 : RUN ${MAKE} 22:00:18 ---> Running in 0fe396099888 22:00:19 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:02:41 Removing intermediate container 0fe396099888 22:02:41 ---> 5dacfded3ab7 22:02:41 Step 14/26 : FROM alpine:3.17 22:02:41 3.17: Pulling from library/alpine 22:02:41 c41833b44d91: Already exists 22:02:41 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:02:41 Status: Downloaded newer image for alpine:3.17 22:02:41 ---> 51e60588ff2c 22:02:41 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:02:41 ---> Running in 940f56b6531d 22:02:41 Removing intermediate container 940f56b6531d 22:02:41 ---> 0f95f6c79a2c 22:02:41 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:02:41 ---> Running in 4fa7d9d7053b 22:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:02:41 (1/1) Installing dumb-init (1.2.5-r2) 22:02:41 Executing busybox-1.35.0-r29.trigger 22:02:41 OK: 8 MiB in 16 packages 22:02:41 Removing intermediate container 4fa7d9d7053b 22:02:41 ---> dfabd2410dc2 22:02:41 Step 17/26 : WORKDIR / 22:02:41 ---> Running in d77386ccf39b 22:02:41 Removing intermediate container d77386ccf39b 22:02:41 ---> d3f6c613c30b 22:02:41 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:02:41 ---> 028634c05091 22:02:41 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:02:41 ---> 64a9f597ff54 22:02:41 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:02:41 ---> b9475e2b60c6 22:02:41 Step 21/26 : EXPOSE 59984 22:02:41 ---> Running in 1a4a063c2b22 22:02:41 Removing intermediate container 1a4a063c2b22 22:02:41 ---> d783d9edd5b7 22:02:41 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:02:41 ---> Running in 05bd13dd8cd1 22:02:41 Removing intermediate container 05bd13dd8cd1 22:02:41 ---> 40aea1979d04 22:02:41 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:02:41 ---> Running in a3721a76aa95 22:02:41 Removing intermediate container a3721a76aa95 22:02:41 ---> db32b6a42b7e 22:02:41 Step 24/26 : LABEL arch=arm64 22:02:41 ---> Running in 1044e1b04a28 22:02:41 Removing intermediate container 1044e1b04a28 22:02:41 ---> ee4c6e2932ba 22:02:41 Step 25/26 : LABEL git_sha=8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 22:02:41 ---> Running in 1acbef5e8e43 22:02:41 Removing intermediate container 1acbef5e8e43 22:02:41 ---> 4af12e8ffe58 22:02:41 Step 26/26 : LABEL version=0.0.0 22:02:41 ---> Running in 81904d4f9083 22:02:42 Removing intermediate container 81904d4f9083 22:02:42 ---> 03a4688aa244 22:02:42 [Warning] One or more build-args [ARCH] were not consumed 22:02:42 Successfully built 03a4688aa244 22:02:42 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:02:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:02:42 22:02:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:02:42 arm64: Pulling from edgex-lftools-log-publisher 22:02:42 8998bd30e6a1: Pulling fs layer 22:02:42 04944245beec: Pulling fs layer 22:02:42 699f458cf7ca: Pulling fs layer 22:02:42 765212b225bb: Pulling fs layer 22:02:42 f23df028b6ca: Pulling fs layer 22:02:42 d65c8cfc05b1: Pulling fs layer 22:02:42 2437ff75d9bd: Pulling fs layer 22:02:42 765212b225bb: Waiting 22:02:42 f23df028b6ca: Waiting 22:02:42 d65c8cfc05b1: Waiting 22:02:42 2437ff75d9bd: Waiting 22:02:43 04944245beec: Verifying Checksum 22:02:43 04944245beec: Download complete 22:02:43 765212b225bb: Download complete 22:02:43 f23df028b6ca: Download complete 22:02:43 d65c8cfc05b1: Verifying Checksum 22:02:43 d65c8cfc05b1: Download complete 22:02:43 699f458cf7ca: Verifying Checksum 22:02:43 699f458cf7ca: Download complete 22:02:43 8998bd30e6a1: Verifying Checksum 22:02:43 8998bd30e6a1: Download complete 22:02:46 2437ff75d9bd: Verifying Checksum 22:02:46 2437ff75d9bd: Download complete 22:02:47 8998bd30e6a1: Pull complete 22:02:48 04944245beec: Pull complete 22:02:49 699f458cf7ca: Pull complete 22:02:49 765212b225bb: Pull complete 22:02:50 f23df028b6ca: Pull complete 22:02:50 d65c8cfc05b1: Pull complete 22:03:05 2437ff75d9bd: Pull complete 22:03:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:03:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:03:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:05 prd-ubuntu20.04-docker-arm64-4c-16g-12632 does not seem to be running inside a container 22:03:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:03:09 $ docker top 9e6ea51bce3e0a5750d48111cf44d64e747586d1c60fa51b47bc4650191af701 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:09 ---> job-cost.sh 22:03:10 lf-activate-venv: SKIPPING 22:03:10 INFO: No Stack... 22:03:10 INFO: Retrieving Pricing Info for: v3-standard-4 22:03:11 INFO: Archiving Costs [Pipeline] sh 22:03:11 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv+ 22:03:11 cut -d, -f6 [Pipeline] lock 22:03:11 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-333-3-stack-cost] 22:03:11 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-333-3-stack-cost] did not exist. Created. 22:03:11 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-333-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:03:12 /w/workspace/device-onvif-camera/3@tmp/durable-1d654798/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:03:12 + echo total: 0.10999999940395355 [Pipeline] stash 22:03:12 Warning: overwriting stash ‘stack-cost’ 22:03:12 Stashed 1 file(s) [Pipeline] } 22:03:12 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-333-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:03:12 $ docker stop --time=1 9e6ea51bce3e0a5750d48111cf44d64e747586d1c60fa51b47bc4650191af701 22:03:14 $ docker rm -f --volumes 9e6ea51bce3e0a5750d48111cf44d64e747586d1c60fa51b47bc4650191af701 [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:03:14 provisioning config files... 22:03:14 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-333@tmp/config16132937443992973362tmp [Pipeline] { [Pipeline] sh 22:03:14 + set +x 22:03:14 + curl -s https://codecov.io/bash 22:03:14 + bash -s -- 22:03:14 22:03:14 _____ _ 22:03:14 / ____| | | 22:03:14 | | ___ __| | ___ ___ _____ __ 22:03:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:03:14 | |___| (_) | (_| | __/ (_| (_) \ V / 22:03:14 \_____\___/ \__,_|\___|\___\___/ \_/ 22:03:14 Bash-1.0.6 22:03:14 22:03:14 22:03:14 ==> git version 2.25.1 found 22:03:14 ==> 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:03:14 Release-Date: 2020-01-08 22:03:14 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:03:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:03:14 ==> Jenkins CI detected. 22:03:14 current dir:  /w/workspace/undry_device-onvif-camera_PR-333 22:03:14 project root: . 22:03:14 --> token set from env 22:03:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:03:14 ==> Running gcov in . (disable via -X gcov) 22:03:14 ==> Python coveragepy not found 22:03:14 ==> Searching for coverage reports in: 22:03:14 + . 22:03:15 -> Found 1 reports 22:03:15 ==> Detecting git/mercurial file structure 22:03:15 ==> Reading reports 22:03:15 + ./coverage.out bytes=79191 22:03:15 ==> Appending adjustments 22:03:15 https://docs.codecov.io/docs/fixing-reports 22:03:15 + Found adjustments 22:03:15 ==> Gzipping contents 22:03:15 12K /tmp/codecov.SeIGMC.gz 22:03:15 ==> Uploading reports 22:03:15 url: https://codecov.io 22:03:15 query: branch=PR-333&commit=8b4845b5a3078499d9da99f026e1eb8fcfaa7d59&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-333%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=333&job=&cmd_args= 22:03:15 -> Pinging Codecov 22:03:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-333&commit=8b4845b5a3078499d9da99f026e1eb8fcfaa7d59&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-333%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=333&job=&cmd_args= 22:03:15 -> Uploading to 22:03:15 https://storage.googleapis.com/codecov/v4/raw/2023-05-03/F29A59C45E3A92E06B3E522C9905F8EF/8b4845b5a3078499d9da99f026e1eb8fcfaa7d59/3f948f55-388f-4cca-82f3-e062c4a4bcca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T220315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1f485755b4e30e29a055765a6994b477e4ff791856289c73d48d12b3b7601d47 22:03:15 % Total % Received % Xferd Average Speed Time Time Time Current 22:03:15 Dload Upload Total Spent Left Speed 22:03:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10518 0 0 100 10518 0 49380 --:--:-- --:--:-- --:--:-- 49380 22:03:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/8b4845b5a3078499d9da99f026e1eb8fcfaa7d59 [Pipeline] } 22:03:15 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:03:16 + [ -d /w/workspace/undry_device-onvif-camera_PR-333/archives ] 22:03:16 + ls -al /w/workspace/undry_device-onvif-camera_PR-333/archives 22:03:16 total 16 22:03:16 drwxr-xr-x 3 root root 4096 May 3 21:52 . 22:03:16 drwxrwxr-x 11 jenkins jenkins 4096 May 3 21:52 .. 22:03:16 drwxr-xr-x 2 root root 4096 May 3 21:52 cost 22:03:16 -rw-r--r-- 1 root root 91 May 3 21:52 cost.csv 22:03:16 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-333/archives 22:03:16 + ls -al /w/workspace/undry_device-onvif-camera_PR-333/archives 22:03:16 total 16 22:03:16 drwxr-xr-x 3 jenkins jenkins 4096 May 3 21:52 . 22:03:16 drwxrwxr-x 11 jenkins jenkins 4096 May 3 21:52 .. 22:03:16 drwxr-xr-x 2 jenkins jenkins 4096 May 3 21:52 cost 22:03:16 -rw-r--r-- 1 jenkins jenkins 91 May 3 21:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:03:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:03:17 ---> package-listing.sh 22:03:17 ++ facter osfamily 22:03:17 ++ tr '[:upper:]' '[:lower:]' 22:03:17 + OS_FAMILY=debian 22:03:17 + workspace=/w/workspace/undry_device-onvif-camera_PR-333 22:03:17 + START_PACKAGES=/tmp/packages_start.txt 22:03:17 + END_PACKAGES=/tmp/packages_end.txt 22:03:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:03:17 + PACKAGES=/tmp/packages_start.txt 22:03:17 + '[' /w/workspace/undry_device-onvif-camera_PR-333 ']' 22:03:17 + PACKAGES=/tmp/packages_end.txt 22:03:17 + case "${OS_FAMILY}" in 22:03:17 + dpkg -l 22:03:17 + grep '^ii' 22:03:17 + '[' -f /tmp/packages_start.txt ']' 22:03:17 + '[' -f /tmp/packages_end.txt ']' 22:03:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:03:17 + '[' /w/workspace/undry_device-onvif-camera_PR-333 ']' 22:03:17 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-333/archives/ 22:03:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-333/archives/ [Pipeline] echo 22:03:17 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-333/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:03:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:18 prd-ubuntu20.04-docker-8c-8g-12630 does not seem to be running inside a container 22:03:18 $ 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-333/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-333 -v /w/workspace/undry_device-onvif-camera_PR-333:/w/workspace/undry_device-onvif-camera_PR-333:rw,z -v /w/workspace/undry_device-onvif-camera_PR-333@tmp:/w/workspace/undry_device-onvif-camera_PR-333@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:03:18 $ docker top cf5b7bbdb2120b3a698cc1e3bbce0753f0939b89bd122a11edfa5d2a4a9ef585 -eo pid,comm [Pipeline] { [Pipeline] sh 22:03:19 + touch /tmp/pre-build-complete [Pipeline] sh 22:03:19 + mkdir -p /var/log/sysstat [Pipeline] sh 22:03:19 + ls /var/log/sa-host 22:03:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:19 provisioning config files... 22:03:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-333@tmp/config16982388889713676034tmp [Pipeline] { [Pipeline] echo 22:03:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:03:20 ---> create-netrc.sh [Pipeline] } 22:03:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:03:20 ---> python-tools-install.sh [Pipeline] echo 22:03:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:03:20 ---> sudo-logs.sh 22:03:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:03:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:03:21 ---> job-cost.sh 22:03:21 lf-activate-venv: SKIPPING 22:03:21 DEBUG: total: 0.2199999988079071 22:03:21 INFO: Retrieving Stack Cost... 22:03:21 INFO: Retrieving Pricing Info for: v3-standard-8 22:03:21 INFO: Archiving Costs [Pipeline] echo 22:03:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:03:22 ---> logs-deploy.sh 22:03:22 lf-activate-venv: SKIPPING 22:03:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-333/3 22:03:22 INFO: archiving workspace using pattern(s): 22:03:23 Archives upload complete. 22:03:23 INFO: archiving logs to Nexus