Pull request #348 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a0a1f41e70649a3047460438d5d4b792e5b3db27+b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 (fd4570ccf221f0fa80b78f01658b831e9d5f6137) 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-ssh670739768840459194.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18047527405921331370.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8103255867557191122.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1336911633184341908.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh10977542313234482232.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6028743196986731840.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-14619’ is offline Running on prd-ubuntu20.04-docker-8c-8g-14621 in /w/workspace/undry_device-onvif-camera_PR-348 [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-348 # 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 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 into PR head commit a0a1f41e70649a3047460438d5d4b792e5b3db27 Merge succeeded, producing a0a1f41e70649a3047460438d5d4b792e5b3db27 Checking out Revision a0a1f41e70649a3047460438d5d4b792e5b3db27 (PR-348) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } > 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/348/head:refs/remotes/origin/PR-348 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0a1f41e70649a3047460438d5d4b792e5b3db27 # 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 b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0a1f41e70649a3047460438d5d4b792e5b3db27 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:02:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:02:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:02:12 ========================================================= 04:02:12 EdgeX Global Pipelines Version Info 04:02:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:02:13 ------------------- 04:02:13 stable info: 04:02:13 ------------------- 04:02:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:02:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:02:13 Message: update stable to v1.0.249 04:02:13 ------------------- 04:02:13 experimental info: 04:02:13 ------------------- 04:02:13 Commited By: **** collab-it+edgex@linuxfoundation.org 04:02:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:02:13 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:02:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-348 [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-348 [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-348 [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0a1f41e70649a3047460438d5d4b792e5b3db27 [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0a1f41 [Pipeline] echo 04:02:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:02:15 provisioning config files... 04:02:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-348@tmp/config10799062968325864036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:02:16 ---> docker-login.sh 04:02:16 nexus3.edgexfoundry.org:10001 04:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:16 Configure a credential helper to remove this warning. See 04:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:16 04:02:16 Login Succeeded 04:02:16 nexus3.edgexfoundry.org:10002 04:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:16 Configure a credential helper to remove this warning. See 04:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:16 04:02:16 Login Succeeded 04:02:16 nexus3.edgexfoundry.org:10003 04:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:16 Configure a credential helper to remove this warning. See 04:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:16 04:02:16 Login Succeeded 04:02:16 nexus3.edgexfoundry.org:10004 04:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:16 Configure a credential helper to remove this warning. See 04:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:16 04:02:16 Login Succeeded 04:02:17 docker.io 04:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:17 Configure a credential helper to remove this warning. See 04:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:17 04:02:17 Login Succeeded 04:02:17 ---> docker-login.sh ends [Pipeline] } 04:02:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:02:18 + git rev-list -1 --merges a0a1f41e70649a3047460438d5d4b792e5b3db27~1..a0a1f41e70649a3047460438d5d4b792e5b3db27 [Pipeline] echo 04:02:18 -----------> git rev-list -1 --merges a0a1f41e70649a3047460438d5d4b792e5b3db27~1..a0a1f41e70649a3047460438d5d4b792e5b3db27 a0a1f41e70649a3047460438d5d4b792e5b3db27 [false] [Pipeline] sh 04:02:18 + git log --format=format:%s -1 a0a1f41e70649a3047460438d5d4b792e5b3db27 [Pipeline] echo 04:02:18 ========================================================= 04:02:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:02:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:02:18 + git log --format=format:%s -1 a0a1f41e70649a3047460438d5d4b792e5b3db27 [Pipeline] echo 04:02:19 [semverPrep] GIT_COMMIT: a0a1f41e70649a3047460438d5d4b792e5b3db27, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 04:02:19 [semverPrep] This is not a build commit. [Pipeline] sh 04:02:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:02:19 + grep -v github /etc/ssh/ssh_known_hosts 04:02:19 + [ -e /tmp/ssh_known_hosts ] 04:02:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:02:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:02:19 + sudo tee -a /etc/ssh/ssh_known_hosts 04:02:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:02:19 04:02:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:02:20 0.1.4: Pulling from edgex-devops/py-git-semver 04:02:20 b85a868b505f: Pulling fs layer 04:02:20 e2be974225ed: Pulling fs layer 04:02:20 339a4e72a1f5: Pulling fs layer 04:02:20 988bab9f4d93: Pulling fs layer 04:02:20 1469e6f7b9e6: Pulling fs layer 04:02:20 eaf3925da568: Pulling fs layer 04:02:20 bab4dde63d76: Pulling fs layer 04:02:20 bde34c3a00c8: Pulling fs layer 04:02:20 b352a97aabf1: Pulling fs layer 04:02:20 4872d77fe225: Pulling fs layer 04:02:20 5851b861e8e6: Pulling fs layer 04:02:20 988bab9f4d93: Waiting 04:02:20 1469e6f7b9e6: Waiting 04:02:20 eaf3925da568: Waiting 04:02:20 bab4dde63d76: Waiting 04:02:20 bde34c3a00c8: Waiting 04:02:20 b352a97aabf1: Waiting 04:02:20 4872d77fe225: Waiting 04:02:20 5851b861e8e6: Waiting 04:02:20 e2be974225ed: Verifying Checksum 04:02:20 e2be974225ed: Download complete 04:02:20 988bab9f4d93: Verifying Checksum 04:02:20 988bab9f4d93: Download complete 04:02:20 339a4e72a1f5: Verifying Checksum 04:02:20 339a4e72a1f5: Download complete 04:02:20 1469e6f7b9e6: Verifying Checksum 04:02:20 1469e6f7b9e6: Download complete 04:02:20 eaf3925da568: Verifying Checksum 04:02:20 eaf3925da568: Download complete 04:02:20 bde34c3a00c8: Verifying Checksum 04:02:20 bde34c3a00c8: Download complete 04:02:20 b352a97aabf1: Download complete 04:02:20 4872d77fe225: Verifying Checksum 04:02:20 4872d77fe225: Download complete 04:02:20 5851b861e8e6: Download complete 04:02:20 b85a868b505f: Verifying Checksum 04:02:20 b85a868b505f: Download complete 04:02:20 bab4dde63d76: Verifying Checksum 04:02:20 bab4dde63d76: Download complete 04:02:21 b85a868b505f: Pull complete 04:02:21 e2be974225ed: Pull complete 04:02:22 339a4e72a1f5: Pull complete 04:02:22 988bab9f4d93: Pull complete 04:02:22 1469e6f7b9e6: Pull complete 04:02:22 eaf3925da568: Pull complete 04:02:24 bab4dde63d76: Pull complete 04:02:24 bde34c3a00c8: Pull complete 04:02:24 b352a97aabf1: Pull complete 04:02:24 4872d77fe225: Pull complete 04:02:24 5851b861e8e6: Pull complete 04:02:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:02:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:02:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:24 prd-ubuntu20.04-docker-8c-8g-14621 does not seem to be running inside a container 04:02:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-348 -v /w/workspace/undry_device-onvif-camera_PR-348:/w/workspace/undry_device-onvif-camera_PR-348:rw,z -v /w/workspace/undry_device-onvif-camera_PR-348@tmp:/w/workspace/undry_device-onvif-camera_PR-348@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:02:28 $ docker top 026cfc012f6ac2e017c0941ce996a98bb6156d23df37e5c08e359737fc761667 -eo pid,comm 04:02:28 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). 04:02:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:02:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:02:28 [ssh-agent] Looking for ssh-agent implementation... 04:02:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:02:28 $ docker exec 026cfc012f6ac2e017c0941ce996a98bb6156d23df37e5c08e359737fc761667 ssh-agent 04:02:28 SSH_AUTH_SOCK=/tmp/ssh-32fa6FFAshY0/agent.33 04:02:28 SSH_AGENT_PID=39 04:02:28 Running ssh-add (command line suppressed) 04:02:28 Identity added: /w/workspace/undry_device-onvif-camera_PR-348@tmp/private_key_6445344194593984064.key (/w/workspace/undry_device-onvif-camera_PR-348@tmp/private_key_6445344194593984064.key) 04:02:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:02:28 + git tag --points-at HEAD [Pipeline] } 04:02:28 $ docker exec --env ******** --env ******** 026cfc012f6ac2e017c0941ce996a98bb6156d23df37e5c08e359737fc761667 ssh-agent -k 04:02:29 unset SSH_AUTH_SOCK; 04:02:29 unset SSH_AGENT_PID; 04:02:29 echo Agent pid 39 killed; 04:02:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:02:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:02:29 [ssh-agent] Looking for ssh-agent implementation... 04:02:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:02:29 $ docker exec 026cfc012f6ac2e017c0941ce996a98bb6156d23df37e5c08e359737fc761667 ssh-agent 04:02:29 SSH_AUTH_SOCK=/tmp/ssh-4ZGaNqyRoBO7/agent.71 04:02:29 SSH_AGENT_PID=77 04:02:29 Running ssh-add (command line suppressed) 04:02:29 Identity added: /w/workspace/undry_device-onvif-camera_PR-348@tmp/private_key_16476613131111960189.key (/w/workspace/undry_device-onvif-camera_PR-348@tmp/private_key_16476613131111960189.key) 04:02:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:02:29 + git semver init 04:02:30 2023-05-09 04:02:29,980 [run_init] DEBUG init version:0.0.0 force:False 04:02:30 2023-05-09 04:02:29,981 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-348/.semver 04:02:30 2023-05-09 04:02:29,981 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-348/.semver 04:02:30 2023-05-09 04:02:29,981 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-348/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-348, universal_newlines=False, shell=None, istream=None) 04:02:31 2023-05-09 04:02:30,849 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-348/.git/info/exclude 04:02:31 2023-05-09 04:02:30,849 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-348/.semver/PR-348 with force:False 04:02:31 2023-05-09 04:02:30,849 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-348/.semver/PR-348 04:02:31 2023-05-09 04:02:30,854 [execute] INFO git cat-file --batch-check 04:02:31 2023-05-09 04:02:30,855 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-348/.semver, universal_newlines=False, shell=None, istream=) 04:02:31 2023-05-09 04:02:30,860 [execute] INFO git cat-file --batch 04:02:31 2023-05-09 04:02:30,861 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-348/.semver, universal_newlines=False, shell=None, istream=) 04:02:31 2023-05-09 04:02:30,864 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-348/.semver/PR-348 04:02:31 0.0.0 [Pipeline] } 04:02:31 $ docker exec --env ******** --env ******** 026cfc012f6ac2e017c0941ce996a98bb6156d23df37e5c08e359737fc761667 ssh-agent -k 04:02:31 unset SSH_AUTH_SOCK; 04:02:31 unset SSH_AGENT_PID; 04:02:31 echo Agent pid 77 killed; 04:02:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:02:31 + git semver [Pipeline] } 04:02:31 $ docker stop --time=1 026cfc012f6ac2e017c0941ce996a98bb6156d23df37e5c08e359737fc761667 04:02:33 $ docker rm -f --volumes 026cfc012f6ac2e017c0941ce996a98bb6156d23df37e5c08e359737fc761667 [Pipeline] // withDockerContainer [Pipeline] sh 04:02:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:02:33 Stashed 1 file(s) [Pipeline] echo 04:02:33 [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 04:02:34 provisioning config files... 04:02:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-348@tmp/config5728501011173083754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:02:34 ---> docker-login.sh 04:02:34 nexus3.edgexfoundry.org:10001 04:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:34 Configure a credential helper to remove this warning. See 04:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:34 04:02:34 Login Succeeded 04:02:34 nexus3.edgexfoundry.org:10002 04:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:34 Configure a credential helper to remove this warning. See 04:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:34 04:02:34 Login Succeeded 04:02:34 nexus3.edgexfoundry.org:10003 04:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:35 Configure a credential helper to remove this warning. See 04:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:35 04:02:35 Login Succeeded 04:02:35 nexus3.edgexfoundry.org:10004 04:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:35 Configure a credential helper to remove this warning. See 04:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:35 04:02:35 Login Succeeded 04:02:35 docker.io 04:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:35 Configure a credential helper to remove this warning. See 04:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:35 04:02:35 Login Succeeded 04:02:35 ---> docker-login.sh ends [Pipeline] } 04:02:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:02:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:02:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:02:35 ========================================================= 04:02:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:02:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:36 + 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 . 04:02:36 Sending build context to Docker daemon 21.54MB 04:02:36 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:02:36 Step 2/13 : FROM ${BASE} AS builder 04:02:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:02:36 f56be85fc22e: Pulling fs layer 04:02:36 85791d961cd3: Pulling fs layer 04:02:36 d694b5ae8c79: Pulling fs layer 04:02:36 9f32a84ed3da: Pulling fs layer 04:02:36 4d19c01a9841: Pulling fs layer 04:02:36 9325e15d5711: Pulling fs layer 04:02:36 556b6ee489ea: Pulling fs layer 04:02:36 c5a4b2cf53e6: Pulling fs layer 04:02:36 9f32a84ed3da: Waiting 04:02:36 4d19c01a9841: Waiting 04:02:36 9325e15d5711: Waiting 04:02:36 556b6ee489ea: Waiting 04:02:36 85791d961cd3: Download complete 04:02:36 9f32a84ed3da: Verifying Checksum 04:02:36 9f32a84ed3da: Download complete 04:02:36 4d19c01a9841: Verifying Checksum 04:02:36 4d19c01a9841: Download complete 04:02:36 f56be85fc22e: Download complete 04:02:36 9325e15d5711: Verifying Checksum 04:02:36 9325e15d5711: Download complete 04:02:36 f56be85fc22e: Pull complete 04:02:36 85791d961cd3: Pull complete 04:02:36 c5a4b2cf53e6: Download complete 04:02:37 d694b5ae8c79: Download complete 04:02:37 556b6ee489ea: Verifying Checksum 04:02:37 556b6ee489ea: Download complete 04:02:40 d694b5ae8c79: Pull complete 04:02:40 9f32a84ed3da: Pull complete 04:02:40 4d19c01a9841: Pull complete 04:02:40 9325e15d5711: Pull complete 04:02:42 556b6ee489ea: Pull complete 04:02:43 c5a4b2cf53e6: Pull complete 04:02:43 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:02:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:02:43 ---> c4be618373d6 04:02:43 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:02:46 ---> Running in ae4be914ca29 04:02:47 Removing intermediate container ae4be914ca29 04:02:47 ---> ff7554a7f55e 04:02:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:02:47 ---> Running in efb08d5853a1 04:02:47 Removing intermediate container efb08d5853a1 04:02:47 ---> c0a2f30f016c 04:02:47 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:02:47 ---> Running in dcef56122ec3 04:02:47 Removing intermediate container dcef56122ec3 04:02:47 ---> 9b048818a970 04:02:47 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:02:47 ---> Running in 3d6d2a32c0e6 04:02:47 Removing intermediate container 3d6d2a32c0e6 04:02:47 ---> 2db5e14584db 04:02:47 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:02:47 ---> Running in 8c027a876243 04:02:47 Removing intermediate container 8c027a876243 04:02:47 ---> f1f4b0421762 04:02:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:02:47 ---> Running in 2420819788da 04:02:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:02:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:02:48 OK: 265 MiB in 53 packages 04:02:48 Removing intermediate container 2420819788da 04:02:48 ---> 7473c5368f7b 04:02:48 Step 9/13 : WORKDIR /device-onvif-camera 04:02:48 ---> Running in e30f3ec1cb0b 04:02:48 Removing intermediate container e30f3ec1cb0b 04:02:48 ---> f6611807406a 04:02:48 Step 10/13 : COPY go.mod vendor* ./ 04:02:48 ---> c6f1350b73ac 04:02:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:48 ---> Running in 5ac87aa928f8 04:02:49 Still waiting to schedule task 04:02:49 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14620’ is offline 04:03:27 Removing intermediate container 5ac87aa928f8 04:03:27 ---> 8712af19bcc0 04:03:27 Step 12/13 : COPY . . 04:03:27 ---> 9dce847cb593 04:03:27 Step 13/13 : RUN ${MAKE} 04:03:27 ---> Running in df2555e514c6 04:03:27 noop 04:03:27 Removing intermediate container df2555e514c6 04:03:27 ---> 3c0d071ab90f 04:03:27 Successfully built 3c0d071ab90f 04:03:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:27 + docker inspect -f . ci-base-image-x86_64 04:03:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:27 prd-ubuntu20.04-docker-8c-8g-14621 does not seem to be running inside a container 04:03:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-348 -v /w/workspace/undry_device-onvif-camera_PR-348:/w/workspace/undry_device-onvif-camera_PR-348:rw,z -v /w/workspace/undry_device-onvif-camera_PR-348@tmp:/w/workspace/undry_device-onvif-camera_PR-348@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 ******** ci-base-image-x86_64 cat 04:03:28 $ docker top fe9a232c6663d86e6b5dc2b87bc67a70a461f448cdf37e65ca1482e7ff740d24 -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:28 + go version 04:03:28 go version go1.20.2 linux/amd64 [Pipeline] } 04:03:28 $ docker stop --time=1 fe9a232c6663d86e6b5dc2b87bc67a70a461f448cdf37e65ca1482e7ff740d24 04:03:30 $ docker rm -f --volumes fe9a232c6663d86e6b5dc2b87bc67a70a461f448cdf37e65ca1482e7ff740d24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:31 + docker inspect -f . ci-base-image-x86_64 04:03:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:31 prd-ubuntu20.04-docker-8c-8g-14621 does not seem to be running inside a container 04:03:31 $ 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-348 -v /w/workspace/undry_device-onvif-camera_PR-348:/w/workspace/undry_device-onvif-camera_PR-348:rw,z -v /w/workspace/undry_device-onvif-camera_PR-348@tmp:/w/workspace/undry_device-onvif-camera_PR-348@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 ******** ci-base-image-x86_64 cat 04:03:31 $ docker top aae651713e34ed57649ca335f1e3c4fe09f798688470cb9eb2aa915b6d1447f0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:31 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-348 [Pipeline] fileExists [Pipeline] sh 04:03:32 + make test 04:03:32 go test ./... -coverprofile=coverage.out ./... 04:03:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:03:46 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:03:46 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:03:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 30.9% of statements 04:03:49 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.120s coverage: 86.5% of statements 04:03:55 go vet ./... 04:03:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:03:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:03:58 ./bin/test-attribution-txt.sh [Pipeline] echo 04:03:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:03:58 $ docker stop --time=1 aae651713e34ed57649ca335f1e3c4fe09f798688470cb9eb2aa915b6d1447f0 04:04:01 $ docker rm -f --volumes aae651713e34ed57649ca335f1e3c4fe09f798688470cb9eb2aa915b6d1447f0 [Pipeline] // withDockerContainer [Pipeline] sh 04:04:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:04:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:04:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:04:03 + ls -al . 04:04:03 total 232 04:04:03 drwxrwxr-x 10 jenkins jenkins 4096 May 9 04:03 . 04:04:03 drwxrwxr-x 4 jenkins jenkins 4096 May 9 04:02 .. 04:04:03 drwxrwxr-x 8 jenkins jenkins 4096 May 9 04:02 .git 04:04:03 drwxrwxr-x 3 jenkins jenkins 4096 May 9 04:02 .github 04:04:03 -rw-rw-r-- 1 jenkins jenkins 496 May 9 04:02 .gitignore 04:04:03 -rw-rw-r-- 1 jenkins jenkins 42 May 9 04:02 .golangci.yml 04:04:03 drwxr-xr-x 3 jenkins jenkins 4096 May 9 04:02 .semver 04:04:03 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 04:02 Attribution.txt 04:04:03 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 04:02 CHANGELOG.md 04:04:03 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 04:02 Dockerfile 04:04:03 -rw-rw-r-- 1 jenkins jenkins 677 May 9 04:02 GOVERNANCE.md 04:04:03 -rw-rw-r-- 1 jenkins jenkins 734 May 9 04:02 Jenkinsfile 04:04:03 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 04:02 LICENSE 04:04:03 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 04:02 Makefile 04:04:03 -rw-rw-r-- 1 jenkins jenkins 625 May 9 04:02 OWNERS.md 04:04:03 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 04:02 README.md 04:04:03 -rw-rw-r-- 1 jenkins jenkins 5 May 9 04:02 VERSION 04:04:03 drwxrwxr-x 2 jenkins jenkins 4096 May 9 04:02 bin 04:04:03 drwxrwxr-x 3 jenkins jenkins 4096 May 9 04:02 cmd 04:04:03 -rw-r--r-- 1 jenkins jenkins 79213 May 9 04:03 coverage.out 04:04:03 drwxrwxr-x 4 jenkins jenkins 4096 May 9 04:02 doc 04:04:03 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 04:02 go.mod 04:04:03 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 04:02 go.sum 04:04:03 drwxrwxr-x 4 jenkins jenkins 4096 May 9 04:02 internal 04:04:03 drwxrwxr-x 4 jenkins jenkins 4096 May 9 04:02 snap 04:04:03 -rw-rw-r-- 1 jenkins jenkins 236 May 9 04:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:03 + 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=a0a1f41e70649a3047460438d5d4b792e5b3db27 --label arch=amd64 --label version=0.0.0 . 04:04:03 Sending build context to Docker daemon 21.62MB 04:04:03 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:04:03 Step 2/26 : FROM ${BASE} AS builder 04:04:03 ---> 3c0d071ab90f 04:04:03 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:04:03 ---> Running in 69f7fcdbcb59 04:04:03 Removing intermediate container 69f7fcdbcb59 04:04:03 ---> 830585d1a1ed 04:04:03 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:04:03 ---> Running in 6f5633d059e8 04:04:03 Removing intermediate container 6f5633d059e8 04:04:03 ---> 3225cda2fad4 04:04:03 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:04:03 ---> Running in 38cfe0a8d58b 04:04:03 Removing intermediate container 38cfe0a8d58b 04:04:03 ---> c6c484f19006 04:04:03 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:04:03 ---> Running in a9d5b58290b7 04:04:03 Removing intermediate container a9d5b58290b7 04:04:03 ---> c2d2d085cb9e 04:04:03 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:04:03 ---> Running in b4b6490ecdd4 04:04:04 Removing intermediate container b4b6490ecdd4 04:04:04 ---> 426b47049df1 04:04:04 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:04 ---> Running in 43ec24614b37 04:04:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:04:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:04:04 OK: 265 MiB in 53 packages 04:04:04 Removing intermediate container 43ec24614b37 04:04:04 ---> 3ad4d65f2333 04:04:04 Step 9/26 : WORKDIR /device-onvif-camera 04:04:04 ---> Running in 05cae57a53fc 04:04:04 Removing intermediate container 05cae57a53fc 04:04:04 ---> ac49307b15d3 04:04:04 Step 10/26 : COPY go.mod vendor* ./ 04:04:05 ---> 2865b148cbe6 04:04:05 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:05 ---> Running in 36c3d30d0762 04:04:06 Removing intermediate container 36c3d30d0762 04:04:06 ---> 6ab3e43c6e17 04:04:06 Step 12/26 : COPY . . 04:04:06 ---> 9c2002dcb376 04:04:06 Step 13/26 : RUN ${MAKE} 04:04:06 ---> Running in 3257a4b1f2f7 04:04:06 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 04:04:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14622 in /w/workspace/undry_device-onvif-camera_PR-348 [Pipeline] { [Pipeline] ws 04:04:16 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:04:16 The recommended git tool is: git 04:04:22 using credential edgex-jenkins-ssh 04:04:22 Cloning the remote Git repository 04:04:22 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:04:22 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:04:22 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:04:22 > git --version # timeout=10 04:04:22 > git --version # 'git version 2.25.1' 04:04:22 using GIT_SSH to set credentials SSH Credentials for GitHub 04:04:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:04:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:04:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:04:24 Removing intermediate container 3257a4b1f2f7 04:04:24 ---> 90919fba4522 04:04:24 Step 14/26 : FROM alpine:3.17 04:04:24 3.17: Pulling from library/alpine 04:04:24 f56be85fc22e: Already exists 04:04:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:04:24 Status: Downloaded newer image for alpine:3.17 04:04:24 ---> 9ed4aefc74f6 04:04:24 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:04:24 ---> Running in 676995fe6524 04:04:24 Removing intermediate container 676995fe6524 04:04:24 ---> 228329e3ee10 04:04:24 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:04:24 ---> Running in 7ceadf7fdbe4 04:04:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:04:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:04:25 (1/1) Installing dumb-init (1.2.5-r2) 04:04:25 Executing busybox-1.35.0-r29.trigger 04:04:25 OK: 7 MiB in 16 packages 04:04:25 Merging remotes/origin/main commit b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 into PR head commit a0a1f41e70649a3047460438d5d4b792e5b3db27 04:04:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:04:25 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:04:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:04:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/348/head:refs/remotes/origin/PR-348 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:04:25 > git config core.sparsecheckout # timeout=10 04:04:25 > git checkout -f a0a1f41e70649a3047460438d5d4b792e5b3db27 # timeout=10 04:04:25 Removing intermediate container 7ceadf7fdbe4 04:04:25 ---> c7bc6065a136 04:04:25 Step 17/26 : WORKDIR / 04:04:25 ---> Running in 3f29827f0957 04:04:25 Removing intermediate container 3f29827f0957 04:04:25 ---> 7d581e931c53 04:04:25 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:04:26 Merge succeeded, producing a0a1f41e70649a3047460438d5d4b792e5b3db27 04:04:26 Checking out Revision a0a1f41e70649a3047460438d5d4b792e5b3db27 (PR-348) 04:04:26 ---> 85db1b68ee95 04:04:26 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:04:26 ---> 87b9a2a8cea0 04:04:26 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:04:26 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 04:04:26 ---> d713baefd7ff 04:04:26 Step 21/26 : EXPOSE 59984 04:04:26 ---> Running in 98b46826c9ed 04:04:26 Removing intermediate container 98b46826c9ed 04:04:26 ---> 79a22e3bf8c2 04:04:26 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:04:26 ---> Running in 6a796ca01cd1 04:04:26 > git --version # timeout=10 04:04:26 > git --version # 'git version 2.25.1' 04:04:26 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:04:27 Removing intermediate container 6a796ca01cd1 04:04:27 ---> 0ac0dab08c90 04:04:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:04:27 ---> Running in b024f70e5285 04:04:27 Removing intermediate container b024f70e5285 04:04:27 ---> 8024ace68821 04:04:27 Step 24/26 : LABEL arch=amd64 04:04:27 ---> Running in 82294085face 04:04:27 Removing intermediate container 82294085face 04:04:27 ---> f03e9c87ea9a 04:04:27 Step 25/26 : LABEL git_sha=a0a1f41e70649a3047460438d5d4b792e5b3db27 04:04:27 ---> Running in 40b248581a75 04:04:25 > git remote # timeout=10 04:04:26 > git config --get remote.origin.url # timeout=10 04:04:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:04:26 > git merge b5d61d09938f73087fdc6ac2a4f7cd48e9ca0141 # timeout=10 04:04:26 > git rev-parse HEAD^{commit} # timeout=10 04:04:26 > git config core.sparsecheckout # timeout=10 04:04:26 > git checkout -f a0a1f41e70649a3047460438d5d4b792e5b3db27 # timeout=10 04:04:27 Removing intermediate container 40b248581a75 04:04:27 ---> 2922ae5ff7fc 04:04:27 Step 26/26 : LABEL version=0.0.0 04:04:27 ---> Running in 28d9a937c54f 04:04:27 Removing intermediate container 28d9a937c54f 04:04:27 ---> 577a7a816433 04:04:27 [Warning] One or more build-args [ARCH] were not consumed 04:04:27 Successfully built 577a7a816433 04:04:27 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:04:28 % Total % Received % Xferd Average Speed Time Time Time Current 04:04:28 Dload Upload Total Spent Left Speed 04:04:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 04:04:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:28 04:04:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 04:04:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:28 latest: Pulling from edgex-lftools-log-publisher 04:04:28 5eb5b503b376: Pulling fs layer 04:04:28 5c69ac0246d0: Pulling fs layer 04:04:28 ec43610c2a17: Pulling fs layer 04:04:28 3a2ae6a8a46f: Pulling fs layer 04:04:28 33b1e0a273af: Pulling fs layer 04:04:28 5d3b04190fa2: Pulling fs layer 04:04:28 2f39f015ded8: Pulling fs layer 04:04:28 3a2ae6a8a46f: Waiting 04:04:28 33b1e0a273af: Waiting 04:04:28 5d3b04190fa2: Waiting 04:04:28 2f39f015ded8: Waiting 04:04:28 5c69ac0246d0: Download complete 04:04:28 3a2ae6a8a46f: Download complete 04:04:28 33b1e0a273af: Verifying Checksum 04:04:28 33b1e0a273af: Download complete 04:04:28 5d3b04190fa2: Verifying Checksum 04:04:28 5d3b04190fa2: Download complete 04:04:28 ec43610c2a17: Verifying Checksum 04:04:28 ec43610c2a17: Download complete 04:04:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:04:29 5eb5b503b376: Verifying Checksum 04:04:29 5eb5b503b376: Download complete 04:04:29 + sudo tee /etc/docker/daemon.new 04:04:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:04:29 { 04:04:29 "registry-mirrors": [ 04:04:29 "https://nexus3.edgexfoundry.org:10001" 04:04:29 ], 04:04:29 "bip": "10.250.0.254/24", 04:04:29 "hosts": [ 04:04:29 "tcp://0.0.0.0:5555", 04:04:29 "unix:///var/run/docker.sock" 04:04:29 ], 04:04:29 "mtu": 1458, 04:04:29 "selinux-enabled": true, 04:04:29 "seccomp-profile": "/etc/docker/seccomp.json" 04:04:29 } [Pipeline] sh 04:04:29 2f39f015ded8: Download complete 04:04:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:04:29 + sudo service docker restart 04:04:30 5eb5b503b376: Pull complete 04:04:30 5c69ac0246d0: Pull complete 04:04:30 ec43610c2a17: Pull complete 04:04:30 3a2ae6a8a46f: Pull complete 04:04:31 33b1e0a273af: Pull complete 04:04:31 5d3b04190fa2: Pull complete 04:04:35 2f39f015ded8: Pull complete 04:04:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:04:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:35 prd-ubuntu20.04-docker-8c-8g-14621 does not seem to be running inside a container 04:04:35 $ 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-348 -v /w/workspace/undry_device-onvif-camera_PR-348:/w/workspace/undry_device-onvif-camera_PR-348:rw,z -v /w/workspace/undry_device-onvif-camera_PR-348@tmp:/w/workspace/undry_device-onvif-camera_PR-348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:04:38 $ docker top 54fdf2a3028d323ce1a9e7ac7cf1738129ce023ba5706414ea710c9e598370bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:38 ---> job-cost.sh 04:04:38 lf-activate-venv: SKIPPING 04:04:38 INFO: No Stack... 04:04:39 INFO: Retrieving Pricing Info for: v3-standard-8 04:04:39 INFO: Archiving Costs [Pipeline] sh 04:04:39 + cat /w/workspace/undry_device-onvif-camera_PR-348/archives/cost.csv 04:04:39 + cut -d, -f6 [Pipeline] lock 04:04:40 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-348-1-stack-cost] 04:04:40 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-348-1-stack-cost] did not exist. Created. 04:04:40 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-348-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:04:40 + echo total: 0.2199999988079071 [Pipeline] stash 04:04:40 Stashed 1 file(s) [Pipeline] } 04:04:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-348-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:04:40 $ docker stop --time=1 54fdf2a3028d323ce1a9e7ac7cf1738129ce023ba5706414ea710c9e598370bd 04:04:41 $ docker rm -f --volumes 54fdf2a3028d323ce1a9e7ac7cf1738129ce023ba5706414ea710c9e598370bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:48 provisioning config files... 04:04:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config10484602097621323213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:48 ---> docker-login.sh 04:04:48 nexus3.edgexfoundry.org:10001 04:04:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:49 Configure a credential helper to remove this warning. See 04:04:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:49 04:04:49 Login Succeeded 04:04:49 nexus3.edgexfoundry.org:10002 04:04:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:49 Configure a credential helper to remove this warning. See 04:04:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:49 04:04:49 Login Succeeded 04:04:49 nexus3.edgexfoundry.org:10003 04:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:50 Configure a credential helper to remove this warning. See 04:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:50 04:04:50 Login Succeeded 04:04:50 nexus3.edgexfoundry.org:10004 04:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:50 Configure a credential helper to remove this warning. See 04:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:50 04:04:50 Login Succeeded 04:04:50 docker.io 04:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:50 Configure a credential helper to remove this warning. See 04:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:50 04:04:50 Login Succeeded 04:04:50 ---> docker-login.sh ends [Pipeline] } 04:04:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:04:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:51 ========================================================= 04:04:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:04:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:51 + 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 . 04:04:52 Sending build context to Docker daemon 14.19MB 04:04:52 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:04:52 Step 2/13 : FROM ${BASE} AS builder 04:04:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:04:52 c41833b44d91: Pulling fs layer 04:04:52 ed15518f5707: Pulling fs layer 04:04:52 feae8fd75edb: Pulling fs layer 04:04:52 242c74f7c9fa: Pulling fs layer 04:04:52 3cdef696dda3: Pulling fs layer 04:04:52 2ced38df9373: Pulling fs layer 04:04:52 58f1dce35555: Pulling fs layer 04:04:52 3cdef696dda3: Waiting 04:04:52 58f1dce35555: Waiting 04:04:52 2ced38df9373: Waiting 04:04:52 242c74f7c9fa: Waiting 04:04:52 ed15518f5707: Verifying Checksum 04:04:52 ed15518f5707: Download complete 04:04:52 242c74f7c9fa: Download complete 04:04:52 3cdef696dda3: Verifying Checksum 04:04:52 3cdef696dda3: Download complete 04:04:52 c41833b44d91: Verifying Checksum 04:04:52 c41833b44d91: Download complete 04:04:53 c41833b44d91: Pull complete 04:04:54 58f1dce35555: Verifying Checksum 04:04:54 58f1dce35555: Download complete 04:04:54 ed15518f5707: Pull complete 04:04:55 feae8fd75edb: Verifying Checksum 04:04:55 feae8fd75edb: Download complete 04:04:55 2ced38df9373: Verifying Checksum 04:04:55 2ced38df9373: Download complete 04:05:07 feae8fd75edb: Pull complete 04:05:07 242c74f7c9fa: Pull complete 04:05:07 3cdef696dda3: Pull complete 04:05:13 2ced38df9373: Pull complete 04:05:16 58f1dce35555: Pull complete 04:05:16 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:05:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:05:16 ---> fadd8f120f05 04:05:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:05:17 ---> Running in b95361b476f2 04:05:17 Removing intermediate container b95361b476f2 04:05:17 ---> 68bcf1b6356f 04:05:17 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:05:17 ---> Running in e769fe43361f 04:05:18 Removing intermediate container e769fe43361f 04:05:18 ---> c8e4d6cec7e1 04:05:18 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:05:18 ---> Running in d35ea36fa09b 04:05:18 Removing intermediate container d35ea36fa09b 04:05:18 ---> 5455fc6e5238 04:05:18 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:05:18 ---> Running in 35a4b89d0051 04:05:19 Removing intermediate container 35a4b89d0051 04:05:19 ---> 0cd201150f25 04:05:19 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:05:19 ---> Running in d19bcc07080e 04:05:19 Removing intermediate container d19bcc07080e 04:05:19 ---> 90614b82a0e8 04:05:19 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:05:19 ---> Running in e02cca5f049c 04:05:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:05:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:05:22 OK: 263 MiB in 53 packages 04:05:23 Removing intermediate container e02cca5f049c 04:05:23 ---> 099751c50710 04:05:23 Step 9/13 : WORKDIR /device-onvif-camera 04:05:23 ---> Running in 3323e70f5d7b 04:05:23 Removing intermediate container 3323e70f5d7b 04:05:23 ---> ff13c36f321f 04:05:23 Step 10/13 : COPY go.mod vendor* ./ 04:05:26 ---> c9aba071fcd6 04:05:26 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:26 ---> Running in 99977a6781b2 04:06:34 Removing intermediate container 99977a6781b2 04:06:34 ---> 85dbd76e5fd3 04:06:34 Step 12/13 : COPY . . 04:06:34 ---> ea8086b47941 04:06:34 Step 13/13 : RUN ${MAKE} 04:06:34 ---> Running in 6174339d3d1e 04:06:34 noop 04:06:34 Removing intermediate container 6174339d3d1e 04:06:34 ---> fdc00b134c1e 04:06:34 Successfully built fdc00b134c1e 04:06:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:34 + docker inspect -f . ci-base-image-arm64 04:06:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:34 prd-ubuntu20.04-docker-arm64-4c-16g-14622 does not seem to be running inside a container 04:06:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 04:06:36 $ docker top 5862bc0d990e53c7d5577184753f0f016de462e96defc419c1b6e4a5fe3fb2a8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:37 + go version 04:06:37 go version go1.20.2 linux/arm64 [Pipeline] } 04:06:37 $ docker stop --time=1 5862bc0d990e53c7d5577184753f0f016de462e96defc419c1b6e4a5fe3fb2a8 04:06:38 $ docker rm -f --volumes 5862bc0d990e53c7d5577184753f0f016de462e96defc419c1b6e4a5fe3fb2a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:39 + docker inspect -f . ci-base-image-arm64 04:06:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:39 prd-ubuntu20.04-docker-arm64-4c-16g-14622 does not seem to be running inside a container 04:06:39 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 04:06:41 $ docker top 2ad6f3dd0fb549df6cac72ebbe400f211277ba1612d9ba77d085dce99e52e46b -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:41 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:06:41 + make test 04:06:41 go test ./... -coverprofile=coverage.out ./... 04:07:14 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:09:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:09:20 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:09:20 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.247s coverage: 30.9% of statements 04:09:43 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.307s coverage: 86.5% of statements 04:09:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:09:43 go vet ./... 04:10:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:10:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:10:10 ./bin/test-attribution-txt.sh [Pipeline] echo 04:10:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:10:11 $ docker stop --time=1 2ad6f3dd0fb549df6cac72ebbe400f211277ba1612d9ba77d085dce99e52e46b 04:10:12 $ docker rm -f --volumes 2ad6f3dd0fb549df6cac72ebbe400f211277ba1612d9ba77d085dce99e52e46b [Pipeline] // withDockerContainer [Pipeline] sh 04:10:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:10:14 Warning: overwriting stash ‘coverage-report’ 04:10:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:10:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:10:15 + ls -al . 04:10:15 total 228 04:10:15 drwxrwxr-x 9 jenkins jenkins 4096 May 9 04:06 . 04:10:15 drwxrwxr-x 4 jenkins jenkins 4096 May 9 04:04 .. 04:10:15 drwxrwxr-x 8 jenkins jenkins 4096 May 9 04:04 .git 04:10:15 drwxrwxr-x 3 jenkins jenkins 4096 May 9 04:04 .github 04:10:15 -rw-rw-r-- 1 jenkins jenkins 496 May 9 04:04 .gitignore 04:10:15 -rw-rw-r-- 1 jenkins jenkins 42 May 9 04:04 .golangci.yml 04:10:15 -rw-rw-r-- 1 jenkins jenkins 10087 May 9 04:04 Attribution.txt 04:10:15 -rw-rw-r-- 1 jenkins jenkins 6312 May 9 04:04 CHANGELOG.md 04:10:15 -rw-rw-r-- 1 jenkins jenkins 1574 May 9 04:04 Dockerfile 04:10:15 -rw-rw-r-- 1 jenkins jenkins 677 May 9 04:04 GOVERNANCE.md 04:10:15 -rw-rw-r-- 1 jenkins jenkins 734 May 9 04:04 Jenkinsfile 04:10:15 -rw-rw-r-- 1 jenkins jenkins 11348 May 9 04:04 LICENSE 04:10:15 -rw-rw-r-- 1 jenkins jenkins 2751 May 9 04:04 Makefile 04:10:15 -rw-rw-r-- 1 jenkins jenkins 625 May 9 04:04 OWNERS.md 04:10:15 -rw-rw-r-- 1 jenkins jenkins 2591 May 9 04:04 README.md 04:10:15 -rw-rw-r-- 1 jenkins jenkins 5 May 9 04:02 VERSION 04:10:15 drwxrwxr-x 2 jenkins jenkins 4096 May 9 04:04 bin 04:10:15 drwxrwxr-x 3 jenkins jenkins 4096 May 9 04:04 cmd 04:10:15 -rw-r--r-- 1 jenkins jenkins 79213 May 9 04:09 coverage.out 04:10:15 drwxrwxr-x 4 jenkins jenkins 4096 May 9 04:04 doc 04:10:15 -rw-rw-r-- 1 jenkins jenkins 3642 May 9 04:04 go.mod 04:10:15 -rw-rw-r-- 1 jenkins jenkins 33491 May 9 04:04 go.sum 04:10:15 drwxrwxr-x 4 jenkins jenkins 4096 May 9 04:04 internal 04:10:15 drwxrwxr-x 4 jenkins jenkins 4096 May 9 04:04 snap 04:10:15 -rw-rw-r-- 1 jenkins jenkins 236 May 9 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:15 + 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=a0a1f41e70649a3047460438d5d4b792e5b3db27 --label arch=arm64 --label version=0.0.0 . 04:10:16 Sending build context to Docker daemon 14.27MB 04:10:16 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:10:16 Step 2/26 : FROM ${BASE} AS builder 04:10:16 ---> fdc00b134c1e 04:10:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:10:16 ---> Running in f4cad01f02e4 04:10:16 Removing intermediate container f4cad01f02e4 04:10:16 ---> 5ecfa88b821f 04:10:16 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:10:17 ---> Running in 49c0fdf421d8 04:10:17 Removing intermediate container 49c0fdf421d8 04:10:17 ---> 40b8d606f355 04:10:17 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:10:17 ---> Running in 89ac0cccc1a5 04:10:17 Removing intermediate container 89ac0cccc1a5 04:10:17 ---> 907bbdcf54c2 04:10:17 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:10:17 ---> Running in 6ac2f5353aa6 04:10:17 Removing intermediate container 6ac2f5353aa6 04:10:17 ---> 20a9afb987af 04:10:17 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:10:18 ---> Running in f581866b214b 04:10:18 Removing intermediate container f581866b214b 04:10:18 ---> fdac7160d502 04:10:18 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:10:18 ---> Running in 93fddc65b79c 04:10:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:10:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:10:20 OK: 263 MiB in 53 packages 04:10:21 Removing intermediate container 93fddc65b79c 04:10:21 ---> 8794d8da7230 04:10:21 Step 9/26 : WORKDIR /device-onvif-camera 04:10:21 ---> Running in 0ca63b94aa5d 04:10:21 Removing intermediate container 0ca63b94aa5d 04:10:21 ---> 235bfc1a9e0d 04:10:21 Step 10/26 : COPY go.mod vendor* ./ 04:10:22 ---> 17fcacb50a5c 04:10:22 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:22 ---> Running in 517ec0c520b1 04:10:26 Removing intermediate container 517ec0c520b1 04:10:26 ---> 12bec76fef63 04:10:26 Step 12/26 : COPY . . 04:10:27 ---> d401cc31576e 04:10:27 Step 13/26 : RUN ${MAKE} 04:10:27 ---> Running in 663f9dafb052 04:10:28 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 04:12:50 Removing intermediate container 663f9dafb052 04:12:50 ---> 6a7f4bfae447 04:12:50 Step 14/26 : FROM alpine:3.17 04:12:50 3.17: Pulling from library/alpine 04:12:50 c41833b44d91: Already exists 04:12:50 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:12:50 Status: Downloaded newer image for alpine:3.17 04:12:50 ---> 51e60588ff2c 04:12:50 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:12:50 ---> Running in 831a6a458924 04:12:50 Removing intermediate container 831a6a458924 04:12:50 ---> de79a917da3f 04:12:50 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:12:50 ---> Running in 217deb0898af 04:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:12:50 (1/1) Installing dumb-init (1.2.5-r2) 04:12:50 Executing busybox-1.35.0-r29.trigger 04:12:50 OK: 8 MiB in 16 packages 04:12:50 Removing intermediate container 217deb0898af 04:12:50 ---> 6633c313b27c 04:12:50 Step 17/26 : WORKDIR / 04:12:50 ---> Running in 4cd0a74c649b 04:12:50 Removing intermediate container 4cd0a74c649b 04:12:50 ---> ee9df248d283 04:12:50 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:12:50 ---> 14c64a5c5533 04:12:50 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:12:50 ---> e86112dd5689 04:12:50 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:12:50 ---> 28cde5ae8f6b 04:12:50 Step 21/26 : EXPOSE 59984 04:12:50 ---> Running in e5f6139e315a 04:12:50 Removing intermediate container e5f6139e315a 04:12:50 ---> 6e87a23d759e 04:12:50 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:12:50 ---> Running in 4203fd1c6263 04:12:50 Removing intermediate container 4203fd1c6263 04:12:50 ---> 1d6a325b7045 04:12:50 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:12:50 ---> Running in b796d3994b26 04:12:50 Removing intermediate container b796d3994b26 04:12:50 ---> a1ba7807d883 04:12:50 Step 24/26 : LABEL arch=arm64 04:12:50 ---> Running in a2ba4b9d5625 04:12:50 Removing intermediate container a2ba4b9d5625 04:12:50 ---> 20f6a7fb4c89 04:12:50 Step 25/26 : LABEL git_sha=a0a1f41e70649a3047460438d5d4b792e5b3db27 04:12:50 ---> Running in 314e2f30883b 04:12:50 Removing intermediate container 314e2f30883b 04:12:50 ---> 8df80e5e353c 04:12:50 Step 26/26 : LABEL version=0.0.0 04:12:50 ---> Running in 43e29667afbf 04:12:50 Removing intermediate container 43e29667afbf 04:12:50 ---> f05ee0c4bb92 04:12:50 [Warning] One or more build-args [ARCH] were not consumed 04:12:50 Successfully built f05ee0c4bb92 04:12:50 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 04:12:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:51 04:12:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:52 arm64: Pulling from edgex-lftools-log-publisher 04:12:52 8998bd30e6a1: Pulling fs layer 04:12:52 04944245beec: Pulling fs layer 04:12:52 699f458cf7ca: Pulling fs layer 04:12:52 765212b225bb: Pulling fs layer 04:12:52 f23df028b6ca: Pulling fs layer 04:12:52 d65c8cfc05b1: Pulling fs layer 04:12:52 2437ff75d9bd: Pulling fs layer 04:12:52 f23df028b6ca: Waiting 04:12:52 d65c8cfc05b1: Waiting 04:12:52 765212b225bb: Waiting 04:12:52 2437ff75d9bd: Waiting 04:12:52 04944245beec: Verifying Checksum 04:12:52 04944245beec: Download complete 04:12:52 765212b225bb: Verifying Checksum 04:12:52 765212b225bb: Download complete 04:12:52 f23df028b6ca: Verifying Checksum 04:12:52 f23df028b6ca: Download complete 04:12:52 d65c8cfc05b1: Verifying Checksum 04:12:52 d65c8cfc05b1: Download complete 04:12:52 699f458cf7ca: Verifying Checksum 04:12:52 699f458cf7ca: Download complete 04:12:52 8998bd30e6a1: Verifying Checksum 04:12:52 8998bd30e6a1: Download complete 04:12:54 2437ff75d9bd: Verifying Checksum 04:12:54 2437ff75d9bd: Download complete 04:12:56 8998bd30e6a1: Pull complete 04:12:56 04944245beec: Pull complete 04:12:58 699f458cf7ca: Pull complete 04:12:58 765212b225bb: Pull complete 04:12:58 f23df028b6ca: Pull complete 04:12:59 d65c8cfc05b1: Pull complete 04:13:11 2437ff75d9bd: Pull complete 04:13:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:13:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:13:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:11 prd-ubuntu20.04-docker-arm64-4c-16g-14622 does not seem to be running inside a container 04:13:11 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:13:14 $ docker top 590c0b18fba892545c663a9bbbd7e829147667241db75853656a26dff698da6d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:14 ---> job-cost.sh 04:13:14 lf-activate-venv: SKIPPING 04:13:14 INFO: No Stack... 04:13:15 INFO: Retrieving Pricing Info for: v3-standard-4 04:13:16 INFO: Archiving Costs [Pipeline] sh 04:13:16 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 04:13:16 + cut -d, -f6 [Pipeline] lock 04:13:16 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-348-1-stack-cost] 04:13:16 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-348-1-stack-cost] did not exist. Created. 04:13:16 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-348-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:13:17 /w/workspace/device-onvif-camera/1@tmp/durable-cf2773b4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:13:17 + echo total: 0.10999999940395355 [Pipeline] stash 04:13:17 Warning: overwriting stash ‘stack-cost’ 04:13:18 Stashed 1 file(s) [Pipeline] } 04:13:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-348-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:13:18 $ docker stop --time=1 590c0b18fba892545c663a9bbbd7e829147667241db75853656a26dff698da6d 04:13:20 $ docker rm -f --volumes 590c0b18fba892545c663a9bbbd7e829147667241db75853656a26dff698da6d [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 04:13:21 provisioning config files... 04:13:21 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-348@tmp/config10692013091497978971tmp [Pipeline] { [Pipeline] sh 04:13:21 + set +x 04:13:21 + bash -s -- 04:13:21 + curl -s https://codecov.io/bash 04:13:21 04:13:21 _____ _ 04:13:21 / ____| | | 04:13:21 | | ___ __| | ___ ___ _____ __ 04:13:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:13:21 | |___| (_) | (_| | __/ (_| (_) \ V / 04:13:21 \_____\___/ \__,_|\___|\___\___/ \_/ 04:13:21 Bash-1.0.6 04:13:21 04:13:21 04:13:21 ==> git version 2.25.1 found 04:13:21 ==> 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 04:13:21 Release-Date: 2020-01-08 04:13:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:13:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:13:21 ==> Jenkins CI detected. 04:13:21 current dir:  /w/workspace/undry_device-onvif-camera_PR-348 04:13:21 project root: . 04:13:21 --> token set from env 04:13:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:13:21 ==> Running gcov in . (disable via -X gcov) 04:13:21 ==> Python coveragepy not found 04:13:21 ==> Searching for coverage reports in: 04:13:21 + . 04:13:21 -> Found 1 reports 04:13:21 ==> Detecting git/mercurial file structure 04:13:21 ==> Reading reports 04:13:21 + ./coverage.out bytes=79213 04:13:21 ==> Appending adjustments 04:13:21 https://docs.codecov.io/docs/fixing-reports 04:13:21 + Found adjustments 04:13:21 ==> Gzipping contents 04:13:21 12K /tmp/codecov.RUk2pD.gz 04:13:21 ==> Uploading reports 04:13:21 url: https://codecov.io 04:13:21 query: branch=PR-348&commit=a0a1f41e70649a3047460438d5d4b792e5b3db27&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-348%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=348&job=&cmd_args= 04:13:21 -> Pinging Codecov 04:13:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-348&commit=a0a1f41e70649a3047460438d5d4b792e5b3db27&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-348%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=348&job=&cmd_args= 04:13:22 -> Uploading to 04:13:22 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/F29A59C45E3A92E06B3E522C9905F8EF/a0a1f41e70649a3047460438d5d4b792e5b3db27/3fc2a6c4-e388-4f96-8147-0c3d7949afa6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T041321Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ead6cd684b114a4af1016eaa47e3bd01caf2f3a91ff5a45194d6314dc650c89c 04:13:22 % Total % Received % Xferd Average Speed Time Time Time Current 04:13:22 Dload Upload Total Spent Left Speed 04:13:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10581 0 0 100 10581 0 47236 --:--:-- --:--:-- --:--:-- 47236 04:13:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/a0a1f41e70649a3047460438d5d4b792e5b3db27 [Pipeline] } 04:13:22 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 04:13:24 + [ -d /w/workspace/undry_device-onvif-camera_PR-348/archives ] 04:13:24 + ls -al /w/workspace/undry_device-onvif-camera_PR-348/archives 04:13:24 total 16 04:13:24 drwxr-xr-x 3 root root 4096 May 9 04:04 . 04:13:24 drwxrwxr-x 11 jenkins jenkins 4096 May 9 04:04 .. 04:13:24 drwxr-xr-x 2 root root 4096 May 9 04:04 cost 04:13:24 -rw-r--r-- 1 root root 91 May 9 04:04 cost.csv 04:13:24 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-348/archives 04:13:24 + ls -al /w/workspace/undry_device-onvif-camera_PR-348/archives 04:13:24 total 16 04:13:24 drwxr-xr-x 3 jenkins jenkins 4096 May 9 04:04 . 04:13:24 drwxrwxr-x 11 jenkins jenkins 4096 May 9 04:04 .. 04:13:24 drwxr-xr-x 2 jenkins jenkins 4096 May 9 04:04 cost 04:13:24 -rw-r--r-- 1 jenkins jenkins 91 May 9 04:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:13:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:13:25 ---> package-listing.sh 04:13:25 ++ facter osfamily 04:13:25 ++ tr '[:upper:]' '[:lower:]' 04:13:25 + OS_FAMILY=debian 04:13:25 + workspace=/w/workspace/undry_device-onvif-camera_PR-348 04:13:25 + START_PACKAGES=/tmp/packages_start.txt 04:13:25 + END_PACKAGES=/tmp/packages_end.txt 04:13:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:13:25 + PACKAGES=/tmp/packages_start.txt 04:13:25 + '[' /w/workspace/undry_device-onvif-camera_PR-348 ']' 04:13:25 + PACKAGES=/tmp/packages_end.txt 04:13:25 + case "${OS_FAMILY}" in 04:13:25 + dpkg -l 04:13:25 + grep '^ii' 04:13:25 + '[' -f /tmp/packages_start.txt ']' 04:13:25 + '[' -f /tmp/packages_end.txt ']' 04:13:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:13:25 + '[' /w/workspace/undry_device-onvif-camera_PR-348 ']' 04:13:25 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-348/archives/ 04:13:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-348/archives/ [Pipeline] echo 04:13:25 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-348/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:13:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:13:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:26 prd-ubuntu20.04-docker-8c-8g-14621 does not seem to be running inside a container 04:13:26 $ 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-348/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-348 -v /w/workspace/undry_device-onvif-camera_PR-348:/w/workspace/undry_device-onvif-camera_PR-348:rw,z -v /w/workspace/undry_device-onvif-camera_PR-348@tmp:/w/workspace/undry_device-onvif-camera_PR-348@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:13:27 $ docker top 094513eb19fc24f23bfc485f58acd6d3ab7648c0b0bf540ea0818510646f3f36 -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:27 + touch /tmp/pre-build-complete [Pipeline] sh 04:13:27 + mkdir -p /var/log/sysstat [Pipeline] sh 04:13:28 + ls /var/log/sa-host 04:13:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:13:28 provisioning config files... 04:13:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-348@tmp/config741957053796013706tmp [Pipeline] { [Pipeline] echo 04:13:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:13:28 ---> create-netrc.sh [Pipeline] } 04:13:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:13:29 ---> python-tools-install.sh [Pipeline] echo 04:13:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:13:29 ---> sudo-logs.sh 04:13:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:13:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:13:29 ---> job-cost.sh 04:13:29 lf-activate-venv: SKIPPING 04:13:29 DEBUG: total: 0.2199999988079071 04:13:29 INFO: Retrieving Stack Cost... 04:13:30 INFO: Retrieving Pricing Info for: v3-standard-8 04:13:30 INFO: Archiving Costs [Pipeline] echo 04:13:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:13:31 ---> logs-deploy.sh 04:13:31 lf-activate-venv: SKIPPING 04:13:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-348/1 04:13:31 INFO: archiving workspace using pattern(s): 04:13:32 Archives upload complete. 04:13:32 INFO: archiving logs to Nexus