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 682505d48c8877bb99db63d2b080e0d522a493c6 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-ssh5500910457778557744.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-ssh6973476116442515845.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-ssh3455307445449681981.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-ssh18376889964317608308.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-ssh7538010051865693704.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5262’ Running on prd-ubuntu20.04-docker-8c-8g-5264 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 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit 682505d48c8877bb99db63d2b080e0d522a493c6 Merge succeeded, producing 6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d Checking out Revision 6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d (PR-281) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 682505d48c8877bb99db63d2b080e0d522a493c6 # 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 6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d # timeout=10 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:56:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:56:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:56:07 ========================================================= 18:56:07 EdgeX Global Pipelines Version Info 18:56:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9039c2e1fafe1b1b7aedfc620503e24ba0bcbca0 # timeout=10 18:56:07 ------------------- 18:56:07 stable info: 18:56:07 ------------------- 18:56:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:56:07 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:56:07 Message: update stable to v1.0.245 18:56:08 ------------------- 18:56:08 experimental info: 18:56:08 ------------------- 18:56:08 Commited By: **** collab-it+edgex@linuxfoundation.org 18:56:08 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 18:56:08 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:56:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:56:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo 18:56:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo 18:56:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo 18:56:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d [Pipeline] echo 18:56:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c573e1 [Pipeline] echo 18:56:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:09 provisioning config files... 18:56:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config14408074820605349792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:09 ---> docker-login.sh 18:56:09 nexus3.edgexfoundry.org:10001 18:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:09 Configure a credential helper to remove this warning. See 18:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:09 18:56:09 Login Succeeded 18:56:09 nexus3.edgexfoundry.org:10002 18:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:09 Configure a credential helper to remove this warning. See 18:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:09 18:56:09 Login Succeeded 18:56:09 nexus3.edgexfoundry.org:10003 18:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:09 Configure a credential helper to remove this warning. See 18:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:09 18:56:09 Login Succeeded 18:56:09 nexus3.edgexfoundry.org:10004 18:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:10 Configure a credential helper to remove this warning. See 18:56:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:10 18:56:10 Login Succeeded 18:56:10 docker.io 18:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:10 Configure a credential helper to remove this warning. See 18:56:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:10 18:56:10 Login Succeeded 18:56:10 ---> docker-login.sh ends [Pipeline] } 18:56:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:56:10 + git rev-list -1 --merges 6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d~1..6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d [Pipeline] echo 18:56:10 -----------> git rev-list -1 --merges 6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d~1..6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d 6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d 18:56:10 6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d [false] [Pipeline] sh 18:56:11 + git log --format=format:%s -1 6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d [Pipeline] echo 18:56:11 ========================================================= 18:56:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:56:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:56:11 + git log --format=format:%s -1 6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d [Pipeline] echo 18:56:11 [semverPrep] GIT_COMMIT: 6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d, Commit Message: Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD [Pipeline] echo 18:56:11 [semverPrep] This is not a build commit. [Pipeline] sh 18:56:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:56:11 + grep -v github /etc/ssh/ssh_known_hosts 18:56:11 + [ -e /tmp/ssh_known_hosts ] 18:56:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:56:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:56:11 + sudo tee -a /etc/ssh/ssh_known_hosts 18:56:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:12 18:56:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:12 0.1.4: Pulling from edgex-devops/py-git-semver 18:56:12 b85a868b505f: Pulling fs layer 18:56:12 e2be974225ed: Pulling fs layer 18:56:12 339a4e72a1f5: Pulling fs layer 18:56:12 988bab9f4d93: Pulling fs layer 18:56:12 1469e6f7b9e6: Pulling fs layer 18:56:12 eaf3925da568: Pulling fs layer 18:56:12 bab4dde63d76: Pulling fs layer 18:56:12 bde34c3a00c8: Pulling fs layer 18:56:12 b352a97aabf1: Pulling fs layer 18:56:12 4872d77fe225: Pulling fs layer 18:56:12 5851b861e8e6: Pulling fs layer 18:56:12 988bab9f4d93: Waiting 18:56:12 1469e6f7b9e6: Waiting 18:56:12 eaf3925da568: Waiting 18:56:12 bab4dde63d76: Waiting 18:56:12 bde34c3a00c8: Waiting 18:56:12 b352a97aabf1: Waiting 18:56:12 4872d77fe225: Waiting 18:56:12 5851b861e8e6: Waiting 18:56:12 e2be974225ed: Verifying Checksum 18:56:12 e2be974225ed: Download complete 18:56:12 988bab9f4d93: Verifying Checksum 18:56:12 988bab9f4d93: Download complete 18:56:12 339a4e72a1f5: Verifying Checksum 18:56:12 339a4e72a1f5: Download complete 18:56:12 eaf3925da568: Verifying Checksum 18:56:12 eaf3925da568: Download complete 18:56:12 1469e6f7b9e6: Verifying Checksum 18:56:12 1469e6f7b9e6: Download complete 18:56:12 bde34c3a00c8: Verifying Checksum 18:56:12 bde34c3a00c8: Download complete 18:56:12 b352a97aabf1: Verifying Checksum 18:56:12 b352a97aabf1: Download complete 18:56:12 4872d77fe225: Download complete 18:56:13 5851b861e8e6: Verifying Checksum 18:56:13 5851b861e8e6: Download complete 18:56:13 b85a868b505f: Verifying Checksum 18:56:13 b85a868b505f: Download complete 18:56:13 bab4dde63d76: Verifying Checksum 18:56:13 bab4dde63d76: Download complete 18:56:14 b85a868b505f: Pull complete 18:56:14 e2be974225ed: Pull complete 18:56:14 339a4e72a1f5: Pull complete 18:56:14 988bab9f4d93: Pull complete 18:56:15 1469e6f7b9e6: Pull complete 18:56:15 eaf3925da568: Pull complete 18:56:17 bab4dde63d76: Pull complete 18:56:17 bde34c3a00c8: Pull complete 18:56:17 b352a97aabf1: Pull complete 18:56:17 4872d77fe225: Pull complete 18:56:17 5851b861e8e6: Pull complete 18:56:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:56:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:17 prd-ubuntu20.04-docker-8c-8g-5264 does not seem to be running inside a container 18:56:17 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:56:20 $ docker top 0a4783f1de7bdabb204f5398b02348b07ff0415a66772ebeab6bc0577c65cefa -eo pid,comm 18:56:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:56:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:56:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:20 [ssh-agent] Looking for ssh-agent implementation... 18:56:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:20 $ docker exec 0a4783f1de7bdabb204f5398b02348b07ff0415a66772ebeab6bc0577c65cefa ssh-agent 18:56:20 SSH_AUTH_SOCK=/tmp/ssh-NRadSQTa2NIW/agent.32 18:56:20 SSH_AGENT_PID=38 18:56:20 Running ssh-add (command line suppressed) 18:56:20 Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_6398161346017737179.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_6398161346017737179.key) 18:56:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:20 + git tag --points-at HEAD [Pipeline] } 18:56:20 $ docker exec --env ******** --env ******** 0a4783f1de7bdabb204f5398b02348b07ff0415a66772ebeab6bc0577c65cefa ssh-agent -k 18:56:20 unset SSH_AUTH_SOCK; 18:56:20 unset SSH_AGENT_PID; 18:56:20 echo Agent pid 38 killed; 18:56:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:56:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:20 [ssh-agent] Looking for ssh-agent implementation... 18:56:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:21 $ docker exec 0a4783f1de7bdabb204f5398b02348b07ff0415a66772ebeab6bc0577c65cefa ssh-agent 18:56:21 SSH_AUTH_SOCK=/tmp/ssh-I1w4nvZn2bNC/agent.70 18:56:21 SSH_AGENT_PID=76 18:56:21 Running ssh-add (command line suppressed) 18:56:21 Identity added: /w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_5711764246283774569.key (/w/workspace/undry_device-onvif-camera_PR-281@tmp/private_key_5711764246283774569.key) 18:56:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:21 + git semver init 18:56:21 2023-03-22 18:56:21,715 [run_init] DEBUG init version:0.0.0 force:False 18:56:21 2023-03-22 18:56:21,716 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-281/.semver 18:56:21 2023-03-22 18:56:21,716 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-281/.semver 18:56:21 2023-03-22 18:56:21,717 [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) 18:56:22 2023-03-22 18:56:22,607 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-281/.git/info/exclude 18:56:22 2023-03-22 18:56:22,607 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 with force:False 18:56:22 2023-03-22 18:56:22,607 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 18:56:22 2023-03-22 18:56:22,611 [execute] INFO git cat-file --batch-check 18:56:22 2023-03-22 18:56:22,612 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) 18:56:22 2023-03-22 18:56:22,617 [execute] INFO git cat-file --batch 18:56:22 2023-03-22 18:56:22,617 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) 18:56:22 2023-03-22 18:56:22,621 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-281/.semver/PR-281 18:56:22 0.0.0 [Pipeline] } 18:56:22 $ docker exec --env ******** --env ******** 0a4783f1de7bdabb204f5398b02348b07ff0415a66772ebeab6bc0577c65cefa ssh-agent -k 18:56:22 unset SSH_AUTH_SOCK; 18:56:22 unset SSH_AGENT_PID; 18:56:22 echo Agent pid 76 killed; 18:56:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:56:23 + git semver [Pipeline] } 18:56:23 $ docker stop --time=1 0a4783f1de7bdabb204f5398b02348b07ff0415a66772ebeab6bc0577c65cefa 18:56:24 $ docker rm -f --volumes 0a4783f1de7bdabb204f5398b02348b07ff0415a66772ebeab6bc0577c65cefa [Pipeline] // withDockerContainer [Pipeline] sh 18:56:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:56:25 Stashed 1 file(s) [Pipeline] echo 18:56:25 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:25 provisioning config files... 18:56:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config2668533421515510345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:25 ---> docker-login.sh 18:56:25 nexus3.edgexfoundry.org:10001 18:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:25 Configure a credential helper to remove this warning. See 18:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:25 18:56:25 Login Succeeded 18:56:25 nexus3.edgexfoundry.org:10002 18:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:25 Configure a credential helper to remove this warning. See 18:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:25 18:56:25 Login Succeeded 18:56:25 nexus3.edgexfoundry.org:10003 18:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:25 Configure a credential helper to remove this warning. See 18:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:25 18:56:25 Login Succeeded 18:56:25 nexus3.edgexfoundry.org:10004 18:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:25 Configure a credential helper to remove this warning. See 18:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:25 18:56:25 Login Succeeded 18:56:25 docker.io 18:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:26 Configure a credential helper to remove this warning. See 18:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:26 18:56:26 Login Succeeded 18:56:26 ---> docker-login.sh ends [Pipeline] } 18:56:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:56:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:56:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:56:26 ========================================================= 18:56:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:56:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:56:26 Sending build context to Docker daemon 27.2MB 18:56:26 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:56:26 Step 2/13 : FROM ${BASE} AS builder 18:56:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:56:26 63b65145d645: Pulling fs layer 18:56:26 a2d21d5440eb: Pulling fs layer 18:56:26 935e6c44a52c: Pulling fs layer 18:56:26 94cc34f8dd06: Pulling fs layer 18:56:26 30dea6a524f1: Pulling fs layer 18:56:26 a2aff8979fd8: Pulling fs layer 18:56:26 6808be2612f2: Pulling fs layer 18:56:26 f25807f1079a: Pulling fs layer 18:56:26 30dea6a524f1: Waiting 18:56:26 a2aff8979fd8: Waiting 18:56:26 6808be2612f2: Waiting 18:56:26 f25807f1079a: Waiting 18:56:26 94cc34f8dd06: Waiting 18:56:26 a2d21d5440eb: Download complete 18:56:26 94cc34f8dd06: Download complete 18:56:26 30dea6a524f1: Verifying Checksum 18:56:26 30dea6a524f1: Download complete 18:56:26 63b65145d645: Verifying Checksum 18:56:26 63b65145d645: Download complete 18:56:26 a2aff8979fd8: Verifying Checksum 18:56:26 a2aff8979fd8: Download complete 18:56:27 63b65145d645: Pull complete 18:56:27 a2d21d5440eb: Pull complete 18:56:27 935e6c44a52c: Verifying Checksum 18:56:27 935e6c44a52c: Download complete 18:56:27 f25807f1079a: Verifying Checksum 18:56:27 f25807f1079a: Download complete 18:56:27 6808be2612f2: Verifying Checksum 18:56:27 6808be2612f2: Download complete 18:56:31 935e6c44a52c: Pull complete 18:56:31 94cc34f8dd06: Pull complete 18:56:31 30dea6a524f1: Pull complete 18:56:31 a2aff8979fd8: Pull complete 18:56:33 6808be2612f2: Pull complete 18:56:33 f25807f1079a: Pull complete 18:56:33 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 18:56:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:56:33 ---> 3b553350e43f 18:56:33 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:56:37 ---> Running in 1dc03a8012a0 18:56:37 Removing intermediate container 1dc03a8012a0 18:56:37 ---> ca38027d0989 18:56:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:56:37 ---> Running in 29e6b1583731 18:56:37 Removing intermediate container 29e6b1583731 18:56:37 ---> 29b8e4454a0e 18:56:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:56:37 ---> Running in b238d60ba8de 18:56:38 Removing intermediate container b238d60ba8de 18:56:38 ---> b7dbfede176b 18:56:38 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:56:38 ---> Running in a4e299d2c426 18:56:38 Removing intermediate container a4e299d2c426 18:56:38 ---> cc0a1831c43b 18:56:38 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:56:38 ---> Running in 50d251ca3b39 18:56:38 Removing intermediate container 50d251ca3b39 18:56:38 ---> fd79e3097ebe 18:56:38 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:56:38 ---> Running in 0ddf5b6fe1fe 18:56:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:56:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:56:38 OK: 265 MiB in 53 packages 18:56:39 Removing intermediate container 0ddf5b6fe1fe 18:56:39 ---> 6b464d7d2bf3 18:56:39 Step 9/13 : WORKDIR /device-onvif-camera 18:56:39 ---> Running in 42444d5b49dd 18:56:39 Removing intermediate container 42444d5b49dd 18:56:39 ---> 51ed17e42c67 18:56:39 Step 10/13 : COPY go.mod vendor* ./ 18:56:39 ---> 8c8aeb9c5767 18:56:39 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:56:39 ---> Running in abdc38e55916 18:56:40 Still waiting to schedule task 18:56:40 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5263’ is offline 18:57:11 Removing intermediate container abdc38e55916 18:57:11 ---> 29cea15aae9c 18:57:11 Step 12/13 : COPY . . 18:57:12 ---> a8a5b79206d5 18:57:12 Step 13/13 : RUN ${MAKE} 18:57:12 ---> Running in 8e35a80b4a06 18:57:13 noop 18:57:14 Removing intermediate container 8e35a80b4a06 18:57:14 ---> 5ffdf74fc808 18:57:14 Successfully built 5ffdf74fc808 18:57:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:17 + docker inspect -f . ci-base-image-x86_64 18:57:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:17 prd-ubuntu20.04-docker-8c-8g-5264 does not seem to be running inside a container 18:57:17 $ 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 ******** -e ******** ci-base-image-x86_64 cat 18:57:17 $ docker top 5cca437e1a1c9225156082b3d4cd1646fb79065f30d54b37e578b365486389a9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:17 + go version 18:57:17 go version go1.20.2 linux/amd64 [Pipeline] } 18:57:17 $ docker stop --time=1 5cca437e1a1c9225156082b3d4cd1646fb79065f30d54b37e578b365486389a9 18:57:19 $ docker rm -f --volumes 5cca437e1a1c9225156082b3d4cd1646fb79065f30d54b37e578b365486389a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:19 + docker inspect -f . ci-base-image-x86_64 18:57:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:19 prd-ubuntu20.04-docker-8c-8g-5264 does not seem to be running inside a container 18:57:19 $ 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 ******** -e ******** ci-base-image-x86_64 cat 18:57:19 $ docker top 9e4c13677b38e0c25b040fc7fe6b44fe2908961e264ca666ed195027689b1f92 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:20 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] fileExists [Pipeline] sh 18:57:20 + make test 18:57:20 go test ./... -coverprofile=coverage.out ./... 18:57:24 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:57:34 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:57:34 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:57:36 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 31.7% of statements 18:57:36 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.206s coverage: 86.5% of statements 18:57:43 go vet ./... 18:57:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:57:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:57:46 ./bin/test-attribution-txt.sh [Pipeline] echo 18:57:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:57:46 $ docker stop --time=1 9e4c13677b38e0c25b040fc7fe6b44fe2908961e264ca666ed195027689b1f92 18:57:50 $ docker rm -f --volumes 9e4c13677b38e0c25b040fc7fe6b44fe2908961e264ca666ed195027689b1f92 [Pipeline] // withDockerContainer [Pipeline] sh 18:57:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:57:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:57:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:57:51 + ls -al . 18:57:51 total 236 18:57:51 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 18:57 . 18:57:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:56 .. 18:57:51 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 18:56 .git 18:57:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:56 .github 18:57:51 -rw-rw-r-- 1 jenkins jenkins 496 Mar 22 18:56 .gitignore 18:57:51 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 18:56 .golangci.yml 18:57:51 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 18:56 .semver 18:57:51 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 22 18:56 Attribution.txt 18:57:51 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 22 18:56 CHANGELOG.md 18:57:51 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 22 18:56 Dockerfile 18:57:51 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 18:56 GOVERNANCE.md 18:57:51 -rw-rw-r-- 1 jenkins jenkins 734 Mar 22 18:56 Jenkinsfile 18:57:51 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 18:56 LICENSE 18:57:51 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 22 18:56 Makefile 18:57:51 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 18:56 OWNERS.md 18:57:51 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 22 18:56 README.md 18:57:51 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 18:56 VERSION 18:57:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 18:56 bin 18:57:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:56 cmd 18:57:51 -rw-r--r-- 1 jenkins jenkins 78487 Mar 22 18:57 coverage.out 18:57:51 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 18:56 doc 18:57:51 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 22 18:56 go.mod 18:57:51 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 22 18:56 go.sum 18:57:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:56 internal 18:57:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:56 snap 18:57:51 -rw-rw-r-- 1 jenkins jenkins 236 Mar 22 18:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:51 + 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=6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d --label arch=amd64 --label version=0.0.0 . 18:57:51 Sending build context to Docker daemon 27.28MB 18:57:51 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:57:51 Step 2/26 : FROM ${BASE} AS builder 18:57:51 ---> 5ffdf74fc808 18:57:51 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:57:52 ---> Running in 0e40ad770e74 18:57:52 Removing intermediate container 0e40ad770e74 18:57:52 ---> 4121eb568535 18:57:52 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:57:52 ---> Running in ed7c2fc0f8a2 18:57:52 Removing intermediate container ed7c2fc0f8a2 18:57:52 ---> 6c44d68015b7 18:57:52 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:57:52 ---> Running in 2c7498f5c95a 18:57:52 Removing intermediate container 2c7498f5c95a 18:57:52 ---> 30aa2f4e2438 18:57:52 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:57:52 ---> Running in d620accbaadd 18:57:52 Removing intermediate container d620accbaadd 18:57:52 ---> 14a10976c1c7 18:57:52 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:57:52 ---> Running in 97379cead28a 18:57:52 Removing intermediate container 97379cead28a 18:57:52 ---> 53f5c7a8998c 18:57:52 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:57:52 ---> Running in 399884934e80 18:57:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:57:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:57:53 OK: 265 MiB in 53 packages 18:57:53 Removing intermediate container 399884934e80 18:57:53 ---> c8216174c6ef 18:57:53 Step 9/26 : WORKDIR /device-onvif-camera 18:57:53 ---> Running in 237918d7a326 18:57:53 Removing intermediate container 237918d7a326 18:57:53 ---> 7e8b299d73a3 18:57:53 Step 10/26 : COPY go.mod vendor* ./ 18:57:53 ---> d9f1e77b4500 18:57:53 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:57:53 ---> Running in d1e8072cce75 18:57:54 Removing intermediate container d1e8072cce75 18:57:54 ---> c882d9841917 18:57:54 Step 12/26 : COPY . . 18:57:55 ---> 66959ac4a05f 18:57:55 Step 13/26 : RUN ${MAKE} 18:57:55 ---> Running in d20f85db4a14 18:57:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:58:13 Removing intermediate container d20f85db4a14 18:58:13 ---> ac232322cea4 18:58:13 Step 14/26 : FROM alpine:3.17 18:58:13 3.17: Pulling from library/alpine 18:58:13 63b65145d645: Already exists 18:58:14 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 18:58:14 Status: Downloaded newer image for alpine:3.17 18:58:14 ---> b2aa39c304c2 18:58:14 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:58:14 ---> Running in f99c288241cc 18:58:14 Removing intermediate container f99c288241cc 18:58:14 ---> c19060cd0fb4 18:58:14 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:58:14 ---> Running in 99ede1edd53c 18:58:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:58:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:58:14 (1/1) Installing dumb-init (1.2.5-r2) 18:58:14 Executing busybox-1.35.0-r29.trigger 18:58:14 OK: 7 MiB in 16 packages 18:58:15 Removing intermediate container 99ede1edd53c 18:58:15 ---> 900a6facaeef 18:58:15 Step 17/26 : WORKDIR / 18:58:15 ---> Running in 21f65a045427 18:58:15 Removing intermediate container 21f65a045427 18:58:15 ---> 09015907e976 18:58:15 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:58:16 ---> 4d2878db4d51 18:58:16 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:58:16 ---> 152d93348ec2 18:58:16 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:58:16 ---> 3f1ec2af1ec8 18:58:16 Step 21/26 : EXPOSE 59984 18:58:16 ---> Running in 34dd137e55ec 18:58:16 Removing intermediate container 34dd137e55ec 18:58:16 ---> 2bf066bffc07 18:58:16 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:58:16 ---> Running in 4412a2f9f116 18:58:16 Removing intermediate container 4412a2f9f116 18:58:16 ---> 9995e43eddc8 18:58:16 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:58:16 ---> Running in 0efdac39a5b1 18:58:16 Removing intermediate container 0efdac39a5b1 18:58:16 ---> 8368716fc9c8 18:58:16 Step 24/26 : LABEL arch=amd64 18:58:16 ---> Running in 1e91c0c74c39 18:58:16 Removing intermediate container 1e91c0c74c39 18:58:16 ---> 156bd59d82d2 18:58:16 Step 25/26 : LABEL git_sha=6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d 18:58:16 ---> Running in 0098da82afe6 18:58:16 Removing intermediate container 0098da82afe6 18:58:16 ---> 1502c62a274d 18:58:16 Step 26/26 : LABEL version=0.0.0 18:58:16 ---> Running in 86eec683e8a2 18:58:16 Removing intermediate container 86eec683e8a2 18:58:16 ---> 3647925a0522 18:58:16 [Warning] One or more build-args [ARCH] were not consumed 18:58:16 Successfully built 3647925a0522 18:58:16 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:58:17 18:58:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:58:17 latest: Pulling from edgex-lftools-log-publisher 18:58:17 5eb5b503b376: Pulling fs layer 18:58:17 5c69ac0246d0: Pulling fs layer 18:58:17 ec43610c2a17: Pulling fs layer 18:58:17 3a2ae6a8a46f: Pulling fs layer 18:58:17 33b1e0a273af: Pulling fs layer 18:58:17 5d3b04190fa2: Pulling fs layer 18:58:17 2f39f015ded8: Pulling fs layer 18:58:17 33b1e0a273af: Waiting 18:58:17 3a2ae6a8a46f: Waiting 18:58:17 5d3b04190fa2: Waiting 18:58:17 2f39f015ded8: Waiting 18:58:17 5c69ac0246d0: Download complete 18:58:17 3a2ae6a8a46f: Download complete 18:58:17 33b1e0a273af: Verifying Checksum 18:58:17 33b1e0a273af: Download complete 18:58:17 5d3b04190fa2: Verifying Checksum 18:58:17 5d3b04190fa2: Download complete 18:58:17 ec43610c2a17: Verifying Checksum 18:58:17 ec43610c2a17: Download complete 18:58:17 5eb5b503b376: Verifying Checksum 18:58:17 5eb5b503b376: Download complete 18:58:18 2f39f015ded8: Download complete 18:58:18 5eb5b503b376: Pull complete 18:58:18 5c69ac0246d0: Pull complete 18:58:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5266 in /w/workspace/undry_device-onvif-camera_PR-281 [Pipeline] { [Pipeline] ws 18:58:19 Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout 18:58:19 The recommended git tool is: git 18:58:19 ec43610c2a17: Pull complete 18:58:19 3a2ae6a8a46f: Pull complete 18:58:19 33b1e0a273af: Pull complete 18:58:19 5d3b04190fa2: Pull complete 18:58:23 2f39f015ded8: Pull complete 18:58:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:58:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:58:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:58:24 prd-ubuntu20.04-docker-8c-8g-5264 does not seem to be running inside a container 18:58:24 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:58:24 using credential edgex-jenkins-ssh 18:58:24 Cloning the remote Git repository 18:58:24 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:58:24 > git init /w/workspace/device-onvif-camera/6 # timeout=10 18:58:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:58:24 > git --version # timeout=10 18:58:24 > git --version # 'git version 2.25.1' 18:58:24 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:58:26 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:58:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:58:27 Merging remotes/origin/main commit e03c6e991c633265ca57616196638541aa716f8b into PR head commit 682505d48c8877bb99db63d2b080e0d522a493c6 18:58:28 $ docker top 5ad565b190fa5f34735ae5553a7895221472deed008a701b467288902d20b26f -eo pid,comm 18:58:26 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:58:27 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:58:27 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:27 > 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 18:58:27 > git config core.sparsecheckout # timeout=10 18:58:27 > git checkout -f 682505d48c8877bb99db63d2b080e0d522a493c6 # timeout=10 18:58:28 > git remote # timeout=10 18:58:28 > git config --get remote.origin.url # timeout=10 18:58:28 using GIT_SSH to set credentials SSH Credentials for GitHub 18:58:28 > git merge e03c6e991c633265ca57616196638541aa716f8b # timeout=10 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:58:28 Merge succeeded, producing 2cf52784bf8ecf74f89b2c8a0532d0cb83b9f094 18:58:28 Checking out Revision 2cf52784bf8ecf74f89b2c8a0532d0cb83b9f094 (PR-281) 18:58:28 ---> job-cost.sh 18:58:28 lf-activate-venv: SKIPPING 18:58:28 INFO: No Stack... 18:58:28 INFO: Retrieving Pricing Info for: v3-standard-8 18:58:29 INFO: Archiving Costs [Pipeline] sh 18:58:29 + cat /w/workspace/undry_device-onvif-camera_PR-281/archives/cost.csv 18:58:29 + cut -d, -f6 [Pipeline] lock 18:58:29 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-6-stack-cost] 18:58:29 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-6-stack-cost] did not exist. Created. 18:58:29 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:58:28 > git rev-parse HEAD^{commit} # timeout=10 18:58:28 > git config core.sparsecheckout # timeout=10 18:58:28 > git checkout -f 2cf52784bf8ecf74f89b2c8a0532d0cb83b9f094 # timeout=10 18:58:29 + echo total: 0.2199999988079071 [Pipeline] stash 18:58:29 Stashed 1 file(s) [Pipeline] } 18:58:29 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-6-stack-cost] [Pipeline] // lock [Pipeline] } 18:58:29 $ docker stop --time=1 5ad565b190fa5f34735ae5553a7895221472deed008a701b467288902d20b26f 18:58:30 $ docker rm -f --volumes 5ad565b190fa5f34735ae5553a7895221472deed008a701b467288902d20b26f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:58:31 Commit message: "Merge commit 'e03c6e991c633265ca57616196638541aa716f8b' into HEAD" 18:58:31 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:58:31 > git rev-list --no-walk 9039c2e1fafe1b1b7aedfc620503e24ba0bcbca0 # timeout=10 18:58:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:58:32 % Total % Received % Xferd Average Speed Time Time Time Current 18:58:32 Dload Upload Total Spent Left Speed 18:58:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10503 0 0 80792 0 --:--:-- --:--:-- --:--:-- 80175 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 18:58:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:58:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:58:34 + sudo tee /etc/docker/daemon.new 18:58:34 { 18:58:34 "registry-mirrors": [ 18:58:34 "https://nexus3.edgexfoundry.org:10001" 18:58:34 ], 18:58:34 "bip": "10.250.0.254/24", 18:58:34 "hosts": [ 18:58:34 "tcp://0.0.0.0:5555", 18:58:34 "unix:///var/run/docker.sock" 18:58:34 ], 18:58:34 "mtu": 1458, 18:58:34 "selinux-enabled": true, 18:58:34 "seccomp-profile": "/etc/docker/seccomp.json" 18:58:34 } [Pipeline] sh 18:58:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:58:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:58:52 provisioning config files... 18:58:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config9364508374605624892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:58:53 ---> docker-login.sh 18:58:53 nexus3.edgexfoundry.org:10001 18:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:53 Configure a credential helper to remove this warning. See 18:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:53 18:58:53 Login Succeeded 18:58:53 nexus3.edgexfoundry.org:10002 18:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:54 Configure a credential helper to remove this warning. See 18:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:54 18:58:54 Login Succeeded 18:58:54 nexus3.edgexfoundry.org:10003 18:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:54 Configure a credential helper to remove this warning. See 18:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:54 18:58:54 Login Succeeded 18:58:54 nexus3.edgexfoundry.org:10004 18:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:54 Configure a credential helper to remove this warning. See 18:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:54 18:58:54 Login Succeeded 18:58:54 docker.io 18:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:58:55 Configure a credential helper to remove this warning. See 18:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:58:55 18:58:55 Login Succeeded 18:58:55 ---> docker-login.sh ends [Pipeline] } 18:58:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:58:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:58:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:58:55 ========================================================= 18:58:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:58:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:58:56 Sending build context to Docker daemon 19.89MB 18:58:56 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:58:56 Step 2/13 : FROM ${BASE} AS builder 18:58:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:58:57 af6eaf76a39c: Pulling fs layer 18:58:57 55522c791124: Pulling fs layer 18:58:57 ce5c4a1c91eb: Pulling fs layer 18:58:57 169dfbe0d373: Pulling fs layer 18:58:57 e1ff8fa3b103: Pulling fs layer 18:58:57 52ebb69f0ebf: Pulling fs layer 18:58:57 5abe8eddf0d5: Pulling fs layer 18:58:57 e1ff8fa3b103: Waiting 18:58:57 52ebb69f0ebf: Waiting 18:58:57 169dfbe0d373: Waiting 18:58:57 5abe8eddf0d5: Waiting 18:58:57 55522c791124: Verifying Checksum 18:58:57 55522c791124: Download complete 18:58:57 169dfbe0d373: Verifying Checksum 18:58:57 169dfbe0d373: Download complete 18:58:57 e1ff8fa3b103: Verifying Checksum 18:58:57 e1ff8fa3b103: Download complete 18:58:57 af6eaf76a39c: Verifying Checksum 18:58:57 af6eaf76a39c: Download complete 18:58:58 5abe8eddf0d5: Verifying Checksum 18:58:58 5abe8eddf0d5: Download complete 18:58:58 af6eaf76a39c: Pull complete 18:58:58 55522c791124: Pull complete 18:58:59 52ebb69f0ebf: Verifying Checksum 18:58:59 52ebb69f0ebf: Download complete 18:58:59 ce5c4a1c91eb: Verifying Checksum 18:58:59 ce5c4a1c91eb: Download complete 18:59:12 ce5c4a1c91eb: Pull complete 18:59:12 169dfbe0d373: Pull complete 18:59:12 e1ff8fa3b103: Pull complete 18:59:17 52ebb69f0ebf: Pull complete 18:59:21 5abe8eddf0d5: Pull complete 18:59:21 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 18:59:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:59:21 ---> 6cb57ee374ae 18:59:21 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:59:23 ---> Running in 2d7098c8d70e 18:59:23 Removing intermediate container 2d7098c8d70e 18:59:23 ---> c4feceaf551c 18:59:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:59:23 ---> Running in 900bde68bffa 18:59:23 Removing intermediate container 900bde68bffa 18:59:23 ---> aca94bb152d2 18:59:23 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:59:23 ---> Running in 076b7ac5bd84 18:59:24 Removing intermediate container 076b7ac5bd84 18:59:24 ---> ec4f3f7aac2a 18:59:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:59:24 ---> Running in 533412527e3a 18:59:24 Removing intermediate container 533412527e3a 18:59:24 ---> a49b50258c57 18:59:24 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:59:24 ---> Running in 878ec5336b10 18:59:25 Removing intermediate container 878ec5336b10 18:59:25 ---> 9ce8299aa6ae 18:59:25 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:59:25 ---> Running in 8b82e67d4366 18:59:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:59:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:59:27 OK: 263 MiB in 53 packages 18:59:28 Removing intermediate container 8b82e67d4366 18:59:28 ---> 8372c554ed83 18:59:28 Step 9/13 : WORKDIR /device-onvif-camera 18:59:28 ---> Running in 60ad78038ba6 18:59:28 Removing intermediate container 60ad78038ba6 18:59:28 ---> 88f814165947 18:59:28 Step 10/13 : COPY go.mod vendor* ./ 18:59:29 ---> 63804739f5ec 18:59:29 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:59:29 ---> Running in 02c38490afaa 19:00:37 Removing intermediate container 02c38490afaa 19:00:37 ---> 98f39298c9ea 19:00:37 Step 12/13 : COPY . . 19:00:37 ---> fa731c5cfddd 19:00:37 Step 13/13 : RUN ${MAKE} 19:00:37 ---> Running in c1ff8ae985d9 19:00:37 noop 19:00:37 Removing intermediate container c1ff8ae985d9 19:00:37 ---> 41b133dbf930 19:00:38 Successfully built 41b133dbf930 19:00:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:38 + docker inspect -f . ci-base-image-arm64 19:00:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:38 prd-ubuntu20.04-docker-arm64-4c-16g-5266 does not seem to be running inside a container 19:00:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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 19:00:41 $ docker top d5f14ebbfd0e1ee41595c65edbc0ef02439ec63b01cc9e27925626ddb5a21abf -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:42 + go version 19:00:42 go version go1.20.2 linux/arm64 [Pipeline] } 19:00:42 $ docker stop --time=1 d5f14ebbfd0e1ee41595c65edbc0ef02439ec63b01cc9e27925626ddb5a21abf 19:00:43 $ docker rm -f --volumes d5f14ebbfd0e1ee41595c65edbc0ef02439ec63b01cc9e27925626ddb5a21abf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:44 + docker inspect -f . ci-base-image-arm64 19:00:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:44 prd-ubuntu20.04-docker-arm64-4c-16g-5266 does not seem to be running inside a container 19:00:44 $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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 19:00:45 $ docker top 0f222acb590b923e4d9d6c6d57fef6ef89cae1b1564710b3b3956b6b5753365e -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:46 + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh 19:00:47 + make test 19:00:47 go test ./... -coverprofile=coverage.out ./... 19:01:19 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:03:26 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:03:26 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:03:28 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.191s coverage: 31.7% of statements 19:03:54 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.289s coverage: 86.5% of statements 19:03:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:03:54 go vet ./... 19:04:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:04:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:04:21 ./bin/test-attribution-txt.sh [Pipeline] echo 19:04:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:04:21 $ docker stop --time=1 0f222acb590b923e4d9d6c6d57fef6ef89cae1b1564710b3b3956b6b5753365e 19:04:23 $ docker rm -f --volumes 0f222acb590b923e4d9d6c6d57fef6ef89cae1b1564710b3b3956b6b5753365e [Pipeline] // withDockerContainer [Pipeline] sh 19:04:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:04:24 Warning: overwriting stash ‘coverage-report’ 19:04:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:04:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:04:26 + ls -al . 19:04:26 total 232 19:04:26 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 19:00 . 19:04:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:58 .. 19:04:26 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 18:58 .git 19:04:26 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:58 .github 19:04:26 -rw-rw-r-- 1 jenkins jenkins 496 Mar 22 18:58 .gitignore 19:04:26 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 18:58 .golangci.yml 19:04:26 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 22 18:58 Attribution.txt 19:04:26 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 22 18:58 CHANGELOG.md 19:04:26 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 22 18:58 Dockerfile 19:04:26 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 18:58 GOVERNANCE.md 19:04:26 -rw-rw-r-- 1 jenkins jenkins 734 Mar 22 18:58 Jenkinsfile 19:04:26 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 18:58 LICENSE 19:04:26 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 22 18:58 Makefile 19:04:26 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 18:58 OWNERS.md 19:04:26 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 22 18:58 README.md 19:04:26 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 18:56 VERSION 19:04:26 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 18:58 bin 19:04:26 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:58 cmd 19:04:26 -rw-r--r-- 1 jenkins jenkins 78487 Mar 22 19:03 coverage.out 19:04:26 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 18:58 doc 19:04:26 -rw-rw-r-- 1 jenkins jenkins 3602 Mar 22 18:58 go.mod 19:04:26 -rw-rw-r-- 1 jenkins jenkins 32892 Mar 22 18:58 go.sum 19:04:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:58 internal 19:04:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:58 snap 19:04:26 -rw-rw-r-- 1 jenkins jenkins 236 Mar 22 18:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:26 + 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=2cf52784bf8ecf74f89b2c8a0532d0cb83b9f094 --label arch=arm64 --label version=0.0.0 . 19:04:27 Sending build context to Docker daemon 19.97MB 19:04:27 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:04:27 Step 2/26 : FROM ${BASE} AS builder 19:04:27 ---> 41b133dbf930 19:04:27 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:04:27 ---> Running in ade2960f500f 19:04:27 Removing intermediate container ade2960f500f 19:04:27 ---> 1ce278fb936b 19:04:27 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:04:27 ---> Running in e7d72809669f 19:04:28 Removing intermediate container e7d72809669f 19:04:28 ---> dbea2554623e 19:04:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:04:28 ---> Running in fabb3676c6e5 19:04:28 Removing intermediate container fabb3676c6e5 19:04:28 ---> 570d810c3a11 19:04:28 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:04:28 ---> Running in e980d2ac8e1b 19:04:28 Removing intermediate container e980d2ac8e1b 19:04:28 ---> 3e8f0b6c6e21 19:04:28 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:04:28 ---> Running in 153796ca6179 19:04:29 Removing intermediate container 153796ca6179 19:04:29 ---> 657ea48ea34f 19:04:29 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:04:29 ---> Running in f77960831dfb 19:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:04:31 OK: 263 MiB in 53 packages 19:04:32 Removing intermediate container f77960831dfb 19:04:32 ---> f4310c223a30 19:04:32 Step 9/26 : WORKDIR /device-onvif-camera 19:04:32 ---> Running in 806bb21e103d 19:04:32 Removing intermediate container 806bb21e103d 19:04:32 ---> ce53a8facb81 19:04:32 Step 10/26 : COPY go.mod vendor* ./ 19:04:33 ---> 7880218a3500 19:04:33 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:04:33 ---> Running in fe4690cac50e 19:04:37 Removing intermediate container fe4690cac50e 19:04:37 ---> db2126231755 19:04:37 Step 12/26 : COPY . . 19:04:38 ---> e2d7418e62ba 19:04:38 Step 13/26 : RUN ${MAKE} 19:04:38 ---> Running in 32f48f82af5e 19:04:39 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 19:07:01 Removing intermediate container 32f48f82af5e 19:07:01 ---> f8aef1d7ceda 19:07:01 Step 14/26 : FROM alpine:3.17 19:07:01 3.17: Pulling from library/alpine 19:07:01 af6eaf76a39c: Already exists 19:07:01 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 19:07:01 Status: Downloaded newer image for alpine:3.17 19:07:01 ---> d74e625d9115 19:07:01 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:07:01 ---> Running in f5bdd2751ef4 19:07:01 Removing intermediate container f5bdd2751ef4 19:07:01 ---> b98abd2a0655 19:07:01 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:07:01 ---> Running in 109f2456be37 19:07:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:07:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:07:01 (1/1) Installing dumb-init (1.2.5-r2) 19:07:01 Executing busybox-1.35.0-r29.trigger 19:07:01 OK: 8 MiB in 16 packages 19:07:01 Removing intermediate container 109f2456be37 19:07:01 ---> 8e38f96b6d76 19:07:01 Step 17/26 : WORKDIR / 19:07:01 ---> Running in 67fdb5abcc38 19:07:01 Removing intermediate container 67fdb5abcc38 19:07:01 ---> 553d9e54bd63 19:07:01 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:07:01 ---> 8a73a39f0cfa 19:07:01 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:07:01 ---> c3f32e33adf0 19:07:01 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:07:01 ---> f247dcbee088 19:07:01 Step 21/26 : EXPOSE 59984 19:07:01 ---> Running in 5fc9eaff11fa 19:07:01 Removing intermediate container 5fc9eaff11fa 19:07:01 ---> 52c8e07ee823 19:07:01 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:07:01 ---> Running in 49869cc53da9 19:07:01 Removing intermediate container 49869cc53da9 19:07:01 ---> 4e4c6a58507d 19:07:01 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:07:01 ---> Running in 4b1adc29e437 19:07:01 Removing intermediate container 4b1adc29e437 19:07:01 ---> f8b3bda4a704 19:07:01 Step 24/26 : LABEL arch=arm64 19:07:01 ---> Running in 277a678a88b3 19:07:01 Removing intermediate container 277a678a88b3 19:07:01 ---> 02d1ebbee51b 19:07:01 Step 25/26 : LABEL git_sha=2cf52784bf8ecf74f89b2c8a0532d0cb83b9f094 19:07:02 ---> Running in 8f3462ee13cf 19:07:02 Removing intermediate container 8f3462ee13cf 19:07:02 ---> cec06b5530a7 19:07:02 Step 26/26 : LABEL version=0.0.0 19:07:02 ---> Running in cfe9241d5523 19:07:02 Removing intermediate container cfe9241d5523 19:07:02 ---> 96d0cc4252d7 19:07:02 [Warning] One or more build-args [ARCH] were not consumed 19:07:02 Successfully built 96d0cc4252d7 19:07:02 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 19:07:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:07:03 19:07:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:07:03 arm64: Pulling from edgex-lftools-log-publisher 19:07:03 8998bd30e6a1: Pulling fs layer 19:07:03 04944245beec: Pulling fs layer 19:07:03 699f458cf7ca: Pulling fs layer 19:07:03 765212b225bb: Pulling fs layer 19:07:03 f23df028b6ca: Pulling fs layer 19:07:03 d65c8cfc05b1: Pulling fs layer 19:07:03 2437ff75d9bd: Pulling fs layer 19:07:03 765212b225bb: Waiting 19:07:03 f23df028b6ca: Waiting 19:07:03 d65c8cfc05b1: Waiting 19:07:03 2437ff75d9bd: Waiting 19:07:03 04944245beec: Verifying Checksum 19:07:03 04944245beec: Download complete 19:07:03 765212b225bb: Verifying Checksum 19:07:03 765212b225bb: Download complete 19:07:03 f23df028b6ca: Download complete 19:07:03 d65c8cfc05b1: Verifying Checksum 19:07:03 d65c8cfc05b1: Download complete 19:07:04 699f458cf7ca: Verifying Checksum 19:07:04 699f458cf7ca: Download complete 19:07:04 8998bd30e6a1: Verifying Checksum 19:07:04 8998bd30e6a1: Download complete 19:07:06 2437ff75d9bd: Verifying Checksum 19:07:06 2437ff75d9bd: Download complete 19:07:08 8998bd30e6a1: Pull complete 19:07:08 04944245beec: Pull complete 19:07:10 699f458cf7ca: Pull complete 19:07:10 765212b225bb: Pull complete 19:07:10 f23df028b6ca: Pull complete 19:07:11 d65c8cfc05b1: Pull complete 19:07:26 2437ff75d9bd: Pull complete 19:07:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:07:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:07:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:26 prd-ubuntu20.04-docker-arm64-4c-16g-5266 does not seem to be running inside a container 19:07:26 $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@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 19:07:29 $ docker top 15ed37db5ebc23b1128b642facd4ec2c7466d37597bb721b7973693146554487 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:30 ---> job-cost.sh 19:07:30 lf-activate-venv: SKIPPING 19:07:30 INFO: No Stack... 19:07:31 INFO: Retrieving Pricing Info for: v3-standard-4 19:07:31 INFO: Archiving Costs [Pipeline] sh 19:07:32 + + cutcat -d, /w/workspace/device-onvif-camera/6/archives/cost.csv -f6 19:07:32 [Pipeline] lock 19:07:32 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-281-6-stack-cost] 19:07:32 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-6-stack-cost] did not exist. Created. 19:07:32 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-281-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:07:32 /w/workspace/device-onvif-camera/6@tmp/durable-25feab4d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:07:32 + echo total: 0.10999999940395355 [Pipeline] stash 19:07:32 Warning: overwriting stash ‘stack-cost’ 19:07:32 Stashed 1 file(s) [Pipeline] } 19:07:32 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-281-6-stack-cost] [Pipeline] // lock [Pipeline] } 19:07:33 $ docker stop --time=1 15ed37db5ebc23b1128b642facd4ec2c7466d37597bb721b7973693146554487 19:07:34 $ docker rm -f --volumes 15ed37db5ebc23b1128b642facd4ec2c7466d37597bb721b7973693146554487 [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 19:07:34 provisioning config files... 19:07:34 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config17509700385316544314tmp [Pipeline] { [Pipeline] sh 19:07:35 + set +x 19:07:35 + + curl -s https://codecov.io/bash 19:07:35 bash -s -- 19:07:35 19:07:35 _____ _ 19:07:35 / ____| | | 19:07:35 | | ___ __| | ___ ___ _____ __ 19:07:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:07:35 | |___| (_) | (_| | __/ (_| (_) \ V / 19:07:35 \_____\___/ \__,_|\___|\___\___/ \_/ 19:07:35 Bash-1.0.6 19:07:35 19:07:35 19:07:35 ==> git version 2.25.1 found 19:07:35 ==> 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 19:07:35 Release-Date: 2020-01-08 19:07:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:07:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:07:35 ==> Jenkins CI detected. 19:07:35 current dir:  /w/workspace/undry_device-onvif-camera_PR-281 19:07:35 project root: . 19:07:35 --> token set from env 19:07:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:07:35 ==> Running gcov in . (disable via -X gcov) 19:07:35 ==> Python coveragepy not found 19:07:35 ==> Searching for coverage reports in: 19:07:35 + . 19:07:35 -> Found 1 reports 19:07:35 ==> Detecting git/mercurial file structure 19:07:35 ==> Reading reports 19:07:35 + ./coverage.out bytes=78487 19:07:35 ==> Appending adjustments 19:07:35 https://docs.codecov.io/docs/fixing-reports 19:07:35 + Found adjustments 19:07:35 ==> Gzipping contents 19:07:35 12K /tmp/codecov.WjEoLr.gz 19:07:35 ==> Uploading reports 19:07:35 url: https://codecov.io 19:07:35 query: branch=PR-281&commit=6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-281%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=281&job=&cmd_args= 19:07:35 -> Pinging Codecov 19:07:35 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=6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-281%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=281&job=&cmd_args= 19:07:35 -> Uploading to 19:07:35 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/F29A59C45E3A92E06B3E522C9905F8EF/6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d/9840c926-6295-4ef2-8753-99c00abf2d5f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T190735Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b979e1b064c503cffa6442072dc4a05c47d21ce4ca2a6c15b3fd2569894efd9 19:07:35 % Total % Received % Xferd Average Speed Time Time Time Current 19:07:35 Dload Upload Total Spent Left Speed 19:07:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10492 0 0 100 10492 0 36304 --:--:-- --:--:-- --:--:-- 36304 19:07:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/6c573e1e0e5fc623cf7e8407d1971e1f9bd2a39d [Pipeline] } 19:07:35 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 19:07:36 + [ -d /w/workspace/undry_device-onvif-camera_PR-281/archives ] 19:07:36 + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives 19:07:36 total 16 19:07:36 drwxr-xr-x 3 root root 4096 Mar 22 18:58 . 19:07:36 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 18:58 .. 19:07:36 drwxr-xr-x 2 root root 4096 Mar 22 18:58 cost 19:07:36 -rw-r--r-- 1 root root 91 Mar 22 18:58 cost.csv 19:07:36 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-281/archives 19:07:36 + ls -al /w/workspace/undry_device-onvif-camera_PR-281/archives 19:07:36 total 16 19:07:36 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 18:58 . 19:07:36 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 18:58 .. 19:07:36 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 18:58 cost 19:07:36 -rw-r--r-- 1 jenkins jenkins 91 Mar 22 18:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:07:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:07:37 ---> package-listing.sh 19:07:37 ++ facter osfamily 19:07:37 ++ tr '[:upper:]' '[:lower:]' 19:07:38 + OS_FAMILY=debian 19:07:38 + workspace=/w/workspace/undry_device-onvif-camera_PR-281 19:07:38 + START_PACKAGES=/tmp/packages_start.txt 19:07:38 + END_PACKAGES=/tmp/packages_end.txt 19:07:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:07:38 + PACKAGES=/tmp/packages_start.txt 19:07:38 + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' 19:07:38 + PACKAGES=/tmp/packages_end.txt 19:07:38 + case "${OS_FAMILY}" in 19:07:38 + dpkg -l 19:07:38 + grep '^ii' 19:07:38 + '[' -f /tmp/packages_start.txt ']' 19:07:38 + '[' -f /tmp/packages_end.txt ']' 19:07:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:07:38 + '[' /w/workspace/undry_device-onvif-camera_PR-281 ']' 19:07:38 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-281/archives/ 19:07:38 + 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 19:07:38 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 19:07:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:07:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:38 prd-ubuntu20.04-docker-8c-8g-5264 does not seem to be running inside a container 19:07:38 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:07:39 $ docker top 7bfb2cbcd45e234a81726a22c4e41c9eddedacb3a99fd4b40875115136d34d0d -eo pid,comm [Pipeline] { [Pipeline] sh 19:07:39 + touch /tmp/pre-build-complete [Pipeline] sh 19:07:39 + mkdir -p /var/log/sysstat [Pipeline] sh 19:07:40 + ls /var/log/sa-host 19:07:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:07:40 provisioning config files... 19:07:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-281@tmp/config17143727995781626628tmp [Pipeline] { [Pipeline] echo 19:07:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:07:40 ---> create-netrc.sh [Pipeline] } 19:07:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:07:40 ---> python-tools-install.sh [Pipeline] echo 19:07:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:07:41 ---> sudo-logs.sh 19:07:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:07:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:07:41 ---> job-cost.sh 19:07:41 lf-activate-venv: SKIPPING 19:07:41 DEBUG: total: 0.2199999988079071 19:07:41 INFO: Retrieving Stack Cost... 19:07:41 INFO: Retrieving Pricing Info for: v3-standard-8 19:07:42 INFO: Archiving Costs [Pipeline] echo 19:07:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:07:42 ---> logs-deploy.sh 19:07:42 lf-activate-venv: SKIPPING 19:07:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-281/6 19:07:42 INFO: archiving workspace using pattern(s): 19:07:43 Archives upload complete. 19:07:43 INFO: archiving logs to Nexus