Pull request #281 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at e03c6e991c633265ca57616196638541aa716f8b rather than f49edfa9d37b9172a55cd81482f3a90d49206cae Obtained Jenkinsfile from e03c6e991c633265ca57616196638541aa716f8b Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7871189923181034090.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-ssh3668482482174694330.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15210895526435700155.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-ssh3695464076732918153.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-281/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-281/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5348824466282594130.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-6113 in /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-281 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit f49edfa9d37b9172a55cd81482f3a90d49206cae Merge succeeded, producing e6f1a57e5246a8f692e40f5acc9f870f848dab3b Checking out Revision e6f1a57e5246a8f692e40f5acc9f870f848dab3b (PR-281) > git config core.sparsecheckout # timeout=10 > git checkout -f f49edfa9d37b9172a55cd81482f3a90d49206cae # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e03c6e991c633265ca57616196638541aa716f8b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6f1a57e5246a8f692e40f5acc9f870f848dab3b # timeout=10 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk a3516c550a1c06445d21a709e6fa1a569b60ba02 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:22:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:22:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:22:41 ========================================================= 20:22:41 EdgeX Global Pipelines Version Info 20:22:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:22:42 ------------------- 20:22:42 stable info: 20:22:42 ------------------- 20:22:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:22:42 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:22:42 Message: update stable to v1.0.245 20:22:42 ------------------- 20:22:42 experimental info: 20:22:42 ------------------- 20:22:42 Commited By: **** collab-it+edgex@linuxfoundation.org 20:22:42 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 20:22:42 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:22:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6f1a57e5246a8f692e40f5acc9f870f848dab3b [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6f1a57 [Pipeline] echo 20:22:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:22:43 provisioning config files... 20:22:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config17410575963927589401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:22:43 ---> docker-login.sh 20:22:43 nexus3.edgexfoundry.org:10001 20:22:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:43 Configure a credential helper to remove this warning. See 20:22:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:43 20:22:43 Login Succeeded 20:22:43 nexus3.edgexfoundry.org:10002 20:22:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:43 Configure a credential helper to remove this warning. See 20:22:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:43 20:22:43 Login Succeeded 20:22:43 nexus3.edgexfoundry.org:10003 20:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:44 Configure a credential helper to remove this warning. See 20:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:44 20:22:44 Login Succeeded 20:22:44 nexus3.edgexfoundry.org:10004 20:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:44 Configure a credential helper to remove this warning. See 20:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:44 20:22:44 Login Succeeded 20:22:44 docker.io 20:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:44 Configure a credential helper to remove this warning. See 20:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:44 20:22:44 Login Succeeded 20:22:44 ---> docker-login.sh ends [Pipeline] } 20:22:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:22:44 + git rev-list -1 --merges e6f1a57e5246a8f692e40f5acc9f870f848dab3b~1..e6f1a57e5246a8f692e40f5acc9f870f848dab3b [Pipeline] echo 20:22:44 -----------> git rev-list -1 --merges e6f1a57e5246a8f692e40f5acc9f870f848dab3b~1..e6f1a57e5246a8f692e40f5acc9f870f848dab3b e6f1a57e5246a8f692e40f5acc9f870f848dab3b 20:22:44 e6f1a57e5246a8f692e40f5acc9f870f848dab3b [false] [Pipeline] sh 20:22:45 + git log --format=format:%s -1 e6f1a57e5246a8f692e40f5acc9f870f848dab3b [Pipeline] echo 20:22:45 ========================================================= 20:22:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:22:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:22:45 + git log --format=format:%s -1 e6f1a57e5246a8f692e40f5acc9f870f848dab3b [Pipeline] echo 20:22:45 [semverPrep] GIT_COMMIT: e6f1a57e5246a8f692e40f5acc9f870f848dab3b, Commit Message: Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD [Pipeline] echo 20:22:45 [semverPrep] This is not a build commit. [Pipeline] sh 20:22:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:22:45 + grep -v github /etc/ssh/ssh_known_hosts 20:22:45 + [ -e /tmp/ssh_known_hosts ] 20:22:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:22:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:22:45 + sudo tee -a /etc/ssh/ssh_known_hosts 20:22:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:22:46 20:22:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:22:46 0.1.4: Pulling from edgex-devops/py-git-semver 20:22:46 b85a868b505f: Pulling fs layer 20:22:46 e2be974225ed: Pulling fs layer 20:22:46 339a4e72a1f5: Pulling fs layer 20:22:46 988bab9f4d93: Pulling fs layer 20:22:46 1469e6f7b9e6: Pulling fs layer 20:22:46 eaf3925da568: Pulling fs layer 20:22:46 bab4dde63d76: Pulling fs layer 20:22:46 bde34c3a00c8: Pulling fs layer 20:22:46 b352a97aabf1: Pulling fs layer 20:22:46 4872d77fe225: Pulling fs layer 20:22:46 5851b861e8e6: Pulling fs layer 20:22:46 988bab9f4d93: Waiting 20:22:46 1469e6f7b9e6: Waiting 20:22:46 bab4dde63d76: Waiting 20:22:46 bde34c3a00c8: Waiting 20:22:46 eaf3925da568: Waiting 20:22:46 4872d77fe225: Waiting 20:22:46 5851b861e8e6: Waiting 20:22:46 e2be974225ed: Download complete 20:22:46 988bab9f4d93: Verifying Checksum 20:22:46 988bab9f4d93: Download complete 20:22:46 1469e6f7b9e6: Verifying Checksum 20:22:46 1469e6f7b9e6: Download complete 20:22:46 339a4e72a1f5: Verifying Checksum 20:22:46 339a4e72a1f5: Download complete 20:22:46 eaf3925da568: Verifying Checksum 20:22:46 eaf3925da568: Download complete 20:22:46 bde34c3a00c8: Verifying Checksum 20:22:46 bde34c3a00c8: Download complete 20:22:46 b352a97aabf1: Verifying Checksum 20:22:46 b352a97aabf1: Download complete 20:22:46 4872d77fe225: Verifying Checksum 20:22:46 4872d77fe225: Download complete 20:22:46 5851b861e8e6: Verifying Checksum 20:22:46 5851b861e8e6: Download complete 20:22:46 b85a868b505f: Verifying Checksum 20:22:46 b85a868b505f: Download complete 20:22:46 bab4dde63d76: Verifying Checksum 20:22:46 bab4dde63d76: Download complete 20:22:47 b85a868b505f: Pull complete 20:22:47 e2be974225ed: Pull complete 20:22:48 339a4e72a1f5: Pull complete 20:22:48 988bab9f4d93: Pull complete 20:22:48 1469e6f7b9e6: Pull complete 20:22:48 eaf3925da568: Pull complete 20:22:50 bab4dde63d76: Pull complete 20:22:50 bde34c3a00c8: Pull complete 20:22:50 b352a97aabf1: Pull complete 20:22:50 4872d77fe225: Pull complete 20:22:50 5851b861e8e6: Pull complete 20:22:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:22:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:22:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:50 prd-ubuntu20.04-docker-8c-8g-6113 does not seem to be running inside a container 20:22:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:22:52 $ docker top ca9820bc5643f7dbc218ea37dd3675e27b6228ffdde68f93a8fb6d28928236c2 -eo pid,comm 20:22:52 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). 20:22:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:22:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:22:52 [ssh-agent] Looking for ssh-agent implementation... 20:22:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:22:52 $ docker exec ca9820bc5643f7dbc218ea37dd3675e27b6228ffdde68f93a8fb6d28928236c2 ssh-agent 20:22:52 SSH_AUTH_SOCK=/tmp/ssh-d6Xi1rcGSt0n/agent.31 20:22:52 SSH_AGENT_PID=37 20:22:52 Running ssh-add (command line suppressed) 20:22:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_16367026860174019342.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_16367026860174019342.key) 20:22:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:22:52 + git tag --points-at HEAD [Pipeline] } 20:22:52 $ docker exec --env ******** --env ******** ca9820bc5643f7dbc218ea37dd3675e27b6228ffdde68f93a8fb6d28928236c2 ssh-agent -k 20:22:53 unset SSH_AUTH_SOCK; 20:22:53 unset SSH_AGENT_PID; 20:22:53 echo Agent pid 37 killed; 20:22:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:22:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:22:53 [ssh-agent] Looking for ssh-agent implementation... 20:22:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:22:53 $ docker exec ca9820bc5643f7dbc218ea37dd3675e27b6228ffdde68f93a8fb6d28928236c2 ssh-agent 20:22:53 SSH_AUTH_SOCK=/tmp/ssh-cyvOmRt4glAE/agent.70 20:22:53 SSH_AGENT_PID=76 20:22:53 Running ssh-add (command line suppressed) 20:22:53 Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_2607935270130351764.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_2607935270130351764.key) 20:22:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:22:53 + git semver init 20:22:53 2023-03-28 20:22:53,888 [run_init] DEBUG init version:0.0.0 force:False 20:22:53 2023-03-28 20:22:53,889 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-281/.semver 20:22:53 2023-03-28 20:22:53,889 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-281/.semver 20:22:53 2023-03-28 20:22:53,889 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-281/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-281, universal_newlines=False, shell=None, istream=None) 20:22:54 2023-03-28 20:22:54,763 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-281/.git/info/exclude 20:22:54 2023-03-28 20:22:54,764 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 with force:False 20:22:54 2023-03-28 20:22:54,764 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 20:22:54 2023-03-28 20:22:54,768 [execute] INFO git cat-file --batch-check 20:22:54 2023-03-28 20:22:54,768 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) 20:22:54 2023-03-28 20:22:54,773 [execute] INFO git cat-file --batch 20:22:54 2023-03-28 20:22:54,773 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) 20:22:54 2023-03-28 20:22:54,778 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 20:22:54 0.0.0 [Pipeline] } 20:22:54 $ docker exec --env ******** --env ******** ca9820bc5643f7dbc218ea37dd3675e27b6228ffdde68f93a8fb6d28928236c2 ssh-agent -k 20:22:55 unset SSH_AUTH_SOCK; 20:22:55 unset SSH_AGENT_PID; 20:22:55 echo Agent pid 76 killed; 20:22:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:22:55 + git semver [Pipeline] } 20:22:55 $ docker stop --time=1 ca9820bc5643f7dbc218ea37dd3675e27b6228ffdde68f93a8fb6d28928236c2 20:22:56 $ docker rm -f --volumes ca9820bc5643f7dbc218ea37dd3675e27b6228ffdde68f93a8fb6d28928236c2 [Pipeline] // withDockerContainer [Pipeline] sh 20:22:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:22:57 Stashed 1 file(s) [Pipeline] echo 20:22:57 [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 20:22:57 provisioning config files... 20:22:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config10985655420460595041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:22:57 ---> docker-login.sh 20:22:57 nexus3.edgexfoundry.org:10001 20:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:57 Configure a credential helper to remove this warning. See 20:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:57 20:22:57 Login Succeeded 20:22:57 nexus3.edgexfoundry.org:10002 20:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:57 Configure a credential helper to remove this warning. See 20:22:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:57 20:22:57 Login Succeeded 20:22:57 nexus3.edgexfoundry.org:10003 20:22:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:58 Configure a credential helper to remove this warning. See 20:22:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:58 20:22:58 Login Succeeded 20:22:58 nexus3.edgexfoundry.org:10004 20:22:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:58 Configure a credential helper to remove this warning. See 20:22:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:58 20:22:58 Login Succeeded 20:22:58 docker.io 20:22:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:58 Configure a credential helper to remove this warning. See 20:22:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:58 20:22:58 Login Succeeded 20:22:58 ---> docker-login.sh ends [Pipeline] } 20:22:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:22:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:22:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:22:58 ========================================================= 20:22:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:22:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:58 + 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 . 20:22:58 Sending build context to Docker daemon 27.27MB 20:22:58 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:22:58 Step 2/13 : FROM ${BASE} AS builder 20:22:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:22:59 63b65145d645: Pulling fs layer 20:22:59 a2d21d5440eb: Pulling fs layer 20:22:59 935e6c44a52c: Pulling fs layer 20:22:59 94cc34f8dd06: Pulling fs layer 20:22:59 30dea6a524f1: Pulling fs layer 20:22:59 a2aff8979fd8: Pulling fs layer 20:22:59 6808be2612f2: Pulling fs layer 20:22:59 f25807f1079a: Pulling fs layer 20:22:59 94cc34f8dd06: Waiting 20:22:59 30dea6a524f1: Waiting 20:22:59 a2aff8979fd8: Waiting 20:22:59 6808be2612f2: Waiting 20:22:59 f25807f1079a: Waiting 20:22:59 a2d21d5440eb: Verifying Checksum 20:22:59 a2d21d5440eb: Download complete 20:22:59 94cc34f8dd06: Verifying Checksum 20:22:59 94cc34f8dd06: Download complete 20:22:59 30dea6a524f1: Download complete 20:22:59 63b65145d645: Download complete 20:22:59 a2aff8979fd8: Verifying Checksum 20:22:59 a2aff8979fd8: Download complete 20:22:59 63b65145d645: Pull complete 20:22:59 a2d21d5440eb: Pull complete 20:22:59 f25807f1079a: Verifying Checksum 20:22:59 f25807f1079a: Download complete 20:22:59 935e6c44a52c: Verifying Checksum 20:22:59 935e6c44a52c: Download complete 20:22:59 6808be2612f2: Verifying Checksum 20:22:59 6808be2612f2: Download complete 20:23:03 935e6c44a52c: Pull complete 20:23:03 94cc34f8dd06: Pull complete 20:23:03 30dea6a524f1: Pull complete 20:23:03 a2aff8979fd8: Pull complete 20:23:05 6808be2612f2: Pull complete 20:23:06 f25807f1079a: Pull complete 20:23:06 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:23:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:23:06 ---> 3b553350e43f 20:23:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:23:07 ---> Running in d949aaf9a5c7 20:23:07 Removing intermediate container d949aaf9a5c7 20:23:07 ---> 0458249f0074 20:23:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:23:08 ---> Running in 4338b0837fb2 20:23:08 Removing intermediate container 4338b0837fb2 20:23:08 ---> 3ae67ba83d13 20:23:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 20:23:08 ---> Running in 9503d17c8915 20:23:08 Removing intermediate container 9503d17c8915 20:23:08 ---> 8bfafc53ca6f 20:23:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:23:08 ---> Running in 345569d6706d 20:23:08 Removing intermediate container 345569d6706d 20:23:08 ---> 821c905abb2a 20:23:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:23:08 ---> Running in 4d425342f36f 20:23:08 Removing intermediate container 4d425342f36f 20:23:08 ---> 4faa2d28782c 20:23:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:23:08 ---> Running in 5dfa49e16fcd 20:23:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:23:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:23:09 OK: 265 MiB in 53 packages 20:23:09 Removing intermediate container 5dfa49e16fcd 20:23:09 ---> 48a39244b31b 20:23:09 Step 9/13 : WORKDIR /device-onvif-camera 20:23:09 ---> Running in 7decb89c7d97 20:23:09 Removing intermediate container 7decb89c7d97 20:23:09 ---> 4280526607a6 20:23:09 Step 10/13 : COPY go.mod vendor* ./ 20:23:09 ---> f462f3586c9b 20:23:09 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:23:10 ---> Running in 94b5ff28b006 20:23:12 Still waiting to schedule task 20:23:12 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:23:31 Removing intermediate container 94b5ff28b006 20:23:31 ---> cc4f34c6f538 20:23:31 Step 12/13 : COPY . . 20:23:31 ---> c96318b124f8 20:23:31 Step 13/13 : RUN ${MAKE} 20:23:31 ---> Running in 208f1fa37d76 20:23:31 noop 20:23:31 Removing intermediate container 208f1fa37d76 20:23:31 ---> 6a7fcce0049c 20:23:31 Successfully built 6a7fcce0049c 20:23:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:32 + docker inspect -f . ci-base-image-x86_64 20:23:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:23:32 prd-ubuntu20.04-docker-8c-8g-6113 does not seem to be running inside a container 20:23:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:23:32 $ docker top 8eea87da8d790eeac1dfc9be75c8f201e97d26bc7691a2f45c6cc7eaea3b836b -eo pid,comm [Pipeline] { [Pipeline] sh 20:23:33 + go version 20:23:33 go version go1.20.2 linux/amd64 [Pipeline] } 20:23:33 $ docker stop --time=1 8eea87da8d790eeac1dfc9be75c8f201e97d26bc7691a2f45c6cc7eaea3b836b 20:23:34 $ docker rm -f --volumes 8eea87da8d790eeac1dfc9be75c8f201e97d26bc7691a2f45c6cc7eaea3b836b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:34 + docker inspect -f . ci-base-image-x86_64 20:23:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:23:34 prd-ubuntu20.04-docker-8c-8g-6113 does not seem to be running inside a container 20:23:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:23:35 $ docker top 8f707ca6eb847909ab61d50db8c122bdab735be02d7257982a075b30b430f2b9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:23:35 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] fileExists [Pipeline] sh 20:23:35 + make test 20:23:35 go test ./... -coverprofile=coverage.out ./... 20:23:40 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:23:50 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:23:50 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:23:51 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.029s coverage: 31.7% of statements 20:23:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.985s coverage: 86.5% of statements 20:24:01 go vet ./... 20:24:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:24:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:24:05 ./bin/test-attribution-txt.sh [Pipeline] echo 20:24:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:24:05 $ docker stop --time=1 8f707ca6eb847909ab61d50db8c122bdab735be02d7257982a075b30b430f2b9 20:24:07 $ docker rm -f --volumes 8f707ca6eb847909ab61d50db8c122bdab735be02d7257982a075b30b430f2b9 [Pipeline] // withDockerContainer [Pipeline] sh 20:24:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:24:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:24:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:24:08 + ls -al . 20:24:08 total 232 20:24:08 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 20:23 . 20:24:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:22 .. 20:24:08 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:22 .git 20:24:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:22 .github 20:24:08 -rw-rw-r-- 1 jenkins jenkins 496 Mar 28 20:22 .gitignore 20:24:08 -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 20:22 .golangci.yml 20:24:08 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:22 .semver 20:24:08 -rw-rw-r-- 1 jenkins jenkins 9732 Mar 28 20:22 Attribution.txt 20:24:08 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 28 20:22 CHANGELOG.md 20:24:08 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 28 20:22 Dockerfile 20:24:08 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:22 GOVERNANCE.md 20:24:08 -rw-rw-r-- 1 jenkins jenkins 734 Mar 28 20:22 Jenkinsfile 20:24:08 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 28 20:22 LICENSE 20:24:08 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 28 20:22 Makefile 20:24:08 -rw-rw-r-- 1 jenkins jenkins 625 Mar 28 20:22 OWNERS.md 20:24:08 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 28 20:22 README.md 20:24:08 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 20:22 VERSION 20:24:08 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:22 bin 20:24:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:22 cmd 20:24:08 -rw-r--r-- 1 jenkins jenkins 78487 Mar 28 20:23 coverage.out 20:24:08 drwxrwxr-x 6 jenkins jenkins 4096 Mar 28 20:22 doc 20:24:08 -rw-rw-r-- 1 jenkins jenkins 3554 Mar 28 20:22 go.mod 20:24:08 -rw-rw-r-- 1 jenkins jenkins 32657 Mar 28 20:22 go.sum 20:24:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:22 internal 20:24:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:22 snap 20:24:08 -rw-rw-r-- 1 jenkins jenkins 236 Mar 28 20:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:08 + 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=e6f1a57e5246a8f692e40f5acc9f870f848dab3b --label arch=amd64 --label version=0.0.0 . 20:24:08 Sending build context to Docker daemon 27.35MB 20:24:08 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 20:24:08 Step 2/26 : FROM ${BASE} AS builder 20:24:08 ---> 6a7fcce0049c 20:24:08 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:24:08 ---> Running in a1863abe83bb 20:24:08 Removing intermediate container a1863abe83bb 20:24:08 ---> cdcaf00a40b7 20:24:08 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:24:08 ---> Running in 9ee3dcb2c8b7 20:24:09 Removing intermediate container 9ee3dcb2c8b7 20:24:09 ---> d8342e534e4b 20:24:09 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 20:24:09 ---> Running in a4238b3831f5 20:24:09 Removing intermediate container a4238b3831f5 20:24:09 ---> bf7c88282d28 20:24:09 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:24:09 ---> Running in 0a576fd1c68a 20:24:09 Removing intermediate container 0a576fd1c68a 20:24:09 ---> b574f7e9268b 20:24:09 Step 7/26 : LABEL Name=edgex-device-onvif-camera 20:24:09 ---> Running in e5d51bb6c881 20:24:09 Removing intermediate container e5d51bb6c881 20:24:09 ---> fd3f3fa50a0e 20:24:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:24:09 ---> Running in 78b10e3d1de3 20:24:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:24:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:24:10 OK: 265 MiB in 53 packages 20:24:10 Removing intermediate container 78b10e3d1de3 20:24:10 ---> d6c83004b420 20:24:10 Step 9/26 : WORKDIR /device-onvif-camera 20:24:10 ---> Running in 839aef5782be 20:24:10 Removing intermediate container 839aef5782be 20:24:10 ---> c67022238d0f 20:24:10 Step 10/26 : COPY go.mod vendor* ./ 20:24:10 ---> dc2bdb56520c 20:24:10 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:24:10 ---> Running in 1217343b513d 20:24:11 Removing intermediate container 1217343b513d 20:24:11 ---> 23996cb8c464 20:24:11 Step 12/26 : COPY . . 20:24:12 ---> c54211e94005 20:24:12 Step 13/26 : RUN ${MAKE} 20:24:12 ---> Running in d62dcc09ebd8 20:24:12 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 20:24:30 Removing intermediate container d62dcc09ebd8 20:24:30 ---> 0b3242d7a335 20:24:30 Step 14/26 : FROM alpine:3.17 20:24:30 3.17: Pulling from library/alpine 20:24:30 63b65145d645: Already exists 20:24:30 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:24:30 Status: Downloaded newer image for alpine:3.17 20:24:30 ---> b2aa39c304c2 20:24:30 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:24:30 ---> Running in 2b27877abe5f 20:24:30 Removing intermediate container 2b27877abe5f 20:24:30 ---> dd902d8a8c58 20:24:30 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:24:30 ---> Running in 57bcb54be87e 20:24:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:24:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:24:30 (1/1) Installing dumb-init (1.2.5-r2) 20:24:30 Executing busybox-1.35.0-r29.trigger 20:24:30 OK: 7 MiB in 16 packages 20:24:31 Removing intermediate container 57bcb54be87e 20:24:31 ---> 49601611603c 20:24:31 Step 17/26 : WORKDIR / 20:24:31 ---> Running in 958c41412be9 20:24:31 Removing intermediate container 958c41412be9 20:24:31 ---> 7a4156025eb7 20:24:31 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:24:31 ---> c8178d355548 20:24:31 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:24:31 ---> c9bf0bbbb799 20:24:31 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:24:32 ---> 0415e034cef1 20:24:32 Step 21/26 : EXPOSE 59984 20:24:32 ---> Running in f0c0c4af372c 20:24:32 Removing intermediate container f0c0c4af372c 20:24:32 ---> bcee553911b5 20:24:32 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:24:32 ---> Running in ccdd1aa4572f 20:24:32 Removing intermediate container ccdd1aa4572f 20:24:32 ---> be2c341b4a75 20:24:32 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:24:32 ---> Running in a6821dbcc52e 20:24:32 Removing intermediate container a6821dbcc52e 20:24:32 ---> 05586ecd2a19 20:24:32 Step 24/26 : LABEL arch=amd64 20:24:32 ---> Running in e16ad663bbc1 20:24:32 Removing intermediate container e16ad663bbc1 20:24:32 ---> d477961aa3b2 20:24:32 Step 25/26 : LABEL git_sha=e6f1a57e5246a8f692e40f5acc9f870f848dab3b 20:24:32 ---> Running in a9437aabeee6 20:24:32 Removing intermediate container a9437aabeee6 20:24:32 ---> b53475fd0b8e 20:24:32 Step 26/26 : LABEL version=0.0.0 20:24:32 ---> Running in 3a29ee0d42ae 20:24:32 Removing intermediate container 3a29ee0d42ae 20:24:32 ---> 371ff14ab085 20:24:32 [Warning] One or more build-args [ARCH] were not consumed 20:24:32 Successfully built 371ff14ab085 20:24:32 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 20:24:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:24:33 20:24:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:24:33 latest: Pulling from edgex-lftools-log-publisher 20:24:33 5eb5b503b376: Pulling fs layer 20:24:33 5c69ac0246d0: Pulling fs layer 20:24:33 ec43610c2a17: Pulling fs layer 20:24:33 3a2ae6a8a46f: Pulling fs layer 20:24:33 33b1e0a273af: Pulling fs layer 20:24:33 5d3b04190fa2: Pulling fs layer 20:24:33 2f39f015ded8: Pulling fs layer 20:24:33 5d3b04190fa2: Waiting 20:24:33 3a2ae6a8a46f: Waiting 20:24:33 2f39f015ded8: Waiting 20:24:33 33b1e0a273af: Waiting 20:24:33 5c69ac0246d0: Verifying Checksum 20:24:33 5c69ac0246d0: Download complete 20:24:33 3a2ae6a8a46f: Verifying Checksum 20:24:33 3a2ae6a8a46f: Download complete 20:24:33 33b1e0a273af: Verifying Checksum 20:24:33 33b1e0a273af: Download complete 20:24:33 5d3b04190fa2: Download complete 20:24:33 ec43610c2a17: Verifying Checksum 20:24:33 ec43610c2a17: Download complete 20:24:34 5eb5b503b376: Verifying Checksum 20:24:34 5eb5b503b376: Download complete 20:24:34 2f39f015ded8: Download complete 20:24:35 5eb5b503b376: Pull complete 20:24:35 5c69ac0246d0: Pull complete 20:24:35 ec43610c2a17: Pull complete 20:24:35 3a2ae6a8a46f: Pull complete 20:24:35 33b1e0a273af: Pull complete 20:24:35 5d3b04190fa2: Pull complete 20:24:40 2f39f015ded8: Pull complete 20:24:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:24:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:24:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:24:40 prd-ubuntu20.04-docker-8c-8g-6113 does not seem to be running inside a container 20:24:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:24:42 $ docker top dd697f5fa5dad8ef7120321241d0a1fead0ef235207b285444a8e891d09eab3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:42 ---> job-cost.sh 20:24:42 lf-activate-venv: SKIPPING 20:24:42 INFO: No Stack... 20:24:42 INFO: Retrieving Pricing Info for: v3-standard-8 20:24:43 INFO: Archiving Costs [Pipeline] sh 20:24:43 + cat /w/workspace/undry_device-onvif-camera_PR-281/archives/cost.csv 20:24:43 + cut -d, -f6 [Pipeline] lock 20:24:43 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-12-stack-cost] 20:24:43 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-12-stack-cost] did not exist. Created. 20:24:43 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:24:43 + echo total: 0.2199999988079071 [Pipeline] stash 20:24:43 Stashed 1 file(s) [Pipeline] } 20:24:43 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-12-stack-cost] [Pipeline] // lock [Pipeline] } 20:24:43 $ docker stop --time=1 dd697f5fa5dad8ef7120321241d0a1fead0ef235207b285444a8e891d09eab3a 20:24:45 $ docker rm -f --volumes dd697f5fa5dad8ef7120321241d0a1fead0ef235207b285444a8e891d09eab3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:25:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6116 in /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] { [Pipeline] ws 20:25:29 Running in /w/workspace/device-onvif-camera/12 [Pipeline] { [Pipeline] checkout 20:25:29 The recommended git tool is: git 20:25:40 using credential edgex-jenkins-ssh 20:25:40 Cloning the remote Git repository 20:25:40 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:25:41 > git init /w/workspace/device-onvif-camera/12 # timeout=10 20:25:41 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:25:41 > git --version # timeout=10 20:25:41 > git --version # 'git version 2.25.1' 20:25:41 using GIT_SSH to set credentials SSH Credentials for GitHub 20:25:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:25:43 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:25:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:25:46 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit f49edfa9d37b9172a55cd81482f3a90d49206cae 20:25:45 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:25:45 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:25:45 using GIT_SSH to set credentials SSH Credentials for GitHub 20:25:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:25:47 Merge succeeded, producing 1c860b81b4afa22eb0e4ee7b4ef60b03b03285c0 20:25:47 Checking out Revision 1c860b81b4afa22eb0e4ee7b4ef60b03b03285c0 (PR-281) 20:25:46 > git config core.sparsecheckout # timeout=10 20:25:46 > git checkout -f f49edfa9d37b9172a55cd81482f3a90d49206cae # timeout=10 20:25:47 > git remote # timeout=10 20:25:47 > git config --get remote.origin.url # timeout=10 20:25:47 using GIT_SSH to set credentials SSH Credentials for GitHub 20:25:47 > git merge e03c6e991c633265ca57616196638541aa716f8b # timeout=10 20:25:47 > git rev-parse HEAD^{commit} # timeout=10 20:25:47 > git config core.sparsecheckout # timeout=10 20:25:47 > git checkout -f 1c860b81b4afa22eb0e4ee7b4ef60b03b03285c0 # timeout=10 20:25:51 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" 20:25:51 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:25:51 > git rev-list --no-walk a3516c550a1c06445d21a709e6fa1a569b60ba02 # timeout=10 20:25:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:25:52 % Total % Received % Xferd Average Speed Time Time Time Current 20:25:52 Dload Upload Total Spent Left Speed 20:25:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 20:25:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:25:53 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 20:25:53 /etc/docker/daemon.json 20:25:53 { 20:25:53 "registry-mirrors": [ 20:25:53 "https://nexus3.edgexfoundry.org:10001" 20:25:53 ], 20:25:53 "bip": "10.250.0.254/24", 20:25:53 "hosts": [ 20:25:53 "tcp://0.0.0.0:5555", 20:25:53 "unix:///var/run/docker.sock" 20:25:53 ], 20:25:53 "mtu": 1458, 20:25:53 "selinux-enabled": true, 20:25:53 "seccomp-profile": "/etc/docker/seccomp.json" 20:25:53 } [Pipeline] sh 20:25:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:25:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:26:12 provisioning config files... 20:26:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/12@tmp/config1417739716084688822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:13 ---> docker-login.sh 20:26:13 nexus3.edgexfoundry.org:10001 20:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:13 Configure a credential helper to remove this warning. See 20:26:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:13 20:26:13 Login Succeeded 20:26:13 nexus3.edgexfoundry.org:10002 20:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:14 Configure a credential helper to remove this warning. See 20:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:14 20:26:14 Login Succeeded 20:26:14 nexus3.edgexfoundry.org:10003 20:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:14 Configure a credential helper to remove this warning. See 20:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:14 20:26:14 Login Succeeded 20:26:14 nexus3.edgexfoundry.org:10004 20:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:15 Configure a credential helper to remove this warning. See 20:26:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:15 20:26:15 Login Succeeded 20:26:15 docker.io 20:26:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:15 Configure a credential helper to remove this warning. See 20:26:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:15 20:26:15 Login Succeeded 20:26:15 ---> docker-login.sh ends [Pipeline] } 20:26:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:26:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:26:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:26:16 ========================================================= 20:26:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:26:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:16 + 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 . 20:26:17 Sending build context to Docker daemon 19.97MB 20:26:17 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:26:17 Step 2/13 : FROM ${BASE} AS builder 20:26:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:26:17 af6eaf76a39c: Pulling fs layer 20:26:17 55522c791124: Pulling fs layer 20:26:17 ce5c4a1c91eb: Pulling fs layer 20:26:17 169dfbe0d373: Pulling fs layer 20:26:17 e1ff8fa3b103: Pulling fs layer 20:26:17 52ebb69f0ebf: Pulling fs layer 20:26:17 5abe8eddf0d5: Pulling fs layer 20:26:17 e1ff8fa3b103: Waiting 20:26:17 52ebb69f0ebf: Waiting 20:26:17 169dfbe0d373: Waiting 20:26:17 5abe8eddf0d5: Waiting 20:26:17 55522c791124: Download complete 20:26:17 169dfbe0d373: Verifying Checksum 20:26:17 169dfbe0d373: Download complete 20:26:17 e1ff8fa3b103: Verifying Checksum 20:26:17 e1ff8fa3b103: Download complete 20:26:17 af6eaf76a39c: Verifying Checksum 20:26:17 af6eaf76a39c: Download complete 20:26:19 af6eaf76a39c: Pull complete 20:26:19 5abe8eddf0d5: Verifying Checksum 20:26:19 5abe8eddf0d5: Download complete 20:26:19 55522c791124: Pull complete 20:26:20 52ebb69f0ebf: Verifying Checksum 20:26:20 52ebb69f0ebf: Download complete 20:26:20 ce5c4a1c91eb: Verifying Checksum 20:26:20 ce5c4a1c91eb: Download complete 20:26:32 ce5c4a1c91eb: Pull complete 20:26:32 169dfbe0d373: Pull complete 20:26:32 e1ff8fa3b103: Pull complete 20:26:39 52ebb69f0ebf: Pull complete 20:26:42 5abe8eddf0d5: Pull complete 20:26:42 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:26:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:26:42 ---> 6cb57ee374ae 20:26:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:26:44 ---> Running in 71ec55b955bd 20:26:44 Removing intermediate container 71ec55b955bd 20:26:44 ---> 221e0df401af 20:26:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:26:45 ---> Running in 90a714fe488b 20:26:45 Removing intermediate container 90a714fe488b 20:26:45 ---> ecee775766d4 20:26:45 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 20:26:45 ---> Running in 5aeea6f96df0 20:26:45 Removing intermediate container 5aeea6f96df0 20:26:45 ---> ebb96d8bc309 20:26:45 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:26:45 ---> Running in 392808034bee 20:26:46 Removing intermediate container 392808034bee 20:26:46 ---> 9cfe3ba34082 20:26:46 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:26:46 ---> Running in 73c978df7605 20:26:46 Removing intermediate container 73c978df7605 20:26:46 ---> f303581b3350 20:26:46 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:26:46 ---> Running in 0f7ae192a857 20:26:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:26:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:26:50 OK: 263 MiB in 53 packages 20:26:51 Removing intermediate container 0f7ae192a857 20:26:51 ---> 683d060a8a5c 20:26:51 Step 9/13 : WORKDIR /device-onvif-camera 20:26:51 ---> Running in 8d5cd881dfb3 20:26:51 Removing intermediate container 8d5cd881dfb3 20:26:51 ---> 72e3f8e584ff 20:26:51 Step 10/13 : COPY go.mod vendor* ./ 20:26:52 ---> 20eb9ce7cd2f 20:26:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:26:52 ---> Running in 1933ff364eed 20:28:13 Removing intermediate container 1933ff364eed 20:28:13 ---> 9050db00e828 20:28:13 Step 12/13 : COPY . . 20:28:13 ---> 87851cd5c96c 20:28:13 Step 13/13 : RUN ${MAKE} 20:28:13 ---> Running in 2eaeb9c49a36 20:28:13 noop 20:28:13 Removing intermediate container 2eaeb9c49a36 20:28:13 ---> b0ff578ee81c 20:28:13 Successfully built b0ff578ee81c 20:28:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:14 + docker inspect -f . ci-base-image-arm64 20:28:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:14 prd-ubuntu20.04-docker-arm64-4c-16g-6116 does not seem to be running inside a container 20:28:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:28:16 $ docker top dbaf501fcfd7898c91448126c56597c4f91a1faf3d2dcd7074906537e0f94702 -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:16 + go version 20:28:16 go version go1.20.2 linux/arm64 [Pipeline] } 20:28:16 $ docker stop --time=1 dbaf501fcfd7898c91448126c56597c4f91a1faf3d2dcd7074906537e0f94702 20:28:18 $ docker rm -f --volumes dbaf501fcfd7898c91448126c56597c4f91a1faf3d2dcd7074906537e0f94702 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:19 + docker inspect -f . ci-base-image-arm64 20:28:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:19 prd-ubuntu20.04-docker-arm64-4c-16g-6116 does not seem to be running inside a container 20:28:19 $ 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/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:28:20 $ docker top 57e6184f57b31a08f3a55289fcdf1c6c7d445d9430c00451d4fea963bd84199e -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:21 + git config --global --add safe.directory /w/workspace/device-onvif-camera/12 [Pipeline] fileExists [Pipeline] sh 20:28:22 + make test 20:28:22 go test ./... -coverprofile=coverage.out ./... 20:29:09 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:31:31 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:31:32 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:31:34 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.200s coverage: 31.7% of statements 20:31:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.192s coverage: 86.5% of statements 20:31:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:31:52 go vet ./... 20:32:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:32:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:32:25 ./bin/test-attribution-txt.sh [Pipeline] echo 20:32:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:32:25 $ docker stop --time=1 57e6184f57b31a08f3a55289fcdf1c6c7d445d9430c00451d4fea963bd84199e 20:32:27 $ docker rm -f --volumes 57e6184f57b31a08f3a55289fcdf1c6c7d445d9430c00451d4fea963bd84199e [Pipeline] // withDockerContainer [Pipeline] sh 20:32:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:32:29 Warning: overwriting stash ‘coverage-report’ 20:32:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:32:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:32:30 + ls -al . 20:32:30 total 228 20:32:30 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 20:28 . 20:32:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:25 .. 20:32:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:25 .git 20:32:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:25 .github 20:32:30 -rw-rw-r-- 1 jenkins jenkins 496 Mar 28 20:25 .gitignore 20:32:30 -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 20:25 .golangci.yml 20:32:30 -rw-rw-r-- 1 jenkins jenkins 9732 Mar 28 20:25 Attribution.txt 20:32:30 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 28 20:25 CHANGELOG.md 20:32:30 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 28 20:25 Dockerfile 20:32:30 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:25 GOVERNANCE.md 20:32:30 -rw-rw-r-- 1 jenkins jenkins 734 Mar 28 20:25 Jenkinsfile 20:32:30 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 28 20:25 LICENSE 20:32:30 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 28 20:25 Makefile 20:32:30 -rw-rw-r-- 1 jenkins jenkins 625 Mar 28 20:25 OWNERS.md 20:32:30 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 28 20:25 README.md 20:32:30 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 20:22 VERSION 20:32:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:25 bin 20:32:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:25 cmd 20:32:30 -rw-r--r-- 1 jenkins jenkins 78487 Mar 28 20:31 coverage.out 20:32:30 drwxrwxr-x 6 jenkins jenkins 4096 Mar 28 20:25 doc 20:32:30 -rw-rw-r-- 1 jenkins jenkins 3554 Mar 28 20:25 go.mod 20:32:30 -rw-rw-r-- 1 jenkins jenkins 32657 Mar 28 20:25 go.sum 20:32:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:25 internal 20:32:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:25 snap 20:32:30 -rw-rw-r-- 1 jenkins jenkins 236 Mar 28 20:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:31 + 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=1c860b81b4afa22eb0e4ee7b4ef60b03b03285c0 --label arch=arm64 --label version=0.0.0 . 20:32:31 Sending build context to Docker daemon 20.05MB 20:32:31 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 20:32:31 Step 2/26 : FROM ${BASE} AS builder 20:32:31 ---> b0ff578ee81c 20:32:31 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:32:32 ---> Running in 27568891de45 20:32:32 Removing intermediate container 27568891de45 20:32:32 ---> 11bad2108d0b 20:32:32 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:32:32 ---> Running in aaf565d27370 20:32:32 Removing intermediate container aaf565d27370 20:32:32 ---> a90fdd6c3382 20:32:32 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 20:32:32 ---> Running in 1ff05138e27d 20:32:33 Removing intermediate container 1ff05138e27d 20:32:33 ---> 3d71eccb1804 20:32:33 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:32:33 ---> Running in c982ed02282b 20:32:33 Removing intermediate container c982ed02282b 20:32:33 ---> 5e0c156db1c7 20:32:33 Step 7/26 : LABEL Name=edgex-device-onvif-camera 20:32:33 ---> Running in d9777131ea04 20:32:34 Removing intermediate container d9777131ea04 20:32:34 ---> 6bc9e0ec8da6 20:32:34 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:32:34 ---> Running in c443bfe4484e 20:32:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:32:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:32:37 OK: 263 MiB in 53 packages 20:32:38 Removing intermediate container c443bfe4484e 20:32:38 ---> 06499a66bc82 20:32:38 Step 9/26 : WORKDIR /device-onvif-camera 20:32:38 ---> Running in ec8b23438dd0 20:32:39 Removing intermediate container ec8b23438dd0 20:32:39 ---> 23dbd1162a51 20:32:39 Step 10/26 : COPY go.mod vendor* ./ 20:32:39 ---> b20eadace1ac 20:32:39 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:32:39 ---> Running in ef6d35cc3d19 20:32:42 Removing intermediate container ef6d35cc3d19 20:32:42 ---> ce441757be60 20:32:42 Step 12/26 : COPY . . 20:32:46 ---> f094da6a4ff0 20:32:46 Step 13/26 : RUN ${MAKE} 20:32:46 ---> Running in 0864e1b23f80 20:32:47 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 20:35:39 Removing intermediate container 0864e1b23f80 20:35:39 ---> 7f2f45276fc7 20:35:39 Step 14/26 : FROM alpine:3.17 20:35:39 3.17: Pulling from library/alpine 20:35:39 af6eaf76a39c: Already exists 20:35:39 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:35:39 Status: Downloaded newer image for alpine:3.17 20:35:39 ---> d74e625d9115 20:35:39 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:35:39 ---> Running in 2776e31dfaf6 20:35:39 Removing intermediate container 2776e31dfaf6 20:35:39 ---> fc9c1e327007 20:35:39 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:35:39 ---> Running in 387a621ee7d7 20:35:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:35:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:35:39 (1/1) Installing dumb-init (1.2.5-r2) 20:35:39 Executing busybox-1.35.0-r29.trigger 20:35:39 OK: 8 MiB in 16 packages 20:35:39 Removing intermediate container 387a621ee7d7 20:35:39 ---> 9fde9f68ffe9 20:35:39 Step 17/26 : WORKDIR / 20:35:39 ---> Running in b55385c67cf7 20:35:39 Removing intermediate container b55385c67cf7 20:35:39 ---> da0ce7da580d 20:35:39 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:35:39 ---> 8743fdbaf552 20:35:39 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:35:39 ---> 22e551c930b8 20:35:39 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:35:40 ---> 537a499cf8ae 20:35:40 Step 21/26 : EXPOSE 59984 20:35:40 ---> Running in 0243130571a7 20:35:40 Removing intermediate container 0243130571a7 20:35:40 ---> 9d7cd3222541 20:35:40 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:35:40 ---> Running in a470bd124d54 20:35:41 Removing intermediate container a470bd124d54 20:35:41 ---> dbb60746923b 20:35:41 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:35:41 ---> Running in d2208a53be5a 20:35:41 Removing intermediate container d2208a53be5a 20:35:41 ---> f81b64cf1e82 20:35:41 Step 24/26 : LABEL arch=arm64 20:35:41 ---> Running in e4638d287679 20:35:41 Removing intermediate container e4638d287679 20:35:41 ---> 3d234db1d6d4 20:35:41 Step 25/26 : LABEL git_sha=1c860b81b4afa22eb0e4ee7b4ef60b03b03285c0 20:35:41 ---> Running in 1f52c3aa2dde 20:35:42 Removing intermediate container 1f52c3aa2dde 20:35:42 ---> 74cc108ccf10 20:35:42 Step 26/26 : LABEL version=0.0.0 20:35:42 ---> Running in 0c7b4947cf3a 20:35:42 Removing intermediate container 0c7b4947cf3a 20:35:42 ---> 58101945cb1d 20:35:42 [Warning] One or more build-args [ARCH] were not consumed 20:35:42 Successfully built 58101945cb1d 20:35:42 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 20:35:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:35:43 20:35:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:35:43 arm64: Pulling from edgex-lftools-log-publisher 20:35:43 8998bd30e6a1: Pulling fs layer 20:35:43 04944245beec: Pulling fs layer 20:35:43 699f458cf7ca: Pulling fs layer 20:35:43 765212b225bb: Pulling fs layer 20:35:43 f23df028b6ca: Pulling fs layer 20:35:43 d65c8cfc05b1: Pulling fs layer 20:35:43 2437ff75d9bd: Pulling fs layer 20:35:43 765212b225bb: Waiting 20:35:43 f23df028b6ca: Waiting 20:35:43 d65c8cfc05b1: Waiting 20:35:43 2437ff75d9bd: Waiting 20:35:43 04944245beec: Verifying Checksum 20:35:43 04944245beec: Download complete 20:35:43 765212b225bb: Verifying Checksum 20:35:43 765212b225bb: Download complete 20:35:43 f23df028b6ca: Verifying Checksum 20:35:43 f23df028b6ca: Download complete 20:35:43 d65c8cfc05b1: Verifying Checksum 20:35:43 d65c8cfc05b1: Download complete 20:35:44 699f458cf7ca: Verifying Checksum 20:35:44 699f458cf7ca: Download complete 20:35:44 8998bd30e6a1: Verifying Checksum 20:35:44 8998bd30e6a1: Download complete 20:35:46 2437ff75d9bd: Verifying Checksum 20:35:46 2437ff75d9bd: Download complete 20:35:49 8998bd30e6a1: Pull complete 20:35:50 04944245beec: Pull complete 20:35:51 699f458cf7ca: Pull complete 20:35:51 765212b225bb: Pull complete 20:35:52 f23df028b6ca: Pull complete 20:35:52 d65c8cfc05b1: Pull complete 20:36:07 2437ff75d9bd: Pull complete 20:36:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:36:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:36:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:07 prd-ubuntu20.04-docker-arm64-4c-16g-6116 does not seem to be running inside a container 20:36:07 $ 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/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:36:10 $ docker top e5d80d13a05f43a153b968b9432e1990aede6b7dfedd3d2d7a5d6e5e272d11e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:11 ---> job-cost.sh 20:36:11 lf-activate-venv: SKIPPING 20:36:11 INFO: No Stack... 20:36:12 INFO: Retrieving Pricing Info for: v3-standard-4 20:36:12 INFO: Archiving Costs [Pipeline] sh 20:36:13 + cat /w/workspace/device-onvif-camera/12/archives/cost.csv 20:36:13 + cut -d, -f6 [Pipeline] lock 20:36:13 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-12-stack-cost] 20:36:13 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-12-stack-cost] did not exist. Created. 20:36:13 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:36:14 /w/workspace/device-onvif-camera/12@tmp/durable-affcc13b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:36:14 + echo total: 0.10999999940395355 [Pipeline] stash 20:36:14 Warning: overwriting stash ‘stack-cost’ 20:36:14 Stashed 1 file(s) [Pipeline] } 20:36:14 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-12-stack-cost] [Pipeline] // lock [Pipeline] } 20:36:14 $ docker stop --time=1 e5d80d13a05f43a153b968b9432e1990aede6b7dfedd3d2d7a5d6e5e272d11e1 20:36:16 $ docker rm -f --volumes e5d80d13a05f43a153b968b9432e1990aede6b7dfedd3d2d7a5d6e5e272d11e1 [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 20:36:16 provisioning config files... 20:36:16 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config5845879175983710335tmp [Pipeline] { [Pipeline] sh 20:36:17 + set +x 20:36:17 + bash -s -- 20:36:17 + curl -s https://codecov.io/bash 20:36:17 20:36:17 _____ _ 20:36:17 / ____| | | 20:36:17 | | ___ __| | ___ ___ _____ __ 20:36:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:36:17 | |___| (_) | (_| | __/ (_| (_) \ V / 20:36:17 \_____\___/ \__,_|\___|\___\___/ \_/ 20:36:17 Bash-1.0.6 20:36:17 20:36:17 20:36:17 ==> git version 2.25.1 found 20:36:17 ==> 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 20:36:17 Release-Date: 2020-01-08 20:36:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:36:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:36:17 ==> Jenkins CI detected. 20:36:17 current dir:  /w/workspace/undry_device-onvif-camera_PR-281 20:36:17 project root: . 20:36:17 --> token set from env 20:36:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:36:17 ==> Running gcov in . (disable via -X gcov) 20:36:17 ==> Python coveragepy not found 20:36:17 ==> Searching for coverage reports in: 20:36:17 + . 20:36:17 -> Found 1 reports 20:36:17 ==> Detecting git/mercurial file structure 20:36:17 ==> Reading reports 20:36:17 + ./coverage.out bytes=78487 20:36:17 ==> Appending adjustments 20:36:17 https://docs.codecov.io/docs/fixing-reports 20:36:17 + Found adjustments 20:36:17 ==> Gzipping contents 20:36:17 12K /tmp/codecov.RzsOhs.gz 20:36:17 ==> Uploading reports 20:36:17 url: https://codecov.io 20:36:17 query: branch=PR-281&commit=e6f1a57e5246a8f692e40f5acc9f870f848dab3b&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-281%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=281&job=&cmd_args= 20:36:17 -> Pinging Codecov 20:36:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-281&commit=e6f1a57e5246a8f692e40f5acc9f870f848dab3b&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-281%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=281&job=&cmd_args= 20:36:17 -> Uploading to 20:36:17 https://storage.googleapis.com/codecov/v4/raw/2023-03-28/F29A59C45E3A92E06B3E522C9905F8EF/e6f1a57e5246a8f692e40f5acc9f870f848dab3b/6dbe0a92-5e2e-42e4-b27b-0bae9a41ccc4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T203617Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0039e8ce4882f3f27f000afbbbf3dd704b06314fa9bbb861a53688ee08041ff6 20:36:17 % Total % Received % Xferd Average Speed Time Time Time Current 20:36:17 Dload Upload Total Spent Left Speed 20:36:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10492 0 0 100 10492 0 36430 --:--:-- --:--:-- --:--:-- 36430 20:36:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e6f1a57e5246a8f692e40f5acc9f870f848dab3b [Pipeline] } 20:36:18 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 20:36:18 + [ -d /w/workspace/undry_device-onvif-camera_PR-281/archives ] 20:36:18 + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives 20:36:18 total 16 20:36:18 drwxr-xr-x 3 root root 4096 Mar 28 20:24 . 20:36:18 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 20:24 .. 20:36:18 drwxr-xr-x 2 root root 4096 Mar 28 20:24 cost 20:36:18 -rw-r--r-- 1 root root 92 Mar 28 20:24 cost.csv 20:36:18 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-281/archives 20:36:18 + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives 20:36:18 total 16 20:36:18 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:24 . 20:36:18 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 20:24 .. 20:36:18 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 20:24 cost 20:36:18 -rw-r--r-- 1 jenkins jenkins 92 Mar 28 20:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:36:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:36:19 ---> package-listing.sh 20:36:19 ++ facter osfamily 20:36:19 ++ tr '[:upper:]' '[:lower:]' 20:36:20 + OS_FAMILY=debian 20:36:20 + workspace=/w/workspace/undry_device-onvif-camera_PR-281 20:36:20 + START_PACKAGES=/tmp/packages_start.txt 20:36:20 + END_PACKAGES=/tmp/packages_end.txt 20:36:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:36:20 + PACKAGES=/tmp/packages_start.txt 20:36:20 + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' 20:36:20 + PACKAGES=/tmp/packages_end.txt 20:36:20 + case "${OS_FAMILY}" in 20:36:20 + dpkg -l 20:36:20 + grep '^ii' 20:36:20 + '[' -f /tmp/packages_start.txt ']' 20:36:20 + '[' -f /tmp/packages_end.txt ']' 20:36:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:36:20 + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' 20:36:20 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-281/archives/ 20:36:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-281/archives/ [Pipeline] echo 20:36:20 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:36:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:21 prd-ubuntu20.04-docker-8c-8g-6113 does not seem to be running inside a container 20:36:21 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-281 -v /w/workspace/undry_device-onvif-camera_PR-281:/w/workspace/undry_device-onvif-camera_PR-281:rw,z -v /w/workspace/undry_device-onvif-camera_PR-281@tmp:/w/workspace/undry_device-onvif-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:36:21 $ docker top 2be3ce1be57f9f82b724294d484f5285f1b308cc86fc91bda9ca013a3008e2fd -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:21 + touch /tmp/pre-build-complete [Pipeline] sh 20:36:21 + mkdir -p /var/log/sysstat [Pipeline] sh 20:36:22 + ls /var/log/sa-host 20:36:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:22 provisioning config files... 20:36:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config9723800903428391863tmp [Pipeline] { [Pipeline] echo 20:36:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:36:22 ---> create-netrc.sh [Pipeline] } 20:36:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:36:22 ---> python-tools-install.sh [Pipeline] echo 20:36:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:36:23 ---> sudo-logs.sh 20:36:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:36:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:36:23 ---> job-cost.sh 20:36:23 lf-activate-venv: SKIPPING 20:36:23 DEBUG: total: 0.2199999988079071 20:36:23 INFO: Retrieving Stack Cost... 20:36:23 INFO: Retrieving Pricing Info for: v3-standard-8 20:36:24 INFO: Archiving Costs [Pipeline] echo 20:36:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:36:24 ---> logs-deploy.sh 20:36:24 lf-activate-venv: SKIPPING 20:36:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-281/12 20:36:24 INFO: archiving workspace using pattern(s): 20:36:25 Archives upload complete. 20:36:25 INFO: archiving logs to Nexus