Pull request #337 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3d0b00ea4ff866c0839a9ee7638061dbb271e654+c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 (f02bb6cdd146818b4722c463f223f0d90d6d4359) 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-ssh1026945050424625932.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-ssh17973007102790386335.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-337/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-337/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2245916608333328855.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-ssh1726552303212453101.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-337/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-337/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14775543436832148406.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 ‘prd-ubuntu20.04-docker-8c-8g-13279’ is offline Running on prd-ubuntu20.04-docker-8c-8g-13280 in /w/workspace/undry_device-onvif-camera_PR-337 [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-337 # 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 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 into PR head commit 3d0b00ea4ff866c0839a9ee7638061dbb271e654 Merge succeeded, producing 3d0b00ea4ff866c0839a9ee7638061dbb271e654 Checking out Revision 3d0b00ea4ff866c0839a9ee7638061dbb271e654 (PR-337) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > 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/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d0b00ea4ff866c0839a9ee7638061dbb271e654 # 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 c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d0b00ea4ff866c0839a9ee7638061dbb271e654 # timeout=10 > git rev-list --no-walk 9e48f9e63717a9a7f77816e4592b640e18953804 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:26:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:26:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:26:01 ========================================================= 10:26:01 EdgeX Global Pipelines Version Info 10:26:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:26:02 ------------------- 10:26:02 stable info: 10:26:02 ------------------- 10:26:02 Commited By: Bill Mahoney bill.mahoney@intel.com 10:26:02 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 10:26:02 Message: update stable to v1.0.248 10:26:03 ------------------- 10:26:03 experimental info: 10:26:03 ------------------- 10:26:03 Commited By: **** collab-it+edgex@linuxfoundation.org 10:26:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 10:26:03 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-337 [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-337 [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-337 [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d0b00ea4ff866c0839a9ee7638061dbb271e654 [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d0b00e [Pipeline] echo 10:26:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:26:03 provisioning config files... 10:26:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-337@tmp/config10613897406728378495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:04 ---> docker-login.sh 10:26:04 nexus3.edgexfoundry.org:10001 10:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:04 Configure a credential helper to remove this warning. See 10:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:04 10:26:04 Login Succeeded 10:26:04 nexus3.edgexfoundry.org:10002 10:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:04 Configure a credential helper to remove this warning. See 10:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:04 10:26:04 Login Succeeded 10:26:04 nexus3.edgexfoundry.org:10003 10:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:04 Configure a credential helper to remove this warning. See 10:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:04 10:26:04 Login Succeeded 10:26:04 nexus3.edgexfoundry.org:10004 10:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:04 Configure a credential helper to remove this warning. See 10:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:04 10:26:04 Login Succeeded 10:26:04 docker.io 10:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:04 Configure a credential helper to remove this warning. See 10:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:04 10:26:04 Login Succeeded 10:26:04 ---> docker-login.sh ends [Pipeline] } 10:26:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:26:05 + git rev-list -1 --merges 3d0b00ea4ff866c0839a9ee7638061dbb271e654~1..3d0b00ea4ff866c0839a9ee7638061dbb271e654 [Pipeline] echo 10:26:05 -----------> git rev-list -1 --merges 3d0b00ea4ff866c0839a9ee7638061dbb271e654~1..3d0b00ea4ff866c0839a9ee7638061dbb271e654 3d0b00ea4ff866c0839a9ee7638061dbb271e654 [false] [Pipeline] sh 10:26:05 + git log --format=format:%s -1 3d0b00ea4ff866c0839a9ee7638061dbb271e654 [Pipeline] echo 10:26:05 ========================================================= 10:26:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:26:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:26:05 + git log --format=format:%s -1 3d0b00ea4ff866c0839a9ee7638061dbb271e654 [Pipeline] echo 10:26:06 [semverPrep] GIT_COMMIT: 3d0b00ea4ff866c0839a9ee7638061dbb271e654, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 10:26:06 [semverPrep] This is not a build commit. [Pipeline] sh 10:26:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:26:06 + grep -v github /etc/ssh/ssh_known_hosts 10:26:06 + [ -e /tmp/ssh_known_hosts ] 10:26:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:26:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:26:06 + sudo tee -a /etc/ssh/ssh_known_hosts 10:26:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:26:06 10:26:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:26:07 0.1.4: Pulling from edgex-devops/py-git-semver 10:26:07 b85a868b505f: Pulling fs layer 10:26:07 e2be974225ed: Pulling fs layer 10:26:07 339a4e72a1f5: Pulling fs layer 10:26:07 988bab9f4d93: Pulling fs layer 10:26:07 1469e6f7b9e6: Pulling fs layer 10:26:07 eaf3925da568: Pulling fs layer 10:26:07 bab4dde63d76: Pulling fs layer 10:26:07 bde34c3a00c8: Pulling fs layer 10:26:07 b352a97aabf1: Pulling fs layer 10:26:07 4872d77fe225: Pulling fs layer 10:26:07 5851b861e8e6: Pulling fs layer 10:26:07 988bab9f4d93: Waiting 10:26:07 1469e6f7b9e6: Waiting 10:26:07 bab4dde63d76: Waiting 10:26:07 b352a97aabf1: Waiting 10:26:07 4872d77fe225: Waiting 10:26:07 bde34c3a00c8: Waiting 10:26:07 eaf3925da568: Waiting 10:26:07 5851b861e8e6: Waiting 10:26:07 e2be974225ed: Download complete 10:26:07 988bab9f4d93: Verifying Checksum 10:26:07 988bab9f4d93: Download complete 10:26:07 339a4e72a1f5: Verifying Checksum 10:26:07 339a4e72a1f5: Download complete 10:26:07 1469e6f7b9e6: Verifying Checksum 10:26:07 1469e6f7b9e6: Download complete 10:26:07 eaf3925da568: Download complete 10:26:07 bde34c3a00c8: Verifying Checksum 10:26:07 bde34c3a00c8: Download complete 10:26:07 b352a97aabf1: Verifying Checksum 10:26:07 b352a97aabf1: Download complete 10:26:07 4872d77fe225: Verifying Checksum 10:26:07 4872d77fe225: Download complete 10:26:07 5851b861e8e6: Verifying Checksum 10:26:07 5851b861e8e6: Download complete 10:26:07 b85a868b505f: Verifying Checksum 10:26:07 b85a868b505f: Download complete 10:26:07 bab4dde63d76: Verifying Checksum 10:26:07 bab4dde63d76: Download complete 10:26:08 b85a868b505f: Pull complete 10:26:08 e2be974225ed: Pull complete 10:26:09 339a4e72a1f5: Pull complete 10:26:09 988bab9f4d93: Pull complete 10:26:09 1469e6f7b9e6: Pull complete 10:26:09 eaf3925da568: Pull complete 10:26:11 bab4dde63d76: Pull complete 10:26:11 bde34c3a00c8: Pull complete 10:26:11 b352a97aabf1: Pull complete 10:26:11 4872d77fe225: Pull complete 10:26:12 5851b861e8e6: Pull complete 10:26:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:26:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:26:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:12 prd-ubuntu20.04-docker-8c-8g-13280 does not seem to be running inside a container 10:26:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-337 -v /w/workspace/undry_device-onvif-camera_PR-337:/w/workspace/undry_device-onvif-camera_PR-337:rw,z -v /w/workspace/undry_device-onvif-camera_PR-337@tmp:/w/workspace/undry_device-onvif-camera_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:26:14 $ docker top 5134506bde054208cb548f5fdc8643a59a07266801a4ff637b0ec639ec355299 -eo pid,comm 10:26:15 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). 10:26:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:26:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:26:15 [ssh-agent] Looking for ssh-agent implementation... 10:26:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:26:15 $ docker exec 5134506bde054208cb548f5fdc8643a59a07266801a4ff637b0ec639ec355299 ssh-agent 10:26:15 SSH_AUTH_SOCK=/tmp/ssh-Ja1TEdVRCrSy/agent.32 10:26:15 SSH_AGENT_PID=38 10:26:15 Running ssh-add (command line suppressed) 10:26:15 Identity added: /w/workspace/undry_device-onvif-camera_PR-337@tmp/private_key_14967438497220278930.key (/w/workspace/undry_device-onvif-camera_PR-337@tmp/private_key_14967438497220278930.key) 10:26:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:26:15 + git tag --points-at HEAD [Pipeline] } 10:26:15 $ docker exec --env ******** --env ******** 5134506bde054208cb548f5fdc8643a59a07266801a4ff637b0ec639ec355299 ssh-agent -k 10:26:15 unset SSH_AUTH_SOCK; 10:26:15 unset SSH_AGENT_PID; 10:26:15 echo Agent pid 38 killed; 10:26:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:26:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:26:15 [ssh-agent] Looking for ssh-agent implementation... 10:26:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:26:16 $ docker exec 5134506bde054208cb548f5fdc8643a59a07266801a4ff637b0ec639ec355299 ssh-agent 10:26:16 SSH_AUTH_SOCK=/tmp/ssh-l6CEBqXFkf1g/agent.70 10:26:16 SSH_AGENT_PID=76 10:26:16 Running ssh-add (command line suppressed) 10:26:16 Identity added: /w/workspace/undry_device-onvif-camera_PR-337@tmp/private_key_11026223954151143639.key (/w/workspace/undry_device-onvif-camera_PR-337@tmp/private_key_11026223954151143639.key) 10:26:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:26:16 + git semver init 10:26:16 2023-05-04 10:26:16,743 [run_init] DEBUG init version:0.0.0 force:False 10:26:16 2023-05-04 10:26:16,744 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-337/.semver 10:26:16 2023-05-04 10:26:16,745 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-337/.semver 10:26:16 2023-05-04 10:26:16,745 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-337/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-337, universal_newlines=False, shell=None, istream=None) 10:26:17 2023-05-04 10:26:17,736 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-337/.git/info/exclude 10:26:17 2023-05-04 10:26:17,736 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-337/.semver/PR-337 with force:False 10:26:17 2023-05-04 10:26:17,737 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-337/.semver/PR-337 10:26:17 2023-05-04 10:26:17,743 [execute] INFO git cat-file --batch-check 10:26:17 2023-05-04 10:26:17,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-337/.semver, universal_newlines=False, shell=None, istream=) 10:26:17 2023-05-04 10:26:17,750 [execute] INFO git cat-file --batch 10:26:17 2023-05-04 10:26:17,750 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-337/.semver, universal_newlines=False, shell=None, istream=) 10:26:17 2023-05-04 10:26:17,756 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-337/.semver/PR-337 10:26:17 0.0.0 [Pipeline] } 10:26:18 $ docker exec --env ******** --env ******** 5134506bde054208cb548f5fdc8643a59a07266801a4ff637b0ec639ec355299 ssh-agent -k 10:26:18 unset SSH_AUTH_SOCK; 10:26:18 unset SSH_AGENT_PID; 10:26:18 echo Agent pid 76 killed; 10:26:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:26:18 + git semver [Pipeline] } 10:26:18 $ docker stop --time=1 5134506bde054208cb548f5fdc8643a59a07266801a4ff637b0ec639ec355299 10:26:19 $ docker rm -f --volumes 5134506bde054208cb548f5fdc8643a59a07266801a4ff637b0ec639ec355299 [Pipeline] // withDockerContainer [Pipeline] sh 10:26:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:26:20 Stashed 1 file(s) [Pipeline] echo 10:26:20 [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 10:26:20 provisioning config files... 10:26:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-337@tmp/config8820589678556027133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:20 ---> docker-login.sh 10:26:20 nexus3.edgexfoundry.org:10001 10:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:20 Configure a credential helper to remove this warning. See 10:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:20 10:26:20 Login Succeeded 10:26:20 nexus3.edgexfoundry.org:10002 10:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:20 Configure a credential helper to remove this warning. See 10:26:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:20 10:26:20 Login Succeeded 10:26:20 nexus3.edgexfoundry.org:10003 10:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:21 Configure a credential helper to remove this warning. See 10:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:21 10:26:21 Login Succeeded 10:26:21 nexus3.edgexfoundry.org:10004 10:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:21 Configure a credential helper to remove this warning. See 10:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:21 10:26:21 Login Succeeded 10:26:21 docker.io 10:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:21 Configure a credential helper to remove this warning. See 10:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:21 10:26:21 Login Succeeded 10:26:21 ---> docker-login.sh ends [Pipeline] } 10:26:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:26:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:26:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:26:21 ========================================================= 10:26:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:26:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:21 + 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 . 10:26:21 Sending build context to Docker daemon 21.53MB 10:26:21 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 10:26:21 Step 2/13 : FROM ${BASE} AS builder 10:26:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:26:22 f56be85fc22e: Pulling fs layer 10:26:22 85791d961cd3: Pulling fs layer 10:26:22 d694b5ae8c79: Pulling fs layer 10:26:22 9f32a84ed3da: Pulling fs layer 10:26:22 4d19c01a9841: Pulling fs layer 10:26:22 9325e15d5711: Pulling fs layer 10:26:22 556b6ee489ea: Pulling fs layer 10:26:22 c5a4b2cf53e6: Pulling fs layer 10:26:22 9f32a84ed3da: Waiting 10:26:22 4d19c01a9841: Waiting 10:26:22 9325e15d5711: Waiting 10:26:22 556b6ee489ea: Waiting 10:26:22 c5a4b2cf53e6: Waiting 10:26:22 85791d961cd3: Download complete 10:26:22 9f32a84ed3da: Download complete 10:26:22 f56be85fc22e: Verifying Checksum 10:26:22 f56be85fc22e: Download complete 10:26:22 4d19c01a9841: Verifying Checksum 10:26:22 4d19c01a9841: Download complete 10:26:22 9325e15d5711: Verifying Checksum 10:26:22 9325e15d5711: Download complete 10:26:22 f56be85fc22e: Pull complete 10:26:22 85791d961cd3: Pull complete 10:26:22 c5a4b2cf53e6: Verifying Checksum 10:26:22 c5a4b2cf53e6: Download complete 10:26:22 d694b5ae8c79: Verifying Checksum 10:26:22 d694b5ae8c79: Download complete 10:26:22 556b6ee489ea: Verifying Checksum 10:26:22 556b6ee489ea: Download complete 10:26:26 d694b5ae8c79: Pull complete 10:26:26 9f32a84ed3da: Pull complete 10:26:26 4d19c01a9841: Pull complete 10:26:26 9325e15d5711: Pull complete 10:26:29 556b6ee489ea: Pull complete 10:26:30 c5a4b2cf53e6: Pull complete 10:26:30 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 10:26:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:26:30 ---> c4be618373d6 10:26:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:26:33 ---> Running in a0780f18b80d 10:26:33 Removing intermediate container a0780f18b80d 10:26:33 ---> 82f63e0c829a 10:26:33 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:26:33 ---> Running in 079b4a6e981b 10:26:33 Removing intermediate container 079b4a6e981b 10:26:33 ---> c29ffacf372a 10:26:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 10:26:33 ---> Running in 1e74969103c4 10:26:33 Removing intermediate container 1e74969103c4 10:26:33 ---> 145f56426875 10:26:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:26:33 ---> Running in 5382f6fbc83c 10:26:33 Removing intermediate container 5382f6fbc83c 10:26:33 ---> 6a33fd4b8bd8 10:26:33 Step 7/13 : LABEL Name=edgex-device-onvif-camera 10:26:33 ---> Running in e4e50f05f8b5 10:26:33 Removing intermediate container e4e50f05f8b5 10:26:33 ---> ad9f6b0a0b4a 10:26:33 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:26:33 ---> Running in fb5278737f85 10:26:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:26:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:26:34 OK: 265 MiB in 53 packages 10:26:34 Removing intermediate container fb5278737f85 10:26:34 ---> 3203628ba01d 10:26:34 Step 9/13 : WORKDIR /device-onvif-camera 10:26:34 ---> Running in 2f6fc35397d4 10:26:34 Removing intermediate container 2f6fc35397d4 10:26:34 ---> ed8f69693be6 10:26:34 Step 10/13 : COPY go.mod vendor* ./ 10:26:34 ---> ba2794b6bdde 10:26:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:26:34 ---> Running in ba6b45525ab4 10:26:35 Still waiting to schedule task 10:26:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-13281’ is offline 10:27:01 Removing intermediate container ba6b45525ab4 10:27:01 ---> 2933a1de7362 10:27:01 Step 12/13 : COPY . . 10:27:01 ---> 9b8b7c77117f 10:27:01 Step 13/13 : RUN ${MAKE} 10:27:01 ---> Running in 9fd8be7c206d 10:27:01 noop 10:27:01 Removing intermediate container 9fd8be7c206d 10:27:01 ---> d63984602d1c 10:27:01 Successfully built d63984602d1c 10:27:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:01 + docker inspect -f . ci-base-image-x86_64 10:27:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:01 prd-ubuntu20.04-docker-8c-8g-13280 does not seem to be running inside a container 10:27:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-337 -v /w/workspace/undry_device-onvif-camera_PR-337:/w/workspace/undry_device-onvif-camera_PR-337:rw,z -v /w/workspace/undry_device-onvif-camera_PR-337@tmp:/w/workspace/undry_device-onvif-camera_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:27:02 $ docker top 5a4880aaa65a951212b3cc14f4b74e23c13bab6c697eb65aeddac9fbb39d6d45 -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:02 + go version 10:27:02 go version go1.20.2 linux/amd64 [Pipeline] } 10:27:02 $ docker stop --time=1 5a4880aaa65a951212b3cc14f4b74e23c13bab6c697eb65aeddac9fbb39d6d45 10:27:03 $ docker rm -f --volumes 5a4880aaa65a951212b3cc14f4b74e23c13bab6c697eb65aeddac9fbb39d6d45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:04 + docker inspect -f . ci-base-image-x86_64 10:27:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:04 prd-ubuntu20.04-docker-8c-8g-13280 does not seem to be running inside a container 10:27:04 $ 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-337 -v /w/workspace/undry_device-onvif-camera_PR-337:/w/workspace/undry_device-onvif-camera_PR-337:rw,z -v /w/workspace/undry_device-onvif-camera_PR-337@tmp:/w/workspace/undry_device-onvif-camera_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:27:04 $ docker top aad3bd0b51a2ea951214ceb55aa9160e7ef4781b1deedb02639aeddaad077875 -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:05 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-337 [Pipeline] fileExists [Pipeline] sh 10:27:05 + make test 10:27:05 go test ./... -coverprofile=coverage.out ./... 10:27:10 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:27:22 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:27:22 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:27:23 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 31.1% of statements 10:27:24 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.389s coverage: 86.5% of statements 10:27:32 go vet ./... 10:27:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:27:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:27:36 ./bin/test-attribution-txt.sh [Pipeline] echo 10:27:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:27:36 $ docker stop --time=1 aad3bd0b51a2ea951214ceb55aa9160e7ef4781b1deedb02639aeddaad077875 10:27:39 $ docker rm -f --volumes aad3bd0b51a2ea951214ceb55aa9160e7ef4781b1deedb02639aeddaad077875 [Pipeline] // withDockerContainer [Pipeline] sh 10:27:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:27:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:27:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:27:40 + ls -al . 10:27:40 total 232 10:27:40 drwxrwxr-x 10 jenkins jenkins 4096 May 4 10:27 . 10:27:40 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:25 .. 10:27:40 drwxrwxr-x 8 jenkins jenkins 4096 May 4 10:26 .git 10:27:40 drwxrwxr-x 3 jenkins jenkins 4096 May 4 10:26 .github 10:27:40 -rw-rw-r-- 1 jenkins jenkins 496 May 4 10:26 .gitignore 10:27:40 -rw-rw-r-- 1 jenkins jenkins 42 May 4 10:26 .golangci.yml 10:27:40 drwxr-xr-x 3 jenkins jenkins 4096 May 4 10:26 .semver 10:27:40 -rw-rw-r-- 1 jenkins jenkins 10087 May 4 10:26 Attribution.txt 10:27:40 -rw-rw-r-- 1 jenkins jenkins 6312 May 4 10:26 CHANGELOG.md 10:27:40 -rw-rw-r-- 1 jenkins jenkins 1574 May 4 10:26 Dockerfile 10:27:40 -rw-rw-r-- 1 jenkins jenkins 677 May 4 10:26 GOVERNANCE.md 10:27:40 -rw-rw-r-- 1 jenkins jenkins 734 May 4 10:26 Jenkinsfile 10:27:40 -rw-rw-r-- 1 jenkins jenkins 11348 May 4 10:26 LICENSE 10:27:40 -rw-rw-r-- 1 jenkins jenkins 2751 May 4 10:26 Makefile 10:27:40 -rw-rw-r-- 1 jenkins jenkins 625 May 4 10:26 OWNERS.md 10:27:40 -rw-rw-r-- 1 jenkins jenkins 2591 May 4 10:26 README.md 10:27:40 -rw-rw-r-- 1 jenkins jenkins 5 May 4 10:26 VERSION 10:27:40 drwxrwxr-x 2 jenkins jenkins 4096 May 4 10:26 bin 10:27:40 drwxrwxr-x 3 jenkins jenkins 4096 May 4 10:26 cmd 10:27:40 -rw-r--r-- 1 jenkins jenkins 79191 May 4 10:27 coverage.out 10:27:40 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:26 doc 10:27:40 -rw-rw-r-- 1 jenkins jenkins 3642 May 4 10:26 go.mod 10:27:40 -rw-rw-r-- 1 jenkins jenkins 33491 May 4 10:26 go.sum 10:27:40 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:26 internal 10:27:40 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:26 snap 10:27:40 -rw-rw-r-- 1 jenkins jenkins 236 May 4 10:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:40 + 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=3d0b00ea4ff866c0839a9ee7638061dbb271e654 --label arch=amd64 --label version=0.0.0 . 10:27:40 Sending build context to Docker daemon 21.61MB 10:27:40 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 10:27:40 Step 2/26 : FROM ${BASE} AS builder 10:27:40 ---> d63984602d1c 10:27:40 Step 3/26 : ARG ADD_BUILD_TAGS="" 10:27:41 ---> Running in d2da2234fa65 10:27:41 Removing intermediate container d2da2234fa65 10:27:41 ---> 537caa7f51a7 10:27:41 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:27:41 ---> Running in 44ac93b71f8f 10:27:41 Removing intermediate container 44ac93b71f8f 10:27:41 ---> fec31c6cabfb 10:27:41 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 10:27:41 ---> Running in 26785bba1254 10:27:41 Removing intermediate container 26785bba1254 10:27:41 ---> 1a757f543cac 10:27:41 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 10:27:41 ---> Running in 8a9df3725583 10:27:41 Removing intermediate container 8a9df3725583 10:27:41 ---> e75437390d84 10:27:41 Step 7/26 : LABEL Name=edgex-device-onvif-camera 10:27:41 ---> Running in 03ac204c84fd 10:27:41 Removing intermediate container 03ac204c84fd 10:27:41 ---> 36bee38807a2 10:27:41 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:27:41 ---> Running in d830044851f7 10:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:27:42 OK: 265 MiB in 53 packages 10:27:42 Removing intermediate container d830044851f7 10:27:42 ---> 1a445a6e04af 10:27:42 Step 9/26 : WORKDIR /device-onvif-camera 10:27:42 ---> Running in 9727c267ff91 10:27:43 Removing intermediate container 9727c267ff91 10:27:43 ---> f7520eb1721c 10:27:43 Step 10/26 : COPY go.mod vendor* ./ 10:27:43 ---> 91109e5bc8bc 10:27:43 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:27:43 ---> Running in 9ccada5184a6 10:27:43 Removing intermediate container 9ccada5184a6 10:27:43 ---> d0b6bf55d73b 10:27:43 Step 12/26 : COPY . . 10:27:44 ---> 3bb415ee59a7 10:27:44 Step 13/26 : RUN ${MAKE} 10:27:44 ---> Running in 27e92f357f4b 10:27:45 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 10:28:07 Removing intermediate container 27e92f357f4b 10:28:07 ---> 26d26581ffdd 10:28:07 Step 14/26 : FROM alpine:3.17 10:28:07 3.17: Pulling from library/alpine 10:28:07 f56be85fc22e: Already exists 10:28:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:28:07 Status: Downloaded newer image for alpine:3.17 10:28:07 ---> 9ed4aefc74f6 10:28:07 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:28:07 ---> Running in 95f3cbdb6ccc 10:28:07 Removing intermediate container 95f3cbdb6ccc 10:28:07 ---> eb0c087e256b 10:28:07 Step 16/26 : RUN apk add --update --no-cache dumb-init 10:28:07 ---> Running in 0601e54b11c6 10:28:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:28:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:28:07 (1/1) Installing dumb-init (1.2.5-r2) 10:28:07 Executing busybox-1.35.0-r29.trigger 10:28:07 OK: 7 MiB in 16 packages 10:28:07 Removing intermediate container 0601e54b11c6 10:28:07 ---> e68dfa5445eb 10:28:07 Step 17/26 : WORKDIR / 10:28:07 ---> Running in 03f8a53f4d5a 10:28:07 Removing intermediate container 03f8a53f4d5a 10:28:07 ---> 5680f8e2e35b 10:28:07 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:28:07 ---> 205ac8e11d2e 10:28:07 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:28:07 ---> ecf3893f0ab9 10:28:07 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:28:07 ---> 3b3520f23aad 10:28:07 Step 21/26 : EXPOSE 59984 10:28:07 ---> Running in ceb2a4c887c4 10:28:07 Removing intermediate container ceb2a4c887c4 10:28:07 ---> 8c2cd27f0129 10:28:07 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:28:07 ---> Running in c95b6a60dc8b 10:28:07 Removing intermediate container c95b6a60dc8b 10:28:07 ---> 5073cf0db8e7 10:28:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:28:07 ---> Running in 2b4a8ce53b0c 10:28:07 Removing intermediate container 2b4a8ce53b0c 10:28:07 ---> b126b1fa0350 10:28:07 Step 24/26 : LABEL arch=amd64 10:28:07 ---> Running in ed18d83936b4 10:28:08 Removing intermediate container ed18d83936b4 10:28:08 ---> e6d38093221a 10:28:08 Step 25/26 : LABEL git_sha=3d0b00ea4ff866c0839a9ee7638061dbb271e654 10:28:08 ---> Running in c0fc7dff3ee2 10:28:08 Removing intermediate container c0fc7dff3ee2 10:28:08 ---> 5a19c2281a9a 10:28:08 Step 26/26 : LABEL version=0.0.0 10:28:08 ---> Running in b001143acbc7 10:28:08 Removing intermediate container b001143acbc7 10:28:08 ---> 99ec6ff5c716 10:28:08 [Warning] One or more build-args [ARCH] were not consumed 10:28:08 Successfully built 99ec6ff5c716 10:28:08 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 10:28:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:08 10:28:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:09 latest: Pulling from edgex-lftools-log-publisher 10:28:09 5eb5b503b376: Pulling fs layer 10:28:09 5c69ac0246d0: Pulling fs layer 10:28:09 ec43610c2a17: Pulling fs layer 10:28:09 3a2ae6a8a46f: Pulling fs layer 10:28:09 33b1e0a273af: Pulling fs layer 10:28:09 5d3b04190fa2: Pulling fs layer 10:28:09 2f39f015ded8: Pulling fs layer 10:28:09 3a2ae6a8a46f: Waiting 10:28:09 33b1e0a273af: Waiting 10:28:09 5d3b04190fa2: Waiting 10:28:09 2f39f015ded8: Waiting 10:28:09 5c69ac0246d0: Download complete 10:28:09 3a2ae6a8a46f: Verifying Checksum 10:28:09 3a2ae6a8a46f: Download complete 10:28:09 33b1e0a273af: Verifying Checksum 10:28:09 33b1e0a273af: Download complete 10:28:09 ec43610c2a17: Verifying Checksum 10:28:09 ec43610c2a17: Download complete 10:28:09 5d3b04190fa2: Verifying Checksum 10:28:09 5d3b04190fa2: Download complete 10:28:09 5eb5b503b376: Verifying Checksum 10:28:09 5eb5b503b376: Download complete 10:28:09 2f39f015ded8: Download complete 10:28:10 5eb5b503b376: Pull complete 10:28:10 5c69ac0246d0: Pull complete 10:28:11 ec43610c2a17: Pull complete 10:28:11 3a2ae6a8a46f: Pull complete 10:28:11 33b1e0a273af: Pull complete 10:28:11 5d3b04190fa2: Pull complete 10:28:16 2f39f015ded8: Pull complete 10:28:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:28:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:28:17 prd-ubuntu20.04-docker-8c-8g-13280 does not seem to be running inside a container 10:28:17 $ 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-337 -v /w/workspace/undry_device-onvif-camera_PR-337:/w/workspace/undry_device-onvif-camera_PR-337:rw,z -v /w/workspace/undry_device-onvif-camera_PR-337@tmp:/w/workspace/undry_device-onvif-camera_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:28:19 $ docker top 9a0dc4e5b8e6c9ea3658b28ff0ee46cdb2d57b8c5434c2480ab54c2b4c1e7c86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:19 ---> job-cost.sh 10:28:19 lf-activate-venv: SKIPPING 10:28:19 INFO: No Stack... 10:28:20 INFO: Retrieving Pricing Info for: v3-standard-8 10:28:20 INFO: Archiving Costs [Pipeline] sh 10:28:21 + cat /w/workspace/undry_device-onvif-camera_PR-337/archives/cost.csv 10:28:21 + cut -d, -f6 [Pipeline] lock 10:28:21 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-337-2-stack-cost] 10:28:21 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-337-2-stack-cost] did not exist. Created. 10:28:21 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-337-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:28:21 + echo total: 0.2199999988079071 [Pipeline] stash 10:28:21 Stashed 1 file(s) [Pipeline] } 10:28:21 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-337-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:28:21 $ docker stop --time=1 9a0dc4e5b8e6c9ea3658b28ff0ee46cdb2d57b8c5434c2480ab54c2b4c1e7c86 10:28:22 $ docker rm -f --volumes 9a0dc4e5b8e6c9ea3658b28ff0ee46cdb2d57b8c5434c2480ab54c2b4c1e7c86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:28:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13282 in /w/workspace/undry_device-onvif-camera_PR-337 [Pipeline] { [Pipeline] ws 10:28:47 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 10:28:47 The recommended git tool is: git 10:28:55 using credential edgex-jenkins-ssh 10:28:55 Cloning the remote Git repository 10:28:55 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:28:55 > git init /w/workspace/device-onvif-camera/2 # timeout=10 10:28:56 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:28:56 > git --version # timeout=10 10:28:56 > git --version # 'git version 2.25.1' 10:28:56 using GIT_SSH to set credentials SSH Credentials for GitHub 10:28:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:28:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:28:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:28:58 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:28:58 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:28:58 using GIT_SSH to set credentials SSH Credentials for GitHub 10:28:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:28:59 Merging remotes/origin/main commit c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 into PR head commit 3d0b00ea4ff866c0839a9ee7638061dbb271e654 10:28:59 Merge succeeded, producing 3d0b00ea4ff866c0839a9ee7638061dbb271e654 10:28:59 Checking out Revision 3d0b00ea4ff866c0839a9ee7638061dbb271e654 (PR-337) 10:29:00 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" 10:28:59 > git config core.sparsecheckout # timeout=10 10:28:59 > git checkout -f 3d0b00ea4ff866c0839a9ee7638061dbb271e654 # timeout=10 10:28:59 > git remote # timeout=10 10:28:59 > git config --get remote.origin.url # timeout=10 10:28:59 using GIT_SSH to set credentials SSH Credentials for GitHub 10:28:59 > git merge c118ca14ee34e661c1ddcb992cee39f5ce12a3b4 # timeout=10 10:28:59 > git rev-parse HEAD^{commit} # timeout=10 10:28:59 > git config core.sparsecheckout # timeout=10 10:28:59 > git checkout -f 3d0b00ea4ff866c0839a9ee7638061dbb271e654 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:29:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:29:01 % Total % Received % Xferd Average Speed Time Time Time Current 10:29:01 Dload Upload Total Spent Left Speed 10:29:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 10:29:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:29:02 + sudo tee /etc/docker/daemon.new 10:29:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:29:02 { 10:29:02 "registry-mirrors": [ 10:29:02 "https://nexus3.edgexfoundry.org:10001" 10:29:02 ], 10:29:02 "bip": "10.250.0.254/24", 10:29:02 "hosts": [ 10:29:02 "tcp://0.0.0.0:5555", 10:29:02 "unix:///var/run/docker.sock" 10:29:02 ], 10:29:02 "mtu": 1458, 10:29:02 "selinux-enabled": true, 10:29:02 "seccomp-profile": "/etc/docker/seccomp.json" 10:29:02 } [Pipeline] sh 10:29:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:29:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:29:25 provisioning config files... 10:29:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config16354678450087760760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:29:25 ---> docker-login.sh 10:29:25 nexus3.edgexfoundry.org:10001 10:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:29:26 Configure a credential helper to remove this warning. See 10:29:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:29:26 10:29:26 Login Succeeded 10:29:26 nexus3.edgexfoundry.org:10002 10:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:29:26 Configure a credential helper to remove this warning. See 10:29:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:29:26 10:29:26 Login Succeeded 10:29:26 nexus3.edgexfoundry.org:10003 10:29:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:29:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:29:26 Configure a credential helper to remove this warning. See 10:29:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:29:26 10:29:26 Login Succeeded 10:29:26 nexus3.edgexfoundry.org:10004 10:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:29:27 Configure a credential helper to remove this warning. See 10:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:29:27 10:29:27 Login Succeeded 10:29:27 docker.io 10:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:29:27 Configure a credential helper to remove this warning. See 10:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:29:27 10:29:27 Login Succeeded 10:29:27 ---> docker-login.sh ends [Pipeline] } 10:29:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:29:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:29:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:29:28 ========================================================= 10:29:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:29:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29: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 . 10:29:29 Sending build context to Docker daemon 14.18MB 10:29:29 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 10:29:29 Step 2/13 : FROM ${BASE} AS builder 10:29:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:29:29 c41833b44d91: Pulling fs layer 10:29:29 ed15518f5707: Pulling fs layer 10:29:29 feae8fd75edb: Pulling fs layer 10:29:29 242c74f7c9fa: Pulling fs layer 10:29:29 3cdef696dda3: Pulling fs layer 10:29:29 2ced38df9373: Pulling fs layer 10:29:29 58f1dce35555: Pulling fs layer 10:29:29 242c74f7c9fa: Waiting 10:29:29 3cdef696dda3: Waiting 10:29:29 2ced38df9373: Waiting 10:29:29 58f1dce35555: Waiting 10:29:29 ed15518f5707: Verifying Checksum 10:29:29 ed15518f5707: Download complete 10:29:29 242c74f7c9fa: Verifying Checksum 10:29:29 242c74f7c9fa: Download complete 10:29:29 3cdef696dda3: Verifying Checksum 10:29:29 3cdef696dda3: Download complete 10:29:29 c41833b44d91: Verifying Checksum 10:29:29 c41833b44d91: Download complete 10:29:30 c41833b44d91: Pull complete 10:29:30 58f1dce35555: Verifying Checksum 10:29:30 58f1dce35555: Download complete 10:29:31 ed15518f5707: Pull complete 10:29:32 feae8fd75edb: Verifying Checksum 10:29:32 feae8fd75edb: Download complete 10:29:32 2ced38df9373: Verifying Checksum 10:29:32 2ced38df9373: Download complete 10:29:44 feae8fd75edb: Pull complete 10:29:44 242c74f7c9fa: Pull complete 10:29:44 3cdef696dda3: Pull complete 10:29:50 2ced38df9373: Pull complete 10:29:52 58f1dce35555: Pull complete 10:29:52 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 10:29:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:29:52 ---> fadd8f120f05 10:29:52 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:29:54 ---> Running in eb8314e27cb2 10:29:54 Removing intermediate container eb8314e27cb2 10:29:54 ---> e9c16b72cf81 10:29:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:29:54 ---> Running in 3bd5e8796282 10:29:54 Removing intermediate container 3bd5e8796282 10:29:54 ---> 8b2e4dbd1012 10:29:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 10:29:55 ---> Running in 9369e46a2b7b 10:29:55 Removing intermediate container 9369e46a2b7b 10:29:55 ---> 1674e5f4846e 10:29:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:29:55 ---> Running in 40e2b0941fcd 10:29:55 Removing intermediate container 40e2b0941fcd 10:29:55 ---> c92077c37abb 10:29:55 Step 7/13 : LABEL Name=edgex-device-onvif-camera 10:29:56 ---> Running in bfb021eb3947 10:29:56 Removing intermediate container bfb021eb3947 10:29:56 ---> b40db7b5b4fd 10:29:56 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:29:56 ---> Running in c041b245af0b 10:29:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:29:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:29:58 OK: 263 MiB in 53 packages 10:29:59 Removing intermediate container c041b245af0b 10:29:59 ---> 689399d2a529 10:29:59 Step 9/13 : WORKDIR /device-onvif-camera 10:29:59 ---> Running in 5cd485bb26b9 10:30:00 Removing intermediate container 5cd485bb26b9 10:30:00 ---> ddcf1b3b80c7 10:30:00 Step 10/13 : COPY go.mod vendor* ./ 10:30:01 ---> 1e63fcebeb93 10:30:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:30:01 ---> Running in daf4b0bc6fd9 10:31:09 Removing intermediate container daf4b0bc6fd9 10:31:09 ---> db3d9c64bb82 10:31:09 Step 12/13 : COPY . . 10:31:09 ---> 3380f2ddb2f3 10:31:09 Step 13/13 : RUN ${MAKE} 10:31:09 ---> Running in be78283dc54c 10:31:09 noop 10:31:10 Removing intermediate container be78283dc54c 10:31:10 ---> 7de4604a5161 10:31:10 Successfully built 7de4604a5161 10:31:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:31:10 + docker inspect -f . ci-base-image-arm64 10:31:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:31:11 prd-ubuntu20.04-docker-arm64-4c-16g-13282 does not seem to be running inside a container 10:31:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:31:12 $ docker top c96027136894fd47bb9943acf08ec7bcfb52004ad17c60ba4ccffe1246608ac5 -eo pid,comm [Pipeline] { [Pipeline] sh 10:31:13 + go version 10:31:13 go version go1.20.2 linux/arm64 [Pipeline] } 10:31:13 $ docker stop --time=1 c96027136894fd47bb9943acf08ec7bcfb52004ad17c60ba4ccffe1246608ac5 10:31:14 $ docker rm -f --volumes c96027136894fd47bb9943acf08ec7bcfb52004ad17c60ba4ccffe1246608ac5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:31:15 + docker inspect -f . ci-base-image-arm64 10:31:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:31:15 prd-ubuntu20.04-docker-arm64-4c-16g-13282 does not seem to be running inside a container 10:31:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:31:16 $ docker top 0050d6efaeb807c9ac2ef17405e90672c4bec39f5c88b5590c11d870f4894ef5 -eo pid,comm [Pipeline] { [Pipeline] sh 10:31:17 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 10:31:18 + make test 10:31:18 go test ./... -coverprofile=coverage.out ./... 10:31:50 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:34:12 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:34:12 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:34:12 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.201s coverage: 31.1% of statements 10:34:27 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 17.221s coverage: 86.5% of statements 10:34:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:34:27 go vet ./... 10:35:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:35:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:35:00 ./bin/test-attribution-txt.sh [Pipeline] echo 10:35:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:35:00 $ docker stop --time=1 0050d6efaeb807c9ac2ef17405e90672c4bec39f5c88b5590c11d870f4894ef5 10:35:02 $ docker rm -f --volumes 0050d6efaeb807c9ac2ef17405e90672c4bec39f5c88b5590c11d870f4894ef5 [Pipeline] // withDockerContainer [Pipeline] sh 10:35:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:35:03 Warning: overwriting stash ‘coverage-report’ 10:35:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:35:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:35:04 + ls -al . 10:35:04 total 228 10:35:04 drwxrwxr-x 9 jenkins jenkins 4096 May 4 10:31 . 10:35:04 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:28 .. 10:35:04 drwxrwxr-x 8 jenkins jenkins 4096 May 4 10:28 .git 10:35:04 drwxrwxr-x 3 jenkins jenkins 4096 May 4 10:28 .github 10:35:04 -rw-rw-r-- 1 jenkins jenkins 496 May 4 10:28 .gitignore 10:35:04 -rw-rw-r-- 1 jenkins jenkins 42 May 4 10:28 .golangci.yml 10:35:04 -rw-rw-r-- 1 jenkins jenkins 10087 May 4 10:28 Attribution.txt 10:35:04 -rw-rw-r-- 1 jenkins jenkins 6312 May 4 10:28 CHANGELOG.md 10:35:04 -rw-rw-r-- 1 jenkins jenkins 1574 May 4 10:28 Dockerfile 10:35:04 -rw-rw-r-- 1 jenkins jenkins 677 May 4 10:28 GOVERNANCE.md 10:35:04 -rw-rw-r-- 1 jenkins jenkins 734 May 4 10:28 Jenkinsfile 10:35:04 -rw-rw-r-- 1 jenkins jenkins 11348 May 4 10:28 LICENSE 10:35:04 -rw-rw-r-- 1 jenkins jenkins 2751 May 4 10:28 Makefile 10:35:04 -rw-rw-r-- 1 jenkins jenkins 625 May 4 10:28 OWNERS.md 10:35:04 -rw-rw-r-- 1 jenkins jenkins 2591 May 4 10:28 README.md 10:35:04 -rw-rw-r-- 1 jenkins jenkins 5 May 4 10:26 VERSION 10:35:04 drwxrwxr-x 2 jenkins jenkins 4096 May 4 10:28 bin 10:35:04 drwxrwxr-x 3 jenkins jenkins 4096 May 4 10:28 cmd 10:35:04 -rw-r--r-- 1 jenkins jenkins 79191 May 4 10:34 coverage.out 10:35:04 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:28 doc 10:35:04 -rw-rw-r-- 1 jenkins jenkins 3642 May 4 10:28 go.mod 10:35:04 -rw-rw-r-- 1 jenkins jenkins 33491 May 4 10:28 go.sum 10:35:04 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:28 internal 10:35:04 drwxrwxr-x 4 jenkins jenkins 4096 May 4 10:28 snap 10:35:04 -rw-rw-r-- 1 jenkins jenkins 236 May 4 10:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:35:05 + 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=3d0b00ea4ff866c0839a9ee7638061dbb271e654 --label arch=arm64 --label version=0.0.0 . 10:35:05 Sending build context to Docker daemon 14.26MB 10:35:05 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 10:35:05 Step 2/26 : FROM ${BASE} AS builder 10:35:05 ---> 7de4604a5161 10:35:05 Step 3/26 : ARG ADD_BUILD_TAGS="" 10:35:08 ---> Running in c3703ac78ae5 10:35:08 Removing intermediate container c3703ac78ae5 10:35:08 ---> 95f8830f2c3d 10:35:08 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:35:08 ---> Running in 47a90bf561bf 10:35:08 Removing intermediate container 47a90bf561bf 10:35:08 ---> f511f0a82115 10:35:08 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 10:35:08 ---> Running in de15951f146c 10:35:09 Removing intermediate container de15951f146c 10:35:09 ---> 42bd0e25783e 10:35:09 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 10:35:09 ---> Running in bbb314dd69fe 10:35:09 Removing intermediate container bbb314dd69fe 10:35:09 ---> e5298f1b30df 10:35:09 Step 7/26 : LABEL Name=edgex-device-onvif-camera 10:35:09 ---> Running in 7ce1940cdd56 10:35:09 Removing intermediate container 7ce1940cdd56 10:35:09 ---> 4f1f4325aa99 10:35:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:35:09 ---> Running in 3312e0b9d8db 10:35:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:35:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:35:12 OK: 263 MiB in 53 packages 10:35:13 Removing intermediate container 3312e0b9d8db 10:35:13 ---> c7de0aa3d557 10:35:13 Step 9/26 : WORKDIR /device-onvif-camera 10:35:13 ---> Running in f4454d29b621 10:35:14 Removing intermediate container f4454d29b621 10:35:14 ---> a5e447e73f2c 10:35:14 Step 10/26 : COPY go.mod vendor* ./ 10:35:14 ---> bb756fd504b5 10:35:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:35:14 ---> Running in 08e74964515d 10:35:17 Removing intermediate container 08e74964515d 10:35:17 ---> ff15cddf5e0f 10:35:17 Step 12/26 : COPY . . 10:35:18 ---> 9e22c862112b 10:35:18 Step 13/26 : RUN ${MAKE} 10:35:18 ---> Running in 77d1481a0da2 10:35: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 10:37:41 Removing intermediate container 77d1481a0da2 10:37:41 ---> 4e77667a0000 10:37:41 Step 14/26 : FROM alpine:3.17 10:37:41 3.17: Pulling from library/alpine 10:37:41 c41833b44d91: Already exists 10:37:41 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:37:41 Status: Downloaded newer image for alpine:3.17 10:37:41 ---> 51e60588ff2c 10:37:41 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:37:41 ---> Running in 734df8121aa9 10:37:41 Removing intermediate container 734df8121aa9 10:37:41 ---> 21104f493236 10:37:41 Step 16/26 : RUN apk add --update --no-cache dumb-init 10:37:41 ---> Running in d91df83f3388 10:37:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:37:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:37:41 (1/1) Installing dumb-init (1.2.5-r2) 10:37:41 Executing busybox-1.35.0-r29.trigger 10:37:41 OK: 8 MiB in 16 packages 10:37:41 Removing intermediate container d91df83f3388 10:37:41 ---> 81cd35a18d70 10:37:41 Step 17/26 : WORKDIR / 10:37:41 ---> Running in ed56b7d6969c 10:37:42 Removing intermediate container ed56b7d6969c 10:37:42 ---> e4ac624af13f 10:37:42 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:37:43 ---> 5793aa1e7ba9 10:37:43 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:37:44 ---> f876c14e1034 10:37:44 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:37:44 ---> c43d834a1fa4 10:37:44 Step 21/26 : EXPOSE 59984 10:37:44 ---> Running in 89ad88d1db5b 10:37:46 Removing intermediate container 89ad88d1db5b 10:37:46 ---> 4a3bcdc253f0 10:37:46 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:37:46 ---> Running in fb046dd53348 10:37:46 Removing intermediate container fb046dd53348 10:37:46 ---> 4f21c6452cf8 10:37:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:37:46 ---> Running in 3b19fd4997a6 10:37:47 Removing intermediate container 3b19fd4997a6 10:37:47 ---> 4802d9bfc79f 10:37:47 Step 24/26 : LABEL arch=arm64 10:37:47 ---> Running in 1e6e523a11ec 10:37:47 Removing intermediate container 1e6e523a11ec 10:37:47 ---> 3ab3f7126edb 10:37:47 Step 25/26 : LABEL git_sha=3d0b00ea4ff866c0839a9ee7638061dbb271e654 10:37:47 ---> Running in 4c9f0bc603b2 10:37:47 Removing intermediate container 4c9f0bc603b2 10:37:47 ---> 3004f2db70cc 10:37:47 Step 26/26 : LABEL version=0.0.0 10:37:47 ---> Running in 5a34912b7db6 10:37:48 Removing intermediate container 5a34912b7db6 10:37:48 ---> 0dbbc3f29559 10:37:48 [Warning] One or more build-args [ARCH] were not consumed 10:37:48 Successfully built 0dbbc3f29559 10:37:48 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 10:37:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:37:48 10:37:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:37:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:37:49 arm64: Pulling from edgex-lftools-log-publisher 10:37:49 8998bd30e6a1: Pulling fs layer 10:37:49 04944245beec: Pulling fs layer 10:37:49 699f458cf7ca: Pulling fs layer 10:37:49 765212b225bb: Pulling fs layer 10:37:49 f23df028b6ca: Pulling fs layer 10:37:49 d65c8cfc05b1: Pulling fs layer 10:37:49 2437ff75d9bd: Pulling fs layer 10:37:49 f23df028b6ca: Waiting 10:37:49 765212b225bb: Waiting 10:37:49 d65c8cfc05b1: Waiting 10:37:49 2437ff75d9bd: Waiting 10:37:49 04944245beec: Verifying Checksum 10:37:49 04944245beec: Download complete 10:37:49 765212b225bb: Verifying Checksum 10:37:49 765212b225bb: Download complete 10:37:49 f23df028b6ca: Verifying Checksum 10:37:49 f23df028b6ca: Download complete 10:37:49 d65c8cfc05b1: Verifying Checksum 10:37:49 d65c8cfc05b1: Download complete 10:37:49 699f458cf7ca: Verifying Checksum 10:37:49 699f458cf7ca: Download complete 10:37:50 8998bd30e6a1: Verifying Checksum 10:37:50 8998bd30e6a1: Download complete 10:37:52 2437ff75d9bd: Verifying Checksum 10:37:52 2437ff75d9bd: Download complete 10:37:54 8998bd30e6a1: Pull complete 10:37:54 04944245beec: Pull complete 10:37:55 699f458cf7ca: Pull complete 10:37:55 765212b225bb: Pull complete 10:37:56 f23df028b6ca: Pull complete 10:37:56 d65c8cfc05b1: Pull complete 10:38:11 2437ff75d9bd: Pull complete 10:38:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:38:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:38:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:38:11 prd-ubuntu20.04-docker-arm64-4c-16g-13282 does not seem to be running inside a container 10:38:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:38:14 $ docker top bdc643ba10cfd4db2675d4a8d1183a06bcd462dd93dcce0fbb33e38df34ee170 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:38:15 ---> job-cost.sh 10:38:15 lf-activate-venv: SKIPPING 10:38:15 INFO: No Stack... 10:38:15 INFO: Retrieving Pricing Info for: v3-standard-4 10:38:16 INFO: Archiving Costs [Pipeline] sh 10:38:17 + cut -d, -f6 10:38:17 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock 10:38:17 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-337-2-stack-cost] 10:38:17 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-337-2-stack-cost] did not exist. Created. 10:38:17 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-337-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:38:18 /w/workspace/device-onvif-camera/2@tmp/durable-78dd0a49/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:38:18 + echo total: 0.10999999940395355 [Pipeline] stash 10:38:18 Warning: overwriting stash ‘stack-cost’ 10:38:18 Stashed 1 file(s) [Pipeline] } 10:38:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-337-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:38:18 $ docker stop --time=1 bdc643ba10cfd4db2675d4a8d1183a06bcd462dd93dcce0fbb33e38df34ee170 10:38:20 $ docker rm -f --volumes bdc643ba10cfd4db2675d4a8d1183a06bcd462dd93dcce0fbb33e38df34ee170 [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 10:38:20 provisioning config files... 10:38:20 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-337@tmp/config8544479106909257900tmp [Pipeline] { [Pipeline] sh 10:38:20 + set +x 10:38:20 + curl -s https://codecov.io/bash 10:38:20 + bash -s -- 10:38:20 10:38:20 _____ _ 10:38:20 / ____| | | 10:38:20 | | ___ __| | ___ ___ _____ __ 10:38:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:38:20 | |___| (_) | (_| | __/ (_| (_) \ V / 10:38:20 \_____\___/ \__,_|\___|\___\___/ \_/ 10:38:20 Bash-1.0.6 10:38:20 10:38:20 10:38:20 ==> git version 2.25.1 found 10:38:20 ==> 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 10:38:20 Release-Date: 2020-01-08 10:38:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:38:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:38:20 ==> Jenkins CI detected. 10:38:20 current dir:  /w/workspace/undry_device-onvif-camera_PR-337 10:38:20 project root: . 10:38:20 --> token set from env 10:38:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:38:20 ==> Running gcov in . (disable via -X gcov) 10:38:20 ==> Python coveragepy not found 10:38:20 ==> Searching for coverage reports in: 10:38:20 + . 10:38:20 -> Found 1 reports 10:38:20 ==> Detecting git/mercurial file structure 10:38:20 ==> Reading reports 10:38:20 + ./coverage.out bytes=79191 10:38:20 ==> Appending adjustments 10:38:20 https://docs.codecov.io/docs/fixing-reports 10:38:20 + Found adjustments 10:38:20 ==> Gzipping contents 10:38:20 12K /tmp/codecov.SWbAGB.gz 10:38:20 ==> Uploading reports 10:38:20 url: https://codecov.io 10:38:20 query: branch=PR-337&commit=3d0b00ea4ff866c0839a9ee7638061dbb271e654&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-337%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=337&job=&cmd_args= 10:38:20 -> Pinging Codecov 10:38:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-337&commit=3d0b00ea4ff866c0839a9ee7638061dbb271e654&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-337%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=337&job=&cmd_args= 10:38:21 -> Uploading to 10:38:21 https://storage.googleapis.com/codecov/v4/raw/2023-05-04/F29A59C45E3A92E06B3E522C9905F8EF/3d0b00ea4ff866c0839a9ee7638061dbb271e654/414e2232-6a96-41c9-a3ed-84390a95c33e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230504%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230504T103820Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5485ac09dd5534e497a4e38d5cf33d041f16fe40b64cc507d5df6f42606035c2 10:38:21 % Total % Received % Xferd Average Speed Time Time Time Current 10:38:21 Dload Upload Total Spent Left Speed 10:38:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10518 0 0 100 10518 0 49380 --:--:-- --:--:-- --:--:-- 49613 10:38:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3d0b00ea4ff866c0839a9ee7638061dbb271e654 [Pipeline] } 10:38:21 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 10:38:22 + [ -d /w/workspace/undry_device-onvif-camera_PR-337/archives ] 10:38:22 + ls -al /w/workspace/undry_device-onvif-camera_PR-337/archives 10:38:22 total 16 10:38:22 drwxr-xr-x 3 root root 4096 May 4 10:28 . 10:38:22 drwxrwxr-x 11 jenkins jenkins 4096 May 4 10:28 .. 10:38:22 drwxr-xr-x 2 root root 4096 May 4 10:28 cost 10:38:22 -rw-r--r-- 1 root root 91 May 4 10:28 cost.csv 10:38:22 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-337/archives 10:38:22 + ls -al /w/workspace/undry_device-onvif-camera_PR-337/archives 10:38:22 total 16 10:38:22 drwxr-xr-x 3 jenkins jenkins 4096 May 4 10:28 . 10:38:22 drwxrwxr-x 11 jenkins jenkins 4096 May 4 10:28 .. 10:38:22 drwxr-xr-x 2 jenkins jenkins 4096 May 4 10:28 cost 10:38:22 -rw-r--r-- 1 jenkins jenkins 91 May 4 10:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:38:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:38:23 ---> package-listing.sh 10:38:23 ++ facter osfamily 10:38:23 ++ tr '[:upper:]' '[:lower:]' 10:38:23 + OS_FAMILY=debian 10:38:23 + workspace=/w/workspace/undry_device-onvif-camera_PR-337 10:38:23 + START_PACKAGES=/tmp/packages_start.txt 10:38:23 + END_PACKAGES=/tmp/packages_end.txt 10:38:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:38:23 + PACKAGES=/tmp/packages_start.txt 10:38:23 + '[' /w/workspace/undry_device-onvif-camera_PR-337 ']' 10:38:23 + PACKAGES=/tmp/packages_end.txt 10:38:23 + case "${OS_FAMILY}" in 10:38:23 + dpkg -l 10:38:23 + grep '^ii' 10:38:23 + '[' -f /tmp/packages_start.txt ']' 10:38:23 + '[' -f /tmp/packages_end.txt ']' 10:38:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:38:23 + '[' /w/workspace/undry_device-onvif-camera_PR-337 ']' 10:38:23 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-337/archives/ 10:38:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-337/archives/ [Pipeline] echo 10:38:23 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-337/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:38:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:38:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:38:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:38:24 prd-ubuntu20.04-docker-8c-8g-13280 does not seem to be running inside a container 10:38:24 $ 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-337/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-337 -v /w/workspace/undry_device-onvif-camera_PR-337:/w/workspace/undry_device-onvif-camera_PR-337:rw,z -v /w/workspace/undry_device-onvif-camera_PR-337@tmp:/w/workspace/undry_device-onvif-camera_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:38:24 $ docker top fb3fab8d4a437bc4423f3d4850475adf2d85da9c7dacd8acb2050ee8e82f19fb -eo pid,comm [Pipeline] { [Pipeline] sh 10:38:25 + touch /tmp/pre-build-complete [Pipeline] sh 10:38:25 + mkdir -p /var/log/sysstat [Pipeline] sh 10:38:25 + ls /var/log/sa-host 10:38:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:38:25 provisioning config files... 10:38:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-337@tmp/config11284137891911535155tmp [Pipeline] { [Pipeline] echo 10:38:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:38:26 ---> create-netrc.sh [Pipeline] } 10:38:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:38:26 ---> python-tools-install.sh [Pipeline] echo 10:38:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:38:26 ---> sudo-logs.sh 10:38:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:38:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:38:27 ---> job-cost.sh 10:38:27 lf-activate-venv: SKIPPING 10:38:27 DEBUG: total: 0.2199999988079071 10:38:27 INFO: Retrieving Stack Cost... 10:38:27 INFO: Retrieving Pricing Info for: v3-standard-8 10:38:27 INFO: Archiving Costs [Pipeline] echo 10:38:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:38:28 ---> logs-deploy.sh 10:38:28 lf-activate-venv: SKIPPING 10:38:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-337/2 10:38:28 INFO: archiving workspace using pattern(s): 10:38:29 Archives upload complete. 10:38:29 INFO: archiving logs to Nexus