Pull request #281 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at e03c6e991c633265ca57616196638541aa716f8b rather than 38ef2de0ddd4c4e8f800254095d4964acf93d0ca Obtained Jenkinsfile from e03c6e991c633265ca57616196638541aa716f8b 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-ssh12454324618951221363.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh10269401741245500137.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-281/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-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8199326667831824570.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh775595455697069554.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-281/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-281/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5845710294648053811.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 Running on prd-ubuntu20.04-docker-8c-8g-5265 in /w/workspace/undry_device-onvif-camera_PR-281 [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-281 # 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 e03c6e991c633265ca57616196638541aa716f8b into PR head commit 38ef2de0ddd4c4e8f800254095d4964acf93d0ca Merge succeeded, producing 6980474541bc433706a8a88a72902e34028c94c6 Checking out Revision 6980474541bc433706a8a88a72902e34028c94c6 (PR-281) > 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/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38ef2de0ddd4c4e8f800254095d4964acf93d0ca # 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 e03c6e991c633265ca57616196638541aa716f8b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6980474541bc433706a8a88a72902e34028c94c6 # timeout=10 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:08:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:08:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:08:00 ========================================================= 19:08:00 EdgeX Global Pipelines Version Info 19:08:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2cf52784bf8ecf74f89b2c8a0532d0cb83b9f094 # timeout=10 19:08:01 ------------------- 19:08:01 stable info: 19:08:01 ------------------- 19:08:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:08:01 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 19:08:01 Message: update stable to v1.0.245 19:08:02 ------------------- 19:08:02 experimental info: 19:08:02 ------------------- 19:08:02 Commited By: **** collab-it+edgex@linuxfoundation.org 19:08:02 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 19:08:02 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6980474541bc433706a8a88a72902e34028c94c6 [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6980474 [Pipeline] echo 19:08:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:08:02 provisioning config files... 19:08:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config10122733664593610502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:03 ---> docker-login.sh 19:08:03 nexus3.edgexfoundry.org:10001 19:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:03 Configure a credential helper to remove this warning. See 19:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:03 19:08:03 Login Succeeded 19:08:03 nexus3.edgexfoundry.org:10002 19:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:03 Configure a credential helper to remove this warning. See 19:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:03 19:08:03 Login Succeeded 19:08:03 nexus3.edgexfoundry.org:10003 19:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:03 Configure a credential helper to remove this warning. See 19:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:03 19:08:03 Login Succeeded 19:08:03 nexus3.edgexfoundry.org:10004 19:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:03 Configure a credential helper to remove this warning. See 19:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:03 19:08:03 Login Succeeded 19:08:03 docker.io 19:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:03 Configure a credential helper to remove this warning. See 19:08:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:03 19:08:03 Login Succeeded 19:08:03 ---> docker-login.sh ends [Pipeline] } 19:08:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:08:04 + git rev-list -1 --merges 6980474541bc433706a8a88a72902e34028c94c6~1..6980474541bc433706a8a88a72902e34028c94c6 [Pipeline] echo 19:08:04 -----------> git rev-list -1 --merges 6980474541bc433706a8a88a72902e34028c94c6~1..6980474541bc433706a8a88a72902e34028c94c6 6980474541bc433706a8a88a72902e34028c94c6 19:08:04 6980474541bc433706a8a88a72902e34028c94c6 [false] [Pipeline] sh 19:08:04 + git log --format=format:%s -1 6980474541bc433706a8a88a72902e34028c94c6 [Pipeline] echo 19:08:04 ========================================================= 19:08:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:08:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:08:04 + git log --format=format:%s -1 6980474541bc433706a8a88a72902e34028c94c6 [Pipeline] echo 19:08:04 [semverPrep] GIT_COMMIT: 6980474541bc433706a8a88a72902e34028c94c6, Commit Message: Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD [Pipeline] echo 19:08:04 [semverPrep] This is not a build commit. [Pipeline] sh 19:08:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:08:05 + grep -v github /etc/ssh/ssh_known_hosts 19:08:05 + [ -e /tmp/ssh_known_hosts ] 19:08:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:08:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:08:05 + sudo tee -a /etc/ssh/ssh_known_hosts 19:08:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:05 19:08:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:05 0.1.4: Pulling from edgex-devops/py-git-semver 19:08:05 b85a868b505f: Pulling fs layer 19:08:05 e2be974225ed: Pulling fs layer 19:08:05 339a4e72a1f5: Pulling fs layer 19:08:05 988bab9f4d93: Pulling fs layer 19:08:05 1469e6f7b9e6: Pulling fs layer 19:08:05 eaf3925da568: Pulling fs layer 19:08:05 bab4dde63d76: Pulling fs layer 19:08:05 bde34c3a00c8: Pulling fs layer 19:08:05 b352a97aabf1: Pulling fs layer 19:08:05 4872d77fe225: Pulling fs layer 19:08:05 5851b861e8e6: Pulling fs layer 19:08:05 988bab9f4d93: Waiting 19:08:05 1469e6f7b9e6: Waiting 19:08:05 eaf3925da568: Waiting 19:08:05 bab4dde63d76: Waiting 19:08:05 bde34c3a00c8: Waiting 19:08:05 b352a97aabf1: Waiting 19:08:05 4872d77fe225: Waiting 19:08:05 5851b861e8e6: Waiting 19:08:05 e2be974225ed: Verifying Checksum 19:08:05 e2be974225ed: Download complete 19:08:05 988bab9f4d93: Verifying Checksum 19:08:05 988bab9f4d93: Download complete 19:08:06 1469e6f7b9e6: Verifying Checksum 19:08:06 1469e6f7b9e6: Download complete 19:08:06 eaf3925da568: Verifying Checksum 19:08:06 eaf3925da568: Download complete 19:08:06 339a4e72a1f5: Verifying Checksum 19:08:06 339a4e72a1f5: Download complete 19:08:06 bde34c3a00c8: Verifying Checksum 19:08:06 bde34c3a00c8: Download complete 19:08:06 b352a97aabf1: Download complete 19:08:06 4872d77fe225: Verifying Checksum 19:08:06 4872d77fe225: Download complete 19:08:06 5851b861e8e6: Verifying Checksum 19:08:06 5851b861e8e6: Download complete 19:08:06 b85a868b505f: Verifying Checksum 19:08:06 b85a868b505f: Download complete 19:08:06 bab4dde63d76: Verifying Checksum 19:08:06 bab4dde63d76: Download complete 19:08:07 b85a868b505f: Pull complete 19:08:07 e2be974225ed: Pull complete 19:08:08 339a4e72a1f5: Pull complete 19:08:08 988bab9f4d93: Pull complete 19:08:08 1469e6f7b9e6: Pull complete 19:08:08 eaf3925da568: Pull complete 19:08:10 bab4dde63d76: Pull complete 19:08:10 bde34c3a00c8: Pull complete 19:08:10 b352a97aabf1: Pull complete 19:08:10 4872d77fe225: Pull complete 19:08:10 5851b861e8e6: Pull complete 19:08:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:08:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:08:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:10 prd-ubuntu20.04-docker-8c-8g-5265 does not seem to be running inside a container 19:08:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:08:11 $ docker top a3284f806a7f36d219d9939b3759ca53b76ad9daa2a2e289add384cd9cd853c6 -eo pid,comm 19:08:11 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). 19:08:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:08:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:08:12 [ssh-agent] Looking for ssh-agent implementation... 19:08:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:08:12 $ docker exec a3284f806a7f36d219d9939b3759ca53b76ad9daa2a2e289add384cd9cd853c6 ssh-agent 19:08:12 SSH_AUTH_SOCK=/tmp/ssh-HkRSrX3uCTuH/agent.33 19:08:12 SSH_AGENT_PID=39 19:08:12 Running ssh-add (command line suppressed) 19:08:12 Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_6761127033849157020.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_6761127033849157020.key) 19:08:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:08:12 + git tag --points-at HEAD [Pipeline] } 19:08:12 $ docker exec --env ******** --env ******** a3284f806a7f36d219d9939b3759ca53b76ad9daa2a2e289add384cd9cd853c6 ssh-agent -k 19:08:12 unset SSH_AUTH_SOCK; 19:08:12 unset SSH_AGENT_PID; 19:08:12 echo Agent pid 39 killed; 19:08:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:08:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:08:12 [ssh-agent] Looking for ssh-agent implementation... 19:08:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:08:12 $ docker exec a3284f806a7f36d219d9939b3759ca53b76ad9daa2a2e289add384cd9cd853c6 ssh-agent 19:08:13 SSH_AUTH_SOCK=/tmp/ssh-gy01rwZiFw97/agent.71 19:08:13 SSH_AGENT_PID=77 19:08:13 Running ssh-add (command line suppressed) 19:08:13 Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_17364640218023917789.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_17364640218023917789.key) 19:08:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:08:13 + git semver init 19:08:13 2023-03-22 19:08:13,594 [run_init] DEBUG init version:0.0.0 force:False 19:08:13 2023-03-22 19:08:13,594 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-281/.semver 19:08:13 2023-03-22 19:08:13,595 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-281/.semver 19:08:13 2023-03-22 19:08:13,595 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-281/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-281, universal_newlines=False, shell=None, istream=None) 19:08:14 2023-03-22 19:08:14,466 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-281/.git/info/exclude 19:08:14 2023-03-22 19:08:14,466 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 with force:False 19:08:14 2023-03-22 19:08:14,467 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 19:08:14 2023-03-22 19:08:14,469 [execute] INFO git cat-file --batch-check 19:08:14 2023-03-22 19:08:14,469 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) 19:08:14 2023-03-22 19:08:14,473 [execute] INFO git cat-file --batch 19:08:14 2023-03-22 19:08:14,474 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) 19:08:14 2023-03-22 19:08:14,479 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 19:08:14 0.0.0 [Pipeline] } 19:08:14 $ docker exec --env ******** --env ******** a3284f806a7f36d219d9939b3759ca53b76ad9daa2a2e289add384cd9cd853c6 ssh-agent -k 19:08:14 unset SSH_AUTH_SOCK; 19:08:14 unset SSH_AGENT_PID; 19:08:14 echo Agent pid 77 killed; 19:08:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:08:15 + git semver [Pipeline] } 19:08:15 $ docker stop --time=1 a3284f806a7f36d219d9939b3759ca53b76ad9daa2a2e289add384cd9cd853c6 19:08:16 $ docker rm -f --volumes a3284f806a7f36d219d9939b3759ca53b76ad9daa2a2e289add384cd9cd853c6 [Pipeline] // withDockerContainer [Pipeline] sh 19:08:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:08:17 Stashed 1 file(s) [Pipeline] echo 19:08:17 [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 19:08:17 provisioning config files... 19:08:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config8030894436399175369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:17 ---> docker-login.sh 19:08:17 nexus3.edgexfoundry.org:10001 19:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:17 Configure a credential helper to remove this warning. See 19:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:17 19:08:17 Login Succeeded 19:08:17 nexus3.edgexfoundry.org:10002 19:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:17 Configure a credential helper to remove this warning. See 19:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:17 19:08:17 Login Succeeded 19:08:17 nexus3.edgexfoundry.org:10003 19:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:17 Configure a credential helper to remove this warning. See 19:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:17 19:08:17 Login Succeeded 19:08:17 nexus3.edgexfoundry.org:10004 19:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:17 Configure a credential helper to remove this warning. See 19:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:17 19:08:17 Login Succeeded 19:08:17 docker.io 19:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:18 Configure a credential helper to remove this warning. See 19:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:18 19:08:18 Login Succeeded 19:08:18 ---> docker-login.sh ends [Pipeline] } 19:08:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:08:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:08:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:08:18 ========================================================= 19:08:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:08:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:18 + 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 . 19:08:18 Sending build context to Docker daemon 27.2MB 19:08:18 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:08:18 Step 2/13 : FROM ${BASE} AS builder 19:08:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:08:18 63b65145d645: Pulling fs layer 19:08:18 a2d21d5440eb: Pulling fs layer 19:08:18 935e6c44a52c: Pulling fs layer 19:08:18 94cc34f8dd06: Pulling fs layer 19:08:18 30dea6a524f1: Pulling fs layer 19:08:18 a2aff8979fd8: Pulling fs layer 19:08:18 6808be2612f2: Pulling fs layer 19:08:18 f25807f1079a: Pulling fs layer 19:08:18 94cc34f8dd06: Waiting 19:08:18 30dea6a524f1: Waiting 19:08:18 f25807f1079a: Waiting 19:08:18 a2d21d5440eb: Verifying Checksum 19:08:18 a2d21d5440eb: Download complete 19:08:18 94cc34f8dd06: Verifying Checksum 19:08:18 94cc34f8dd06: Download complete 19:08:18 30dea6a524f1: Verifying Checksum 19:08:18 30dea6a524f1: Download complete 19:08:18 63b65145d645: Verifying Checksum 19:08:18 63b65145d645: Download complete 19:08:18 a2aff8979fd8: Verifying Checksum 19:08:18 a2aff8979fd8: Download complete 19:08:19 63b65145d645: Pull complete 19:08:19 a2d21d5440eb: Pull complete 19:08:19 f25807f1079a: Verifying Checksum 19:08:19 f25807f1079a: Download complete 19:08:19 935e6c44a52c: Download complete 19:08:19 6808be2612f2: Verifying Checksum 19:08:19 6808be2612f2: Download complete 19:08:23 935e6c44a52c: Pull complete 19:08:23 94cc34f8dd06: Pull complete 19:08:23 30dea6a524f1: Pull complete 19:08:23 a2aff8979fd8: Pull complete 19:08:25 6808be2612f2: Pull complete 19:08:26 f25807f1079a: Pull complete 19:08:26 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 19:08:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:08:26 ---> 3b553350e43f 19:08:26 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:08:27 ---> Running in 077b365c9851 19:08:27 Removing intermediate container 077b365c9851 19:08:27 ---> 9d34869333d9 19:08:27 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:08:27 ---> Running in 85173800d003 19:08:27 Removing intermediate container 85173800d003 19:08:27 ---> bae20e1de4ea 19:08:27 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:08:27 ---> Running in a54d6aaab3de 19:08:27 Removing intermediate container a54d6aaab3de 19:08:27 ---> 0aa939a66c83 19:08:27 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:08:27 ---> Running in 2d5c338fbb43 19:08:27 Removing intermediate container 2d5c338fbb43 19:08:27 ---> ec6d03eefed3 19:08:27 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:08:27 ---> Running in 6276f335b561 19:08:27 Removing intermediate container 6276f335b561 19:08:27 ---> a1e6808bcf6e 19:08:27 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:08:27 ---> Running in 9d7901c9d877 19:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:08:28 OK: 265 MiB in 53 packages 19:08:28 Removing intermediate container 9d7901c9d877 19:08:28 ---> 700c3db5b872 19:08:28 Step 9/13 : WORKDIR /device-onvif-camera 19:08:28 ---> Running in 24a911fc4d30 19:08:28 Removing intermediate container 24a911fc4d30 19:08:28 ---> 557837790963 19:08:28 Step 10/13 : COPY go.mod vendor* ./ 19:08:28 ---> 4f285c14ccd5 19:08:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:08:28 ---> Running in df628cb46afa 19:08:32 Still waiting to schedule task 19:08:32 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5266’ is offline 19:08:55 Removing intermediate container df628cb46afa 19:08:55 ---> c0015d18002a 19:08:55 Step 12/13 : COPY . . 19:08:55 ---> 3639ea26afbe 19:08:55 Step 13/13 : RUN ${MAKE} 19:08:55 ---> Running in 5964eef5dff5 19:08:55 noop 19:08:55 Removing intermediate container 5964eef5dff5 19:08:55 ---> 05475ed15a3a 19:08:55 Successfully built 05475ed15a3a 19:08:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:55 + docker inspect -f . ci-base-image-x86_64 19:08:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:55 prd-ubuntu20.04-docker-8c-8g-5265 does not seem to be running inside a container 19:08:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:08:56 $ docker top 1ca5f10394350abb5611f3c199ac9499caad3463afca05f7eb4e1ee2992c94e7 -eo pid,comm [Pipeline] { [Pipeline] sh 19:08:56 + go version 19:08:56 go version go1.20.2 linux/amd64 [Pipeline] } 19:08:56 $ docker stop --time=1 1ca5f10394350abb5611f3c199ac9499caad3463afca05f7eb4e1ee2992c94e7 19:08:57 $ docker rm -f --volumes 1ca5f10394350abb5611f3c199ac9499caad3463afca05f7eb4e1ee2992c94e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:58 + docker inspect -f . ci-base-image-x86_64 19:08:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:58 prd-ubuntu20.04-docker-8c-8g-5265 does not seem to be running inside a container 19:08:58 $ 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-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:08:58 $ docker top 057f220042af0f3419637a4ae3960e137f3a191cd09bbc7126f75f9decf14ff0 -eo pid,comm [Pipeline] { [Pipeline] sh 19:08:58 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] fileExists [Pipeline] sh 19:08:59 + make test 19:08:59 go test ./... -coverprofile=coverage.out ./... 19:09:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:09:14 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:09:14 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:09:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 31.7% of statements 19:09:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.754s coverage: 86.5% of statements 19:09:27 go vet ./... 19:09:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:09:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:09:29 ./bin/test-attribution-txt.sh [Pipeline] echo 19:09:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:09:29 $ docker stop --time=1 057f220042af0f3419637a4ae3960e137f3a191cd09bbc7126f75f9decf14ff0 19:09:31 $ docker rm -f --volumes 057f220042af0f3419637a4ae3960e137f3a191cd09bbc7126f75f9decf14ff0 [Pipeline] // withDockerContainer [Pipeline] sh 19:09:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:09:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:09:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:09:32 + ls -al . 19:09:32 total 236 19:09:32 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 19:08 . 19:09:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 19:07 .. 19:09:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 19:08 .git 19:09:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 19:07 .github 19:09:32 -rw-rw-r-- 1 jenkins jenkins 496 Mar 22 19:07 .gitignore 19:09:32 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 19:07 .golangci.yml 19:09:32 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 19:08 .semver 19:09:32 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 22 19:07 Attribution.txt 19:09:32 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 22 19:07 CHANGELOG.md 19:09:32 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 22 19:07 Dockerfile 19:09:32 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 19:07 GOVERNANCE.md 19:09:32 -rw-rw-r-- 1 jenkins jenkins 734 Mar 22 19:07 Jenkinsfile 19:09:32 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 19:07 LICENSE 19:09:32 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 22 19:07 Makefile 19:09:32 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 19:07 OWNERS.md 19:09:32 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 22 19:07 README.md 19:09:32 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 19:08 VERSION 19:09:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 19:07 bin 19:09:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 19:07 cmd 19:09:32 -rw-r--r-- 1 jenkins jenkins 78487 Mar 22 19:09 coverage.out 19:09:32 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 19:07 doc 19:09:32 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 22 19:07 go.mod 19:09:32 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 22 19:07 go.sum 19:09:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 19:07 internal 19:09:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 19:07 snap 19:09:32 -rw-rw-r-- 1 jenkins jenkins 236 Mar 22 19:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:33 + 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=6980474541bc433706a8a88a72902e34028c94c6 --label arch=amd64 --label version=0.0.0 . 19:09:33 Sending build context to Docker daemon 27.28MB 19:09:33 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:09:33 Step 2/26 : FROM ${BASE} AS builder 19:09:33 ---> 05475ed15a3a 19:09:33 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:09:33 ---> Running in 4b8f162d2473 19:09:33 Removing intermediate container 4b8f162d2473 19:09:33 ---> fb8b54e69f75 19:09:33 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:09:33 ---> Running in c0f71112863e 19:09:33 Removing intermediate container c0f71112863e 19:09:33 ---> 9efcd7592f84 19:09:33 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:09:33 ---> Running in 8ef76bf14905 19:09:33 Removing intermediate container 8ef76bf14905 19:09:33 ---> a96b9d317677 19:09:33 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:09:33 ---> Running in d482a053350b 19:09:33 Removing intermediate container d482a053350b 19:09:33 ---> 74740f689e96 19:09:33 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:09:33 ---> Running in 0ad77a2052fd 19:09:33 Removing intermediate container 0ad77a2052fd 19:09:33 ---> 868cecb232db 19:09:33 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:09:33 ---> Running in 689d1557e89f 19:09:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:09:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:09:34 OK: 265 MiB in 53 packages 19:09:34 Removing intermediate container 689d1557e89f 19:09:34 ---> 9cdf127edd82 19:09:34 Step 9/26 : WORKDIR /device-onvif-camera 19:09:34 ---> Running in 1c70995ecd8b 19:09:34 Removing intermediate container 1c70995ecd8b 19:09:34 ---> 4c06b4ced4f9 19:09:34 Step 10/26 : COPY go.mod vendor* ./ 19:09:34 ---> 3ef1c07e403f 19:09:34 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:09:34 ---> Running in 3ab6f42091db 19:09:35 Removing intermediate container 3ab6f42091db 19:09:35 ---> 2e5beec51c7b 19:09:35 Step 12/26 : COPY . . 19:09:36 ---> ed825cbb9e7a 19:09:36 Step 13/26 : RUN ${MAKE} 19:09:36 ---> Running in 8b4859d9030b 19:09:36 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 19:09:54 Removing intermediate container 8b4859d9030b 19:09:54 ---> 8406779a3105 19:09:54 Step 14/26 : FROM alpine:3.17 19:09:54 3.17: Pulling from library/alpine 19:09:54 63b65145d645: Already exists 19:09:54 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 19:09:54 Status: Downloaded newer image for alpine:3.17 19:09:54 ---> b2aa39c304c2 19:09:54 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:09:54 ---> Running in 276fa9bf5b20 19:09:55 Removing intermediate container 276fa9bf5b20 19:09:55 ---> d62f50c6051e 19:09:55 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:09:55 ---> Running in ab1c3e168770 19:09:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:09:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:09:55 (1/1) Installing dumb-init (1.2.5-r2) 19:09:55 Executing busybox-1.35.0-r29.trigger 19:09:55 OK: 7 MiB in 16 packages 19:09:55 Removing intermediate container ab1c3e168770 19:09:55 ---> c884fb59e9eb 19:09:55 Step 17/26 : WORKDIR / 19:09:56 ---> Running in 20b2c9053b49 19:09:56 Removing intermediate container 20b2c9053b49 19:09:56 ---> 5e584a58cd59 19:09:56 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:09:56 ---> f77264f25c40 19:09:56 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:09:56 ---> 7890b4cad10c 19:09:56 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:09:56 ---> b5641a85c9a4 19:09:56 Step 21/26 : EXPOSE 59984 19:09:56 ---> Running in 25a2736d9547 19:09:56 Removing intermediate container 25a2736d9547 19:09:56 ---> e1ec54e224c9 19:09:56 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:09:56 ---> Running in 0091d149bc93 19:09:56 Removing intermediate container 0091d149bc93 19:09:56 ---> db205822a1b5 19:09:56 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:09:57 ---> Running in eb9ea3fe8c5b 19:09:57 Removing intermediate container eb9ea3fe8c5b 19:09:57 ---> 0789ef826664 19:09:57 Step 24/26 : LABEL arch=amd64 19:09:57 ---> Running in cb63a310a295 19:09:57 Removing intermediate container cb63a310a295 19:09:57 ---> 9b478917de24 19:09:57 Step 25/26 : LABEL git_sha=6980474541bc433706a8a88a72902e34028c94c6 19:09:57 ---> Running in 5d4ba382ad62 19:09:57 Removing intermediate container 5d4ba382ad62 19:09:57 ---> 28c761fa3e8d 19:09:57 Step 26/26 : LABEL version=0.0.0 19:09:57 ---> Running in 55135c4ec441 19:09:57 Removing intermediate container 55135c4ec441 19:09:57 ---> 57bb15048f9d 19:09:57 [Warning] One or more build-args [ARCH] were not consumed 19:09:57 Successfully built 57bb15048f9d 19:09:57 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 19:09:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:57 19:09:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:58 latest: Pulling from edgex-lftools-log-publisher 19:09:58 5eb5b503b376: Pulling fs layer 19:09:58 5c69ac0246d0: Pulling fs layer 19:09:58 ec43610c2a17: Pulling fs layer 19:09:58 3a2ae6a8a46f: Pulling fs layer 19:09:58 33b1e0a273af: Pulling fs layer 19:09:58 5d3b04190fa2: Pulling fs layer 19:09:58 2f39f015ded8: Pulling fs layer 19:09:58 3a2ae6a8a46f: Waiting 19:09:58 33b1e0a273af: Waiting 19:09:58 2f39f015ded8: Waiting 19:09:58 5d3b04190fa2: Waiting 19:09:58 5c69ac0246d0: Verifying Checksum 19:09:58 5c69ac0246d0: Download complete 19:09:58 3a2ae6a8a46f: Download complete 19:09:58 33b1e0a273af: Verifying Checksum 19:09:58 33b1e0a273af: Download complete 19:09:58 5d3b04190fa2: Verifying Checksum 19:09:58 5d3b04190fa2: Download complete 19:09:58 ec43610c2a17: Verifying Checksum 19:09:58 ec43610c2a17: Download complete 19:09:58 5eb5b503b376: Verifying Checksum 19:09:58 5eb5b503b376: Download complete 19:09:59 2f39f015ded8: Download complete 19:09:59 5eb5b503b376: Pull complete 19:09:59 5c69ac0246d0: Pull complete 19:10:00 ec43610c2a17: Pull complete 19:10:00 3a2ae6a8a46f: Pull complete 19:10:00 33b1e0a273af: Pull complete 19:10:00 5d3b04190fa2: Pull complete 19:10:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5268 in /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] { 19:10:04 2f39f015ded8: Pull complete 19:10:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:10:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] ws 19:10:04 Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:04 prd-ubuntu20.04-docker-8c-8g-5265 does not seem to be running inside a container 19:10:04 $ 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-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:10:05 $ docker top faa70d03423914fe63a4e343a9d8877300510f6bcc00276fb08eb7461883591f -eo pid,comm [Pipeline] { [Pipeline] checkout 19:10:05 The recommended git tool is: git [Pipeline] libraryResource [Pipeline] sh 19:10:06 ---> job-cost.sh 19:10:06 lf-activate-venv: SKIPPING 19:10:06 INFO: No Stack... 19:10:06 INFO: Retrieving Pricing Info for: v3-standard-8 19:10:07 INFO: Archiving Costs [Pipeline] sh 19:10:07 + cat /w/workspace/undry_device-onvif-camera_PR-281/archives/cost.csv 19:10:07 + cut -d, -f6 [Pipeline] lock 19:10:07 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-7-stack-cost] 19:10:07 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-7-stack-cost] did not exist. Created. 19:10:07 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:10:07 + echo total: 0.2199999988079071 [Pipeline] stash 19:10:07 Stashed 1 file(s) [Pipeline] } 19:10:07 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-7-stack-cost] [Pipeline] // lock [Pipeline] } 19:10:07 $ docker stop --time=1 faa70d03423914fe63a4e343a9d8877300510f6bcc00276fb08eb7461883591f 19:10:08 $ docker rm -f --volumes faa70d03423914fe63a4e343a9d8877300510f6bcc00276fb08eb7461883591f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:10:11 using credential edgex-jenkins-ssh 19:10:11 Cloning the remote Git repository 19:10:11 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:10:11 > git init /w/workspace/device-onvif-camera/7 # timeout=10 19:10:11 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:10:11 > git --version # timeout=10 19:10:11 > git --version # 'git version 2.25.1' 19:10:11 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:10:12 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:10:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:10:14 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit 38ef2de0ddd4c4e8f800254095d4964acf93d0ca 19:10:13 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:10:13 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:10:13 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:10:14 > git config core.sparsecheckout # timeout=10 19:10:15 Merge succeeded, producing 66864d28fca1ab84d07011c328eeca2611b1502e 19:10:15 Checking out Revision 66864d28fca1ab84d07011c328eeca2611b1502e (PR-281) 19:10:14 > git checkout -f 38ef2de0ddd4c4e8f800254095d4964acf93d0ca # timeout=10 19:10:14 > git remote # timeout=10 19:10:15 > git config --get remote.origin.url # timeout=10 19:10:15 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:15 > git merge e03c6e991c633265ca57616196638541aa716f8b # timeout=10 19:10:15 > git rev-parse HEAD^{commit} # timeout=10 19:10:15 > git config core.sparsecheckout # timeout=10 19:10:15 > git checkout -f 66864d28fca1ab84d07011c328eeca2611b1502e # timeout=10 19:10:18 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" 19:10:19 First time build. Skipping changelog. 19:10:18 > git rev-list --no-walk 2cf52784bf8ecf74f89b2c8a0532d0cb83b9f094 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:10:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:10:20 % Total % Received % Xferd Average Speed Time Time Time Current 19:10:20 Dload Upload Total Spent Left Speed 19:10:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh 19:10:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:10:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:10:21 + sudo tee /etc/docker/daemon.new 19:10:21 { 19:10:21 "registry-mirrors": [ 19:10:21 "https://nexus3.edgexfoundry.org:10001" 19:10:21 ], 19:10:21 "bip": "10.250.0.254/24", 19:10:21 "hosts": [ 19:10:21 "tcp://0.0.0.0:5555", 19:10:21 "unix:///var/run/docker.sock" 19:10:21 ], 19:10:21 "mtu": 1458, 19:10:21 "selinux-enabled": true, 19:10:21 "seccomp-profile": "/etc/docker/seccomp.json" 19:10:21 } [Pipeline] sh 19:10:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:10:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:10:39 provisioning config files... 19:10:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config12747657615528597267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:10:40 ---> docker-login.sh 19:10:40 nexus3.edgexfoundry.org:10001 19:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:40 Configure a credential helper to remove this warning. See 19:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:40 19:10:40 Login Succeeded 19:10:40 nexus3.edgexfoundry.org:10002 19:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:41 Configure a credential helper to remove this warning. See 19:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:41 19:10:41 Login Succeeded 19:10:41 nexus3.edgexfoundry.org:10003 19:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:41 Configure a credential helper to remove this warning. See 19:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:41 19:10:41 Login Succeeded 19:10:41 nexus3.edgexfoundry.org:10004 19:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:41 Configure a credential helper to remove this warning. See 19:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:41 19:10:41 Login Succeeded 19:10:41 docker.io 19:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:42 Configure a credential helper to remove this warning. See 19:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:42 19:10:42 Login Succeeded 19:10:42 ---> docker-login.sh ends [Pipeline] } 19:10:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:10:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:10:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:10:42 ========================================================= 19:10:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:10:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:42 + 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 . 19:10:43 Sending build context to Docker daemon 19.9MB 19:10:43 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 19:10:43 Step 2/13 : FROM ${BASE} AS builder 19:10:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:10:43 af6eaf76a39c: Pulling fs layer 19:10:43 55522c791124: Pulling fs layer 19:10:43 ce5c4a1c91eb: Pulling fs layer 19:10:43 169dfbe0d373: Pulling fs layer 19:10:43 e1ff8fa3b103: Pulling fs layer 19:10:43 52ebb69f0ebf: Pulling fs layer 19:10:43 5abe8eddf0d5: Pulling fs layer 19:10:43 52ebb69f0ebf: Waiting 19:10:43 169dfbe0d373: Waiting 19:10:43 e1ff8fa3b103: Waiting 19:10:43 5abe8eddf0d5: Waiting 19:10:43 55522c791124: Download complete 19:10:43 169dfbe0d373: Verifying Checksum 19:10:43 169dfbe0d373: Download complete 19:10:43 e1ff8fa3b103: Download complete 19:10:43 af6eaf76a39c: Verifying Checksum 19:10:43 af6eaf76a39c: Download complete 19:10:44 5abe8eddf0d5: Verifying Checksum 19:10:44 5abe8eddf0d5: Download complete 19:10:44 af6eaf76a39c: Pull complete 19:10:45 55522c791124: Pull complete 19:10:45 52ebb69f0ebf: Verifying Checksum 19:10:45 52ebb69f0ebf: Download complete 19:10:45 ce5c4a1c91eb: Verifying Checksum 19:10:45 ce5c4a1c91eb: Download complete 19:10:58 ce5c4a1c91eb: Pull complete 19:10:58 169dfbe0d373: Pull complete 19:10:58 e1ff8fa3b103: Pull complete 19:11:04 52ebb69f0ebf: Pull complete 19:11:05 5abe8eddf0d5: Pull complete 19:11:05 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 19:11:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:11:05 ---> 6cb57ee374ae 19:11:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:11:07 ---> Running in 7283a90becc5 19:11:08 Removing intermediate container 7283a90becc5 19:11:08 ---> 5607900c5fb5 19:11:08 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:11:08 ---> Running in 17fd84ca87b5 19:11:08 Removing intermediate container 17fd84ca87b5 19:11:08 ---> a5c1fb7567e3 19:11:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:11:08 ---> Running in 3b9acceb4d47 19:11:08 Removing intermediate container 3b9acceb4d47 19:11:08 ---> 1929531321a0 19:11:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:11:08 ---> Running in 40115336cb2f 19:11:09 Removing intermediate container 40115336cb2f 19:11:09 ---> d9373c27b529 19:11:09 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:11:09 ---> Running in fa5bce091cba 19:11:09 Removing intermediate container fa5bce091cba 19:11:09 ---> 88e708a3428f 19:11:09 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:11:09 ---> Running in e727b0b25ee1 19:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:11:12 OK: 263 MiB in 53 packages 19:11:13 Removing intermediate container e727b0b25ee1 19:11:13 ---> 86dda1a68738 19:11:13 Step 9/13 : WORKDIR /device-onvif-camera 19:11:13 ---> Running in 15a7a2da6377 19:11:13 Removing intermediate container 15a7a2da6377 19:11:13 ---> c176a1dad969 19:11:13 Step 10/13 : COPY go.mod vendor* ./ 19:11:14 ---> fb25cdfbfed3 19:11:14 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:11:14 ---> Running in 1e002881dd4b 19:12:22 Removing intermediate container 1e002881dd4b 19:12:22 ---> 77762753d760 19:12:22 Step 12/13 : COPY . . 19:12:22 ---> 1566398bc036 19:12:22 Step 13/13 : RUN ${MAKE} 19:12:22 ---> Running in ba119734240a 19:12:22 noop 19:12:22 Removing intermediate container ba119734240a 19:12:22 ---> d33c7059300f 19:12:22 Successfully built d33c7059300f 19:12:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:22 + docker inspect -f . ci-base-image-arm64 19:12:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:22 prd-ubuntu20.04-docker-arm64-4c-16g-5268 does not seem to be running inside a container 19:12:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:12:23 $ docker top 82929f9b06d84dc278816f9f86d9f635c7bc4738c22d4120c5b81a91a6e1d1ec -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:24 + go version 19:12:24 go version go1.20.2 linux/arm64 [Pipeline] } 19:12:24 $ docker stop --time=1 82929f9b06d84dc278816f9f86d9f635c7bc4738c22d4120c5b81a91a6e1d1ec 19:12:26 $ docker rm -f --volumes 82929f9b06d84dc278816f9f86d9f635c7bc4738c22d4120c5b81a91a6e1d1ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:26 + docker inspect -f . ci-base-image-arm64 19:12:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:27 prd-ubuntu20.04-docker-arm64-4c-16g-5268 does not seem to be running inside a container 19:12:27 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:12:29 $ docker top 26b4d8358d1abf08f4a32102984ea2959e0b8d2be270f95f155701083323a0c2 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:30 + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh 19:12:30 + make test 19:12:30 go test ./... -coverprofile=coverage.out ./... 19:13:02 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:15:09 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:15:12 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:15:14 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.205s coverage: 31.7% of statements 19:15:37 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.743s coverage: 86.5% of statements 19:15:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:15:37 go vet ./... 19:16:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:16:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:16:04 ./bin/test-attribution-txt.sh [Pipeline] echo 19:16:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:16:04 $ docker stop --time=1 26b4d8358d1abf08f4a32102984ea2959e0b8d2be270f95f155701083323a0c2 19:16:06 $ docker rm -f --volumes 26b4d8358d1abf08f4a32102984ea2959e0b8d2be270f95f155701083323a0c2 [Pipeline] // withDockerContainer [Pipeline] sh 19:16:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:16:07 Warning: overwriting stash ‘coverage-report’ 19:16:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:16:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:16:09 + ls -al . 19:16:09 total 232 19:16:09 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 19:12 . 19:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 19:10 .. 19:16:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 19:10 .git 19:16:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 19:10 .github 19:16:09 -rw-rw-r-- 1 jenkins jenkins 496 Mar 22 19:10 .gitignore 19:16:09 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 19:10 .golangci.yml 19:16:09 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 22 19:10 Attribution.txt 19:16:09 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 22 19:10 CHANGELOG.md 19:16:09 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 22 19:10 Dockerfile 19:16:09 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 19:10 GOVERNANCE.md 19:16:09 -rw-rw-r-- 1 jenkins jenkins 734 Mar 22 19:10 Jenkinsfile 19:16:09 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 19:10 LICENSE 19:16:09 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 22 19:10 Makefile 19:16:09 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 19:10 OWNERS.md 19:16:09 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 22 19:10 README.md 19:16:09 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 19:08 VERSION 19:16:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 19:10 bin 19:16:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 19:10 cmd 19:16:09 -rw-r--r-- 1 jenkins jenkins 78487 Mar 22 19:15 coverage.out 19:16:09 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 19:10 doc 19:16:09 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 22 19:10 go.mod 19:16:09 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 22 19:10 go.sum 19:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 19:10 internal 19:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 19:10 snap 19:16:09 -rw-rw-r-- 1 jenkins jenkins 236 Mar 22 19:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:09 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=66864d28fca1ab84d07011c328eeca2611b1502e --label arch=arm64 --label version=0.0.0 . 19:16:10 Sending build context to Docker daemon 19.98MB 19:16:10 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:16:10 Step 2/26 : FROM ${BASE} AS builder 19:16:10 ---> d33c7059300f 19:16:10 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:16:10 ---> Running in 79612225edd4 19:16:10 Removing intermediate container 79612225edd4 19:16:10 ---> e5e7299b3ebb 19:16:10 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:16:10 ---> Running in 24a09beee428 19:16:11 Removing intermediate container 24a09beee428 19:16:11 ---> 446c4d151580 19:16:11 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:16:11 ---> Running in 40635a4d6c0c 19:16:11 Removing intermediate container 40635a4d6c0c 19:16:11 ---> 73678b0f7384 19:16:11 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:16:11 ---> Running in bd9eb413fcf6 19:16:11 Removing intermediate container bd9eb413fcf6 19:16:11 ---> b24251dd4e70 19:16:11 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:16:11 ---> Running in 3ac7bb757fb8 19:16:12 Removing intermediate container 3ac7bb757fb8 19:16:12 ---> 2e65e94856f8 19:16:12 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:16:12 ---> Running in ce072901a58a 19:16:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:16:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:16:14 OK: 263 MiB in 53 packages 19:16:15 Removing intermediate container ce072901a58a 19:16:15 ---> cda97ed6ea8c 19:16:15 Step 9/26 : WORKDIR /device-onvif-camera 19:16:15 ---> Running in 43092016dac6 19:16:16 Removing intermediate container 43092016dac6 19:16:16 ---> 00fa6e69d69f 19:16:16 Step 10/26 : COPY go.mod vendor* ./ 19:16:16 ---> 155253b1ce7e 19:16:16 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:16:16 ---> Running in dbca8eaab121 19:16:19 Removing intermediate container dbca8eaab121 19:16:19 ---> 7a9204749be2 19:16:19 Step 12/26 : COPY . . 19:16:24 ---> 13380ddd3bea 19:16:24 Step 13/26 : RUN ${MAKE} 19:16:24 ---> Running in 381e31142885 19:16:25 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 19:18:46 Removing intermediate container 381e31142885 19:18:46 ---> 3d89c73ade45 19:18:46 Step 14/26 : FROM alpine:3.17 19:18:46 3.17: Pulling from library/alpine 19:18:46 af6eaf76a39c: Already exists 19:18:46 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 19:18:46 Status: Downloaded newer image for alpine:3.17 19:18:46 ---> d74e625d9115 19:18:46 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:18:46 ---> Running in 14ac2e27be17 19:18:46 Removing intermediate container 14ac2e27be17 19:18:46 ---> ec02f7fee1f2 19:18:46 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:18:46 ---> Running in d5a8df2ae148 19:18:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:18:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:18:46 (1/1) Installing dumb-init (1.2.5-r2) 19:18:46 Executing busybox-1.35.0-r29.trigger 19:18:46 OK: 8 MiB in 16 packages 19:18:46 Removing intermediate container d5a8df2ae148 19:18:46 ---> 3f96f77469ba 19:18:46 Step 17/26 : WORKDIR / 19:18:46 ---> Running in a0aeaf6a2af2 19:18:46 Removing intermediate container a0aeaf6a2af2 19:18:46 ---> e2202cb69fca 19:18:46 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:18:46 ---> 17e81af101ee 19:18:46 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:18:46 ---> 66cf5d7e081d 19:18:46 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:18:46 ---> 25a91a76d015 19:18:46 Step 21/26 : EXPOSE 59984 19:18:46 ---> Running in 3f7b29ce7ecc 19:18:46 Removing intermediate container 3f7b29ce7ecc 19:18:46 ---> 9bfc346b3afc 19:18:46 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:18:46 ---> Running in 27b9e80f40f2 19:18:46 Removing intermediate container 27b9e80f40f2 19:18:46 ---> cdacf6aa2e56 19:18:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:18:46 ---> Running in 4fe5ee74da87 19:18:46 Removing intermediate container 4fe5ee74da87 19:18:46 ---> af9416c4c17c 19:18:46 Step 24/26 : LABEL arch=arm64 19:18:46 ---> Running in a8d6b72b1ce9 19:18:46 Removing intermediate container a8d6b72b1ce9 19:18:46 ---> f705a09c8996 19:18:46 Step 25/26 : LABEL git_sha=66864d28fca1ab84d07011c328eeca2611b1502e 19:18:46 ---> Running in 22b867007063 19:18:46 Removing intermediate container 22b867007063 19:18:46 ---> 76ba2a4d6e1b 19:18:46 Step 26/26 : LABEL version=0.0.0 19:18:46 ---> Running in 237b1d7aeb37 19:18:46 Removing intermediate container 237b1d7aeb37 19:18:46 ---> 7b4b0feedb32 19:18:46 [Warning] One or more build-args [ARCH] were not consumed 19:18:46 Successfully built 7b4b0feedb32 19:18:46 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 19:18:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:18:47 19:18:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:18:47 arm64: Pulling from edgex-lftools-log-publisher 19:18:47 8998bd30e6a1: Pulling fs layer 19:18:47 04944245beec: Pulling fs layer 19:18:47 699f458cf7ca: Pulling fs layer 19:18:47 765212b225bb: Pulling fs layer 19:18:47 f23df028b6ca: Pulling fs layer 19:18:47 d65c8cfc05b1: Pulling fs layer 19:18:47 2437ff75d9bd: Pulling fs layer 19:18:47 765212b225bb: Waiting 19:18:47 d65c8cfc05b1: Waiting 19:18:47 2437ff75d9bd: Waiting 19:18:47 f23df028b6ca: Waiting 19:18:47 04944245beec: Verifying Checksum 19:18:47 04944245beec: Download complete 19:18:47 765212b225bb: Download complete 19:18:47 f23df028b6ca: Verifying Checksum 19:18:47 f23df028b6ca: Download complete 19:18:47 d65c8cfc05b1: Verifying Checksum 19:18:47 d65c8cfc05b1: Download complete 19:18:47 699f458cf7ca: Verifying Checksum 19:18:47 699f458cf7ca: Download complete 19:18:48 8998bd30e6a1: Verifying Checksum 19:18:48 8998bd30e6a1: Download complete 19:18:50 2437ff75d9bd: Verifying Checksum 19:18:50 2437ff75d9bd: Download complete 19:18:52 8998bd30e6a1: Pull complete 19:18:52 04944245beec: Pull complete 19:18:54 699f458cf7ca: Pull complete 19:18:54 765212b225bb: Pull complete 19:18:54 f23df028b6ca: Pull complete 19:18:54 d65c8cfc05b1: Pull complete 19:19:09 2437ff75d9bd: Pull complete 19:19:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:19:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:19:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:10 prd-ubuntu20.04-docker-arm64-4c-16g-5268 does not seem to be running inside a container 19:19:10 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:19:12 $ docker top b6e8f29751c6a4ff211630467604928f038fa5fc4ed83e19f9d68d8175db5470 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:13 ---> job-cost.sh 19:19:13 lf-activate-venv: SKIPPING 19:19:13 INFO: No Stack... 19:19:13 INFO: Retrieving Pricing Info for: v3-standard-4 19:19:14 INFO: Archiving Costs [Pipeline] sh 19:19:15 + cat /w/workspace/device-onvif-camera/7/archives/cost.csv 19:19:15 + cut -d, -f6 [Pipeline] lock 19:19:15 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-7-stack-cost] 19:19:15 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-7-stack-cost] did not exist. Created. 19:19:15 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:19:15 /w/workspace/device-onvif-camera/7@tmp/durable-767404e7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:19:16 + echo total: 0.10999999940395355 [Pipeline] stash 19:19:16 Warning: overwriting stash ‘stack-cost’ 19:19:16 Stashed 1 file(s) [Pipeline] } 19:19:16 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-7-stack-cost] [Pipeline] // lock [Pipeline] } 19:19:16 $ docker stop --time=1 b6e8f29751c6a4ff211630467604928f038fa5fc4ed83e19f9d68d8175db5470 19:19:17 $ docker rm -f --volumes b6e8f29751c6a4ff211630467604928f038fa5fc4ed83e19f9d68d8175db5470 [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 19:19:18 provisioning config files... 19:19:18 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config14601829004849077851tmp [Pipeline] { [Pipeline] sh 19:19:18 + set +x 19:19:18 + + curlbash -s -s https://codecov.io/bash -- 19:19:18 19:19:18 19:19:18 _____ _ 19:19:18 / ____| | | 19:19:18 | | ___ __| | ___ ___ _____ __ 19:19:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:19:18 | |___| (_) | (_| | __/ (_| (_) \ V / 19:19:18 \_____\___/ \__,_|\___|\___\___/ \_/ 19:19:18 Bash-1.0.6 19:19:18 19:19:18 19:19:18 ==> git version 2.25.1 found 19:19:18 ==> 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 19:19:18 Release-Date: 2020-01-08 19:19:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:19:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:19:18 ==> Jenkins CI detected. 19:19:18 current dir:  /w/workspace/undry_device-onvif-camera_PR-281 19:19:18 project root: . 19:19:18 --> token set from env 19:19:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:19:18 ==> Running gcov in . (disable via -X gcov) 19:19:18 ==> Python coveragepy not found 19:19:18 ==> Searching for coverage reports in: 19:19:18 + . 19:19:18 -> Found 1 reports 19:19:18 ==> Detecting git/mercurial file structure 19:19:18 ==> Reading reports 19:19:18 + ./coverage.out bytes=78487 19:19:18 ==> Appending adjustments 19:19:18 https://docs.codecov.io/docs/fixing-reports 19:19:18 + Found adjustments 19:19:18 ==> Gzipping contents 19:19:18 12K /tmp/codecov.BTTJP0.gz 19:19:18 ==> Uploading reports 19:19:18 url: https://codecov.io 19:19:18 query: branch=PR-281&commit=6980474541bc433706a8a88a72902e34028c94c6&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-281%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=281&job=&cmd_args= 19:19:18 -> Pinging Codecov 19:19:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-281&commit=6980474541bc433706a8a88a72902e34028c94c6&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-281%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=281&job=&cmd_args= 19:19:19 -> Uploading to 19:19:19 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/F29A59C45E3A92E06B3E522C9905F8EF/6980474541bc433706a8a88a72902e34028c94c6/2a7c58f4-d6e1-48d6-9c39-bf78491a3d90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T191918Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af5f5f19cf81637e8d9fae4d8b14152fcccfac79cb139f0e185edefc5bdc737e 19:19:19 % Total % Received % Xferd Average Speed Time Time Time Current 19:19:19 Dload Upload Total Spent Left Speed 19:19:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10492 0 0 100 10492 0 34287 --:--:-- --:--:-- --:--:-- 34400 19:19:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/6980474541bc433706a8a88a72902e34028c94c6 [Pipeline] } 19:19:19 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 19:19:20 + [ -d /w/workspace/undry_device-onvif-camera_PR-281/archives ] 19:19:20 + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives 19:19:20 total 16 19:19:20 drwxr-xr-x 3 root root 4096 Mar 22 19:10 . 19:19:20 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 19:10 .. 19:19:20 drwxr-xr-x 2 root root 4096 Mar 22 19:10 cost 19:19:20 -rw-r--r-- 1 root root 91 Mar 22 19:10 cost.csv 19:19:20 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-281/archives 19:19:20 + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives 19:19:20 total 16 19:19:20 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 19:10 . 19:19:20 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 19:10 .. 19:19:20 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 19:10 cost 19:19:20 -rw-r--r-- 1 jenkins jenkins 91 Mar 22 19:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:19:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:19:21 ---> package-listing.sh 19:19:21 ++ facter osfamily 19:19:21 ++ tr '[:upper:]' '[:lower:]' 19:19:21 + OS_FAMILY=debian 19:19:21 + workspace=/w/workspace/undry_device-onvif-camera_PR-281 19:19:21 + START_PACKAGES=/tmp/packages_start.txt 19:19:21 + END_PACKAGES=/tmp/packages_end.txt 19:19:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:19:21 + PACKAGES=/tmp/packages_start.txt 19:19:21 + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' 19:19:21 + PACKAGES=/tmp/packages_end.txt 19:19:21 + case "${OS_FAMILY}" in 19:19:21 + dpkg -l 19:19:21 + grep '^ii' 19:19:21 + '[' -f /tmp/packages_start.txt ']' 19:19:21 + '[' -f /tmp/packages_end.txt ']' 19:19:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:19:21 + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' 19:19:21 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-281/archives/ 19:19:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-281/archives/ [Pipeline] echo 19:19:21 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-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:19:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:19:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:22 prd-ubuntu20.04-docker-8c-8g-5265 does not seem to be running inside a container 19:19:22 $ 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-281/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-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:19:22 $ docker top 1bd65cc92cd7a9e6bf8b2dae449ca2d199744f592578b9e4221993737f3d2328 -eo pid,comm [Pipeline] { [Pipeline] sh 19:19:23 + touch /tmp/pre-build-complete [Pipeline] sh 19:19:23 + mkdir -p /var/log/sysstat [Pipeline] sh 19:19:23 + ls /var/log/sa-host 19:19:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:23 provisioning config files... 19:19:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config5156993443867611559tmp [Pipeline] { [Pipeline] echo 19:19:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:19:24 ---> create-netrc.sh [Pipeline] } 19:19:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:19:24 ---> python-tools-install.sh [Pipeline] echo 19:19:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:19:24 ---> sudo-logs.sh 19:19:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:19:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:19:24 ---> job-cost.sh 19:19:24 lf-activate-venv: SKIPPING 19:19:24 DEBUG: total: 0.2199999988079071 19:19:24 INFO: Retrieving Stack Cost... 19:19:25 INFO: Retrieving Pricing Info for: v3-standard-8 19:19:25 INFO: Archiving Costs [Pipeline] echo 19:19:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:19:25 ---> logs-deploy.sh 19:19:25 lf-activate-venv: SKIPPING 19:19:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-281/7 19:19:25 INFO: archiving workspace using pattern(s): 19:19:26 Archives upload complete. 19:19:26 INFO: archiving logs to Nexus