Pull request #271 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 b19be15f1aae5ce963d99b90e51172ceff0b476d rather than b6009f0034aea0fd1533520d3d6e302997a27ed9 Obtained Jenkinsfile from b19be15f1aae5ce963d99b90e51172ceff0b476d 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-ssh10635282210023304008.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8698184878634087701.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-271/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-271/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2518308729591388446.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5605907535659187205.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-271/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-271/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6857369699214621038.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2495 in /w/workspace/undry_device-onvif-camera_PR-271 [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-271 # 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 b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit b6009f0034aea0fd1533520d3d6e302997a27ed9 Merge succeeded, producing b6009f0034aea0fd1533520d3d6e302997a27ed9 Checking out Revision b6009f0034aea0fd1533520d3d6e302997a27ed9 (PR-271) > 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/271/head:refs/remotes/origin/PR-271 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6009f0034aea0fd1533520d3d6e302997a27ed9 # 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 b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6009f0034aea0fd1533520d3d6e302997a27ed9 # timeout=10 Commit message: "docs: add warning to main branch and link to levski" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:35:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:35:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 071f2239afe20f4521c1bb307ea9e3a12944da39 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:35:08 ========================================================= 18:35:08 EdgeX Global Pipelines Version Info 18:35:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:35:09 ------------------- 18:35:09 stable info: 18:35:09 ------------------- 18:35:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:35:09 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:35:09 Message: update stable to v1.0.245 18:35:10 ------------------- 18:35:10 experimental info: 18:35:10 ------------------- 18:35:10 Commited By: **** collab-it+edgex@linuxfoundation.org 18:35:10 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 18:35:10 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-271 [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-271 [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-271 [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b6009f0034aea0fd1533520d3d6e302997a27ed9 [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b6009f0 [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:35:10 provisioning config files... 18:35:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-271@tmp/config6681150539167600251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:11 ---> docker-login.sh 18:35:11 nexus3.edgexfoundry.org:10001 18:35:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:11 Configure a credential helper to remove this warning. See 18:35:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:11 18:35:11 Login Succeeded 18:35:11 nexus3.edgexfoundry.org:10002 18:35:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:11 Configure a credential helper to remove this warning. See 18:35:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:11 18:35:11 Login Succeeded 18:35:11 nexus3.edgexfoundry.org:10003 18:35:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:11 Configure a credential helper to remove this warning. See 18:35:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:11 18:35:11 Login Succeeded 18:35:11 nexus3.edgexfoundry.org:10004 18:35:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:11 Configure a credential helper to remove this warning. See 18:35:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:11 18:35:11 Login Succeeded 18:35:11 docker.io 18:35:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:12 Configure a credential helper to remove this warning. See 18:35:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:12 18:35:12 Login Succeeded 18:35:12 ---> docker-login.sh ends [Pipeline] } 18:35:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:35:12 + git rev-list -1 --merges b6009f0034aea0fd1533520d3d6e302997a27ed9~1..b6009f0034aea0fd1533520d3d6e302997a27ed9 [Pipeline] echo 18:35:12 -----------> git rev-list -1 --merges b6009f0034aea0fd1533520d3d6e302997a27ed9~1..b6009f0034aea0fd1533520d3d6e302997a27ed9 b6009f0034aea0fd1533520d3d6e302997a27ed9 [false] [Pipeline] sh 18:35:12 + git log --format=format:%s -1 b6009f0034aea0fd1533520d3d6e302997a27ed9 [Pipeline] echo 18:35:12 ========================================================= 18:35:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:35:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:35:13 + git log --format=format:%s -1 b6009f0034aea0fd1533520d3d6e302997a27ed9 [Pipeline] echo 18:35:13 [semverPrep] GIT_COMMIT: b6009f0034aea0fd1533520d3d6e302997a27ed9, Commit Message: docs: add warning to main branch and link to levski [Pipeline] echo 18:35:13 [semverPrep] This is not a build commit. [Pipeline] sh 18:35:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:35:13 + grep -v github /etc/ssh/ssh_known_hosts 18:35:13 + [ -e /tmp/ssh_known_hosts ] 18:35:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:35:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:35:13 + sudo tee -a /etc/ssh/ssh_known_hosts 18:35:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:35:13 18:35:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:35:14 0.1.4: Pulling from edgex-devops/py-git-semver 18:35:14 b85a868b505f: Pulling fs layer 18:35:14 e2be974225ed: Pulling fs layer 18:35:14 339a4e72a1f5: Pulling fs layer 18:35:14 988bab9f4d93: Pulling fs layer 18:35:14 1469e6f7b9e6: Pulling fs layer 18:35:14 eaf3925da568: Pulling fs layer 18:35:14 bab4dde63d76: Pulling fs layer 18:35:14 bde34c3a00c8: Pulling fs layer 18:35:14 b352a97aabf1: Pulling fs layer 18:35:14 4872d77fe225: Pulling fs layer 18:35:14 5851b861e8e6: Pulling fs layer 18:35:14 bab4dde63d76: Waiting 18:35:14 bde34c3a00c8: Waiting 18:35:14 b352a97aabf1: Waiting 18:35:14 4872d77fe225: Waiting 18:35:14 5851b861e8e6: Waiting 18:35:14 988bab9f4d93: Waiting 18:35:14 1469e6f7b9e6: Waiting 18:35:14 eaf3925da568: Waiting 18:35:14 e2be974225ed: Verifying Checksum 18:35:14 e2be974225ed: Download complete 18:35:14 988bab9f4d93: Download complete 18:35:14 1469e6f7b9e6: Verifying Checksum 18:35:14 1469e6f7b9e6: Download complete 18:35:14 eaf3925da568: Verifying Checksum 18:35:14 eaf3925da568: Download complete 18:35:14 339a4e72a1f5: Verifying Checksum 18:35:14 339a4e72a1f5: Download complete 18:35:14 bde34c3a00c8: Download complete 18:35:14 b352a97aabf1: Verifying Checksum 18:35:14 b352a97aabf1: Download complete 18:35:14 4872d77fe225: Download complete 18:35:14 5851b861e8e6: Verifying Checksum 18:35:14 5851b861e8e6: Download complete 18:35:14 b85a868b505f: Verifying Checksum 18:35:14 b85a868b505f: Download complete 18:35:14 bab4dde63d76: Verifying Checksum 18:35:14 bab4dde63d76: Download complete 18:35:15 b85a868b505f: Pull complete 18:35:15 e2be974225ed: Pull complete 18:35:16 339a4e72a1f5: Pull complete 18:35:16 988bab9f4d93: Pull complete 18:35:16 1469e6f7b9e6: Pull complete 18:35:16 eaf3925da568: Pull complete 18:35:18 bab4dde63d76: Pull complete 18:35:18 bde34c3a00c8: Pull complete 18:35:18 b352a97aabf1: Pull complete 18:35:18 4872d77fe225: Pull complete 18:35:18 5851b861e8e6: Pull complete 18:35:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:35:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:35:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:19 prd-ubuntu20.04-docker-8c-8g-2495 does not seem to be running inside a container 18:35:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-271 -v /w/workspace/undry_device-onvif-camera_PR-271:/w/workspace/undry_device-onvif-camera_PR-271:rw,z -v /w/workspace/undry_device-onvif-camera_PR-271@tmp:/w/workspace/undry_device-onvif-camera_PR-271@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 18:35:21 $ docker top c34d1130254252ddd4dbf4129f64df7ca9ed832fc79a0a7ef8c4b0c262f58ab9 -eo pid,comm 18:35:21 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). 18:35:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:35:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:35:21 [ssh-agent] Looking for ssh-agent implementation... 18:35:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:35:22 $ docker exec c34d1130254252ddd4dbf4129f64df7ca9ed832fc79a0a7ef8c4b0c262f58ab9 ssh-agent 18:35:22 SSH_AUTH_SOCK=/tmp/ssh-56s2y88fSWL8/agent.31 18:35:22 SSH_AGENT_PID=37 18:35:22 Running ssh-add (command line suppressed) 18:35:22 Identity added: /w/workspace/undry_device-onvif-camera_PR-271@tmp/private_key_15054182758574381859.key (/w/workspace/undry_device-onvif-camera_PR-271@tmp/private_key_15054182758574381859.key) 18:35:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:35:22 + git tag --points-at HEAD [Pipeline] } 18:35:22 $ docker exec --env ******** --env ******** c34d1130254252ddd4dbf4129f64df7ca9ed832fc79a0a7ef8c4b0c262f58ab9 ssh-agent -k 18:35:22 unset SSH_AUTH_SOCK; 18:35:22 unset SSH_AGENT_PID; 18:35:22 echo Agent pid 37 killed; 18:35:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:35:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:35:22 [ssh-agent] Looking for ssh-agent implementation... 18:35:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:35:22 $ docker exec c34d1130254252ddd4dbf4129f64df7ca9ed832fc79a0a7ef8c4b0c262f58ab9 ssh-agent 18:35:23 SSH_AUTH_SOCK=/tmp/ssh-pDjf0FGNOHpP/agent.70 18:35:23 SSH_AGENT_PID=76 18:35:23 Running ssh-add (command line suppressed) 18:35:23 Identity added: /w/workspace/undry_device-onvif-camera_PR-271@tmp/private_key_6979961052116021351.key (/w/workspace/undry_device-onvif-camera_PR-271@tmp/private_key_6979961052116021351.key) 18:35:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:35:23 + git semver init 18:35:23 2023-03-16 18:35:23,621 [run_init] DEBUG init version:0.0.0 force:False 18:35:23 2023-03-16 18:35:23,621 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-271/.semver 18:35:23 2023-03-16 18:35:23,622 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-271/.semver 18:35:23 2023-03-16 18:35:23,622 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-271/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-271, universal_newlines=False, shell=None, istream=None) 18:35:24 2023-03-16 18:35:24,588 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-271/.git/info/exclude 18:35:24 2023-03-16 18:35:24,588 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-271/.semver/PR-271 with force:False 18:35:24 2023-03-16 18:35:24,588 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-271/.semver/PR-271 18:35:24 2023-03-16 18:35:24,590 [execute] INFO git cat-file --batch-check 18:35:24 2023-03-16 18:35:24,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-271/.semver, universal_newlines=False, shell=None, istream=) 18:35:24 2023-03-16 18:35:24,596 [execute] INFO git cat-file --batch 18:35:24 2023-03-16 18:35:24,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-271/.semver, universal_newlines=False, shell=None, istream=) 18:35:24 2023-03-16 18:35:24,601 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-271/.semver/PR-271 18:35:24 0.0.0 [Pipeline] } 18:35:24 $ docker exec --env ******** --env ******** c34d1130254252ddd4dbf4129f64df7ca9ed832fc79a0a7ef8c4b0c262f58ab9 ssh-agent -k 18:35:24 unset SSH_AUTH_SOCK; 18:35:24 unset SSH_AGENT_PID; 18:35:24 echo Agent pid 76 killed; 18:35:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:35:25 + git semver [Pipeline] } 18:35:25 $ docker stop --time=1 c34d1130254252ddd4dbf4129f64df7ca9ed832fc79a0a7ef8c4b0c262f58ab9 18:35:26 $ docker rm -f --volumes c34d1130254252ddd4dbf4129f64df7ca9ed832fc79a0a7ef8c4b0c262f58ab9 [Pipeline] // withDockerContainer [Pipeline] sh 18:35:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:35:27 Stashed 1 file(s) [Pipeline] echo 18:35:27 [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 18:35:27 provisioning config files... 18:35:27 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-271@tmp/config16981850103976403021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:27 ---> docker-login.sh 18:35:27 nexus3.edgexfoundry.org:10001 18:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:27 Configure a credential helper to remove this warning. See 18:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:27 18:35:27 Login Succeeded 18:35:27 nexus3.edgexfoundry.org:10002 18:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:27 Configure a credential helper to remove this warning. See 18:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:27 18:35:27 Login Succeeded 18:35:27 nexus3.edgexfoundry.org:10003 18:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:27 Configure a credential helper to remove this warning. See 18:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:27 18:35:27 Login Succeeded 18:35:27 nexus3.edgexfoundry.org:10004 18:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:27 Configure a credential helper to remove this warning. See 18:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:27 18:35:27 Login Succeeded 18:35:27 docker.io 18:35:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:28 Configure a credential helper to remove this warning. See 18:35:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:28 18:35:28 Login Succeeded 18:35:28 ---> docker-login.sh ends [Pipeline] } 18:35:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:35:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:35:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:35:28 ========================================================= 18:35:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:35:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:28 + 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 . 18:35:28 Sending build context to Docker daemon 27.89MB 18:35:28 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:35:28 Step 2/13 : FROM ${BASE} AS builder 18:35:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:35:28 63b65145d645: Pulling fs layer 18:35:28 a2d21d5440eb: Pulling fs layer 18:35:28 935e6c44a52c: Pulling fs layer 18:35:28 94cc34f8dd06: Pulling fs layer 18:35:28 30dea6a524f1: Pulling fs layer 18:35:28 a2aff8979fd8: Pulling fs layer 18:35:28 6808be2612f2: Pulling fs layer 18:35:28 f25807f1079a: Pulling fs layer 18:35:28 30dea6a524f1: Waiting 18:35:28 f25807f1079a: Waiting 18:35:28 6808be2612f2: Waiting 18:35:28 a2aff8979fd8: Waiting 18:35:28 94cc34f8dd06: Waiting 18:35:28 a2d21d5440eb: Verifying Checksum 18:35:28 a2d21d5440eb: Download complete 18:35:28 94cc34f8dd06: Download complete 18:35:28 30dea6a524f1: Verifying Checksum 18:35:28 30dea6a524f1: Download complete 18:35:28 63b65145d645: Verifying Checksum 18:35:28 63b65145d645: Download complete 18:35:28 a2aff8979fd8: Verifying Checksum 18:35:28 a2aff8979fd8: Download complete 18:35:29 63b65145d645: Pull complete 18:35:29 a2d21d5440eb: Pull complete 18:35:29 f25807f1079a: Download complete 18:35:29 935e6c44a52c: Verifying Checksum 18:35:29 935e6c44a52c: Download complete 18:35:29 6808be2612f2: Verifying Checksum 18:35:29 6808be2612f2: Download complete 18:35:34 935e6c44a52c: Pull complete 18:35:34 94cc34f8dd06: Pull complete 18:35:34 30dea6a524f1: Pull complete 18:35:34 a2aff8979fd8: Pull complete 18:35:35 6808be2612f2: Pull complete 18:35:36 f25807f1079a: Pull complete 18:35:36 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 18:35:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:35:36 ---> 3b553350e43f 18:35:36 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:35:41 ---> Running in 4320f561973f 18:35:41 Removing intermediate container 4320f561973f 18:35:41 ---> 17432c3c037c 18:35:41 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:35:41 ---> Running in f7db98105b57 18:35:41 Removing intermediate container f7db98105b57 18:35:41 ---> 684969717d9f 18:35:41 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:35:41 ---> Running in 593f8f95acd9 18:35:41 Removing intermediate container 593f8f95acd9 18:35:41 ---> f051de08a28e 18:35:41 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:35:41 ---> Running in 70ed6fefd6a0 18:35:41 Removing intermediate container 70ed6fefd6a0 18:35:41 ---> 933c1d98decb 18:35:41 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:35:41 ---> Running in 95b9a3c8e160 18:35:41 Removing intermediate container 95b9a3c8e160 18:35:41 ---> 30e483f27454 18:35:41 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:35:41 ---> Running in 691539f7562b 18:35:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:35:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:35:41 OK: 265 MiB in 53 packages 18:35:42 Removing intermediate container 691539f7562b 18:35:42 ---> babb3d1a1447 18:35:42 Step 9/13 : WORKDIR /device-onvif-camera 18:35:42 ---> Running in 9a3333e49752 18:35:42 Still waiting to schedule task 18:35:42 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2494’ 18:35:42 Removing intermediate container 9a3333e49752 18:35:42 ---> 760d7c747a02 18:35:42 Step 10/13 : COPY go.mod vendor* ./ 18:35:42 ---> c9d039853d43 18:35:42 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:35:42 ---> Running in 951f0ece3160 18:36:08 Removing intermediate container 951f0ece3160 18:36:08 ---> 3bab4c4b9912 18:36:08 Step 12/13 : COPY . . 18:36:08 ---> acd5c3385374 18:36:08 Step 13/13 : RUN ${MAKE} 18:36:08 ---> Running in 99813e63a422 18:36:09 noop 18:36:09 Removing intermediate container 99813e63a422 18:36:09 ---> 77fd25a6a412 18:36:09 Successfully built 77fd25a6a412 18:36:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:09 + docker inspect -f . ci-base-image-x86_64 18:36:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:09 prd-ubuntu20.04-docker-8c-8g-2495 does not seem to be running inside a container 18:36:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-271 -v /w/workspace/undry_device-onvif-camera_PR-271:/w/workspace/undry_device-onvif-camera_PR-271:rw,z -v /w/workspace/undry_device-onvif-camera_PR-271@tmp:/w/workspace/undry_device-onvif-camera_PR-271@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 18:36:10 $ docker top a2a53b1d047317e3f4b35c7a4f8886729077dcbdb72c88d1fd68945e915ec0c5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:10 + go version 18:36:10 go version go1.20.2 linux/amd64 [Pipeline] } 18:36:10 $ docker stop --time=1 a2a53b1d047317e3f4b35c7a4f8886729077dcbdb72c88d1fd68945e915ec0c5 18:36:11 $ docker rm -f --volumes a2a53b1d047317e3f4b35c7a4f8886729077dcbdb72c88d1fd68945e915ec0c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:12 + docker inspect -f . ci-base-image-x86_64 18:36:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:12 prd-ubuntu20.04-docker-8c-8g-2495 does not seem to be running inside a container 18:36:12 $ 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-271 -v /w/workspace/undry_device-onvif-camera_PR-271:/w/workspace/undry_device-onvif-camera_PR-271:rw,z -v /w/workspace/undry_device-onvif-camera_PR-271@tmp:/w/workspace/undry_device-onvif-camera_PR-271@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 18:36:12 $ docker top 2a7da81be197da113ba6ad60d02626f977fc2b4994ae9568ea97fca0135acc44 -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:13 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-271 [Pipeline] fileExists [Pipeline] sh 18:36:13 + make test 18:36:13 go test ./... -coverprofile=coverage.out ./... 18:36:18 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:36:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:36:30 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:36:32 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 30.5% of statements 18:36:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.428s coverage: 86.5% of statements 18:36:41 go vet ./... 18:36:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:36:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:36:45 ./bin/test-attribution-txt.sh [Pipeline] echo 18:36:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:36:45 $ docker stop --time=1 2a7da81be197da113ba6ad60d02626f977fc2b4994ae9568ea97fca0135acc44 18:36:48 $ docker rm -f --volumes 2a7da81be197da113ba6ad60d02626f977fc2b4994ae9568ea97fca0135acc44 [Pipeline] // withDockerContainer [Pipeline] sh 18:36:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:36:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:36:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:36:49 + ls -al . 18:36:49 total 232 18:36:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 18:36 . 18:36:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 18:35 .. 18:36:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 18:35 .git 18:36:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 18:35 .github 18:36:49 -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 18:35 .gitignore 18:36:49 -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 18:35 .golangci.yml 18:36:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 18:35 .semver 18:36:49 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 16 18:35 Attribution.txt 18:36:49 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 18:35 CHANGELOG.md 18:36:49 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 16 18:35 Dockerfile 18:36:49 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 18:35 GOVERNANCE.md 18:36:49 -rw-rw-r-- 1 jenkins jenkins 734 Mar 16 18:35 Jenkinsfile 18:36:49 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 18:35 LICENSE 18:36:49 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 16 18:35 Makefile 18:36:49 -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 18:35 OWNERS.md 18:36:49 -rw-rw-r-- 1 jenkins jenkins 6346 Mar 16 18:35 README.md 18:36:49 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 18:35 VERSION 18:36:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 18:35 bin 18:36:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 18:35 cmd 18:36:49 -rw-r--r-- 1 jenkins jenkins 76650 Mar 16 18:36 coverage.out 18:36:49 drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 18:35 doc 18:36:49 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 16 18:35 go.mod 18:36:49 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 16 18:35 go.sum 18:36:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 18:35 internal 18:36:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 18:35 snap 18:36:49 -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 18:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:50 + 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=b6009f0034aea0fd1533520d3d6e302997a27ed9 --label arch=amd64 --label version=0.0.0 . 18:36:50 Sending build context to Docker daemon 27.96MB 18:36:50 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:36:50 Step 2/26 : FROM ${BASE} AS builder 18:36:50 ---> 77fd25a6a412 18:36:50 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:36:50 ---> Running in 6be15be38178 18:36:50 Removing intermediate container 6be15be38178 18:36:50 ---> 0488eaf13438 18:36:50 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:36:50 ---> Running in 5cb578556be9 18:36:50 Removing intermediate container 5cb578556be9 18:36:50 ---> 5ce66c535cdb 18:36:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:36:51 ---> Running in 23b6ef929cc1 18:36:51 Removing intermediate container 23b6ef929cc1 18:36:51 ---> 41bc1132451a 18:36:51 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:36:51 ---> Running in 02a68be6bb4e 18:36:51 Removing intermediate container 02a68be6bb4e 18:36:51 ---> 4edd495d6cb1 18:36:51 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:36:51 ---> Running in e2a4cca2f447 18:36:51 Removing intermediate container e2a4cca2f447 18:36:51 ---> 09e05cef6451 18:36:51 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:36:51 ---> Running in e26a5690e281 18:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:36:52 OK: 265 MiB in 53 packages 18:36:52 Removing intermediate container e26a5690e281 18:36:52 ---> f52a302cd84e 18:36:52 Step 9/26 : WORKDIR /device-onvif-camera 18:36:52 ---> Running in 67fd3bf12047 18:36:52 Removing intermediate container 67fd3bf12047 18:36:52 ---> e9b7bc396312 18:36:52 Step 10/26 : COPY go.mod vendor* ./ 18:36:52 ---> 27539808614c 18:36:52 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:36:52 ---> Running in e4204b7599db 18:36:53 Removing intermediate container e4204b7599db 18:36:53 ---> 46e4edc3a2ae 18:36:53 Step 12/26 : COPY . . 18:36:54 ---> f13df60c18b5 18:36:54 Step 13/26 : RUN ${MAKE} 18:36:54 ---> Running in c90bf602ae56 18:36:54 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 18:37:16 Removing intermediate container c90bf602ae56 18:37:16 ---> d28aca0bc1bc 18:37:16 Step 14/26 : FROM alpine:3.17 18:37:16 3.17: Pulling from library/alpine 18:37:16 63b65145d645: Already exists 18:37:16 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 18:37:16 Status: Downloaded newer image for alpine:3.17 18:37:16 ---> b2aa39c304c2 18:37:16 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:37:16 ---> Running in 47b53dadaaf2 18:37:17 Removing intermediate container 47b53dadaaf2 18:37:17 ---> 5fe73182823b 18:37:17 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:37:17 ---> Running in 9adab8d0293d 18:37:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:37:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:37:17 (1/1) Installing dumb-init (1.2.5-r2) 18:37:17 Executing busybox-1.35.0-r29.trigger 18:37:17 OK: 7 MiB in 16 packages 18:37:18 Removing intermediate container 9adab8d0293d 18:37:18 ---> 5dc892b3c500 18:37:18 Step 17/26 : WORKDIR / 18:37:18 ---> Running in 3b78fd62aaae 18:37:18 Removing intermediate container 3b78fd62aaae 18:37:18 ---> b1236b44b827 18:37:18 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:37:19 ---> 6d966a940d59 18:37:19 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:37:19 ---> 0927595b37f0 18:37:19 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:37:19 ---> d067969bc8b7 18:37:19 Step 21/26 : EXPOSE 59984 18:37:19 ---> Running in 6ff8a91ccca2 18:37:19 Removing intermediate container 6ff8a91ccca2 18:37:19 ---> e58ac08aed8d 18:37:19 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:37:19 ---> Running in f39f415cef1a 18:37:19 Removing intermediate container f39f415cef1a 18:37:19 ---> ea197a390b72 18:37:19 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:37:19 ---> Running in d942786b44c4 18:37:19 Removing intermediate container d942786b44c4 18:37:19 ---> 1d4c2c559fc9 18:37:19 Step 24/26 : LABEL arch=amd64 18:37:19 ---> Running in 32b1004fae22 18:37:19 Removing intermediate container 32b1004fae22 18:37:19 ---> c5aa1420f0e5 18:37:19 Step 25/26 : LABEL git_sha=b6009f0034aea0fd1533520d3d6e302997a27ed9 18:37:19 ---> Running in 33a7d5a4631d 18:37:19 Removing intermediate container 33a7d5a4631d 18:37:19 ---> df5b669bf18e 18:37:19 Step 26/26 : LABEL version=0.0.0 18:37:19 ---> Running in c73a7e7427db 18:37:19 Removing intermediate container c73a7e7427db 18:37:19 ---> cfd69b24b95e 18:37:19 [Warning] One or more build-args [ARCH] were not consumed 18:37:19 Successfully built cfd69b24b95e 18:37:19 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 18:37:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:20 18:37:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:20 latest: Pulling from edgex-lftools-log-publisher 18:37:20 5eb5b503b376: Pulling fs layer 18:37:20 5c69ac0246d0: Pulling fs layer 18:37:20 ec43610c2a17: Pulling fs layer 18:37:20 3a2ae6a8a46f: Pulling fs layer 18:37:20 33b1e0a273af: Pulling fs layer 18:37:20 5d3b04190fa2: Pulling fs layer 18:37:20 2f39f015ded8: Pulling fs layer 18:37:20 3a2ae6a8a46f: Waiting 18:37:20 33b1e0a273af: Waiting 18:37:20 5d3b04190fa2: Waiting 18:37:20 2f39f015ded8: Waiting 18:37:20 5c69ac0246d0: Verifying Checksum 18:37:20 5c69ac0246d0: Download complete 18:37:20 3a2ae6a8a46f: Verifying Checksum 18:37:20 3a2ae6a8a46f: Download complete 18:37:20 33b1e0a273af: Verifying Checksum 18:37:20 33b1e0a273af: Download complete 18:37:20 5d3b04190fa2: Verifying Checksum 18:37:20 5d3b04190fa2: Download complete 18:37:20 ec43610c2a17: Verifying Checksum 18:37:20 ec43610c2a17: Download complete 18:37:21 5eb5b503b376: Verifying Checksum 18:37:21 5eb5b503b376: Download complete 18:37:21 2f39f015ded8: Download complete 18:37:22 5eb5b503b376: Pull complete 18:37:22 5c69ac0246d0: Pull complete 18:37:22 ec43610c2a17: Pull complete 18:37:22 3a2ae6a8a46f: Pull complete 18:37:23 33b1e0a273af: Pull complete 18:37:23 5d3b04190fa2: Pull complete 18:37:27 2f39f015ded8: Pull complete 18:37:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:37:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:27 prd-ubuntu20.04-docker-8c-8g-2495 does not seem to be running inside a container 18:37:27 $ 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-271 -v /w/workspace/undry_device-onvif-camera_PR-271:/w/workspace/undry_device-onvif-camera_PR-271:rw,z -v /w/workspace/undry_device-onvif-camera_PR-271@tmp:/w/workspace/undry_device-onvif-camera_PR-271@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 18:37:30 $ docker top 8b5a3962274a8c5d65c7571c069a6bdd9c319d05d8272490c5c04027068acf3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:30 ---> job-cost.sh 18:37:30 lf-activate-venv: SKIPPING 18:37:30 INFO: No Stack... 18:37:31 INFO: Retrieving Pricing Info for: v3-standard-8 18:37:31 INFO: Archiving Costs [Pipeline] sh 18:37:31 + cat /w/workspace/undry_device-onvif-camera_PR-271/archives/cost.csv 18:37:31 + cut -d, -f6 [Pipeline] lock 18:37:31 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-271-2-stack-cost] 18:37:31 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-271-2-stack-cost] did not exist. Created. 18:37:31 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-271-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:37:31 + echo total: 0.2199999988079071 [Pipeline] stash 18:37:31 Stashed 1 file(s) [Pipeline] } 18:37:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-271-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:37:31 $ docker stop --time=1 8b5a3962274a8c5d65c7571c069a6bdd9c319d05d8272490c5c04027068acf3b 18:37:33 $ docker rm -f --volumes 8b5a3962274a8c5d65c7571c069a6bdd9c319d05d8272490c5c04027068acf3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:38:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2496 in /w/workspace/undry_device-onvif-camera_PR-271 [Pipeline] { [Pipeline] ws 18:38:46 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 18:38:46 The recommended git tool is: git 18:38:54 using credential edgex-jenkins-ssh 18:38:54 Cloning the remote Git repository 18:38:54 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:38:54 > git init /w/workspace/device-onvif-camera/2 # timeout=10 18:38:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:38:54 > git --version # timeout=10 18:38:54 > git --version # 'git version 2.25.1' 18:38:54 using GIT_SSH to set credentials SSH Credentials for GitHub 18:38:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:38:58 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:38:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:38:59 Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit b6009f0034aea0fd1533520d3d6e302997a27ed9 18:38:59 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:38:59 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:38:59 using GIT_SSH to set credentials SSH Credentials for GitHub 18:38:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:38:59 > git config core.sparsecheckout # timeout=10 18:39:00 > git checkout -f b6009f0034aea0fd1533520d3d6e302997a27ed9 # timeout=10 18:39:00 > git remote # timeout=10 18:39:00 > git config --get remote.origin.url # timeout=10 18:39:00 using GIT_SSH to set credentials SSH Credentials for GitHub 18:39:00 > git merge b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 18:39:00 Merge succeeded, producing b6009f0034aea0fd1533520d3d6e302997a27ed9 18:39:00 Checking out Revision b6009f0034aea0fd1533520d3d6e302997a27ed9 (PR-271) 18:39:00 > git rev-parse HEAD^{commit} # timeout=10 18:39:00 > git config core.sparsecheckout # timeout=10 18:39:00 > git checkout -f b6009f0034aea0fd1533520d3d6e302997a27ed9 # timeout=10 18:39:04 Commit message: "docs: add warning to main branch and link to levski" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:39:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:39:05 % Total % Received % Xferd Average Speed Time Time Time Current 18:39:05 Dload Upload Total Spent Left Speed 18:39:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 18:39:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:39:06 + sudo tee /etc/docker/daemon.new 18:39:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:39:06 { 18:39:06 "registry-mirrors": [ 18:39:06 "https://nexus3.edgexfoundry.org:10001" 18:39:06 ], 18:39:06 "bip": "10.250.0.254/24", 18:39:06 "hosts": [ 18:39:06 "tcp://0.0.0.0:5555", 18:39:06 "unix:///var/run/docker.sock" 18:39:06 ], 18:39:06 "mtu": 1458, 18:39:06 "selinux-enabled": true, 18:39:06 "seccomp-profile": "/etc/docker/seccomp.json" 18:39:06 } [Pipeline] sh 18:39:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:39:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:39:25 provisioning config files... 18:39:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config10696406341593276379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:39:26 ---> docker-login.sh 18:39:26 nexus3.edgexfoundry.org:10001 18:39:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:26 Configure a credential helper to remove this warning. See 18:39:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:26 18:39:26 Login Succeeded 18:39:26 nexus3.edgexfoundry.org:10002 18:39:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:27 Configure a credential helper to remove this warning. See 18:39:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:27 18:39:27 Login Succeeded 18:39:27 nexus3.edgexfoundry.org:10003 18:39:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:27 Configure a credential helper to remove this warning. See 18:39:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:27 18:39:27 Login Succeeded 18:39:27 nexus3.edgexfoundry.org:10004 18:39:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:27 Configure a credential helper to remove this warning. See 18:39:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:27 18:39:27 Login Succeeded 18:39:27 docker.io 18:39:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:28 Configure a credential helper to remove this warning. See 18:39:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:28 18:39:28 Login Succeeded 18:39:28 ---> docker-login.sh ends [Pipeline] } 18:39:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:39:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:39:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:39:28 ========================================================= 18:39:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:39:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:39:29 Sending build context to Docker daemon 20.63MB 18:39:29 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:39:29 Step 2/13 : FROM ${BASE} AS builder 18:39:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:39:29 af6eaf76a39c: Pulling fs layer 18:39:29 55522c791124: Pulling fs layer 18:39:29 ce5c4a1c91eb: Pulling fs layer 18:39:29 169dfbe0d373: Pulling fs layer 18:39:29 e1ff8fa3b103: Pulling fs layer 18:39:29 52ebb69f0ebf: Pulling fs layer 18:39:29 5abe8eddf0d5: Pulling fs layer 18:39:29 169dfbe0d373: Waiting 18:39:29 e1ff8fa3b103: Waiting 18:39:29 52ebb69f0ebf: Waiting 18:39:29 5abe8eddf0d5: Waiting 18:39:29 55522c791124: Verifying Checksum 18:39:29 55522c791124: Download complete 18:39:29 169dfbe0d373: Verifying Checksum 18:39:29 169dfbe0d373: Download complete 18:39:29 e1ff8fa3b103: Verifying Checksum 18:39:29 e1ff8fa3b103: Download complete 18:39:29 af6eaf76a39c: Verifying Checksum 18:39:29 af6eaf76a39c: Download complete 18:39:31 af6eaf76a39c: Pull complete 18:39:31 5abe8eddf0d5: Verifying Checksum 18:39:31 5abe8eddf0d5: Download complete 18:39:31 55522c791124: Pull complete 18:39:32 ce5c4a1c91eb: Verifying Checksum 18:39:32 ce5c4a1c91eb: Download complete 18:39:32 52ebb69f0ebf: Verifying Checksum 18:39:44 ce5c4a1c91eb: Pull complete 18:39:44 169dfbe0d373: Pull complete 18:39:44 e1ff8fa3b103: Pull complete 18:39:50 52ebb69f0ebf: Pull complete 18:39:52 5abe8eddf0d5: Pull complete 18:39:52 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 18:39:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:39:52 ---> 6cb57ee374ae 18:39:52 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:39:54 ---> Running in 8deabd517a01 18:39:54 Removing intermediate container 8deabd517a01 18:39:54 ---> 41f5335e7be7 18:39:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:39:54 ---> Running in dad72396be5c 18:39:54 Removing intermediate container dad72396be5c 18:39:54 ---> 10c1d84a8251 18:39:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:39:54 ---> Running in f03c43a2f6a7 18:39:54 Removing intermediate container f03c43a2f6a7 18:39:54 ---> dcf59ad7ded5 18:39:54 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:39:54 ---> Running in 4bad8e984017 18:39:55 Removing intermediate container 4bad8e984017 18:39:55 ---> 0e618408f42d 18:39:55 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:39:55 ---> Running in ea8fcc42aab7 18:39:55 Removing intermediate container ea8fcc42aab7 18:39:55 ---> b6fdff843783 18:39:55 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:55 ---> Running in 31b30e89fd8a 18:39:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:39:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:39:58 OK: 263 MiB in 53 packages 18:40:00 Removing intermediate container 31b30e89fd8a 18:40:00 ---> 697e51b471c3 18:40:00 Step 9/13 : WORKDIR /device-onvif-camera 18:40:00 ---> Running in 6f9313ea3ff6 18:40:00 Removing intermediate container 6f9313ea3ff6 18:40:00 ---> 3dd1aef3c359 18:40:00 Step 10/13 : COPY go.mod vendor* ./ 18:40:01 ---> da61b6662894 18:40:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:40:01 ---> Running in b3b25ad2a012 18:41:09 Removing intermediate container b3b25ad2a012 18:41:09 ---> 23172682275c 18:41:09 Step 12/13 : COPY . . 18:41:09 ---> 9248f5dfba8d 18:41:09 Step 13/13 : RUN ${MAKE} 18:41:09 ---> Running in be2189879877 18:41:09 noop 18:41:09 Removing intermediate container be2189879877 18:41:09 ---> 85c3af9c9fa3 18:41:09 Successfully built 85c3af9c9fa3 18:41:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:09 + docker inspect -f . ci-base-image-arm64 18:41:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:09 prd-ubuntu20.04-docker-arm64-4c-16g-2496 does not seem to be running inside a container 18:41:09 $ 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 ******** ci-base-image-arm64 cat 18:41:11 $ docker top f4d7c2859ae582d1156fc2b53806a87c1e6483158a29bb77913e5cc25408a68e -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:11 + go version 18:41:11 go version go1.20.2 linux/arm64 [Pipeline] } 18:41:11 $ docker stop --time=1 f4d7c2859ae582d1156fc2b53806a87c1e6483158a29bb77913e5cc25408a68e 18:41:13 $ docker rm -f --volumes f4d7c2859ae582d1156fc2b53806a87c1e6483158a29bb77913e5cc25408a68e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:14 + docker inspect -f . ci-base-image-arm64 18:41:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:14 prd-ubuntu20.04-docker-arm64-4c-16g-2496 does not seem to be running inside a container 18:41:14 $ 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 ******** ci-base-image-arm64 cat 18:41:16 $ docker top 88cc4155faf64382cfd4cfed98d3cbdb3d0ce51cf4d389955da354befe39989f -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:17 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 18:41:17 + make test 18:41:17 go test ./... -coverprofile=coverage.out ./... 18:41:50 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:44:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:44:14 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:44:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.218s coverage: 30.5% of statements 18:44:43 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.482s coverage: 86.5% of statements 18:44:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:44:43 go vet ./... 18:45:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:45:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:45:10 ./bin/test-attribution-txt.sh [Pipeline] echo 18:45:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:45:10 $ docker stop --time=1 88cc4155faf64382cfd4cfed98d3cbdb3d0ce51cf4d389955da354befe39989f 18:45:12 $ docker rm -f --volumes 88cc4155faf64382cfd4cfed98d3cbdb3d0ce51cf4d389955da354befe39989f [Pipeline] // withDockerContainer [Pipeline] sh 18:45:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:45:13 Warning: overwriting stash ‘coverage-report’ 18:45:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:45:14 + ls -al . 18:45:14 total 228 18:45:14 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 18:41 . 18:45:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 18:38 .. 18:45:14 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 18:39 .git 18:45:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 18:39 .github 18:45:14 -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 18:39 .gitignore 18:45:14 -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 18:39 .golangci.yml 18:45:14 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 16 18:39 Attribution.txt 18:45:14 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 18:39 CHANGELOG.md 18:45:14 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 16 18:39 Dockerfile 18:45:14 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 18:39 GOVERNANCE.md 18:45:14 -rw-rw-r-- 1 jenkins jenkins 734 Mar 16 18:39 Jenkinsfile 18:45:14 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 18:39 LICENSE 18:45:14 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 16 18:39 Makefile 18:45:14 -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 18:39 OWNERS.md 18:45:14 -rw-rw-r-- 1 jenkins jenkins 6346 Mar 16 18:39 README.md 18:45:14 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 18:35 VERSION 18:45:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 18:39 bin 18:45:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 18:39 cmd 18:45:14 -rw-r--r-- 1 jenkins jenkins 76650 Mar 16 18:44 coverage.out 18:45:14 drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 18:39 doc 18:45:14 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 16 18:39 go.mod 18:45:14 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 16 18:39 go.sum 18:45:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 18:39 internal 18:45:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 18:39 snap 18:45:14 -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 18:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:15 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b6009f0034aea0fd1533520d3d6e302997a27ed9 --label arch=arm64 --label version=0.0.0 . 18:45:15 Sending build context to Docker daemon 20.71MB 18:45:15 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:45:15 Step 2/26 : FROM ${BASE} AS builder 18:45:15 ---> 85c3af9c9fa3 18:45:15 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:45:15 ---> Running in 39c92b30cb40 18:45:16 Removing intermediate container 39c92b30cb40 18:45:16 ---> b75499579e2a 18:45:16 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:45:16 ---> Running in 1cf2bdd50d09 18:45:16 Removing intermediate container 1cf2bdd50d09 18:45:16 ---> 68703f25086b 18:45:16 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:45:16 ---> Running in b287a334a88f 18:45:16 Removing intermediate container b287a334a88f 18:45:16 ---> d63e6a5ab541 18:45:16 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:45:16 ---> Running in b8b365181874 18:45:17 Removing intermediate container b8b365181874 18:45:17 ---> f0096c9a8498 18:45:17 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:45:17 ---> Running in cbc40bdb5f6f 18:45:17 Removing intermediate container cbc40bdb5f6f 18:45:17 ---> cdbea649d5c2 18:45:17 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:45:17 ---> Running in 2c57e0597ea4 18:45:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:45:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:45:21 OK: 263 MiB in 53 packages 18:45:23 Removing intermediate container 2c57e0597ea4 18:45:23 ---> c4db0178a161 18:45:23 Step 9/26 : WORKDIR /device-onvif-camera 18:45:23 ---> Running in f8849cfa7123 18:45:23 Removing intermediate container f8849cfa7123 18:45:23 ---> 12381545c34c 18:45:23 Step 10/26 : COPY go.mod vendor* ./ 18:45:24 ---> b96bcc50b882 18:45:24 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:45:24 ---> Running in 651cabca4db8 18:45:26 Removing intermediate container 651cabca4db8 18:45:26 ---> 4d96fa1bef03 18:45:26 Step 12/26 : COPY . . 18:45:28 ---> 09f78cb3ebe9 18:45:28 Step 13/26 : RUN ${MAKE} 18:45:28 ---> Running in a62d04066c93 18:45:29 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 18:47:50 Removing intermediate container a62d04066c93 18:47:50 ---> 976a1b661b0a 18:47:50 Step 14/26 : FROM alpine:3.17 18:47:50 3.17: Pulling from library/alpine 18:47:50 af6eaf76a39c: Already exists 18:47:50 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 18:47:50 Status: Downloaded newer image for alpine:3.17 18:47:50 ---> d74e625d9115 18:47:50 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:47:50 ---> Running in 2717b1e8ba40 18:47:50 Removing intermediate container 2717b1e8ba40 18:47:50 ---> 5d79c1697d88 18:47:50 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:47:50 ---> Running in b2b845348712 18:47:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:47:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:47:50 (1/1) Installing dumb-init (1.2.5-r2) 18:47:50 Executing busybox-1.35.0-r29.trigger 18:47:50 OK: 8 MiB in 16 packages 18:47:50 Removing intermediate container b2b845348712 18:47:50 ---> 50196de232e1 18:47:50 Step 17/26 : WORKDIR / 18:47:50 ---> Running in 7a7111f4cf6b 18:47:50 Removing intermediate container 7a7111f4cf6b 18:47:50 ---> 23faa6ed5690 18:47:50 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:47:50 ---> a7d3d8928f53 18:47:50 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:47:50 ---> 8484371879d3 18:47:50 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:47:50 ---> e3d6fe9954da 18:47:50 Step 21/26 : EXPOSE 59984 18:47:51 ---> Running in 82ffd3a7ad28 18:47:51 Removing intermediate container 82ffd3a7ad28 18:47:51 ---> cd8e59bea486 18:47:51 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:47:51 ---> Running in 4a73a54e3be8 18:47:51 Removing intermediate container 4a73a54e3be8 18:47:51 ---> 9db3893edba7 18:47:51 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:47:51 ---> Running in a5cf4fe654ee 18:47:52 Removing intermediate container a5cf4fe654ee 18:47:52 ---> 2012e0df0994 18:47:52 Step 24/26 : LABEL arch=arm64 18:47:52 ---> Running in aaa07a022628 18:47:52 Removing intermediate container aaa07a022628 18:47:52 ---> 424983f152eb 18:47:52 Step 25/26 : LABEL git_sha=b6009f0034aea0fd1533520d3d6e302997a27ed9 18:47:52 ---> Running in 5a98b7f64fb1 18:47:52 Removing intermediate container 5a98b7f64fb1 18:47:52 ---> 330381b66e3c 18:47:52 Step 26/26 : LABEL version=0.0.0 18:47:52 ---> Running in 0c77e9730aa6 18:47:53 Removing intermediate container 0c77e9730aa6 18:47:53 ---> b089b0dd801b 18:47:53 [Warning] One or more build-args [ARCH] were not consumed 18:47:53 Successfully built b089b0dd801b 18:47:53 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 18:47:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:47:53 18:47:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:47:53 arm64: Pulling from edgex-lftools-log-publisher 18:47:53 8998bd30e6a1: Pulling fs layer 18:47:53 04944245beec: Pulling fs layer 18:47:53 699f458cf7ca: Pulling fs layer 18:47:53 765212b225bb: Pulling fs layer 18:47:53 f23df028b6ca: Pulling fs layer 18:47:53 d65c8cfc05b1: Pulling fs layer 18:47:53 2437ff75d9bd: Pulling fs layer 18:47:53 765212b225bb: Waiting 18:47:53 f23df028b6ca: Waiting 18:47:53 d65c8cfc05b1: Waiting 18:47:53 2437ff75d9bd: Waiting 18:47:54 04944245beec: Verifying Checksum 18:47:54 04944245beec: Download complete 18:47:54 765212b225bb: Verifying Checksum 18:47:54 765212b225bb: Download complete 18:47:54 f23df028b6ca: Verifying Checksum 18:47:54 f23df028b6ca: Download complete 18:47:54 d65c8cfc05b1: Verifying Checksum 18:47:54 d65c8cfc05b1: Download complete 18:47:54 699f458cf7ca: Verifying Checksum 18:47:54 699f458cf7ca: Download complete 18:47:54 8998bd30e6a1: Verifying Checksum 18:47:54 8998bd30e6a1: Download complete 18:47:56 2437ff75d9bd: Verifying Checksum 18:47:56 2437ff75d9bd: Download complete 18:47:58 8998bd30e6a1: Pull complete 18:47:58 04944245beec: Pull complete 18:48:01 699f458cf7ca: Pull complete 18:48:02 765212b225bb: Pull complete 18:48:03 f23df028b6ca: Pull complete 18:48:03 d65c8cfc05b1: Pull complete 18:48:18 2437ff75d9bd: Pull complete 18:48:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:48:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:48:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:18 prd-ubuntu20.04-docker-arm64-4c-16g-2496 does not seem to be running inside a container 18:48:18 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:48:20 $ docker top de63d4ecda698028f8bce770b42b345722e7c61fdd21c43d6b57133f6678c453 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:21 ---> job-cost.sh 18:48:21 lf-activate-venv: SKIPPING 18:48:21 INFO: No Stack... 18:48:21 INFO: Retrieving Pricing Info for: v3-standard-4 18:48:22 INFO: Archiving Costs [Pipeline] sh 18:48:23 + cut -d, -f6 18:48:23 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock 18:48:23 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-271-2-stack-cost] 18:48:23 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-271-2-stack-cost] did not exist. Created. 18:48:23 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-271-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:48:23 /w/workspace/device-onvif-camera/2@tmp/durable-3a9d8f3a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:48:24 + echo total: 0.10999999940395355 [Pipeline] stash 18:48:24 Warning: overwriting stash ‘stack-cost’ 18:48:24 Stashed 1 file(s) [Pipeline] } 18:48:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-271-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:48:24 $ docker stop --time=1 de63d4ecda698028f8bce770b42b345722e7c61fdd21c43d6b57133f6678c453 18:48:25 $ docker rm -f --volumes de63d4ecda698028f8bce770b42b345722e7c61fdd21c43d6b57133f6678c453 [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 18:48:26 provisioning config files... 18:48:26 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-271@tmp/config14265237975112233982tmp [Pipeline] { [Pipeline] sh 18:48:26 + set +x 18:48:26 + curl -s https://codecov.io/bash 18:48:26 + bash -s -- 18:48:26 18:48:26 _____ _ 18:48:26 / ____| | | 18:48:26 | | ___ __| | ___ ___ _____ __ 18:48:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:48:26 | |___| (_) | (_| | __/ (_| (_) \ V / 18:48:26 \_____\___/ \__,_|\___|\___\___/ \_/ 18:48:26 Bash-1.0.6 18:48:26 18:48:26 18:48:26 ==> git version 2.25.1 found 18:48:26 ==> 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 18:48:26 Release-Date: 2020-01-08 18:48:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:48:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:48:26 ==> Jenkins CI detected. 18:48:26 current dir:  /w/workspace/undry_device-onvif-camera_PR-271 18:48:26 project root: . 18:48:26 --> token set from env 18:48:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:48:26 ==> Running gcov in . (disable via -X gcov) 18:48:26 ==> Python coveragepy not found 18:48:26 ==> Searching for coverage reports in: 18:48:26 + . 18:48:26 -> Found 1 reports 18:48:26 ==> Detecting git/mercurial file structure 18:48:26 ==> Reading reports 18:48:26 + ./coverage.out bytes=76650 18:48:26 ==> Appending adjustments 18:48:26 https://docs.codecov.io/docs/fixing-reports 18:48:26 + Found adjustments 18:48:26 ==> Gzipping contents 18:48:26 12K /tmp/codecov.vJkkP7.gz 18:48:26 ==> Uploading reports 18:48:26 url: https://codecov.io 18:48:26 query: branch=PR-271&commit=b6009f0034aea0fd1533520d3d6e302997a27ed9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-271%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=271&job=&cmd_args= 18:48:26 -> Pinging Codecov 18:48:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-271&commit=b6009f0034aea0fd1533520d3d6e302997a27ed9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-271%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=271&job=&cmd_args= 18:48:27 -> Uploading to 18:48:27 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/F29A59C45E3A92E06B3E522C9905F8EF/b6009f0034aea0fd1533520d3d6e302997a27ed9/4a659cb7-3cfe-46c7-a8be-3d224e27664a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T184826Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9398dad02153057b6a682469a7db28c28a7dc36dfa8230c14e61b4af9576ba67 18:48:27 % Total % Received % Xferd Average Speed Time Time Time Current 18:48:27 Dload Upload Total Spent Left Speed 18:48:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10354 0 0 100 10354 0 37788 --:--:-- --:--:-- --:--:-- 37788 18:48:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b6009f0034aea0fd1533520d3d6e302997a27ed9 [Pipeline] } 18:48:27 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 18:48:28 + [ -d /w/workspace/undry_device-onvif-camera_PR-271/archives ] 18:48:28 + ls -al /w/workspace/undry_device-onvif-camera_PR-271/archives 18:48:28 total 16 18:48:28 drwxr-xr-x 3 root root 4096 Mar 16 18:37 . 18:48:28 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 18:37 .. 18:48:28 drwxr-xr-x 2 root root 4096 Mar 16 18:37 cost 18:48:28 -rw-r--r-- 1 root root 91 Mar 16 18:37 cost.csv 18:48:28 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-271/archives 18:48:28 + ls -al /w/workspace/undry_device-onvif-camera_PR-271/archives 18:48:28 total 16 18:48:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 18:37 . 18:48:28 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 18:37 .. 18:48:28 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 18:37 cost 18:48:28 -rw-r--r-- 1 jenkins jenkins 91 Mar 16 18:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:48:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:48:29 ---> package-listing.sh 18:48:29 ++ facter osfamily 18:48:29 ++ tr '[:upper:]' '[:lower:]' 18:48:29 + OS_FAMILY=debian 18:48:29 + workspace=/w/workspace/undry_device-onvif-camera_PR-271 18:48:29 + START_PACKAGES=/tmp/packages_start.txt 18:48:29 + END_PACKAGES=/tmp/packages_end.txt 18:48:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:48:29 + PACKAGES=/tmp/packages_start.txt 18:48:29 + '[' /w/workspace/undry_device-onvif-camera_PR-271 ']' 18:48:29 + PACKAGES=/tmp/packages_end.txt 18:48:29 + case "${OS_FAMILY}" in 18:48:29 + dpkg -l 18:48:29 + grep '^ii' 18:48:29 + '[' -f /tmp/packages_start.txt ']' 18:48:29 + '[' -f /tmp/packages_end.txt ']' 18:48:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:48:29 + '[' /w/workspace/undry_device-onvif-camera_PR-271 ']' 18:48:29 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-271/archives/ 18:48:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-271/archives/ [Pipeline] echo 18:48:29 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-271/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:48:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:30 prd-ubuntu20.04-docker-8c-8g-2495 does not seem to be running inside a container 18:48:30 $ 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-271/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-271 -v /w/workspace/undry_device-onvif-camera_PR-271:/w/workspace/undry_device-onvif-camera_PR-271:rw,z -v /w/workspace/undry_device-onvif-camera_PR-271@tmp:/w/workspace/undry_device-onvif-camera_PR-271@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 18:48:30 $ docker top 9f2d9c7caf7415cc6f9b1376da8311218e070cf63b0f86e1126e52ee0b4af737 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:30 + touch /tmp/pre-build-complete [Pipeline] sh 18:48:31 + mkdir -p /var/log/sysstat [Pipeline] sh 18:48:31 + ls /var/log/sa-host 18:48:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:31 provisioning config files... 18:48:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-271@tmp/config15279892572381224488tmp [Pipeline] { [Pipeline] echo 18:48:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:48:31 ---> create-netrc.sh [Pipeline] } 18:48:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:48:32 ---> python-tools-install.sh [Pipeline] echo 18:48:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:48:32 ---> sudo-logs.sh 18:48:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:48:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:48:32 ---> job-cost.sh 18:48:32 lf-activate-venv: SKIPPING 18:48:32 DEBUG: total: 0.2199999988079071 18:48:32 INFO: Retrieving Stack Cost... 18:48:33 INFO: Retrieving Pricing Info for: v3-standard-8 18:48:33 INFO: Archiving Costs [Pipeline] echo 18:48:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:48:33 ---> logs-deploy.sh 18:48:33 lf-activate-venv: SKIPPING 18:48:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-271/2 18:48:33 INFO: archiving workspace using pattern(s): 18:48:34 Archives upload complete. 18:48:34 INFO: archiving logs to Nexus