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 ae353636d172f20102b25fd2c0f53ece591d0383 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-ssh481840850565610358.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-ssh6443094194423428899.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-ssh12980535123355129733.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-ssh7661279356463874576.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-ssh16540062456460462724.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15248’ Running on prd-ubuntu20.04-docker-8c-8g-15250 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 Merging remotes/origin/main commit c4faddb2a87debb4847eb62e77eafc712bf7e65e into PR head commit ae353636d172f20102b25fd2c0f53ece591d0383 Merge succeeded, producing ae353636d172f20102b25fd2c0f53ece591d0383 Checking out Revision ae353636d172f20102b25fd2c0f53ece591d0383 (PR-361) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f ae353636d172f20102b25fd2c0f53ece591d0383 # 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 ae353636d172f20102b25fd2c0f53ece591d0383 # timeout=10 Commit message: "docs: fix non-unique names for edgex commands" > git rev-list --no-walk 5b9f3391b2798b33a50d3f604f890f21257380d7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:54:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:54:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:54:17 ========================================================= 23:54:17 EdgeX Global Pipelines Version Info 23:54:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:54:17 ------------------- 23:54:17 stable info: 23:54:17 ------------------- 23:54:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:54:17 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:54:17 Message: update stable to v1.0.249 23:54:18 ------------------- 23:54:18 experimental info: 23:54:18 ------------------- 23:54:18 Commited By: **** collab-it+edgex@linuxfoundation.org 23:54:18 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:54:18 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-361 [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-361 [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-361 [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae353636d172f20102b25fd2c0f53ece591d0383 [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae35363 [Pipeline] echo 23:54:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:54:18 provisioning config files... 23:54:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config14272304360758852961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:19 ---> docker-login.sh 23:54:19 nexus3.edgexfoundry.org:10001 23:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:19 Configure a credential helper to remove this warning. See 23:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:19 23:54:19 Login Succeeded 23:54:19 nexus3.edgexfoundry.org:10002 23:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:19 Configure a credential helper to remove this warning. See 23:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:19 23:54:19 Login Succeeded 23:54:19 nexus3.edgexfoundry.org:10003 23:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:19 Configure a credential helper to remove this warning. See 23:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:19 23:54:19 Login Succeeded 23:54:19 nexus3.edgexfoundry.org:10004 23:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:19 Configure a credential helper to remove this warning. See 23:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:19 23:54:19 Login Succeeded 23:54:19 docker.io 23:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:20 Configure a credential helper to remove this warning. See 23:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:20 23:54:20 Login Succeeded 23:54:20 ---> docker-login.sh ends [Pipeline] } 23:54:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:54:20 + git rev-list -1 --merges ae353636d172f20102b25fd2c0f53ece591d0383~1..ae353636d172f20102b25fd2c0f53ece591d0383 [Pipeline] echo 23:54:20 -----------> git rev-list -1 --merges ae353636d172f20102b25fd2c0f53ece591d0383~1..ae353636d172f20102b25fd2c0f53ece591d0383 ae353636d172f20102b25fd2c0f53ece591d0383 [false] [Pipeline] sh 23:54:20 + git log --format=format:%s -1 ae353636d172f20102b25fd2c0f53ece591d0383 [Pipeline] echo 23:54:20 ========================================================= 23:54:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:54:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:54:21 + git log --format=format:%s -1 ae353636d172f20102b25fd2c0f53ece591d0383 [Pipeline] echo 23:54:21 [semverPrep] GIT_COMMIT: ae353636d172f20102b25fd2c0f53ece591d0383, Commit Message: docs: fix non-unique names for edgex commands [Pipeline] echo 23:54:21 [semverPrep] This is not a build commit. [Pipeline] sh 23:54:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:54:21 + grep -v github /etc/ssh/ssh_known_hosts 23:54:21 + [ -e /tmp/ssh_known_hosts ] 23:54:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:54:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:54:21 + sudo tee -a /etc/ssh/ssh_known_hosts 23:54:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:54:21 23:54:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:54:22 0.1.4: Pulling from edgex-devops/py-git-semver 23:54:22 b85a868b505f: Pulling fs layer 23:54:22 e2be974225ed: Pulling fs layer 23:54:22 339a4e72a1f5: Pulling fs layer 23:54:22 988bab9f4d93: Pulling fs layer 23:54:22 1469e6f7b9e6: Pulling fs layer 23:54:22 eaf3925da568: Pulling fs layer 23:54:22 bab4dde63d76: Pulling fs layer 23:54:22 bde34c3a00c8: Pulling fs layer 23:54:22 b352a97aabf1: Pulling fs layer 23:54:22 4872d77fe225: Pulling fs layer 23:54:22 5851b861e8e6: Pulling fs layer 23:54:22 988bab9f4d93: Waiting 23:54:22 1469e6f7b9e6: Waiting 23:54:22 eaf3925da568: Waiting 23:54:22 bab4dde63d76: Waiting 23:54:22 bde34c3a00c8: Waiting 23:54:22 b352a97aabf1: Waiting 23:54:22 4872d77fe225: Waiting 23:54:22 5851b861e8e6: Waiting 23:54:22 e2be974225ed: Download complete 23:54:22 988bab9f4d93: Verifying Checksum 23:54:22 988bab9f4d93: Download complete 23:54:22 1469e6f7b9e6: Verifying Checksum 23:54:22 1469e6f7b9e6: Download complete 23:54:22 eaf3925da568: Verifying Checksum 23:54:22 eaf3925da568: Download complete 23:54:22 339a4e72a1f5: Verifying Checksum 23:54:22 339a4e72a1f5: Download complete 23:54:22 bde34c3a00c8: Download complete 23:54:22 b352a97aabf1: Verifying Checksum 23:54:22 b352a97aabf1: Download complete 23:54:22 4872d77fe225: Verifying Checksum 23:54:22 4872d77fe225: Download complete 23:54:22 5851b861e8e6: Verifying Checksum 23:54:22 5851b861e8e6: Download complete 23:54:22 b85a868b505f: Verifying Checksum 23:54:22 b85a868b505f: Download complete 23:54:22 bab4dde63d76: Verifying Checksum 23:54:22 bab4dde63d76: Download complete 23:54:23 b85a868b505f: Pull complete 23:54:23 e2be974225ed: Pull complete 23:54:24 339a4e72a1f5: Pull complete 23:54:24 988bab9f4d93: Pull complete 23:54:24 1469e6f7b9e6: Pull complete 23:54:24 eaf3925da568: Pull complete 23:54:26 bab4dde63d76: Pull complete 23:54:26 bde34c3a00c8: Pull complete 23:54:26 b352a97aabf1: Pull complete 23:54:26 4872d77fe225: Pull complete 23:54:26 5851b861e8e6: Pull complete 23:54:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:54:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:54:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:26 prd-ubuntu20.04-docker-8c-8g-15250 does not seem to be running inside a container 23:54:26 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:54:28 $ docker top 63b193975e1625cb84f91ff456cc1f6f95fcd842d0d0898faffb060134f38011 -eo pid,comm 23:54:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:54:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:54:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:54:28 [ssh-agent] Looking for ssh-agent implementation... 23:54:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:54:28 $ docker exec 63b193975e1625cb84f91ff456cc1f6f95fcd842d0d0898faffb060134f38011 ssh-agent 23:54:28 SSH_AUTH_SOCK=/tmp/ssh-QMJulspEqnkU/agent.32 23:54:28 SSH_AGENT_PID=38 23:54:28 Running ssh-add (command line suppressed) 23:54:28 Identity added: /w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_18268737840474931106.key (/w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_18268737840474931106.key) 23:54:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:54:29 + git tag --points-at HEAD [Pipeline] } 23:54:29 $ docker exec --env ******** --env ******** 63b193975e1625cb84f91ff456cc1f6f95fcd842d0d0898faffb060134f38011 ssh-agent -k 23:54:29 unset SSH_AUTH_SOCK; 23:54:29 unset SSH_AGENT_PID; 23:54:29 echo Agent pid 38 killed; 23:54:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:54:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:54:29 [ssh-agent] Looking for ssh-agent implementation... 23:54:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:54:29 $ docker exec 63b193975e1625cb84f91ff456cc1f6f95fcd842d0d0898faffb060134f38011 ssh-agent 23:54:29 SSH_AUTH_SOCK=/tmp/ssh-mkDzxbavXEmf/agent.70 23:54:29 SSH_AGENT_PID=76 23:54:29 Running ssh-add (command line suppressed) 23:54:29 Identity added: /w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_6375321657384046020.key (/w/workspace/undry_device-onvif-camera_PR-361@tmp/private_key_6375321657384046020.key) 23:54:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:54:30 + git semver init 23:54:30 2023-05-11 23:54:30,226 [run_init] DEBUG init version:0.0.0 force:False 23:54:30 2023-05-11 23:54:30,227 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-361/.semver 23:54:30 2023-05-11 23:54:30,227 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-361/.semver 23:54:30 2023-05-11 23:54:30,227 [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:54:31 2023-05-11 23:54:31,194 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-361/.git/info/exclude 23:54:31 2023-05-11 23:54:31,194 [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:54:31 2023-05-11 23:54:31,194 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-361/.semver/PR-361 23:54:31 2023-05-11 23:54:31,197 [execute] INFO git cat-file --batch-check 23:54:31 2023-05-11 23:54:31,197 [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:54:31 2023-05-11 23:54:31,202 [execute] INFO git cat-file --batch 23:54:31 2023-05-11 23:54:31,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-361/.semver, universal_newlines=False, shell=None, istream=) 23:54:31 2023-05-11 23:54:31,207 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-361/.semver/PR-361 23:54:31 0.0.0 [Pipeline] } 23:54:31 $ docker exec --env ******** --env ******** 63b193975e1625cb84f91ff456cc1f6f95fcd842d0d0898faffb060134f38011 ssh-agent -k 23:54:31 unset SSH_AUTH_SOCK; 23:54:31 unset SSH_AGENT_PID; 23:54:31 echo Agent pid 76 killed; 23:54:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:54:31 + git semver [Pipeline] } 23:54:31 $ docker stop --time=1 63b193975e1625cb84f91ff456cc1f6f95fcd842d0d0898faffb060134f38011 23:54:33 $ docker rm -f --volumes 63b193975e1625cb84f91ff456cc1f6f95fcd842d0d0898faffb060134f38011 [Pipeline] // withDockerContainer [Pipeline] sh 23:54:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:54:33 Stashed 1 file(s) [Pipeline] echo 23:54:33 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:54:33 provisioning config files... 23:54:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config11925625859413061442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:34 ---> docker-login.sh 23:54:34 nexus3.edgexfoundry.org:10001 23:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:34 Configure a credential helper to remove this warning. See 23:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:34 23:54:34 Login Succeeded 23:54:34 nexus3.edgexfoundry.org:10002 23:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:34 Configure a credential helper to remove this warning. See 23:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:34 23:54:34 Login Succeeded 23:54:34 nexus3.edgexfoundry.org:10003 23:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:34 Configure a credential helper to remove this warning. See 23:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:34 23:54:34 Login Succeeded 23:54:34 nexus3.edgexfoundry.org:10004 23:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:34 Configure a credential helper to remove this warning. See 23:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:34 23:54:34 Login Succeeded 23:54:34 docker.io 23:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:34 Configure a credential helper to remove this warning. See 23:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:34 23:54:34 Login Succeeded 23:54:34 ---> docker-login.sh ends [Pipeline] } 23:54:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:54:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:54:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:54:34 ========================================================= 23:54:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:54:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:35 + 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:54:35 Sending build context to Docker daemon 22.04MB 23:54:35 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:54:35 Step 2/13 : FROM ${BASE} AS builder 23:54:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:54:35 f56be85fc22e: Pulling fs layer 23:54:35 85791d961cd3: Pulling fs layer 23:54:35 d694b5ae8c79: Pulling fs layer 23:54:35 9f32a84ed3da: Pulling fs layer 23:54:35 4d19c01a9841: Pulling fs layer 23:54:35 9325e15d5711: Pulling fs layer 23:54:35 556b6ee489ea: Pulling fs layer 23:54:35 c5a4b2cf53e6: Pulling fs layer 23:54:35 c5a4b2cf53e6: Waiting 23:54:35 556b6ee489ea: Waiting 23:54:35 4d19c01a9841: Waiting 23:54:35 9325e15d5711: Waiting 23:54:35 9f32a84ed3da: Waiting 23:54:35 85791d961cd3: Verifying Checksum 23:54:35 85791d961cd3: Download complete 23:54:35 9f32a84ed3da: Download complete 23:54:35 4d19c01a9841: Verifying Checksum 23:54:35 4d19c01a9841: Download complete 23:54:35 f56be85fc22e: Verifying Checksum 23:54:35 f56be85fc22e: Download complete 23:54:35 9325e15d5711: Verifying Checksum 23:54:35 9325e15d5711: Download complete 23:54:35 f56be85fc22e: Pull complete 23:54:35 85791d961cd3: Pull complete 23:54:35 c5a4b2cf53e6: Verifying Checksum 23:54:35 c5a4b2cf53e6: Download complete 23:54:36 d694b5ae8c79: Verifying Checksum 23:54:36 d694b5ae8c79: Download complete 23:54:36 556b6ee489ea: Verifying Checksum 23:54:36 556b6ee489ea: Download complete 23:54:39 d694b5ae8c79: Pull complete 23:54:39 9f32a84ed3da: Pull complete 23:54:39 4d19c01a9841: Pull complete 23:54:39 9325e15d5711: Pull complete 23:54:41 556b6ee489ea: Pull complete 23:54:42 c5a4b2cf53e6: Pull complete 23:54:42 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:54:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:54:42 ---> c4be618373d6 23:54:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:54:45 ---> Running in a482e4133f81 23:54:45 Removing intermediate container a482e4133f81 23:54:45 ---> 85fb1929bb4c 23:54:45 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:54:45 ---> Running in f2c7b4975ac1 23:54:45 Removing intermediate container f2c7b4975ac1 23:54:45 ---> c44540b4299f 23:54:45 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:54:45 ---> Running in 2797e2e52c31 23:54:45 Removing intermediate container 2797e2e52c31 23:54:45 ---> 8209b5a2897e 23:54:45 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:54:45 ---> Running in 155c01f821cc 23:54:45 Removing intermediate container 155c01f821cc 23:54:45 ---> f219d2fd8adf 23:54:45 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:54:45 ---> Running in 8e31b27d0e9d 23:54:45 Removing intermediate container 8e31b27d0e9d 23:54:45 ---> a83be355bb47 23:54:45 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:54:45 ---> Running in ed0ee3771685 23:54:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:54:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:54:45 OK: 265 MiB in 53 packages 23:54:46 Removing intermediate container ed0ee3771685 23:54:46 ---> c4ab72cd641a 23:54:46 Step 9/13 : WORKDIR /device-onvif-camera 23:54:46 ---> Running in 91df8ac1292e 23:54:46 Removing intermediate container 91df8ac1292e 23:54:46 ---> 8615bd376768 23:54:46 Step 10/13 : COPY go.mod vendor* ./ 23:54:46 ---> b34e31f78820 23:54:46 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:54:46 ---> Running in b3a592493c36 23:54:48 Still waiting to schedule task 23:54:48 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15249’ 23:55:13 Removing intermediate container b3a592493c36 23:55:13 ---> f0e953341b74 23:55:13 Step 12/13 : COPY . . 23:55:13 ---> 9956de100fce 23:55:13 Step 13/13 : RUN ${MAKE} 23:55:13 ---> Running in 9a2611de1587 23:55:13 noop 23:55:13 Removing intermediate container 9a2611de1587 23:55:13 ---> 06d1880ddd4c 23:55:13 Successfully built 06d1880ddd4c 23:55:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:13 + docker inspect -f . ci-base-image-x86_64 23:55:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:13 prd-ubuntu20.04-docker-8c-8g-15250 does not seem to be running inside a container 23:55:13 $ 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 ******** ci-base-image-x86_64 cat 23:55:13 $ docker top be007bef45922db602ac70e8115dc8c35c5902f9a8d85e9c8cfe300fe7817727 -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:14 + go version 23:55:14 go version go1.20.2 linux/amd64 [Pipeline] } 23:55:14 $ docker stop --time=1 be007bef45922db602ac70e8115dc8c35c5902f9a8d85e9c8cfe300fe7817727 23:55:15 $ docker rm -f --volumes be007bef45922db602ac70e8115dc8c35c5902f9a8d85e9c8cfe300fe7817727 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:15 + docker inspect -f . ci-base-image-x86_64 23:55:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:15 prd-ubuntu20.04-docker-8c-8g-15250 does not seem to be running inside a container 23:55:15 $ 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 ******** ci-base-image-x86_64 cat 23:55:16 $ docker top 76bba6f1c95103204c0033b49b83800c4a58b30489bad6998c7e7914a321021a -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:16 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-361 [Pipeline] fileExists [Pipeline] sh 23:55:16 + make test 23:55:16 go test ./... -coverprofile=coverage.out ./... 23:55:22 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:55:32 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:55:32 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:55:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.046s coverage: 31.4% of statements 23:55:35 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.150s coverage: 86.5% of statements 23:55:43 go vet ./... 23:55:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:55:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:55:45 ./bin/test-attribution-txt.sh [Pipeline] echo 23:55:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:55:45 $ docker stop --time=1 76bba6f1c95103204c0033b49b83800c4a58b30489bad6998c7e7914a321021a 23:55:48 $ docker rm -f --volumes 76bba6f1c95103204c0033b49b83800c4a58b30489bad6998c7e7914a321021a [Pipeline] // withDockerContainer [Pipeline] sh 23:55:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:55:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:55:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:55:49 + ls -al . 23:55:49 total 232 23:55:49 drwxrwxr-x 10 jenkins jenkins 4096 May 11 23:55 . 23:55:49 drwxrwxr-x 4 jenkins jenkins 4096 May 11 23:54 .. 23:55:49 drwxrwxr-x 8 jenkins jenkins 4096 May 11 23:54 .git 23:55:49 drwxrwxr-x 3 jenkins jenkins 4096 May 11 23:54 .github 23:55:49 -rw-rw-r-- 1 jenkins jenkins 496 May 11 23:54 .gitignore 23:55:49 -rw-rw-r-- 1 jenkins jenkins 42 May 11 23:54 .golangci.yml 23:55:49 drwxr-xr-x 3 jenkins jenkins 4096 May 11 23:54 .semver 23:55:49 -rw-rw-r-- 1 jenkins jenkins 10087 May 11 23:54 Attribution.txt 23:55:49 -rw-rw-r-- 1 jenkins jenkins 6312 May 11 23:54 CHANGELOG.md 23:55:49 -rw-rw-r-- 1 jenkins jenkins 1574 May 11 23:54 Dockerfile 23:55:49 -rw-rw-r-- 1 jenkins jenkins 677 May 11 23:54 GOVERNANCE.md 23:55:49 -rw-rw-r-- 1 jenkins jenkins 739 May 11 23:54 Jenkinsfile 23:55:49 -rw-rw-r-- 1 jenkins jenkins 11348 May 11 23:54 LICENSE 23:55:49 -rw-rw-r-- 1 jenkins jenkins 2751 May 11 23:54 Makefile 23:55:49 -rw-rw-r-- 1 jenkins jenkins 625 May 11 23:54 OWNERS.md 23:55:49 -rw-rw-r-- 1 jenkins jenkins 2690 May 11 23:54 README.md 23:55:49 -rw-rw-r-- 1 jenkins jenkins 5 May 11 23:54 VERSION 23:55:49 drwxrwxr-x 2 jenkins jenkins 4096 May 11 23:54 bin 23:55:49 drwxrwxr-x 3 jenkins jenkins 4096 May 11 23:54 cmd 23:55:49 -rw-r--r-- 1 jenkins jenkins 78459 May 11 23:55 coverage.out 23:55:49 drwxrwxr-x 4 jenkins jenkins 4096 May 11 23:54 doc 23:55:49 -rw-rw-r-- 1 jenkins jenkins 3642 May 11 23:54 go.mod 23:55:49 -rw-rw-r-- 1 jenkins jenkins 33491 May 11 23:54 go.sum 23:55:49 drwxrwxr-x 4 jenkins jenkins 4096 May 11 23:54 internal 23:55:49 drwxrwxr-x 4 jenkins jenkins 4096 May 11 23:54 snap 23:55:49 -rw-rw-r-- 1 jenkins jenkins 236 May 11 23:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:49 + 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=ae353636d172f20102b25fd2c0f53ece591d0383 --label arch=amd64 --label version=0.0.0 . 23:55:49 Sending build context to Docker daemon 22.12MB 23:55:49 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:55:49 Step 2/26 : FROM ${BASE} AS builder 23:55:49 ---> 06d1880ddd4c 23:55:49 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:55:50 ---> Running in dbf68474daba 23:55:50 Removing intermediate container dbf68474daba 23:55:50 ---> 1c7bbaef5614 23:55:50 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:55:50 ---> Running in b44c8d43b9fa 23:55:50 Removing intermediate container b44c8d43b9fa 23:55:50 ---> a00bc269942b 23:55:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:55:50 ---> Running in ef0d7dc60df1 23:55:50 Removing intermediate container ef0d7dc60df1 23:55:50 ---> 49f305cb9cbe 23:55:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:55:50 ---> Running in 1e6f9570721c 23:55:50 Removing intermediate container 1e6f9570721c 23:55:50 ---> 2210403c8a47 23:55:50 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:55:50 ---> Running in ac6046d21339 23:55:50 Removing intermediate container ac6046d21339 23:55:50 ---> 6090f7bd3caf 23:55:50 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:55:50 ---> Running in 7358f8032805 23:55:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:55:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:55:51 OK: 265 MiB in 53 packages 23:55:51 Removing intermediate container 7358f8032805 23:55:51 ---> d881bc3246fd 23:55:51 Step 9/26 : WORKDIR /device-onvif-camera 23:55:51 ---> Running in eab50e916a69 23:55:51 Removing intermediate container eab50e916a69 23:55:51 ---> f607d16d43c2 23:55:51 Step 10/26 : COPY go.mod vendor* ./ 23:55:51 ---> 9d4321c9f005 23:55:51 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:55:51 ---> Running in 2510ea2755d5 23:55:52 Removing intermediate container 2510ea2755d5 23:55:52 ---> d48dffb9dc32 23:55:52 Step 12/26 : COPY . . 23:55:53 ---> 1b08c4c6a25c 23:55:53 Step 13/26 : RUN ${MAKE} 23:55:53 ---> Running in 763985ebcfae 23:55:53 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:56:11 Removing intermediate container 763985ebcfae 23:56:11 ---> 5022eb6276c4 23:56:11 Step 14/26 : FROM alpine:3.17 23:56:11 3.17: Pulling from library/alpine 23:56:11 f56be85fc22e: Already exists 23:56:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:56:11 Status: Downloaded newer image for alpine:3.17 23:56:11 ---> 9ed4aefc74f6 23:56:11 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:56:11 ---> Running in 9c8c393e0100 23:56:11 Removing intermediate container 9c8c393e0100 23:56:11 ---> 1c326589f7ba 23:56:11 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:56:11 ---> Running in 49ecd7036e9b 23:56:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:56:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:56:11 (1/1) Installing dumb-init (1.2.5-r2) 23:56:11 Executing busybox-1.35.0-r29.trigger 23:56:11 OK: 7 MiB in 16 packages 23:56:12 Removing intermediate container 49ecd7036e9b 23:56:12 ---> 15c16a9f0b0a 23:56:12 Step 17/26 : WORKDIR / 23:56:12 ---> Running in 106b6599b074 23:56:12 Removing intermediate container 106b6599b074 23:56:12 ---> 9f5472557f2f 23:56:12 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:56:12 ---> 8e3cdc6766b6 23:56:12 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:56:12 ---> 5027f3ae7b17 23:56:12 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:56:12 ---> 2128526d2ed5 23:56:12 Step 21/26 : EXPOSE 59984 23:56:12 ---> Running in 269e98613830 23:56:12 Removing intermediate container 269e98613830 23:56:12 ---> 7ace1f21739a 23:56:12 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:56:12 ---> Running in 5acab82886cf 23:56:12 Removing intermediate container 5acab82886cf 23:56:12 ---> 4f1999f5c4f3 23:56:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:56:12 ---> Running in 15cd664b2d59 23:56:13 Removing intermediate container 15cd664b2d59 23:56:13 ---> f394ea00501a 23:56:13 Step 24/26 : LABEL arch=amd64 23:56:13 ---> Running in ab1df4bfb530 23:56:13 Removing intermediate container ab1df4bfb530 23:56:13 ---> e3a504013829 23:56:13 Step 25/26 : LABEL git_sha=ae353636d172f20102b25fd2c0f53ece591d0383 23:56:13 ---> Running in ba6ca625c834 23:56:13 Removing intermediate container ba6ca625c834 23:56:13 ---> f566a98f24ff 23:56:13 Step 26/26 : LABEL version=0.0.0 23:56:13 ---> Running in 4a7c70a415a7 23:56:13 Removing intermediate container 4a7c70a415a7 23:56:13 ---> 80e7c635b56c 23:56:13 [Warning] One or more build-args [ARCH] were not consumed 23:56:13 Successfully built 80e7c635b56c 23:56:13 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:56:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:13 23:56:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:14 latest: Pulling from edgex-lftools-log-publisher 23:56:14 5eb5b503b376: Pulling fs layer 23:56:14 5c69ac0246d0: Pulling fs layer 23:56:14 ec43610c2a17: Pulling fs layer 23:56:14 3a2ae6a8a46f: Pulling fs layer 23:56:14 33b1e0a273af: Pulling fs layer 23:56:14 5d3b04190fa2: Pulling fs layer 23:56:14 2f39f015ded8: Pulling fs layer 23:56:14 3a2ae6a8a46f: Waiting 23:56:14 33b1e0a273af: Waiting 23:56:14 5d3b04190fa2: Waiting 23:56:14 2f39f015ded8: Waiting 23:56:14 5c69ac0246d0: Verifying Checksum 23:56:14 5c69ac0246d0: Download complete 23:56:14 3a2ae6a8a46f: Verifying Checksum 23:56:14 3a2ae6a8a46f: Download complete 23:56:14 33b1e0a273af: Verifying Checksum 23:56:14 33b1e0a273af: Download complete 23:56:14 5d3b04190fa2: Verifying Checksum 23:56:14 5d3b04190fa2: Download complete 23:56:14 ec43610c2a17: Verifying Checksum 23:56:14 ec43610c2a17: Download complete 23:56:14 5eb5b503b376: Verifying Checksum 23:56:14 5eb5b503b376: Download complete 23:56:15 2f39f015ded8: Download complete 23:56:15 5eb5b503b376: Pull complete 23:56:15 5c69ac0246d0: Pull complete 23:56:16 ec43610c2a17: Pull complete 23:56:16 3a2ae6a8a46f: Pull complete 23:56:16 33b1e0a273af: Pull complete 23:56:16 5d3b04190fa2: Pull complete 23:56:20 2f39f015ded8: Pull complete 23:56:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:56:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:20 prd-ubuntu20.04-docker-8c-8g-15250 does not seem to be running inside a container 23:56:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:56:22 $ docker top 072dc73db9191d363fd0819717a35ef66f7c1408e3eb94040adcff315c81136c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:56:22 ---> job-cost.sh 23:56:22 lf-activate-venv: SKIPPING 23:56:22 INFO: No Stack... 23:56:22 INFO: Retrieving Pricing Info for: v3-standard-8 23:56:23 INFO: Archiving Costs [Pipeline] sh 23:56:23 + cat /w/workspace/undry_device-onvif-camera_PR-361/archives/cost.csv 23:56:23 + cut -d, -f6 [Pipeline] lock 23:56:23 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-361-2-stack-cost] 23:56:23 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-2-stack-cost] did not exist. Created. 23:56:23 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-361-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:56:23 + echo total: 0.2199999988079071 [Pipeline] stash 23:56:23 Stashed 1 file(s) [Pipeline] } 23:56:23 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:56:23 $ docker stop --time=1 072dc73db9191d363fd0819717a35ef66f7c1408e3eb94040adcff315c81136c 23:56:25 $ docker rm -f --volumes 072dc73db9191d363fd0819717a35ef66f7c1408e3eb94040adcff315c81136c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:56:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15251 in /w/workspace/undry_device-onvif-camera_PR-361 [Pipeline] { [Pipeline] ws 23:56:40 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 23:56:40 The recommended git tool is: git 23:56:46 using credential edgex-jenkins-ssh 23:56:46 Cloning the remote Git repository 23:56:46 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:56:46 > git init /w/workspace/device-onvif-camera/2 # timeout=10 23:56:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:56:46 > git --version # timeout=10 23:56:46 > git --version # 'git version 2.25.1' 23:56:46 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:56:48 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:56:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:56:50 Merging remotes/origin/main commit c4faddb2a87debb4847eb62e77eafc712bf7e65e into PR head commit ae353636d172f20102b25fd2c0f53ece591d0383 23:56:50 Merge succeeded, producing ae353636d172f20102b25fd2c0f53ece591d0383 23:56:50 Checking out Revision ae353636d172f20102b25fd2c0f53ece591d0383 (PR-361) 23:56:49 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:56:49 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:56:49 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:49 > 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:56:50 > git config core.sparsecheckout # timeout=10 23:56:50 > git checkout -f ae353636d172f20102b25fd2c0f53ece591d0383 # timeout=10 23:56:50 > git remote # timeout=10 23:56:50 > git config --get remote.origin.url # timeout=10 23:56:50 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:50 > git merge c4faddb2a87debb4847eb62e77eafc712bf7e65e # timeout=10 23:56:50 > git rev-parse HEAD^{commit} # timeout=10 23:56:50 > git config core.sparsecheckout # timeout=10 23:56:50 > git checkout -f ae353636d172f20102b25fd2c0f53ece591d0383 # timeout=10 23:56:54 Commit message: "docs: fix non-unique names for edgex commands" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:56:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:56:55 % Total % Received % Xferd Average Speed Time Time Time Current 23:56:55 Dload Upload Total Spent Left Speed 23:56:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 23:56:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:56:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:56:56 + sudo tee /etc/docker/daemon.new 23:56:56 { 23:56:56 "registry-mirrors": [ 23:56:56 "https://nexus3.edgexfoundry.org:10001" 23:56:56 ], 23:56:56 "bip": "10.250.0.254/24", 23:56:56 "hosts": [ 23:56:56 "tcp://0.0.0.0:5555", 23:56:56 "unix:///var/run/docker.sock" 23:56:56 ], 23:56:56 "mtu": 1458, 23:56:56 "selinux-enabled": true, 23:56:56 "seccomp-profile": "/etc/docker/seccomp.json" 23:56:56 } [Pipeline] sh 23:56:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:56:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:57:15 provisioning config files... 23:57:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config3692640984671138986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:15 ---> docker-login.sh 23:57:15 nexus3.edgexfoundry.org:10001 23:57:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:16 Configure a credential helper to remove this warning. See 23:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:16 23:57:16 Login Succeeded 23:57:16 nexus3.edgexfoundry.org:10002 23:57:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:16 Configure a credential helper to remove this warning. See 23:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:16 23:57:16 Login Succeeded 23:57:16 nexus3.edgexfoundry.org:10003 23:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:17 Configure a credential helper to remove this warning. See 23:57:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:17 23:57:17 Login Succeeded 23:57:17 nexus3.edgexfoundry.org:10004 23:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:17 Configure a credential helper to remove this warning. See 23:57:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:17 23:57:17 Login Succeeded 23:57:17 docker.io 23:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:18 Configure a credential helper to remove this warning. See 23:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:18 23:57:18 Login Succeeded 23:57:18 ---> docker-login.sh ends [Pipeline] } 23:57:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:57:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:18 ========================================================= 23:57:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:57:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:18 + 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:57:19 Sending build context to Docker daemon 14.53MB 23:57:19 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:57:19 Step 2/13 : FROM ${BASE} AS builder 23:57:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:57:19 c41833b44d91: Pulling fs layer 23:57:19 ed15518f5707: Pulling fs layer 23:57:19 feae8fd75edb: Pulling fs layer 23:57:19 242c74f7c9fa: Pulling fs layer 23:57:19 3cdef696dda3: Pulling fs layer 23:57:19 2ced38df9373: Pulling fs layer 23:57:19 58f1dce35555: Pulling fs layer 23:57:19 242c74f7c9fa: Waiting 23:57:19 58f1dce35555: Waiting 23:57:19 2ced38df9373: Waiting 23:57:19 3cdef696dda3: Waiting 23:57:19 242c74f7c9fa: Verifying Checksum 23:57:19 242c74f7c9fa: Download complete 23:57:19 3cdef696dda3: Verifying Checksum 23:57:19 3cdef696dda3: Download complete 23:57:19 c41833b44d91: Verifying Checksum 23:57:19 c41833b44d91: Download complete 23:57:21 c41833b44d91: Pull complete 23:57:21 58f1dce35555: Verifying Checksum 23:57:21 58f1dce35555: Download complete 23:57:21 ed15518f5707: Pull complete 23:57:22 feae8fd75edb: Verifying Checksum 23:57:22 feae8fd75edb: Download complete 23:57:22 2ced38df9373: Verifying Checksum 23:57:22 2ced38df9373: Download complete 23:57:34 feae8fd75edb: Pull complete 23:57:34 242c74f7c9fa: Pull complete 23:57:34 3cdef696dda3: Pull complete 23:57:39 2ced38df9373: Pull complete 23:57:41 58f1dce35555: Pull complete 23:57:41 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:57:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:57:41 ---> fadd8f120f05 23:57:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:57:43 ---> Running in c3effea9edcc 23:57:43 Removing intermediate container c3effea9edcc 23:57:43 ---> ec02f171c548 23:57:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:57:43 ---> Running in 0c1ca78effa8 23:57:43 Removing intermediate container 0c1ca78effa8 23:57:43 ---> 6b41e0a5e71f 23:57:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:57:43 ---> Running in 66cd86e999cc 23:57:43 Removing intermediate container 66cd86e999cc 23:57:43 ---> 64c1f10e762d 23:57:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:57:44 ---> Running in b2f79aa563fe 23:57:44 Removing intermediate container b2f79aa563fe 23:57:44 ---> 38fd1f46768e 23:57:44 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:57:44 ---> Running in 2fe20dc3f794 23:57:44 Removing intermediate container 2fe20dc3f794 23:57:44 ---> 039a1fb153ba 23:57:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:57:44 ---> Running in fd68e7439181 23:57:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:57:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:57:47 OK: 263 MiB in 53 packages 23:57:48 Removing intermediate container fd68e7439181 23:57:48 ---> a502fe0bda5f 23:57:48 Step 9/13 : WORKDIR /device-onvif-camera 23:57:48 ---> Running in 1fbaf171d5c6 23:57:48 Removing intermediate container 1fbaf171d5c6 23:57:48 ---> 2a011e1aa273 23:57:48 Step 10/13 : COPY go.mod vendor* ./ 23:57:49 ---> bc006c65a3b2 23:57:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:57:49 ---> Running in 97529a9106ef 23:58:57 Removing intermediate container 97529a9106ef 23:58:57 ---> fbca0e7190fc 23:58:57 Step 12/13 : COPY . . 23:58:57 ---> 725c576112ad 23:58:57 Step 13/13 : RUN ${MAKE} 23:58:57 ---> Running in 6bd0bedacd41 23:58:57 noop 23:58:57 Removing intermediate container 6bd0bedacd41 23:58:57 ---> 3fe3238db634 23:58:57 Successfully built 3fe3238db634 23:58:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:57 + docker inspect -f . ci-base-image-arm64 23:58:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:57 prd-ubuntu20.04-docker-arm64-4c-16g-15251 does not seem to be running inside a container 23:58:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:58:58 $ docker top 95a97a1503b22f1c7407b0e555c3d606d14da37473b4f223d84a11e1dc707979 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:59 + go version 23:58:59 go version go1.20.2 linux/arm64 [Pipeline] } 23:58:59 $ docker stop --time=1 95a97a1503b22f1c7407b0e555c3d606d14da37473b4f223d84a11e1dc707979 23:59:01 $ docker rm -f --volumes 95a97a1503b22f1c7407b0e555c3d606d14da37473b4f223d84a11e1dc707979 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:01 + docker inspect -f . ci-base-image-arm64 23:59:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:02 prd-ubuntu20.04-docker-arm64-4c-16g-15251 does not seem to be running inside a container 23:59:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:59:03 $ docker top 7eefba5f16550c080849292f8ab4bd6f5c45bb0562896803d7e2ba0785ea68ff -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:04 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 23:59:04 + make test 23:59:04 go test ./... -coverprofile=coverage.out ./... 23:59:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:01:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:01:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:01:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.220s coverage: 31.4% of statements 00:02:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.099s coverage: 86.5% of statements 00:02:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:02:20 go vet ./... 00:02:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:02:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:02:47 ./bin/test-attribution-txt.sh [Pipeline] echo 00:02:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:02:47 $ docker stop --time=1 7eefba5f16550c080849292f8ab4bd6f5c45bb0562896803d7e2ba0785ea68ff 00:02:49 $ docker rm -f --volumes 7eefba5f16550c080849292f8ab4bd6f5c45bb0562896803d7e2ba0785ea68ff [Pipeline] // withDockerContainer [Pipeline] sh 00:02:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:02:50 Warning: overwriting stash ‘coverage-report’ 00:02:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:02:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:02:51 + ls -al . 00:02:51 total 228 00:02:51 drwxrwxr-x 9 jenkins jenkins 4096 May 11 23:59 . 00:02:51 drwxrwxr-x 4 jenkins jenkins 4096 May 11 23:56 .. 00:02:51 drwxrwxr-x 8 jenkins jenkins 4096 May 11 23:56 .git 00:02:51 drwxrwxr-x 3 jenkins jenkins 4096 May 11 23:56 .github 00:02:51 -rw-rw-r-- 1 jenkins jenkins 496 May 11 23:56 .gitignore 00:02:51 -rw-rw-r-- 1 jenkins jenkins 42 May 11 23:56 .golangci.yml 00:02:51 -rw-rw-r-- 1 jenkins jenkins 10087 May 11 23:56 Attribution.txt 00:02:51 -rw-rw-r-- 1 jenkins jenkins 6312 May 11 23:56 CHANGELOG.md 00:02:51 -rw-rw-r-- 1 jenkins jenkins 1574 May 11 23:56 Dockerfile 00:02:51 -rw-rw-r-- 1 jenkins jenkins 677 May 11 23:56 GOVERNANCE.md 00:02:51 -rw-rw-r-- 1 jenkins jenkins 739 May 11 23:56 Jenkinsfile 00:02:51 -rw-rw-r-- 1 jenkins jenkins 11348 May 11 23:56 LICENSE 00:02:51 -rw-rw-r-- 1 jenkins jenkins 2751 May 11 23:56 Makefile 00:02:51 -rw-rw-r-- 1 jenkins jenkins 625 May 11 23:56 OWNERS.md 00:02:51 -rw-rw-r-- 1 jenkins jenkins 2690 May 11 23:56 README.md 00:02:51 -rw-rw-r-- 1 jenkins jenkins 5 May 11 23:54 VERSION 00:02:51 drwxrwxr-x 2 jenkins jenkins 4096 May 11 23:56 bin 00:02:51 drwxrwxr-x 3 jenkins jenkins 4096 May 11 23:56 cmd 00:02:51 -rw-r--r-- 1 jenkins jenkins 78459 May 12 00:02 coverage.out 00:02:51 drwxrwxr-x 4 jenkins jenkins 4096 May 11 23:56 doc 00:02:51 -rw-rw-r-- 1 jenkins jenkins 3642 May 11 23:56 go.mod 00:02:51 -rw-rw-r-- 1 jenkins jenkins 33491 May 11 23:56 go.sum 00:02:51 drwxrwxr-x 4 jenkins jenkins 4096 May 11 23:56 internal 00:02:51 drwxrwxr-x 4 jenkins jenkins 4096 May 11 23:56 snap 00:02:51 -rw-rw-r-- 1 jenkins jenkins 236 May 11 23:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:52 + 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=ae353636d172f20102b25fd2c0f53ece591d0383 --label arch=arm64 --label version=0.0.0 . 00:02:52 Sending build context to Docker daemon 14.61MB 00:02:52 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:02:52 Step 2/26 : FROM ${BASE} AS builder 00:02:52 ---> 3fe3238db634 00:02:52 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:02:52 ---> Running in e397b11ce839 00:02:53 Removing intermediate container e397b11ce839 00:02:53 ---> 8f273968ebb0 00:02:53 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:02:53 ---> Running in 85e35c07094c 00:02:53 Removing intermediate container 85e35c07094c 00:02:53 ---> 0e2159eb2f6e 00:02:53 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 00:02:53 ---> Running in 79f31dfc7e53 00:02:54 Removing intermediate container 79f31dfc7e53 00:02:54 ---> e64b3bb5922c 00:02:54 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:02:54 ---> Running in ccad0e986676 00:02:54 Removing intermediate container ccad0e986676 00:02:54 ---> 6719e8431638 00:02:54 Step 7/26 : LABEL Name=edgex-device-onvif-camera 00:02:54 ---> Running in 6b4c59f63244 00:02:54 Removing intermediate container 6b4c59f63244 00:02:54 ---> 1b9dd6b2dde0 00:02:54 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:02:54 ---> Running in 3e7e9097988c 00:02:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:02:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:02:57 OK: 263 MiB in 53 packages 00:02:58 Removing intermediate container 3e7e9097988c 00:02:58 ---> 6995e6827433 00:02:58 Step 9/26 : WORKDIR /device-onvif-camera 00:02:58 ---> Running in ee72e6289478 00:02:58 Removing intermediate container ee72e6289478 00:02:58 ---> baf0e3378164 00:02:58 Step 10/26 : COPY go.mod vendor* ./ 00:02:59 ---> a3c72e3cf6e4 00:02:59 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:02:59 ---> Running in c27218a67bc8 00:03:01 Removing intermediate container c27218a67bc8 00:03:01 ---> f2777f5152c1 00:03:01 Step 12/26 : COPY . . 00:03:03 ---> e00f9e71d299 00:03:03 Step 13/26 : RUN ${MAKE} 00:03:03 ---> Running in 029bf3a60833 00:03:04 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 00:05:26 Removing intermediate container 029bf3a60833 00:05:26 ---> 1e25843c4379 00:05:26 Step 14/26 : FROM alpine:3.17 00:05:26 3.17: Pulling from library/alpine 00:05:26 c41833b44d91: Already exists 00:05:26 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:05:26 Status: Downloaded newer image for alpine:3.17 00:05:26 ---> 51e60588ff2c 00:05:26 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:05:26 ---> Running in bd4b062ac815 00:05:26 Removing intermediate container bd4b062ac815 00:05:26 ---> 64ac4b264b25 00:05:26 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:05:26 ---> Running in 7b6b2381519e 00:05:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:05:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:05:26 (1/1) Installing dumb-init (1.2.5-r2) 00:05:26 Executing busybox-1.35.0-r29.trigger 00:05:26 OK: 8 MiB in 16 packages 00:05:26 Removing intermediate container 7b6b2381519e 00:05:26 ---> d0add51c3324 00:05:26 Step 17/26 : WORKDIR / 00:05:26 ---> Running in 060f4b928cf8 00:05:26 Removing intermediate container 060f4b928cf8 00:05:26 ---> ddfe3259197c 00:05:26 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:05:26 ---> 09074b385e72 00:05:26 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:05:26 ---> ac76a32f8a83 00:05:26 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:05:26 ---> 8643ea4a8952 00:05:26 Step 21/26 : EXPOSE 59984 00:05:26 ---> Running in 1ce7363a8ee3 00:05:26 Removing intermediate container 1ce7363a8ee3 00:05:26 ---> 1ca0311c99bb 00:05:26 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:05:26 ---> Running in 904da17d5cf5 00:05:26 Removing intermediate container 904da17d5cf5 00:05:26 ---> a8a67973726a 00:05:26 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:05:26 ---> Running in c53385cd8685 00:05:26 Removing intermediate container c53385cd8685 00:05:26 ---> 349a33761e87 00:05:26 Step 24/26 : LABEL arch=arm64 00:05:26 ---> Running in 0ab15dd3a3f9 00:05:26 Removing intermediate container 0ab15dd3a3f9 00:05:26 ---> 327c50064201 00:05:26 Step 25/26 : LABEL git_sha=ae353636d172f20102b25fd2c0f53ece591d0383 00:05:26 ---> Running in fc523b49ad68 00:05:26 Removing intermediate container fc523b49ad68 00:05:26 ---> a19d5fb653f5 00:05:26 Step 26/26 : LABEL version=0.0.0 00:05:26 ---> Running in 92a8ad8eb877 00:05:26 Removing intermediate container 92a8ad8eb877 00:05:26 ---> 1339ac1aaa7f 00:05:26 [Warning] One or more build-args [ARCH] were not consumed 00:05:26 Successfully built 1339ac1aaa7f 00:05:26 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 00:05:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:05:26 00:05:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:05:26 arm64: Pulling from edgex-lftools-log-publisher 00:05:26 8998bd30e6a1: Pulling fs layer 00:05:26 04944245beec: Pulling fs layer 00:05:26 699f458cf7ca: Pulling fs layer 00:05:26 765212b225bb: Pulling fs layer 00:05:26 f23df028b6ca: Pulling fs layer 00:05:26 d65c8cfc05b1: Pulling fs layer 00:05:26 2437ff75d9bd: Pulling fs layer 00:05:26 765212b225bb: Waiting 00:05:26 f23df028b6ca: Waiting 00:05:26 d65c8cfc05b1: Waiting 00:05:26 2437ff75d9bd: Waiting 00:05:27 04944245beec: Verifying Checksum 00:05:27 04944245beec: Download complete 00:05:27 765212b225bb: Verifying Checksum 00:05:27 765212b225bb: Download complete 00:05:27 f23df028b6ca: Download complete 00:05:27 d65c8cfc05b1: Verifying Checksum 00:05:27 d65c8cfc05b1: Download complete 00:05:27 699f458cf7ca: Verifying Checksum 00:05:27 699f458cf7ca: Download complete 00:05:27 8998bd30e6a1: Download complete 00:05:29 2437ff75d9bd: Verifying Checksum 00:05:29 2437ff75d9bd: Download complete 00:05:31 8998bd30e6a1: Pull complete 00:05:31 04944245beec: Pull complete 00:05:33 699f458cf7ca: Pull complete 00:05:33 765212b225bb: Pull complete 00:05:34 f23df028b6ca: Pull complete 00:05:35 d65c8cfc05b1: Pull complete 00:05:48 2437ff75d9bd: Pull complete 00:05:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:05:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:05:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:05:48 prd-ubuntu20.04-docker-arm64-4c-16g-15251 does not seem to be running inside a container 00:05:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:05:51 $ docker top 8c1220043792684ac241d310b6d8443877adfac0756451c1f89d510990c2138d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:51 ---> job-cost.sh 00:05:51 lf-activate-venv: SKIPPING 00:05:51 INFO: No Stack... 00:05:52 INFO: Retrieving Pricing Info for: v3-standard-4 00:05:52 INFO: Archiving Costs [Pipeline] sh 00:05:53 + + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 00:05:53 cut -d, -f6 [Pipeline] lock 00:05:53 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-361-2-stack-cost] 00:05:53 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-2-stack-cost] did not exist. Created. 00:05:53 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-361-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:05:53 /w/workspace/device-onvif-camera/2@tmp/durable-df992e90/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:05:54 + echo total: 0.10999999940395355 [Pipeline] stash 00:05:54 Warning: overwriting stash ‘stack-cost’ 00:05:54 Stashed 1 file(s) [Pipeline] } 00:05:54 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-361-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:05:54 $ docker stop --time=1 8c1220043792684ac241d310b6d8443877adfac0756451c1f89d510990c2138d 00:05:55 $ docker rm -f --volumes 8c1220043792684ac241d310b6d8443877adfac0756451c1f89d510990c2138d [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 00:05:56 provisioning config files... 00:05:56 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config5644174868776058408tmp [Pipeline] { [Pipeline] sh 00:05:56 + set +x 00:05:56 + bash -s -- 00:05:56 + curl -s https://codecov.io/bash 00:05:56 00:05:56 _____ _ 00:05:56 / ____| | | 00:05:56 | | ___ __| | ___ ___ _____ __ 00:05:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:05:56 | |___| (_) | (_| | __/ (_| (_) \ V / 00:05:56 \_____\___/ \__,_|\___|\___\___/ \_/ 00:05:56 Bash-1.0.6 00:05:56 00:05:56 00:05:56 ==> git version 2.25.1 found 00:05:56 ==> 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 00:05:56 Release-Date: 2020-01-08 00:05:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:05:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:05:56 ==> Jenkins CI detected. 00:05:56 current dir:  /w/workspace/undry_device-onvif-camera_PR-361 00:05:56 project root: . 00:05:56 --> token set from env 00:05:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:05:56 ==> Running gcov in . (disable via -X gcov) 00:05:56 ==> Python coveragepy not found 00:05:56 ==> Searching for coverage reports in: 00:05:56 + . 00:05:56 -> Found 1 reports 00:05:56 ==> Detecting git/mercurial file structure 00:05:56 ==> Reading reports 00:05:56 + ./coverage.out bytes=78459 00:05:56 ==> Appending adjustments 00:05:56 https://docs.codecov.io/docs/fixing-reports 00:05:56 + Found adjustments 00:05:56 ==> Gzipping contents 00:05:56 12K /tmp/codecov.HOpFJI.gz 00:05:56 ==> Uploading reports 00:05:56 url: https://codecov.io 00:05:56 query: branch=PR-361&commit=ae353636d172f20102b25fd2c0f53ece591d0383&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-361%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=361&job=&cmd_args= 00:05:57 -> Pinging Codecov 00:05:57 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=ae353636d172f20102b25fd2c0f53ece591d0383&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-361%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=361&job=&cmd_args= 00:05:57 -> Uploading to 00:05:57 https://storage.googleapis.com/codecov/v4/raw/2023-05-12/F29A59C45E3A92E06B3E522C9905F8EF/ae353636d172f20102b25fd2c0f53ece591d0383/504ab159-6736-4c3f-b025-39cd1a5eef7f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230512T000557Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6ba3d6173fe0d407cc5688289049c37dcad940e6f00b13cac8b60930fabcb8d 00:05:57 % Total % Received % Xferd Average Speed Time Time Time Current 00:05:57 Dload Upload Total Spent Left Speed 00:05:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 50271 --:--:-- --:--:-- --:--:-- 50271 00:05:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ae353636d172f20102b25fd2c0f53ece591d0383 [Pipeline] } 00:05:57 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 00:05:58 + [ -d /w/workspace/undry_device-onvif-camera_PR-361/archives ] 00:05:58 + ls -al /w/workspace/undry_device-onvif-camera_PR-361/archives 00:05:58 total 16 00:05:58 drwxr-xr-x 3 root root 4096 May 11 23:56 . 00:05:58 drwxrwxr-x 11 jenkins jenkins 4096 May 11 23:56 .. 00:05:58 drwxr-xr-x 2 root root 4096 May 11 23:56 cost 00:05:58 -rw-r--r-- 1 root root 91 May 11 23:56 cost.csv 00:05:58 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-361/archives 00:05:58 + ls -al /w/workspace/undry_device-onvif-camera_PR-361/archives 00:05:58 total 16 00:05:58 drwxr-xr-x 3 jenkins jenkins 4096 May 11 23:56 . 00:05:58 drwxrwxr-x 11 jenkins jenkins 4096 May 11 23:56 .. 00:05:58 drwxr-xr-x 2 jenkins jenkins 4096 May 11 23:56 cost 00:05:58 -rw-r--r-- 1 jenkins jenkins 91 May 11 23:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:05:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:05:59 ---> package-listing.sh 00:05:59 ++ facter osfamily 00:05:59 ++ tr '[:upper:]' '[:lower:]' 00:05:59 + OS_FAMILY=debian 00:05:59 + workspace=/w/workspace/undry_device-onvif-camera_PR-361 00:05:59 + START_PACKAGES=/tmp/packages_start.txt 00:05:59 + END_PACKAGES=/tmp/packages_end.txt 00:05:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:05:59 + PACKAGES=/tmp/packages_start.txt 00:05:59 + '[' /w/workspace/undry_device-onvif-camera_PR-361 ']' 00:05:59 + PACKAGES=/tmp/packages_end.txt 00:05:59 + case "${OS_FAMILY}" in 00:05:59 + dpkg -l 00:05:59 + grep '^ii' 00:05:59 + '[' -f /tmp/packages_start.txt ']' 00:05:59 + '[' -f /tmp/packages_end.txt ']' 00:05:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:05:59 + '[' /w/workspace/undry_device-onvif-camera_PR-361 ']' 00:05:59 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-361/archives/ 00:05:59 + 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 00:05:59 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 00:05:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:06:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:00 prd-ubuntu20.04-docker-8c-8g-15250 does not seem to be running inside a container 00:06:00 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:06:00 $ docker top 6a533de3e00439a48dd8726078c08a5925136dd23204e10109578a97192f95c2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:06:01 + touch /tmp/pre-build-complete [Pipeline] sh 00:06:01 + mkdir -p /var/log/sysstat [Pipeline] sh 00:06:01 + ls /var/log/sa-host 00:06:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:06:01 provisioning config files... 00:06:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-361@tmp/config3370936891301545725tmp [Pipeline] { [Pipeline] echo 00:06:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:06:02 ---> create-netrc.sh [Pipeline] } 00:06:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:06:02 ---> python-tools-install.sh [Pipeline] echo 00:06:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:06:02 ---> sudo-logs.sh 00:06:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:06:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:06:03 ---> job-cost.sh 00:06:03 lf-activate-venv: SKIPPING 00:06:03 DEBUG: total: 0.2199999988079071 00:06:03 INFO: Retrieving Stack Cost... 00:06:03 INFO: Retrieving Pricing Info for: v3-standard-8 00:06:03 INFO: Archiving Costs [Pipeline] echo 00:06:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:06:04 ---> logs-deploy.sh 00:06:04 lf-activate-venv: SKIPPING 00:06:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-361/2 00:06:04 INFO: archiving workspace using pattern(s): 00:06:05 Archives upload complete. 00:06:05 INFO: archiving logs to Nexus