Pull request #361 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at c4faddb2a87debb4847eb62e77eafc712bf7e65e rather than a2129d0aa03e260ecda71565f46da0b72c6b3ad9 Obtained Jenkinsfile from c4faddb2a87debb4847eb62e77eafc712bf7e65e 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-ssh5280896283078837558.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-ssh17012503953352479500.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-361/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-361/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12856258639371044883.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 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-ssh9816381257882969511.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-361/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-361/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7726276059353469945.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [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/v3 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15473 in /w/workspace/undry_device-onvif-camera_PR-361 [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-361 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/361/head:refs/remotes/origin/PR-361 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c4faddb2a87debb4847eb62e77eafc712bf7e65e into PR head commit a2129d0aa03e260ecda71565f46da0b72c6b3ad9 Merge succeeded, producing a2129d0aa03e260ecda71565f46da0b72c6b3ad9 Checking out Revision a2129d0aa03e260ecda71565f46da0b72c6b3ad9 (PR-361) > git config core.sparsecheckout # timeout=10 > git checkout -f a2129d0aa03e260ecda71565f46da0b72c6b3ad9 # 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 c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2129d0aa03e260ecda71565f46da0b72c6b3ad9 # timeout=10 Commit message: "docs(openapi): fix description formatting and handle deviceCommands" > git rev-list --no-walk ae353636d172f20102b25fd2c0f53ece591d0383 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:23:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:23:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:23:03 ========================================================= 23:23:03 EdgeX Global Pipelines Version Info 23:23:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:23:03 ------------------- 23:23:03 stable info: 23:23:03 ------------------- 23:23:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:23:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:23:03 Message: update stable to v1.0.249 23:23:04 ------------------- 23:23:04 experimental info: 23:23:04 ------------------- 23:23:04 Commited By: **** collab-it+edgex@linuxfoundation.org 23:23:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:23:04 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:23:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:23:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:23:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:23:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:23:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-361 [Pipeline] echo 23:23:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-361 [Pipeline] echo 23:23:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-361 [Pipeline] echo 23:23:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2129d0aa03e260ecda71565f46da0b72c6b3ad9 [Pipeline] echo 23:23:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2129d0 [Pipeline] echo 23:23:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:05 provisioning config files... 23:23:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config8248418525709861911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:23:05 ---> docker-login.sh 23:23:05 nexus3.edgexfoundry.org:10001 23:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:05 Configure a credential helper to remove this warning. See 23:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:05 23:23:05 Login Succeeded 23:23:05 nexus3.edgexfoundry.org:10002 23:23:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:06 Configure a credential helper to remove this warning. See 23:23:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:06 23:23:06 Login Succeeded 23:23:06 nexus3.edgexfoundry.org:10003 23:23:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:06 Configure a credential helper to remove this warning. See 23:23:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:06 23:23:06 Login Succeeded 23:23:06 nexus3.edgexfoundry.org:10004 23:23:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:06 Configure a credential helper to remove this warning. See 23:23:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:06 23:23:06 Login Succeeded 23:23:06 docker.io 23:23:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:06 Configure a credential helper to remove this warning. See 23:23:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:06 23:23:06 Login Succeeded 23:23:06 ---> docker-login.sh ends [Pipeline] } 23:23:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:23:06 + git rev-list -1 --merges a2129d0aa03e260ecda71565f46da0b72c6b3ad9~1..a2129d0aa03e260ecda71565f46da0b72c6b3ad9 [Pipeline] echo 23:23:06 -----------> git rev-list -1 --merges a2129d0aa03e260ecda71565f46da0b72c6b3ad9~1..a2129d0aa03e260ecda71565f46da0b72c6b3ad9 a2129d0aa03e260ecda71565f46da0b72c6b3ad9 [false] [Pipeline] sh 23:23:07 + git log --format=format:%s -1 a2129d0aa03e260ecda71565f46da0b72c6b3ad9 [Pipeline] echo 23:23:07 ========================================================= 23:23:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:23:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:23:07 + git log --format=format:%s -1 a2129d0aa03e260ecda71565f46da0b72c6b3ad9 [Pipeline] echo 23:23:07 [semverPrep] GIT_COMMIT: a2129d0aa03e260ecda71565f46da0b72c6b3ad9, Commit Message: docs(openapi): fix description formatting and handle deviceCommands [Pipeline] echo 23:23:07 [semverPrep] This is not a build commit. [Pipeline] sh 23:23:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:23:08 + grep -v github /etc/ssh/ssh_known_hosts 23:23:08 + [ -e /tmp/ssh_known_hosts ] 23:23:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:23:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:23:08 + sudo tee -a /etc/ssh/ssh_known_hosts 23:23:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:23:08 23:23:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:23:08 0.1.4: Pulling from edgex-devops/py-git-semver 23:23:08 b85a868b505f: Pulling fs layer 23:23:08 e2be974225ed: Pulling fs layer 23:23:08 339a4e72a1f5: Pulling fs layer 23:23:08 988bab9f4d93: Pulling fs layer 23:23:08 1469e6f7b9e6: Pulling fs layer 23:23:08 eaf3925da568: Pulling fs layer 23:23:08 bab4dde63d76: Pulling fs layer 23:23:08 bde34c3a00c8: Pulling fs layer 23:23:08 b352a97aabf1: Pulling fs layer 23:23:08 4872d77fe225: Pulling fs layer 23:23:08 5851b861e8e6: Pulling fs layer 23:23:08 bab4dde63d76: Waiting 23:23:08 bde34c3a00c8: Waiting 23:23:08 b352a97aabf1: Waiting 23:23:08 4872d77fe225: Waiting 23:23:08 5851b861e8e6: Waiting 23:23:08 988bab9f4d93: Waiting 23:23:08 eaf3925da568: Waiting 23:23:08 1469e6f7b9e6: Waiting 23:23:08 e2be974225ed: Verifying Checksum 23:23:08 e2be974225ed: Download complete 23:23:08 988bab9f4d93: Verifying Checksum 23:23:08 988bab9f4d93: Download complete 23:23:08 339a4e72a1f5: Verifying Checksum 23:23:08 339a4e72a1f5: Download complete 23:23:08 1469e6f7b9e6: Verifying Checksum 23:23:08 1469e6f7b9e6: Download complete 23:23:08 eaf3925da568: Download complete 23:23:08 bde34c3a00c8: Download complete 23:23:09 b352a97aabf1: Verifying Checksum 23:23:09 b352a97aabf1: Download complete 23:23:09 4872d77fe225: Verifying Checksum 23:23:09 4872d77fe225: Download complete 23:23:09 5851b861e8e6: Download complete 23:23:09 b85a868b505f: Verifying Checksum 23:23:09 b85a868b505f: Download complete 23:23:09 bab4dde63d76: Verifying Checksum 23:23:09 bab4dde63d76: Download complete 23:23:10 b85a868b505f: Pull complete 23:23:10 e2be974225ed: Pull complete 23:23:11 339a4e72a1f5: Pull complete 23:23:11 988bab9f4d93: Pull complete 23:23:11 1469e6f7b9e6: Pull complete 23:23:11 eaf3925da568: Pull complete 23:23:13 bab4dde63d76: Pull complete 23:23:13 bde34c3a00c8: Pull complete 23:23:13 b352a97aabf1: Pull complete 23:23:13 4872d77fe225: Pull complete 23:23:13 5851b861e8e6: Pull complete 23:23:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:23:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:23:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:13 prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container 23:23:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:23:16 $ docker top 2c122a6972d95316c284ef92201888080eb66f3bf6c6ce82b88fbb0cc402b97b -eo pid,comm 23:23:16 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). 23:23:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:23:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:23:16 [ssh-agent] Looking for ssh-agent implementation... 23:23:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:23:16 $ docker exec 2c122a6972d95316c284ef92201888080eb66f3bf6c6ce82b88fbb0cc402b97b ssh-agent 23:23:16 SSH_AUTH_SOCK=/tmp/ssh-czCSA8sz9kzh/agent.32 23:23:16 SSH_AGENT_PID=38 23:23:16 Running ssh-add (command line suppressed) 23:23:16 Identity added: /w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_9732748659990990541.key (/w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_9732748659990990541.key) 23:23:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:23:17 + git tag --points-at HEAD [Pipeline] } 23:23:17 $ docker exec --env ******** --env ******** 2c122a6972d95316c284ef92201888080eb66f3bf6c6ce82b88fbb0cc402b97b ssh-agent -k 23:23:17 unset SSH_AUTH_SOCK; 23:23:17 unset SSH_AGENT_PID; 23:23:17 echo Agent pid 38 killed; 23:23:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:23:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:23:17 [ssh-agent] Looking for ssh-agent implementation... 23:23:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:23:17 $ docker exec 2c122a6972d95316c284ef92201888080eb66f3bf6c6ce82b88fbb0cc402b97b ssh-agent 23:23:17 SSH_AUTH_SOCK=/tmp/ssh-4Zn6FugAR8gv/agent.70 23:23:17 SSH_AGENT_PID=76 23:23:17 Running ssh-add (command line suppressed) 23:23:17 Identity added: /w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_6624983119670747276.key (/w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_6624983119670747276.key) 23:23:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:23:17 + git semver init 23:23:18 2023-05-15 23:23:18,059 [run_init] DEBUG init version:0.0.0 force:False 23:23:18 2023-05-15 23:23:18,060 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-361/.semver 23:23:18 2023-05-15 23:23:18,060 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-361/.semver 23:23:18 2023-05-15 23:23:18,060 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-361/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-361, universal_newlines=False, shell=None, istream=None) 23:23:19 2023-05-15 23:23:19,005 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-361/.git/info/exclude 23:23:19 2023-05-15 23:23:19,006 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-361/.semver/PR-361 with force:False 23:23:19 2023-05-15 23:23:19,006 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-361/.semver/PR-361 23:23:19 2023-05-15 23:23:19,010 [execute] INFO git cat-file --batch-check 23:23:19 2023-05-15 23:23:19,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-361/.semver, universal_newlines=False, shell=None, istream=) 23:23:19 2023-05-15 23:23:19,017 [execute] INFO git cat-file --batch 23:23:19 2023-05-15 23:23:19,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-361/.semver, universal_newlines=False, shell=None, istream=) 23:23:19 2023-05-15 23:23:19,022 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-361/.semver/PR-361 23:23:19 0.0.0 [Pipeline] } 23:23:19 $ docker exec --env ******** --env ******** 2c122a6972d95316c284ef92201888080eb66f3bf6c6ce82b88fbb0cc402b97b ssh-agent -k 23:23:19 unset SSH_AUTH_SOCK; 23:23:19 unset SSH_AGENT_PID; 23:23:19 echo Agent pid 76 killed; 23:23:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:23:19 + git semver [Pipeline] } 23:23:19 $ docker stop --time=1 2c122a6972d95316c284ef92201888080eb66f3bf6c6ce82b88fbb0cc402b97b 23:23:21 $ docker rm -f --volumes 2c122a6972d95316c284ef92201888080eb66f3bf6c6ce82b88fbb0cc402b97b [Pipeline] // withDockerContainer [Pipeline] sh 23:23:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:23:21 Stashed 1 file(s) [Pipeline] echo 23:23:21 [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 23:23:21 provisioning config files... 23:23:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config11174081326680593802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:23:22 ---> docker-login.sh 23:23:22 nexus3.edgexfoundry.org:10001 23:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:22 Configure a credential helper to remove this warning. See 23:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:22 23:23:22 Login Succeeded 23:23:22 nexus3.edgexfoundry.org:10002 23:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:22 Configure a credential helper to remove this warning. See 23:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:22 23:23:22 Login Succeeded 23:23:22 nexus3.edgexfoundry.org:10003 23:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:22 Configure a credential helper to remove this warning. See 23:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:22 23:23:22 Login Succeeded 23:23:22 nexus3.edgexfoundry.org:10004 23:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:22 Configure a credential helper to remove this warning. See 23:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:22 23:23:22 Login Succeeded 23:23:22 docker.io 23:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:22 Configure a credential helper to remove this warning. See 23:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:22 23:23:22 Login Succeeded 23:23:22 ---> docker-login.sh ends [Pipeline] } 23:23:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:23:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:23:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:23:22 ========================================================= 23:23:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:23:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:23 + 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 . 23:23:23 Sending build context to Docker daemon 22.15MB 23:23:23 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:23:23 Step 2/13 : FROM ${BASE} AS builder 23:23:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:23:23 f56be85fc22e: Pulling fs layer 23:23:23 85791d961cd3: Pulling fs layer 23:23:23 d694b5ae8c79: Pulling fs layer 23:23:23 9f32a84ed3da: Pulling fs layer 23:23:23 4d19c01a9841: Pulling fs layer 23:23:23 9325e15d5711: Pulling fs layer 23:23:23 556b6ee489ea: Pulling fs layer 23:23:23 c5a4b2cf53e6: Pulling fs layer 23:23:23 9f32a84ed3da: Waiting 23:23:23 4d19c01a9841: Waiting 23:23:23 9325e15d5711: Waiting 23:23:23 556b6ee489ea: Waiting 23:23:23 c5a4b2cf53e6: Waiting 23:23:23 9f32a84ed3da: Verifying Checksum 23:23:23 9f32a84ed3da: Download complete 23:23:23 4d19c01a9841: Verifying Checksum 23:23:23 4d19c01a9841: Download complete 23:23:23 f56be85fc22e: Verifying Checksum 23:23:23 f56be85fc22e: Download complete 23:23:23 9325e15d5711: Verifying Checksum 23:23:23 9325e15d5711: Download complete 23:23:23 f56be85fc22e: Pull complete 23:23:23 85791d961cd3: Pull complete 23:23:23 c5a4b2cf53e6: Verifying Checksum 23:23:23 c5a4b2cf53e6: Download complete 23:23:23 d694b5ae8c79: Download complete 23:23:24 556b6ee489ea: Verifying Checksum 23:23:24 556b6ee489ea: Download complete 23:23:27 d694b5ae8c79: Pull complete 23:23:27 9f32a84ed3da: Pull complete 23:23:27 4d19c01a9841: Pull complete 23:23:27 9325e15d5711: Pull complete 23:23:30 556b6ee489ea: Pull complete 23:23:31 c5a4b2cf53e6: Pull complete 23:23:31 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:23:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:23:31 ---> c4be618373d6 23:23:31 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:23:35 ---> Running in 8e552cc51db8 23:23:35 Removing intermediate container 8e552cc51db8 23:23:35 ---> cd22a10d0967 23:23:35 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:23:35 ---> Running in 8575fcef8f27 23:23:35 Removing intermediate container 8575fcef8f27 23:23:35 ---> 72fc1188019a 23:23:35 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:23:35 ---> Running in 29fb49b10671 23:23:35 Removing intermediate container 29fb49b10671 23:23:35 ---> 4929630991e1 23:23:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:23:35 ---> Running in a95909c5eff1 23:23:35 Removing intermediate container a95909c5eff1 23:23:35 ---> 1ba4fa84b745 23:23:35 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:23:35 ---> Running in 7cb7799b9a76 23:23:35 Removing intermediate container 7cb7799b9a76 23:23:35 ---> 4d307ac4d778 23:23:35 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:23:35 ---> Running in 9edd88117d2a 23:23:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:23:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:23:36 OK: 265 MiB in 53 packages 23:23:36 Removing intermediate container 9edd88117d2a 23:23:36 ---> 756c48a7af52 23:23:36 Step 9/13 : WORKDIR /device-onvif-camera 23:23:36 ---> Running in 6fe60d3b9e2e 23:23:36 Removing intermediate container 6fe60d3b9e2e 23:23:36 ---> 6fa01b8474ac 23:23:36 Step 10/13 : COPY go.mod vendor* ./ 23:23:36 ---> 22041e6eb2c0 23:23:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:23:36 ---> Running in e95a9fa36025 23:23:36 Still waiting to schedule task 23:23:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:24:23 Removing intermediate container e95a9fa36025 23:24:23 ---> ca7786db7500 23:24:23 Step 12/13 : COPY . . 23:24:23 ---> 0739c889d971 23:24:23 Step 13/13 : RUN ${MAKE} 23:24:23 ---> Running in 4b5cd3f33450 23:24:23 noop 23:24:23 Removing intermediate container 4b5cd3f33450 23:24:23 ---> 9d27983ba235 23:24:23 Successfully built 9d27983ba235 23:24:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:23 + docker inspect -f . ci-base-image-x86_64 23:24:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:23 prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container 23:24:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:24:24 $ docker top 2e23e137f0e75826ca35ef4c6c9037601095ae78f6b5252ce63f8b17a5081b06 -eo pid,comm [Pipeline] { [Pipeline] sh 23:24:24 + go version 23:24:24 go version go1.20.2 linux/amd64 [Pipeline] } 23:24:24 $ docker stop --time=1 2e23e137f0e75826ca35ef4c6c9037601095ae78f6b5252ce63f8b17a5081b06 23:24:25 $ docker rm -f --volumes 2e23e137f0e75826ca35ef4c6c9037601095ae78f6b5252ce63f8b17a5081b06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:26 + docker inspect -f . ci-base-image-x86_64 23:24:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:26 prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container 23:24:26 $ 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-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:24:26 $ docker top 1f216e4518e57b151512a2a91ff056a67bea663aea0d1e44e3a9b276f4c98e1f -eo pid,comm [Pipeline] { [Pipeline] sh 23:24:26 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-361 [Pipeline] fileExists [Pipeline] sh 23:24:27 + make test 23:24:27 go test ./... -coverprofile=coverage.out ./... 23:24:32 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:24:44 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:24:44 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:24:45 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.062s coverage: 31.4% of statements 23:24:45 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.468s coverage: 86.5% of statements 23:24:53 go vet ./... 23:24:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:24:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:24:57 ./bin/test-attribution-txt.sh [Pipeline] echo 23:24:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:24:57 $ docker stop --time=1 1f216e4518e57b151512a2a91ff056a67bea663aea0d1e44e3a9b276f4c98e1f 23:25:00 $ docker rm -f --volumes 1f216e4518e57b151512a2a91ff056a67bea663aea0d1e44e3a9b276f4c98e1f [Pipeline] // withDockerContainer [Pipeline] sh 23:25:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:25:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:25:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:25:01 + ls -al . 23:25:01 total 232 23:25:01 drwxrwxr-x 10 jenkins jenkins 4096 May 15 23:24 . 23:25:01 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:22 .. 23:25:01 drwxrwxr-x 8 jenkins jenkins 4096 May 15 23:23 .git 23:25:01 drwxrwxr-x 3 jenkins jenkins 4096 May 15 23:22 .github 23:25:01 -rw-rw-r-- 1 jenkins jenkins 496 May 15 23:22 .gitignore 23:25:01 -rw-rw-r-- 1 jenkins jenkins 42 May 15 23:22 .golangci.yml 23:25:01 drwxr-xr-x 3 jenkins jenkins 4096 May 15 23:23 .semver 23:25:01 -rw-rw-r-- 1 jenkins jenkins 10087 May 15 23:22 Attribution.txt 23:25:01 -rw-rw-r-- 1 jenkins jenkins 6312 May 15 23:22 CHANGELOG.md 23:25:01 -rw-rw-r-- 1 jenkins jenkins 1574 May 15 23:22 Dockerfile 23:25:01 -rw-rw-r-- 1 jenkins jenkins 677 May 15 23:22 GOVERNANCE.md 23:25:01 -rw-rw-r-- 1 jenkins jenkins 739 May 15 23:22 Jenkinsfile 23:25:01 -rw-rw-r-- 1 jenkins jenkins 11348 May 15 23:22 LICENSE 23:25:01 -rw-rw-r-- 1 jenkins jenkins 2751 May 15 23:22 Makefile 23:25:01 -rw-rw-r-- 1 jenkins jenkins 625 May 15 23:22 OWNERS.md 23:25:01 -rw-rw-r-- 1 jenkins jenkins 2690 May 15 23:22 README.md 23:25:01 -rw-rw-r-- 1 jenkins jenkins 5 May 15 23:23 VERSION 23:25:01 drwxrwxr-x 2 jenkins jenkins 4096 May 15 23:22 bin 23:25:01 drwxrwxr-x 3 jenkins jenkins 4096 May 15 23:22 cmd 23:25:01 -rw-r--r-- 1 jenkins jenkins 78459 May 15 23:24 coverage.out 23:25:01 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:22 doc 23:25:01 -rw-rw-r-- 1 jenkins jenkins 3642 May 15 23:22 go.mod 23:25:01 -rw-rw-r-- 1 jenkins jenkins 33491 May 15 23:22 go.sum 23:25:01 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:22 internal 23:25:01 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:22 snap 23:25:01 -rw-rw-r-- 1 jenkins jenkins 236 May 15 23:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:01 + 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=a2129d0aa03e260ecda71565f46da0b72c6b3ad9 --label arch=amd64 --label version=0.0.0 . 23:25:01 Sending build context to Docker daemon 22.23MB 23:25:01 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:25:01 Step 2/26 : FROM ${BASE} AS builder 23:25:01 ---> 9d27983ba235 23:25:01 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:25:02 ---> Running in 698668043bcc 23:25:02 Removing intermediate container 698668043bcc 23:25:02 ---> 4e436c658285 23:25:02 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:25:02 ---> Running in 46976df750de 23:25:02 Removing intermediate container 46976df750de 23:25:02 ---> ee4a0fd13123 23:25:02 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:25:02 ---> Running in 6b7ecd25890b 23:25:02 Removing intermediate container 6b7ecd25890b 23:25:02 ---> 94fe4afc123f 23:25:02 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:25:02 ---> Running in 61cdf0465064 23:25:02 Removing intermediate container 61cdf0465064 23:25:02 ---> a01758ca6116 23:25:02 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:25:02 ---> Running in 7a84e560abe5 23:25:02 Removing intermediate container 7a84e560abe5 23:25:02 ---> 6d0df19ac857 23:25:02 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:25:02 ---> Running in f5193ec9ac21 23:25:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:25:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:25:03 OK: 265 MiB in 53 packages 23:25:03 Removing intermediate container f5193ec9ac21 23:25:03 ---> cd17b092ec28 23:25:03 Step 9/26 : WORKDIR /device-onvif-camera 23:25:03 ---> Running in a15c4e18bf0e 23:25:03 Removing intermediate container a15c4e18bf0e 23:25:03 ---> 00d49928f0d4 23:25:03 Step 10/26 : COPY go.mod vendor* ./ 23:25:03 ---> 1e63c05b74d3 23:25:03 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:25:03 ---> Running in 621651a7780b 23:25:04 Removing intermediate container 621651a7780b 23:25:04 ---> 3ee0cb3b68e1 23:25:04 Step 12/26 : COPY . . 23:25:05 ---> 70cfb07a01b1 23:25:05 Step 13/26 : RUN ${MAKE} 23:25:05 ---> Running in cbda95101083 23:25:05 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 23:25:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15474 in /w/workspace/undry_device-onvif-camera_PR-361 [Pipeline] { [Pipeline] ws 23:25:11 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 23:25:11 The recommended git tool is: git 23:25:18 using credential edgex-jenkins-ssh 23:25:18 Cloning the remote Git repository 23:25:18 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:25:18 > git init /w/workspace/device-onvif-camera/3 # timeout=10 23:25:18 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:25:18 > git --version # timeout=10 23:25:18 > git --version # 'git version 2.25.1' 23:25:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:25:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:25:20 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:25:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:25:21 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:25:21 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:25:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:25:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/361/head:refs/remotes/origin/PR-361 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:25:22 Merging remotes/origin/main commit c4faddb2a87debb4847eb62e77eafc712bf7e65e into PR head commit a2129d0aa03e260ecda71565f46da0b72c6b3ad9 23:25:22 Merge succeeded, producing a2129d0aa03e260ecda71565f46da0b72c6b3ad9 23:25:22 Checking out Revision a2129d0aa03e260ecda71565f46da0b72c6b3ad9 (PR-361) 23:25:22 > git config core.sparsecheckout # timeout=10 23:25:22 > git checkout -f a2129d0aa03e260ecda71565f46da0b72c6b3ad9 # timeout=10 23:25:22 > git remote # timeout=10 23:25:22 > git config --get remote.origin.url # timeout=10 23:25:22 using GIT_SSH to set credentials SSH Credentials for GitHub 23:25:22 > git merge c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 23:25:22 > git rev-parse HEAD^{commit} # timeout=10 23:25:22 > git config core.sparsecheckout # timeout=10 23:25:22 > git checkout -f a2129d0aa03e260ecda71565f46da0b72c6b3ad9 # timeout=10 23:25:26 Commit message: "docs(openapi): fix description formatting and handle deviceCommands" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:25:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:25:26 % Total % Received % Xferd Average Speed Time Time Time Current 23:25:26 Dload Upload Total Spent Left Speed 23:25:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 106k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 23:25:27 Removing intermediate container cbda95101083 23:25:27 ---> 8883236f8d4d 23:25:27 Step 14/26 : FROM alpine:3.17 23:25:27 3.17: Pulling from library/alpine 23:25:27 f56be85fc22e: Already exists 23:25:27 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:25:27 Status: Downloaded newer image for alpine:3.17 23:25:27 ---> 9ed4aefc74f6 23:25:27 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:25:27 ---> Running in 85176eecfeed 23:25:27 Removing intermediate container 85176eecfeed 23:25:27 ---> 3a2898662f31 23:25:27 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:25:27 ---> Running in a4592a9af0f9 23:25:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:25:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:25:27 (1/1) Installing dumb-init (1.2.5-r2) 23:25:27 Executing busybox-1.35.0-r29.trigger 23:25:27 OK: 7 MiB in 16 packages 23:25:27 Removing intermediate container a4592a9af0f9 23:25:27 ---> 3628db3942d7 23:25:27 Step 17/26 : WORKDIR / 23:25:27 ---> Running in d816b2310ffb 23:25:27 Removing intermediate container d816b2310ffb 23:25:27 ---> d7ed95e6e1e5 23:25:27 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:25:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:25:27 ---> b72e6a763ff2 23:25:27 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:25:27 ---> 754fc7402710 23:25:27 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:25:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:25:27 + sudo tee /etc/docker/daemon.new 23:25:27 { 23:25:27 "registry-mirrors": [ 23:25:27 "https://nexus3.edgexfoundry.org:10001" 23:25:27 ], 23:25:27 "bip": "10.250.0.254/24", 23:25:27 "hosts": [ 23:25:27 "tcp://0.0.0.0:5555", 23:25:27 "unix:///var/run/docker.sock" 23:25:27 ], 23:25:27 "mtu": 1458, 23:25:27 "selinux-enabled": true, 23:25:27 "seccomp-profile": "/etc/docker/seccomp.json" 23:25:27 } [Pipeline] sh 23:25:27 ---> e6b253a3cf4e 23:25:27 Step 21/26 : EXPOSE 59984 23:25:27 ---> Running in c30d0290388c 23:25:27 Removing intermediate container c30d0290388c 23:25:27 ---> b6b805f150ac 23:25:27 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:25:27 ---> Running in 538851d53431 23:25:27 Removing intermediate container 538851d53431 23:25:27 ---> d96f88e4fa31 23:25:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:25:27 ---> Running in a069076f1f7a 23:25:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:25:28 Removing intermediate container a069076f1f7a 23:25:28 ---> 0bf285fd84af 23:25:28 Step 24/26 : LABEL arch=amd64 23:25:28 ---> Running in 7654b8e64491 23:25:28 Removing intermediate container 7654b8e64491 23:25:28 ---> 845c76aebd69 23:25:28 Step 25/26 : LABEL git_sha=a2129d0aa03e260ecda71565f46da0b72c6b3ad9 23:25:28 ---> Running in 66f16b1f51b5 23:25:28 Removing intermediate container 66f16b1f51b5 23:25:28 ---> e902029c99bc 23:25:28 Step 26/26 : LABEL version=0.0.0 23:25:28 + sudo service docker restart 23:25:28 ---> Running in ad9dd88c9c6d 23:25:28 Removing intermediate container ad9dd88c9c6d 23:25:28 ---> 4159881b05fd 23:25:28 [Warning] One or more build-args [ARCH] were not consumed 23:25:28 Successfully built 4159881b05fd 23:25:28 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:25:28 23:25:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:25:29 latest: Pulling from edgex-lftools-log-publisher 23:25:29 5eb5b503b376: Pulling fs layer 23:25:29 5c69ac0246d0: Pulling fs layer 23:25:29 ec43610c2a17: Pulling fs layer 23:25:29 3a2ae6a8a46f: Pulling fs layer 23:25:29 33b1e0a273af: Pulling fs layer 23:25:29 5d3b04190fa2: Pulling fs layer 23:25:29 2f39f015ded8: Pulling fs layer 23:25:29 3a2ae6a8a46f: Waiting 23:25:29 33b1e0a273af: Waiting 23:25:29 5d3b04190fa2: Waiting 23:25:29 2f39f015ded8: Waiting 23:25:29 5c69ac0246d0: Verifying Checksum 23:25:29 3a2ae6a8a46f: Verifying Checksum 23:25:29 3a2ae6a8a46f: Download complete 23:25:29 ec43610c2a17: Verifying Checksum 23:25:29 ec43610c2a17: Download complete 23:25:29 33b1e0a273af: Download complete 23:25:29 5d3b04190fa2: Verifying Checksum 23:25:29 5eb5b503b376: Verifying Checksum 23:25:29 5eb5b503b376: Download complete 23:25:30 2f39f015ded8: Verifying Checksum 23:25:30 2f39f015ded8: Download complete 23:25:31 5eb5b503b376: Pull complete 23:25:31 5c69ac0246d0: Pull complete 23:25:31 ec43610c2a17: Pull complete 23:25:31 3a2ae6a8a46f: Pull complete 23:25:31 33b1e0a273af: Pull complete 23:25:31 5d3b04190fa2: Pull complete 23:25:36 2f39f015ded8: Pull complete 23:25:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:25:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:25:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:36 prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container 23:25:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:25:39 $ docker top fa6db71a091815f1c0588b4179a63f426cc5cfe74731518b667395e3b0a4cd8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:25:39 ---> job-cost.sh 23:25:39 lf-activate-venv: SKIPPING 23:25:39 INFO: No Stack... 23:25:40 INFO: Retrieving Pricing Info for: v3-standard-8 23:25:40 INFO: Archiving Costs [Pipeline] sh 23:25:40 + cat /w/workspace/undry_device-onvif-camera_PR-361/archives/cost.csv 23:25:40 + cut -d, -f6 [Pipeline] lock 23:25:40 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-361-3-stack-cost] 23:25:40 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-3-stack-cost] did not exist. Created. 23:25:40 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-361-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:25:40 + echo total: 0.2199999988079071 [Pipeline] stash 23:25:40 Stashed 1 file(s) [Pipeline] } 23:25:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:25:40 $ docker stop --time=1 fa6db71a091815f1c0588b4179a63f426cc5cfe74731518b667395e3b0a4cd8f 23:25:42 $ docker rm -f --volumes fa6db71a091815f1c0588b4179a63f426cc5cfe74731518b667395e3b0a4cd8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:25:46 provisioning config files... 23:25:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config8282190492409431247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:25:47 ---> docker-login.sh 23:25:47 nexus3.edgexfoundry.org:10001 23:25:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:47 Configure a credential helper to remove this warning. See 23:25:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:47 23:25:47 Login Succeeded 23:25:47 nexus3.edgexfoundry.org:10002 23:25:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:48 Configure a credential helper to remove this warning. See 23:25:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:48 23:25:48 Login Succeeded 23:25:48 nexus3.edgexfoundry.org:10003 23:25:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:48 Configure a credential helper to remove this warning. See 23:25:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:48 23:25:48 Login Succeeded 23:25:48 nexus3.edgexfoundry.org:10004 23:25:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:48 Configure a credential helper to remove this warning. See 23:25:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:48 23:25:48 Login Succeeded 23:25:48 docker.io 23:25:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:49 Configure a credential helper to remove this warning. See 23:25:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:49 23:25:49 Login Succeeded 23:25:49 ---> docker-login.sh ends [Pipeline] } 23:25:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:25:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:25:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:25:49 ========================================================= 23:25:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:25:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:49 + 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 . 23:25:50 Sending build context to Docker daemon 14.64MB 23:25:50 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:25:50 Step 2/13 : FROM ${BASE} AS builder 23:25:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:25:50 c41833b44d91: Pulling fs layer 23:25:50 ed15518f5707: Pulling fs layer 23:25:50 feae8fd75edb: Pulling fs layer 23:25:50 242c74f7c9fa: Pulling fs layer 23:25:50 3cdef696dda3: Pulling fs layer 23:25:50 2ced38df9373: Pulling fs layer 23:25:50 58f1dce35555: Pulling fs layer 23:25:50 3cdef696dda3: Waiting 23:25:50 2ced38df9373: Waiting 23:25:50 242c74f7c9fa: Waiting 23:25:50 58f1dce35555: Waiting 23:25:50 ed15518f5707: Verifying Checksum 23:25:50 ed15518f5707: Download complete 23:25:50 242c74f7c9fa: Verifying Checksum 23:25:50 242c74f7c9fa: Download complete 23:25:50 3cdef696dda3: Verifying Checksum 23:25:50 3cdef696dda3: Download complete 23:25:50 c41833b44d91: Verifying Checksum 23:25:51 c41833b44d91: Pull complete 23:25:52 58f1dce35555: Verifying Checksum 23:25:52 58f1dce35555: Download complete 23:25:52 ed15518f5707: Pull complete 23:25:53 feae8fd75edb: Verifying Checksum 23:25:53 feae8fd75edb: Download complete 23:25:53 2ced38df9373: Verifying Checksum 23:25:53 2ced38df9373: Download complete 23:26:05 feae8fd75edb: Pull complete 23:26:05 242c74f7c9fa: Pull complete 23:26:05 3cdef696dda3: Pull complete 23:26:12 2ced38df9373: Pull complete 23:26:14 58f1dce35555: Pull complete 23:26:14 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:26:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:26:14 ---> fadd8f120f05 23:26:14 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:26:15 ---> Running in 16823c2eb6f9 23:26:15 Removing intermediate container 16823c2eb6f9 23:26:15 ---> 60c9ff98cd6d 23:26:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:26:15 ---> Running in 09724ac7cebb 23:26:16 Removing intermediate container 09724ac7cebb 23:26:16 ---> 113e13ccdb04 23:26:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:26:16 ---> Running in 47c670ba04c7 23:26:16 Removing intermediate container 47c670ba04c7 23:26:16 ---> 7bdcdc172feb 23:26:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:26:16 ---> Running in dcdd7857272b 23:26:17 Removing intermediate container dcdd7857272b 23:26:17 ---> dbaec1e0eb0f 23:26:17 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:26:17 ---> Running in 8f4c988ff459 23:26:17 Removing intermediate container 8f4c988ff459 23:26:17 ---> eb94bba159ce 23:26:17 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:26:17 ---> Running in 824a6e2927a6 23:26:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:26:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:26:20 OK: 263 MiB in 53 packages 23:26:21 Removing intermediate container 824a6e2927a6 23:26:21 ---> 542a8318f555 23:26:21 Step 9/13 : WORKDIR /device-onvif-camera 23:26:21 ---> Running in 913cd218e220 23:26:21 Removing intermediate container 913cd218e220 23:26:21 ---> 583d05ce8042 23:26:21 Step 10/13 : COPY go.mod vendor* ./ 23:26:24 ---> e08ddf509f5e 23:26:24 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:26:24 ---> Running in 19c1c59ad080 23:27:31 Removing intermediate container 19c1c59ad080 23:27:31 ---> b0a8f99a612e 23:27:31 Step 12/13 : COPY . . 23:27:31 ---> 1820f5b08462 23:27:31 Step 13/13 : RUN ${MAKE} 23:27:31 ---> Running in f24a68efee76 23:27:31 noop 23:27:31 Removing intermediate container f24a68efee76 23:27:31 ---> 14c56e4b3396 23:27:31 Successfully built 14c56e4b3396 23:27:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:32 + docker inspect -f . ci-base-image-arm64 23:27:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:32 prd-ubuntu20.04-docker-arm64-4c-16g-15474 does not seem to be running inside a container 23:27:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:27:33 $ docker top f2a9b326a1f5f014b3869b95931fd6ef0f675cfa565bcac40afcdec0d20e0f5b -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:34 + go version 23:27:34 go version go1.20.2 linux/arm64 [Pipeline] } 23:27:34 $ docker stop --time=1 f2a9b326a1f5f014b3869b95931fd6ef0f675cfa565bcac40afcdec0d20e0f5b 23:27:36 $ docker rm -f --volumes f2a9b326a1f5f014b3869b95931fd6ef0f675cfa565bcac40afcdec0d20e0f5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:36 + docker inspect -f . ci-base-image-arm64 23:27:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:36 prd-ubuntu20.04-docker-arm64-4c-16g-15474 does not seem to be running inside a container 23:27:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:27:38 $ docker top f1f0c37ef8d6b00e92dd9afac9dfa80eb20ef23fd5af4db771f847dd75cc593e -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:38 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 23:27:39 + make test 23:27:39 go test ./... -coverprofile=coverage.out ./... 23:28:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:30:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:30:18 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:30:19 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.185s coverage: 31.4% of statements 23:30:34 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 15.439s coverage: 86.5% of statements 23:30:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:30:34 go vet ./... 23:31:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:31:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:31:00 ./bin/test-attribution-txt.sh [Pipeline] echo 23:31:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:31:00 $ docker stop --time=1 f1f0c37ef8d6b00e92dd9afac9dfa80eb20ef23fd5af4db771f847dd75cc593e 23:31:02 $ docker rm -f --volumes f1f0c37ef8d6b00e92dd9afac9dfa80eb20ef23fd5af4db771f847dd75cc593e [Pipeline] // withDockerContainer [Pipeline] sh 23:31:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:31:03 Warning: overwriting stash ‘coverage-report’ 23:31:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:31:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:31:05 + ls -al . 23:31:05 total 228 23:31:05 drwxrwxr-x 9 jenkins jenkins 4096 May 15 23:27 . 23:31:05 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:25 .. 23:31:05 drwxrwxr-x 8 jenkins jenkins 4096 May 15 23:25 .git 23:31:05 drwxrwxr-x 3 jenkins jenkins 4096 May 15 23:25 .github 23:31:05 -rw-rw-r-- 1 jenkins jenkins 496 May 15 23:25 .gitignore 23:31:05 -rw-rw-r-- 1 jenkins jenkins 42 May 15 23:25 .golangci.yml 23:31:05 -rw-rw-r-- 1 jenkins jenkins 10087 May 15 23:25 Attribution.txt 23:31:05 -rw-rw-r-- 1 jenkins jenkins 6312 May 15 23:25 CHANGELOG.md 23:31:05 -rw-rw-r-- 1 jenkins jenkins 1574 May 15 23:25 Dockerfile 23:31:05 -rw-rw-r-- 1 jenkins jenkins 677 May 15 23:25 GOVERNANCE.md 23:31:05 -rw-rw-r-- 1 jenkins jenkins 739 May 15 23:25 Jenkinsfile 23:31:05 -rw-rw-r-- 1 jenkins jenkins 11348 May 15 23:25 LICENSE 23:31:05 -rw-rw-r-- 1 jenkins jenkins 2751 May 15 23:25 Makefile 23:31:05 -rw-rw-r-- 1 jenkins jenkins 625 May 15 23:25 OWNERS.md 23:31:05 -rw-rw-r-- 1 jenkins jenkins 2690 May 15 23:25 README.md 23:31:05 -rw-rw-r-- 1 jenkins jenkins 5 May 15 23:23 VERSION 23:31:05 drwxrwxr-x 2 jenkins jenkins 4096 May 15 23:25 bin 23:31:05 drwxrwxr-x 3 jenkins jenkins 4096 May 15 23:25 cmd 23:31:05 -rw-r--r-- 1 jenkins jenkins 78459 May 15 23:30 coverage.out 23:31:05 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:25 doc 23:31:05 -rw-rw-r-- 1 jenkins jenkins 3642 May 15 23:25 go.mod 23:31:05 -rw-rw-r-- 1 jenkins jenkins 33491 May 15 23:25 go.sum 23:31:05 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:25 internal 23:31:05 drwxrwxr-x 4 jenkins jenkins 4096 May 15 23:25 snap 23:31:05 -rw-rw-r-- 1 jenkins jenkins 236 May 15 23:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:05 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a2129d0aa03e260ecda71565f46da0b72c6b3ad9 --label arch=arm64 --label version=0.0.0 . 23:31:06 Sending build context to Docker daemon 14.72MB 23:31:06 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:31:06 Step 2/26 : FROM ${BASE} AS builder 23:31:06 ---> 14c56e4b3396 23:31:06 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:31:07 ---> Running in 32097c1ce6eb 23:31:07 Removing intermediate container 32097c1ce6eb 23:31:07 ---> 2ebdfaabcc94 23:31:07 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:31:07 ---> Running in a60bc3b0df6a 23:31:07 Removing intermediate container a60bc3b0df6a 23:31:07 ---> 3f246be2bcf0 23:31:07 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:31:07 ---> Running in 54d49ef62cc7 23:31:07 Removing intermediate container 54d49ef62cc7 23:31:07 ---> 134c0787163c 23:31:07 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:31:08 ---> Running in 7366a899ec73 23:31:08 Removing intermediate container 7366a899ec73 23:31:08 ---> e18a0fba95c5 23:31:08 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:31:08 ---> Running in 384e08c76260 23:31:08 Removing intermediate container 384e08c76260 23:31:08 ---> f333d3f84b2b 23:31:08 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:31:08 ---> Running in 2e27996f9110 23:31:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:31:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:31:11 OK: 263 MiB in 53 packages 23:31:11 Removing intermediate container 2e27996f9110 23:31:11 ---> 4379e167ad53 23:31:11 Step 9/26 : WORKDIR /device-onvif-camera 23:31:12 ---> Running in 790586eba82d 23:31:12 Removing intermediate container 790586eba82d 23:31:12 ---> 5984f7fd64bd 23:31:12 Step 10/26 : COPY go.mod vendor* ./ 23:31:12 ---> 14d129801cb7 23:31:12 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:31:12 ---> Running in 54c9bd225c0b 23:31:15 Removing intermediate container 54c9bd225c0b 23:31:15 ---> a506986cc4e6 23:31:15 Step 12/26 : COPY . . 23:31:17 ---> 90715702bb12 23:31:17 Step 13/26 : RUN ${MAKE} 23:31:17 ---> Running in 97a5e64f451b 23:31:17 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 23:33:39 Removing intermediate container 97a5e64f451b 23:33:39 ---> e714b49a29d2 23:33:39 Step 14/26 : FROM alpine:3.17 23:33:39 3.17: Pulling from library/alpine 23:33:39 c41833b44d91: Already exists 23:33:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:33:39 Status: Downloaded newer image for alpine:3.17 23:33:39 ---> 51e60588ff2c 23:33:39 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:33:39 ---> Running in 221e5666ece7 23:33:39 Removing intermediate container 221e5666ece7 23:33:39 ---> 87746d6ff349 23:33:39 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:33:39 ---> Running in ab0fc8a8fe52 23:33:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:33:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:33:39 (1/1) Installing dumb-init (1.2.5-r2) 23:33:39 Executing busybox-1.35.0-r29.trigger 23:33:39 OK: 8 MiB in 16 packages 23:33:39 Removing intermediate container ab0fc8a8fe52 23:33:39 ---> 383daebf0f49 23:33:39 Step 17/26 : WORKDIR / 23:33:39 ---> Running in 4c1fdc391a65 23:33:39 Removing intermediate container 4c1fdc391a65 23:33:39 ---> a817cedc7a86 23:33:39 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:33:39 ---> b4945e85ddd2 23:33:39 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:33:39 ---> 21c471e07dd6 23:33:39 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:33:39 ---> c5f8398667e9 23:33:39 Step 21/26 : EXPOSE 59984 23:33:39 ---> Running in aeaab1f04482 23:33:39 Removing intermediate container aeaab1f04482 23:33:39 ---> 29a6af1ee2ba 23:33:39 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:33:39 ---> Running in e347a020e46b 23:33:39 Removing intermediate container e347a020e46b 23:33:39 ---> df862ade1a5d 23:33:39 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:33:39 ---> Running in d1a20fd0e895 23:33:39 Removing intermediate container d1a20fd0e895 23:33:39 ---> 7768440dd7d4 23:33:39 Step 24/26 : LABEL arch=arm64 23:33:39 ---> Running in 929e92832cea 23:33:39 Removing intermediate container 929e92832cea 23:33:39 ---> e606ccaed7c7 23:33:39 Step 25/26 : LABEL git_sha=a2129d0aa03e260ecda71565f46da0b72c6b3ad9 23:33:39 ---> Running in ee1a72ade6d4 23:33:39 Removing intermediate container ee1a72ade6d4 23:33:39 ---> 5eefc4ff80df 23:33:39 Step 26/26 : LABEL version=0.0.0 23:33:39 ---> Running in 66a6c641f07b 23:33:39 Removing intermediate container 66a6c641f07b 23:33:39 ---> 6d2dbd87af60 23:33:39 [Warning] One or more build-args [ARCH] were not consumed 23:33:39 Successfully built 6d2dbd87af60 23:33:39 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 23:33:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:40 23:33:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:40 arm64: Pulling from edgex-lftools-log-publisher 23:33:40 8998bd30e6a1: Pulling fs layer 23:33:40 04944245beec: Pulling fs layer 23:33:40 699f458cf7ca: Pulling fs layer 23:33:40 765212b225bb: Pulling fs layer 23:33:40 f23df028b6ca: Pulling fs layer 23:33:40 d65c8cfc05b1: Pulling fs layer 23:33:40 2437ff75d9bd: Pulling fs layer 23:33:40 765212b225bb: Waiting 23:33:40 f23df028b6ca: Waiting 23:33:40 2437ff75d9bd: Waiting 23:33:40 d65c8cfc05b1: Waiting 23:33:40 04944245beec: Verifying Checksum 23:33:40 04944245beec: Download complete 23:33:40 765212b225bb: Verifying Checksum 23:33:40 765212b225bb: Download complete 23:33:40 f23df028b6ca: Verifying Checksum 23:33:40 f23df028b6ca: Download complete 23:33:40 d65c8cfc05b1: Verifying Checksum 23:33:40 d65c8cfc05b1: Download complete 23:33:40 699f458cf7ca: Verifying Checksum 23:33:40 699f458cf7ca: Download complete 23:33:41 8998bd30e6a1: Verifying Checksum 23:33:41 8998bd30e6a1: Download complete 23:33:43 2437ff75d9bd: Verifying Checksum 23:33:43 2437ff75d9bd: Download complete 23:33:44 8998bd30e6a1: Pull complete 23:33:46 04944245beec: Pull complete 23:33:46 699f458cf7ca: Pull complete 23:33:47 765212b225bb: Pull complete 23:33:47 f23df028b6ca: Pull complete 23:33:48 d65c8cfc05b1: Pull complete 23:34:00 2437ff75d9bd: Pull complete 23:34:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:34:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:34:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:00 prd-ubuntu20.04-docker-arm64-4c-16g-15474 does not seem to be running inside a container 23:34:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:34:03 $ docker top 95ccc312a71639e895c03d828cbff89b40281276291661c2cc62dff9bd005b53 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:03 ---> job-cost.sh 23:34:03 lf-activate-venv: SKIPPING 23:34:03 INFO: No Stack... 23:34:04 INFO: Retrieving Pricing Info for: v3-standard-4 23:34:04 INFO: Archiving Costs [Pipeline] sh 23:34:05 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 23:34:05 + cut -d, -f6 [Pipeline] lock 23:34:05 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-361-3-stack-cost] 23:34:05 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-3-stack-cost] did not exist. Created. 23:34:05 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-361-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:34:05 /w/workspace/device-onvif-camera/3@tmp/durable-c4a4a70a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:34:06 + echo total: 0.10999999940395355 [Pipeline] stash 23:34:06 Warning: overwriting stash ‘stack-cost’ 23:34:06 Stashed 1 file(s) [Pipeline] } 23:34:06 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:34:06 $ docker stop --time=1 95ccc312a71639e895c03d828cbff89b40281276291661c2cc62dff9bd005b53 23:34:07 $ docker rm -f --volumes 95ccc312a71639e895c03d828cbff89b40281276291661c2cc62dff9bd005b53 [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 23:34:08 provisioning config files... 23:34:08 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config6359198355658032909tmp [Pipeline] { [Pipeline] sh 23:34:08 + set +x 23:34:08 + curl -s https://codecov.io/bash 23:34:08 + bash -s -- 23:34:08 23:34:08 _____ _ 23:34:08 / ____| | | 23:34:08 | | ___ __| | ___ ___ _____ __ 23:34:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:34:08 | |___| (_) | (_| | __/ (_| (_) \ V / 23:34:08 \_____\___/ \__,_|\___|\___\___/ \_/ 23:34:08 Bash-1.0.6 23:34:08 23:34:08 23:34:08 ==> git version 2.25.1 found 23:34:08 ==> 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 23:34:08 Release-Date: 2020-01-08 23:34:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:34:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:34:08 ==> Jenkins CI detected. 23:34:08 current dir:  /w/workspace/undry_device-onvif-camera_PR-361 23:34:08 project root: . 23:34:08 --> token set from env 23:34:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:34:08 ==> Running gcov in . (disable via -X gcov) 23:34:08 ==> Python coveragepy not found 23:34:08 ==> Searching for coverage reports in: 23:34:08 + . 23:34:08 -> Found 1 reports 23:34:08 ==> Detecting git/mercurial file structure 23:34:08 ==> Reading reports 23:34:08 + ./coverage.out bytes=78459 23:34:08 ==> Appending adjustments 23:34:08 https://docs.codecov.io/docs/fixing-reports 23:34:08 + Found adjustments 23:34:08 ==> Gzipping contents 23:34:08 12K /tmp/codecov.7W7Ii8.gz 23:34:08 ==> Uploading reports 23:34:08 url: https://codecov.io 23:34:08 query: branch=PR-361&commit=a2129d0aa03e260ecda71565f46da0b72c6b3ad9&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-361%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=361&job=&cmd_args= 23:34:08 -> Pinging Codecov 23:34:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-361&commit=a2129d0aa03e260ecda71565f46da0b72c6b3ad9&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-361%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=361&job=&cmd_args= 23:34:09 -> Uploading to 23:34:09 https://storage.googleapis.com/codecov/v4/raw/2023-05-15/F29A59C45E3A92E06B3E522C9905F8EF/a2129d0aa03e260ecda71565f46da0b72c6b3ad9/33263797-b322-435f-8ddc-1b08f62223e6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230515%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230515T233409Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=724d917b64450d8707f7fc2ef828dc54a361979f401c1c600a0cc484c570274e 23:34:09 % Total % Received % Xferd Average Speed Time Time Time Current 23:34:09 Dload Upload Total Spent Left Speed 23:34:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 51497 --:--:-- --:--:-- --:--:-- 51497 23:34:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/a2129d0aa03e260ecda71565f46da0b72c6b3ad9 [Pipeline] } 23:34:09 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 23:34:10 + [ -d /w/workspace/undry_device-onvif-camera_PR-361/archives ] 23:34:10 + ls -al /w/workspace/undry_device-onvif-camera_PR-361/archives 23:34:10 total 16 23:34:10 drwxr-xr-x 3 root root 4096 May 15 23:25 . 23:34:10 drwxrwxr-x 11 jenkins jenkins 4096 May 15 23:25 .. 23:34:10 drwxr-xr-x 2 root root 4096 May 15 23:25 cost 23:34:10 -rw-r--r-- 1 root root 91 May 15 23:25 cost.csv 23:34:10 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-361/archives 23:34:10 + ls -al /w/workspace/undry_device-onvif-camera_PR-361/archives 23:34:10 total 16 23:34:10 drwxr-xr-x 3 jenkins jenkins 4096 May 15 23:25 . 23:34:10 drwxrwxr-x 11 jenkins jenkins 4096 May 15 23:25 .. 23:34:10 drwxr-xr-x 2 jenkins jenkins 4096 May 15 23:25 cost 23:34:10 -rw-r--r-- 1 jenkins jenkins 91 May 15 23:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:34:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:34:11 ---> package-listing.sh 23:34:11 ++ facter osfamily 23:34:11 ++ tr '[:upper:]' '[:lower:]' 23:34:11 + OS_FAMILY=debian 23:34:11 + workspace=/w/workspace/undry_device-onvif-camera_PR-361 23:34:11 + START_PACKAGES=/tmp/packages_start.txt 23:34:11 + END_PACKAGES=/tmp/packages_end.txt 23:34:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:34:11 + PACKAGES=/tmp/packages_start.txt 23:34:11 + '[' /w/workspace/undry_device-onvif-camera_PR-361 ']' 23:34:11 + PACKAGES=/tmp/packages_end.txt 23:34:11 + case "${OS_FAMILY}" in 23:34:11 + dpkg -l 23:34:11 + grep '^ii' 23:34:11 + '[' -f /tmp/packages_start.txt ']' 23:34:11 + '[' -f /tmp/packages_end.txt ']' 23:34:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:34:11 + '[' /w/workspace/undry_device-onvif-camera_PR-361 ']' 23:34:11 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-361/archives/ 23:34:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-361/archives/ [Pipeline] echo 23:34:11 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-361/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:34:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:12 prd-ubuntu20.04-docker-8c-8g-15473 does not seem to be running inside a container 23:34:12 $ 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-361/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-361 -v /w/workspace/undry_device-onvif-camera_PR-361:/w/workspace/undry_device-onvif-camera_PR-361:rw,z -v /w/workspace/undry_device-onvif-camera_PR-361@tmp:/w/workspace/undry_device-onvif-camera_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:34:12 $ docker top 8f04f60d0df031ba1cf8297093862c2e7cd2ce23776a0969857cdf67d72ba725 -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:13 + touch /tmp/pre-build-complete [Pipeline] sh 23:34:13 + mkdir -p /var/log/sysstat [Pipeline] sh 23:34:13 + ls /var/log/sa-host 23:34:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:13 provisioning config files... 23:34:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config8855066536108002934tmp [Pipeline] { [Pipeline] echo 23:34:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:34:14 ---> create-netrc.sh [Pipeline] } 23:34:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:34:14 ---> python-tools-install.sh [Pipeline] echo 23:34:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:34:14 ---> sudo-logs.sh 23:34:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:34:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:34:15 ---> job-cost.sh 23:34:15 lf-activate-venv: SKIPPING 23:34:15 DEBUG: total: 0.2199999988079071 23:34:15 INFO: Retrieving Stack Cost... 23:34:15 INFO: Retrieving Pricing Info for: v3-standard-8 23:34:15 INFO: Archiving Costs [Pipeline] echo 23:34:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:34:16 ---> logs-deploy.sh 23:34:16 lf-activate-venv: SKIPPING 23:34:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-361/3 23:34:16 INFO: archiving workspace using pattern(s): 23:34:17 Archives upload complete. 23:34:17 INFO: archiving logs to Nexus