Pull request #224 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee+35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 (cffc1c9e68150483e8f5d91dd79de86a79bf6e18) 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-ssh17040497859532416670.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh16340578840201600863.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16460760058565530411.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15336728033421662624.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh12673792887116289930.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-224/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-224/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18049724009314487706.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3933 in /w/workspace/undry_device-onvif-camera_PR-224 [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-224 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/224/head:refs/remotes/origin/PR-224 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 into PR head commit 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee Merge succeeded, producing 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee Checking out Revision 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee (PR-224) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:12:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee # 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 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:12:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:12:16 ========================================================= 03:12:16 EdgeX Global Pipelines Version Info 03:12:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:12:17 ------------------- 03:12:17 stable info: 03:12:17 ------------------- 03:12:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:12:17 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:12:17 Message: update stable to v1.0.244 03:12:18 ------------------- 03:12:18 experimental info: 03:12:18 ------------------- 03:12:18 Commited By: **** collab-it+edgex@linuxfoundation.org 03:12:18 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:12:18 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-224 [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-224 [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-224 [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f1c582 [Pipeline] echo 03:12:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:12:20 provisioning config files... 03:12:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-224@tmp/config15943799463108446163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:12:20 ---> docker-login.sh 03:12:20 nexus3.edgexfoundry.org:10001 03:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:20 Configure a credential helper to remove this warning. See 03:12:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:20 03:12:20 Login Succeeded 03:12:20 nexus3.edgexfoundry.org:10002 03:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:20 Configure a credential helper to remove this warning. See 03:12:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:20 03:12:20 Login Succeeded 03:12:20 nexus3.edgexfoundry.org:10003 03:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:21 Configure a credential helper to remove this warning. See 03:12:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:21 03:12:21 Login Succeeded 03:12:21 nexus3.edgexfoundry.org:10004 03:12:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:21 Configure a credential helper to remove this warning. See 03:12:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:21 03:12:21 Login Succeeded 03:12:21 docker.io 03:12:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:21 Configure a credential helper to remove this warning. See 03:12:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:21 03:12:21 Login Succeeded 03:12:21 ---> docker-login.sh ends [Pipeline] } 03:12:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:12:22 + git rev-list -1 --merges 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee~1..6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee [Pipeline] echo 03:12:22 -----------> git rev-list -1 --merges 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee~1..6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee [false] [Pipeline] sh 03:12:22 + git log --format=format:%s -1 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee [Pipeline] echo 03:12:22 ========================================================= 03:12:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:12:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:12:23 + git log --format=format:%s -1 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee [Pipeline] echo 03:12:23 [semverPrep] GIT_COMMIT: 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 03:12:23 [semverPrep] This is not a build commit. [Pipeline] sh 03:12:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:12:23 + grep -v github /etc/ssh/ssh_known_hosts 03:12:23 + [ -e /tmp/ssh_known_hosts ] 03:12:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:12:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:12:23 + sudo tee -a /etc/ssh/ssh_known_hosts 03:12:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:23 03:12:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:24 0.1.4: Pulling from edgex-devops/py-git-semver 03:12:24 b85a868b505f: Pulling fs layer 03:12:24 e2be974225ed: Pulling fs layer 03:12:24 339a4e72a1f5: Pulling fs layer 03:12:24 988bab9f4d93: Pulling fs layer 03:12:24 1469e6f7b9e6: Pulling fs layer 03:12:24 eaf3925da568: Pulling fs layer 03:12:24 bab4dde63d76: Pulling fs layer 03:12:24 bde34c3a00c8: Pulling fs layer 03:12:24 b352a97aabf1: Pulling fs layer 03:12:24 4872d77fe225: Pulling fs layer 03:12:24 5851b861e8e6: Pulling fs layer 03:12:24 bab4dde63d76: Waiting 03:12:24 bde34c3a00c8: Waiting 03:12:24 988bab9f4d93: Waiting 03:12:24 b352a97aabf1: Waiting 03:12:24 4872d77fe225: Waiting 03:12:24 1469e6f7b9e6: Waiting 03:12:24 5851b861e8e6: Waiting 03:12:24 eaf3925da568: Waiting 03:12:24 e2be974225ed: Verifying Checksum 03:12:24 e2be974225ed: Download complete 03:12:24 988bab9f4d93: Download complete 03:12:24 1469e6f7b9e6: Verifying Checksum 03:12:24 1469e6f7b9e6: Download complete 03:12:24 eaf3925da568: Verifying Checksum 03:12:24 eaf3925da568: Download complete 03:12:24 339a4e72a1f5: Verifying Checksum 03:12:24 339a4e72a1f5: Download complete 03:12:24 bde34c3a00c8: Verifying Checksum 03:12:24 bde34c3a00c8: Download complete 03:12:24 b352a97aabf1: Verifying Checksum 03:12:24 b352a97aabf1: Download complete 03:12:24 4872d77fe225: Download complete 03:12:24 5851b861e8e6: Download complete 03:12:24 b85a868b505f: Verifying Checksum 03:12:24 b85a868b505f: Download complete 03:12:25 bab4dde63d76: Verifying Checksum 03:12:25 bab4dde63d76: Download complete 03:12:26 b85a868b505f: Pull complete 03:12:26 e2be974225ed: Pull complete 03:12:26 339a4e72a1f5: Pull complete 03:12:26 988bab9f4d93: Pull complete 03:12:27 1469e6f7b9e6: Pull complete 03:12:27 eaf3925da568: Pull complete 03:12:29 bab4dde63d76: Pull complete 03:12:29 bde34c3a00c8: Pull complete 03:12:29 b352a97aabf1: Pull complete 03:12:29 4872d77fe225: Pull complete 03:12:29 5851b861e8e6: Pull complete 03:12:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:12:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:29 prd-ubuntu20.04-docker-8c-8g-3933 does not seem to be running inside a container 03:12:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-224 -v /w/workspace/undry_device-onvif-camera_PR-224:/w/workspace/undry_device-onvif-camera_PR-224:rw,z -v /w/workspace/undry_device-onvif-camera_PR-224@tmp:/w/workspace/undry_device-onvif-camera_PR-224@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:12:31 $ docker top 1c8da6f68f54c836f62146e27ffb7abeec0c37fbfb119b69968a65a554e4c9f8 -eo pid,comm 03:12:31 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). 03:12:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:12:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:12:31 [ssh-agent] Looking for ssh-agent implementation... 03:12:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:12:31 $ docker exec 1c8da6f68f54c836f62146e27ffb7abeec0c37fbfb119b69968a65a554e4c9f8 ssh-agent 03:12:31 SSH_AUTH_SOCK=/tmp/ssh-0Y6fXlLGfcuu/agent.33 03:12:31 SSH_AGENT_PID=39 03:12:31 Running ssh-add (command line suppressed) 03:12:32 Identity added: /w/workspace/undry_device-onvif-camera_PR-224@tmp/private_key_9156501970099996918.key (/w/workspace/undry_device-onvif-camera_PR-224@tmp/private_key_9156501970099996918.key) 03:12:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:12:32 + git tag --points-at HEAD [Pipeline] } 03:12:32 $ docker exec --env ******** --env ******** 1c8da6f68f54c836f62146e27ffb7abeec0c37fbfb119b69968a65a554e4c9f8 ssh-agent -k 03:12:32 unset SSH_AUTH_SOCK; 03:12:32 unset SSH_AGENT_PID; 03:12:32 echo Agent pid 39 killed; 03:12:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:12:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:12:32 [ssh-agent] Looking for ssh-agent implementation... 03:12:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:12:32 $ docker exec 1c8da6f68f54c836f62146e27ffb7abeec0c37fbfb119b69968a65a554e4c9f8 ssh-agent 03:12:32 SSH_AUTH_SOCK=/tmp/ssh-T4OALAzkTf61/agent.71 03:12:32 SSH_AGENT_PID=77 03:12:32 Running ssh-add (command line suppressed) 03:12:32 Identity added: /w/workspace/undry_device-onvif-camera_PR-224@tmp/private_key_7210791600366797560.key (/w/workspace/undry_device-onvif-camera_PR-224@tmp/private_key_7210791600366797560.key) 03:12:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:12:33 + git semver init 03:12:33 2023-01-30 03:12:33,455 [run_init] DEBUG init version:0.0.0 force:False 03:12:33 2023-01-30 03:12:33,456 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-224/.semver 03:12:33 2023-01-30 03:12:33,456 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-224/.semver 03:12:33 2023-01-30 03:12:33,457 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-224/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-224, universal_newlines=False, shell=None, istream=None) 03:12:34 2023-01-30 03:12:34,607 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-224/.git/info/exclude 03:12:34 2023-01-30 03:12:34,608 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-224/.semver/PR-224 with force:False 03:12:34 2023-01-30 03:12:34,608 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-224/.semver/PR-224 03:12:34 2023-01-30 03:12:34,612 [execute] INFO git cat-file --batch-check 03:12:34 2023-01-30 03:12:34,613 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-224/.semver, universal_newlines=False, shell=None, istream=) 03:12:34 2023-01-30 03:12:34,619 [execute] INFO git cat-file --batch 03:12:34 2023-01-30 03:12:34,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-224/.semver, universal_newlines=False, shell=None, istream=) 03:12:34 2023-01-30 03:12:34,624 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-224/.semver/PR-224 03:12:34 0.0.0 [Pipeline] } 03:12:34 $ docker exec --env ******** --env ******** 1c8da6f68f54c836f62146e27ffb7abeec0c37fbfb119b69968a65a554e4c9f8 ssh-agent -k 03:12:35 unset SSH_AUTH_SOCK; 03:12:35 unset SSH_AGENT_PID; 03:12:35 echo Agent pid 77 killed; 03:12:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:12:35 + git semver [Pipeline] } 03:12:35 $ docker stop --time=1 1c8da6f68f54c836f62146e27ffb7abeec0c37fbfb119b69968a65a554e4c9f8 03:12:37 $ docker rm -f --volumes 1c8da6f68f54c836f62146e27ffb7abeec0c37fbfb119b69968a65a554e4c9f8 [Pipeline] // withDockerContainer [Pipeline] sh 03:12:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:12:37 Stashed 1 file(s) [Pipeline] echo 03:12:37 [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 03:12:38 provisioning config files... 03:12:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-224@tmp/config5984195737850700025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:12:38 ---> docker-login.sh 03:12:38 nexus3.edgexfoundry.org:10001 03:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:38 Configure a credential helper to remove this warning. See 03:12:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:38 03:12:38 Login Succeeded 03:12:38 nexus3.edgexfoundry.org:10002 03:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:38 Configure a credential helper to remove this warning. See 03:12:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:38 03:12:38 Login Succeeded 03:12:38 nexus3.edgexfoundry.org:10003 03:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:38 Configure a credential helper to remove this warning. See 03:12:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:38 03:12:38 Login Succeeded 03:12:38 nexus3.edgexfoundry.org:10004 03:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:38 Configure a credential helper to remove this warning. See 03:12:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:38 03:12:38 Login Succeeded 03:12:38 docker.io 03:12:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:39 Configure a credential helper to remove this warning. See 03:12:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:39 03:12:39 Login Succeeded 03:12:39 ---> docker-login.sh ends [Pipeline] } 03:12:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:12:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:12:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:12:39 ========================================================= 03:12:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:12:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 03:12:40 Sending build context to Docker daemon 27.67MB 03:12:40 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:12:40 Step 2/13 : FROM ${BASE} AS builder 03:12:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:12:40 213ec9aee27d: Pulling fs layer 03:12:40 4583459ba037: Pulling fs layer 03:12:40 93c1e223e6f2: Pulling fs layer 03:12:40 53926ce57604: Pulling fs layer 03:12:40 21b2b0c7a3f4: Pulling fs layer 03:12:40 22ff95d597cd: Pulling fs layer 03:12:40 12d6caf4c0d1: Pulling fs layer 03:12:40 96b7cbca73a9: Pulling fs layer 03:12:40 a7acece74701: Pulling fs layer 03:12:40 21b2b0c7a3f4: Waiting 03:12:40 22ff95d597cd: Waiting 03:12:40 12d6caf4c0d1: Waiting 03:12:40 96b7cbca73a9: Waiting 03:12:40 a7acece74701: Waiting 03:12:40 53926ce57604: Waiting 03:12:40 93c1e223e6f2: Verifying Checksum 03:12:40 93c1e223e6f2: Download complete 03:12:40 4583459ba037: Verifying Checksum 03:12:40 4583459ba037: Download complete 03:12:40 21b2b0c7a3f4: Verifying Checksum 03:12:40 22ff95d597cd: Verifying Checksum 03:12:40 22ff95d597cd: Download complete 03:12:40 213ec9aee27d: Verifying Checksum 03:12:40 213ec9aee27d: Download complete 03:12:40 12d6caf4c0d1: Download complete 03:12:40 213ec9aee27d: Pull complete 03:12:40 4583459ba037: Pull complete 03:12:40 93c1e223e6f2: Pull complete 03:12:41 a7acece74701: Verifying Checksum 03:12:41 a7acece74701: Download complete 03:12:41 96b7cbca73a9: Verifying Checksum 03:12:41 96b7cbca73a9: Download complete 03:12:41 53926ce57604: Verifying Checksum 03:12:41 53926ce57604: Download complete 03:12:46 53926ce57604: Pull complete 03:12:46 21b2b0c7a3f4: Pull complete 03:12:46 22ff95d597cd: Pull complete 03:12:46 12d6caf4c0d1: Pull complete 03:12:47 96b7cbca73a9: Pull complete 03:12:48 a7acece74701: Pull complete 03:12:48 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 03:12:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:12:48 ---> db6d94c90886 03:12:48 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:12:51 ---> Running in fa67141149ea 03:12:51 Removing intermediate container fa67141149ea 03:12:51 ---> 1d508cde400f 03:12:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:12:51 ---> Running in 3dc822f12e44 03:12:51 Removing intermediate container 3dc822f12e44 03:12:51 ---> 1d6574adac62 03:12:51 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:12:51 ---> Running in 4198c04f5847 03:12:51 Removing intermediate container 4198c04f5847 03:12:51 ---> 8a022317ef94 03:12:51 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:12:51 ---> Running in 54be8da371b8 03:12:51 Removing intermediate container 54be8da371b8 03:12:51 ---> 6a09f3e3cf2c 03:12:51 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:12:51 ---> Running in c86dbf2e0cb8 03:12:51 Removing intermediate container c86dbf2e0cb8 03:12:51 ---> e633186d1639 03:12:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:12:51 ---> Running in 81e48473ef9c 03:12:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:12:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:12:52 OK: 211 MiB in 51 packages 03:12:52 Removing intermediate container 81e48473ef9c 03:12:52 ---> 259eb55099fc 03:12:52 Step 9/13 : WORKDIR /device-onvif-camera 03:12:52 ---> Running in 8afed004181d 03:12:53 Still waiting to schedule task 03:12:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:12:53 Removing intermediate container 8afed004181d 03:12:53 ---> 18dffd6e0ce9 03:12:53 Step 10/13 : COPY go.mod vendor* ./ 03:12:53 ---> 987a13668d69 03:12:53 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:12:53 ---> Running in fada66c2fc93 03:13:39 Removing intermediate container fada66c2fc93 03:13:39 ---> acb383e6cf36 03:13:39 Step 12/13 : COPY . . 03:13:39 ---> 63354716c567 03:13:39 Step 13/13 : RUN ${MAKE} 03:13:39 ---> Running in 59191cd0bdd9 03:13:39 noop 03:13:39 Removing intermediate container 59191cd0bdd9 03:13:39 ---> 9cb37cc26e63 03:13:39 Successfully built 9cb37cc26e63 03:13:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:40 + docker inspect -f . ci-base-image-x86_64 03:13:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:40 prd-ubuntu20.04-docker-8c-8g-3933 does not seem to be running inside a container 03:13:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-224 -v /w/workspace/undry_device-onvif-camera_PR-224:/w/workspace/undry_device-onvif-camera_PR-224:rw,z -v /w/workspace/undry_device-onvif-camera_PR-224@tmp:/w/workspace/undry_device-onvif-camera_PR-224@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 ******** ci-base-image-x86_64 cat 03:13:41 $ docker top 8fb0603da5455277f357b99c55d4a8524dbc5993b09ca65f7bc12efad0cdf0cf -eo pid,comm [Pipeline] { [Pipeline] sh 03:13:41 + go version 03:13:41 go version go1.18.7 linux/amd64 [Pipeline] } 03:13:41 $ docker stop --time=1 8fb0603da5455277f357b99c55d4a8524dbc5993b09ca65f7bc12efad0cdf0cf 03:13:42 $ docker rm -f --volumes 8fb0603da5455277f357b99c55d4a8524dbc5993b09ca65f7bc12efad0cdf0cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:43 + docker inspect -f . ci-base-image-x86_64 03:13:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:43 prd-ubuntu20.04-docker-8c-8g-3933 does not seem to be running inside a container 03:13:43 $ 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-224 -v /w/workspace/undry_device-onvif-camera_PR-224:/w/workspace/undry_device-onvif-camera_PR-224:rw,z -v /w/workspace/undry_device-onvif-camera_PR-224@tmp:/w/workspace/undry_device-onvif-camera_PR-224@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 ******** ci-base-image-x86_64 cat 03:13:44 $ docker top 242779579cfc2ac46539ce6966dad9e73e637fdb1e8c08a497cfebf7c84e833f -eo pid,comm [Pipeline] { [Pipeline] sh 03:13:44 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-224 [Pipeline] fileExists [Pipeline] sh 03:13:44 + make test 03:13:44 go test ./... -coverprofile=coverage.out ./... 03:13:45 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:13:50 # github.com/edgexfoundry/device-sdk-go/v3/internal/config 03:13:50 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/config/config.go:74:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration 03:13:54 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 03:13:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.158s coverage: 86.5% of statements 03:13:55 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 03:13:55 $ docker stop --time=1 242779579cfc2ac46539ce6966dad9e73e637fdb1e8c08a497cfebf7c84e833f 03:13:57 $ docker rm -f --volumes 242779579cfc2ac46539ce6966dad9e73e637fdb1e8c08a497cfebf7c84e833f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:13:58 03:13:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:13:59 latest: Pulling from edgex-lftools-log-publisher 03:13:59 5eb5b503b376: Pulling fs layer 03:13:59 5c69ac0246d0: Pulling fs layer 03:13:59 ec43610c2a17: Pulling fs layer 03:13:59 3a2ae6a8a46f: Pulling fs layer 03:13:59 33b1e0a273af: Pulling fs layer 03:13:59 5d3b04190fa2: Pulling fs layer 03:13:59 2f39f015ded8: Pulling fs layer 03:13:59 3a2ae6a8a46f: Waiting 03:13:59 5d3b04190fa2: Waiting 03:13:59 2f39f015ded8: Waiting 03:13:59 33b1e0a273af: Waiting 03:13:59 5c69ac0246d0: Download complete 03:13:59 3a2ae6a8a46f: Verifying Checksum 03:13:59 3a2ae6a8a46f: Download complete 03:13:59 33b1e0a273af: Verifying Checksum 03:13:59 33b1e0a273af: Download complete 03:13:59 ec43610c2a17: Verifying Checksum 03:13:59 ec43610c2a17: Download complete 03:13:59 5d3b04190fa2: Verifying Checksum 03:13:59 5d3b04190fa2: Download complete 03:13:59 5eb5b503b376: Verifying Checksum 03:13:59 5eb5b503b376: Download complete 03:14:00 2f39f015ded8: Download complete 03:14:01 5eb5b503b376: Pull complete 03:14:01 5c69ac0246d0: Pull complete 03:14:01 ec43610c2a17: Pull complete 03:14:01 3a2ae6a8a46f: Pull complete 03:14:01 33b1e0a273af: Pull complete 03:14:01 5d3b04190fa2: Pull complete 03:14:06 2f39f015ded8: Pull complete 03:14:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:14:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:14:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:14:06 prd-ubuntu20.04-docker-8c-8g-3933 does not seem to be running inside a container 03:14:06 $ 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-224 -v /w/workspace/undry_device-onvif-camera_PR-224:/w/workspace/undry_device-onvif-camera_PR-224:rw,z -v /w/workspace/undry_device-onvif-camera_PR-224@tmp:/w/workspace/undry_device-onvif-camera_PR-224@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:14:08 $ docker top 3b8b04e454927afb5afd446d6b9c1456815fcfb174204810914f5cf2757717dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:08 ---> job-cost.sh 03:14:08 lf-activate-venv: SKIPPING 03:14:08 INFO: No Stack... 03:14:09 INFO: Retrieving Pricing Info for: v3-standard-8 03:14:09 INFO: Archiving Costs [Pipeline] sh 03:14:09 + cat /w/workspace/undry_device-onvif-camera_PR-224/archives/cost.csv 03:14:09 + cut -d, -f6 [Pipeline] lock 03:14:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-224-1-stack-cost] 03:14:09 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-224-1-stack-cost] did not exist. Created. 03:14:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-224-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:14:10 + echo total: 0.2199999988079071 [Pipeline] stash 03:14:10 Stashed 1 file(s) [Pipeline] } 03:14:10 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-224-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:14:10 $ docker stop --time=1 3b8b04e454927afb5afd446d6b9c1456815fcfb174204810914f5cf2757717dc 03:14:11 $ docker rm -f --volumes 3b8b04e454927afb5afd446d6b9c1456815fcfb174204810914f5cf2757717dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:14:11 Failed in branch amd64 03:14:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3934 in /w/workspace/undry_device-onvif-camera_PR-224 [Pipeline] { [Pipeline] ws 03:14:28 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:14:28 The recommended git tool is: git 03:14:35 using credential edgex-jenkins-ssh 03:14:36 Cloning the remote Git repository 03:14:36 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:14:36 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:14:36 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:14:36 > git --version # timeout=10 03:14:36 > git --version # 'git version 2.25.1' 03:14:36 using GIT_SSH to set credentials SSH Credentials for GitHub 03:14:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:14:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:14:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:14:39 Merging remotes/origin/main commit 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 into PR head commit 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee 03:14:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:14:39 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:14:39 using GIT_SSH to set credentials SSH Credentials for GitHub 03:14:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/224/head:refs/remotes/origin/PR-224 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:14:40 > git config core.sparsecheckout # timeout=10 03:14:40 > git checkout -f 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee # timeout=10 03:14:40 Merge succeeded, producing 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee 03:14:40 Checking out Revision 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee (PR-224) 03:14:40 > git remote # timeout=10 03:14:40 > git config --get remote.origin.url # timeout=10 03:14:40 using GIT_SSH to set credentials SSH Credentials for GitHub 03:14:40 > git merge 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 # timeout=10 03:14:40 > git rev-parse HEAD^{commit} # timeout=10 03:14:40 > git config core.sparsecheckout # timeout=10 03:14:41 > git checkout -f 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee # timeout=10 03:14:42 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" 03:14:42 > git --version # timeout=10 03:14:42 > git --version # 'git version 2.25.1' 03:14:42 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:14:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:14:43 % Total % Received % Xferd Average Speed Time Time Time Current 03:14:43 Dload Upload Total Spent Left Speed 03:14:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh 03:14:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:14:44 + sudo tee /etc/docker/daemon.new 03:14:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:14:44 { 03:14:44 "registry-mirrors": [ 03:14:44 "https://nexus3.edgexfoundry.org:10001" 03:14:44 ], 03:14:44 "bip": "10.250.0.254/24", 03:14:44 "hosts": [ 03:14:44 "tcp://0.0.0.0:5555", 03:14:44 "unix:///var/run/docker.sock" 03:14:44 ], 03:14:44 "mtu": 1458, 03:14:44 "selinux-enabled": true, 03:14:44 "seccomp-profile": "/etc/docker/seccomp.json" 03:14:44 } [Pipeline] sh 03:14:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:14:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:15:04 provisioning config files... 03:15:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5936827022279090367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:15:04 ---> docker-login.sh 03:15:04 nexus3.edgexfoundry.org:10001 03:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:04 Configure a credential helper to remove this warning. See 03:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:04 03:15:04 Login Succeeded 03:15:04 nexus3.edgexfoundry.org:10002 03:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:05 Configure a credential helper to remove this warning. See 03:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:05 03:15:05 Login Succeeded 03:15:05 nexus3.edgexfoundry.org:10003 03:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:05 Configure a credential helper to remove this warning. See 03:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:05 03:15:05 Login Succeeded 03:15:05 nexus3.edgexfoundry.org:10004 03:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:06 Configure a credential helper to remove this warning. See 03:15:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:06 03:15:06 Login Succeeded 03:15:06 docker.io 03:15:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:06 Configure a credential helper to remove this warning. See 03:15:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:06 03:15:06 Login Succeeded 03:15:06 ---> docker-login.sh ends [Pipeline] } 03:15:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:15:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:15:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:15:07 ========================================================= 03:15:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:15:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 03:15:08 Sending build context to Docker daemon 20.52MB 03:15:08 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:15:08 Step 2/13 : FROM ${BASE} AS builder 03:15:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:15:08 9b18e9b68314: Pulling fs layer 03:15:08 35d82f9e3411: Pulling fs layer 03:15:08 e16973657156: Pulling fs layer 03:15:08 fc693d55d65f: Pulling fs layer 03:15:08 7e9fc2657dce: Pulling fs layer 03:15:08 dda99020689f: Pulling fs layer 03:15:08 db1c61fa0a46: Pulling fs layer 03:15:08 891c053d2c06: Pulling fs layer 03:15:08 fc693d55d65f: Waiting 03:15:08 7e9fc2657dce: Waiting 03:15:08 dda99020689f: Waiting 03:15:08 db1c61fa0a46: Waiting 03:15:08 891c053d2c06: Waiting 03:15:08 e16973657156: Verifying Checksum 03:15:08 e16973657156: Download complete 03:15:08 35d82f9e3411: Verifying Checksum 03:15:08 35d82f9e3411: Download complete 03:15:08 7e9fc2657dce: Verifying Checksum 03:15:08 7e9fc2657dce: Download complete 03:15:08 dda99020689f: Verifying Checksum 03:15:08 dda99020689f: Download complete 03:15:08 9b18e9b68314: Verifying Checksum 03:15:09 9b18e9b68314: Pull complete 03:15:09 891c053d2c06: Verifying Checksum 03:15:09 891c053d2c06: Download complete 03:15:09 35d82f9e3411: Pull complete 03:15:09 e16973657156: Pull complete 03:15:10 db1c61fa0a46: Verifying Checksum 03:15:10 db1c61fa0a46: Download complete 03:15:10 fc693d55d65f: Verifying Checksum 03:15:10 fc693d55d65f: Download complete 03:15:23 fc693d55d65f: Pull complete 03:15:23 7e9fc2657dce: Pull complete 03:15:23 dda99020689f: Pull complete 03:15:26 db1c61fa0a46: Pull complete 03:15:28 891c053d2c06: Pull complete 03:15:28 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 03:15:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:15:28 ---> f96f9c87975a 03:15:28 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:15:30 ---> Running in c3ace65f4a00 03:15:30 Removing intermediate container c3ace65f4a00 03:15:30 ---> a3ec20e1d640 03:15:30 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:15:30 ---> Running in cc448ec51e17 03:15:30 Removing intermediate container cc448ec51e17 03:15:30 ---> e9b70f892720 03:15:30 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:15:30 ---> Running in b60b9ec6d855 03:15:31 Removing intermediate container b60b9ec6d855 03:15:31 ---> 2a7e2bb9f8ea 03:15:31 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:15:31 ---> Running in cda80ed5ecb9 03:15:31 Removing intermediate container cda80ed5ecb9 03:15:31 ---> f8c6e834d324 03:15:31 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:15:31 ---> Running in 3ebbfe30532c 03:15:31 Removing intermediate container 3ebbfe30532c 03:15:31 ---> af73e2199335 03:15:31 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:15:31 ---> Running in e1998b24dfd3 03:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:15:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:15:33 OK: 221 MiB in 51 packages 03:15:34 Removing intermediate container e1998b24dfd3 03:15:34 ---> c7694392b26a 03:15:34 Step 9/13 : WORKDIR /device-onvif-camera 03:15:34 ---> Running in db512541d090 03:15:35 Removing intermediate container db512541d090 03:15:35 ---> 9ff1eb1a8735 03:15:35 Step 10/13 : COPY go.mod vendor* ./ 03:15:35 ---> f1346b21b7a3 03:15:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:15:35 ---> Running in 56ca2d1d0fb0 03:16:43 Removing intermediate container 56ca2d1d0fb0 03:16:43 ---> f3d15567d9da 03:16:43 Step 12/13 : COPY . . 03:16:43 ---> 274128228b44 03:16:43 Step 13/13 : RUN ${MAKE} 03:16:43 ---> Running in 27f34bc51ffb 03:16:43 noop 03:16:43 Removing intermediate container 27f34bc51ffb 03:16:43 ---> 8d211fb0914f 03:16:43 Successfully built 8d211fb0914f 03:16:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:44 + docker inspect -f . ci-base-image-arm64 03:16:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:44 prd-ubuntu20.04-docker-arm64-4c-16g-3934 does not seem to be running inside a container 03:16:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 03:16:45 $ docker top d5790cf1b61495a5869f4961cf8fcb350b367ca8d969e7b26420a5ec0baf8186 -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:46 + go version 03:16:46 go version go1.18.7 linux/arm64 [Pipeline] } 03:16:46 $ docker stop --time=1 d5790cf1b61495a5869f4961cf8fcb350b367ca8d969e7b26420a5ec0baf8186 03:16:48 $ docker rm -f --volumes d5790cf1b61495a5869f4961cf8fcb350b367ca8d969e7b26420a5ec0baf8186 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:49 + docker inspect -f . ci-base-image-arm64 03:16:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:49 prd-ubuntu20.04-docker-arm64-4c-16g-3934 does not seem to be running inside a container 03:16:49 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 03:16:50 $ docker top 92bb28f96f045b8b557d026b8aba219d20afe59e7d7f22adc1d5f53985b42c64 -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:51 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:16:52 + make test 03:16:52 go test ./... -coverprofile=coverage.out ./... 03:16:54 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:17:20 # github.com/edgexfoundry/device-sdk-go/v3/internal/config 03:17:20 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/config/config.go:74:3: unknown field 'SecretStore' in struct literal of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".BootstrapConfiguration 03:18:17 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 03:18:43 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.183s coverage: 86.5% of statements 03:18:43 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 03:18:43 $ docker stop --time=1 92bb28f96f045b8b557d026b8aba219d20afe59e7d7f22adc1d5f53985b42c64 03:18:45 $ docker rm -f --volumes 92bb28f96f045b8b557d026b8aba219d20afe59e7d7f22adc1d5f53985b42c64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:18:47 03:18:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:18:47 arm64: Pulling from edgex-lftools-log-publisher 03:18:47 8998bd30e6a1: Pulling fs layer 03:18:47 04944245beec: Pulling fs layer 03:18:47 699f458cf7ca: Pulling fs layer 03:18:47 765212b225bb: Pulling fs layer 03:18:47 f23df028b6ca: Pulling fs layer 03:18:47 d65c8cfc05b1: Pulling fs layer 03:18:47 2437ff75d9bd: Pulling fs layer 03:18:47 f23df028b6ca: Waiting 03:18:47 d65c8cfc05b1: Waiting 03:18:47 2437ff75d9bd: Waiting 03:18:47 765212b225bb: Waiting 03:18:47 04944245beec: Verifying Checksum 03:18:47 04944245beec: Download complete 03:18:47 765212b225bb: Verifying Checksum 03:18:47 765212b225bb: Download complete 03:18:48 f23df028b6ca: Verifying Checksum 03:18:48 f23df028b6ca: Download complete 03:18:48 d65c8cfc05b1: Verifying Checksum 03:18:48 d65c8cfc05b1: Download complete 03:18:48 699f458cf7ca: Verifying Checksum 03:18:48 699f458cf7ca: Download complete 03:18:48 8998bd30e6a1: Verifying Checksum 03:18:48 8998bd30e6a1: Download complete 03:18:50 2437ff75d9bd: Verifying Checksum 03:18:50 2437ff75d9bd: Download complete 03:18:52 8998bd30e6a1: Pull complete 03:18:53 04944245beec: Pull complete 03:18:54 699f458cf7ca: Pull complete 03:18:54 765212b225bb: Pull complete 03:18:55 f23df028b6ca: Pull complete 03:18:55 d65c8cfc05b1: Pull complete 03:19:10 2437ff75d9bd: Pull complete 03:19:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:19:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:19:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:10 prd-ubuntu20.04-docker-arm64-4c-16g-3934 does not seem to be running inside a container 03:19:10 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:19:13 $ docker top 9cbbdba67e87e7e53343394ac50f6cde70af249f7a87ec63aa23f6e89245511e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:14 ---> job-cost.sh 03:19:14 lf-activate-venv: SKIPPING 03:19:14 INFO: No Stack... 03:19:15 INFO: Retrieving Pricing Info for: v3-standard-4 03:19:16 INFO: Archiving Costs [Pipeline] sh 03:19:16 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:19:16 + cut -d, -f6 [Pipeline] lock 03:19:16 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-224-1-stack-cost] 03:19:16 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-224-1-stack-cost] did not exist. Created. 03:19:16 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-224-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:19:17 /w/workspace/device-onvif-camera/1@tmp/durable-70169e1e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:19:17 + echo total: 0.10999999940395355 [Pipeline] stash 03:19:17 Warning: overwriting stash ‘stack-cost’ 03:19:18 Stashed 1 file(s) [Pipeline] } 03:19:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-224-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:19:18 $ docker stop --time=1 9cbbdba67e87e7e53343394ac50f6cde70af249f7a87ec63aa23f6e89245511e 03:19:19 $ docker rm -f --volumes 9cbbdba67e87e7e53343394ac50f6cde70af249f7a87ec63aa23f6e89245511e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:19:20 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:19:22 + [ -d /w/workspace/undry_device-onvif-camera_PR-224/archives ] 03:19:22 + ls -al /w/workspace/undry_device-onvif-camera_PR-224/archives 03:19:22 total 16 03:19:22 drwxr-xr-x 3 root root 4096 Jan 30 03:14 . 03:19:22 drwxrwxr-x 11 jenkins jenkins 4096 Jan 30 03:14 .. 03:19:22 drwxr-xr-x 2 root root 4096 Jan 30 03:14 cost 03:19:22 -rw-r--r-- 1 root root 91 Jan 30 03:14 cost.csv 03:19:22 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-224/archives 03:19:22 + ls -al /w/workspace/undry_device-onvif-camera_PR-224/archives 03:19:22 total 16 03:19:22 drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 03:14 . 03:19:22 drwxrwxr-x 11 jenkins jenkins 4096 Jan 30 03:14 .. 03:19:22 drwxr-xr-x 2 jenkins jenkins 4096 Jan 30 03:14 cost 03:19:22 -rw-r--r-- 1 jenkins jenkins 91 Jan 30 03:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:19:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:19:23 ---> package-listing.sh 03:19:23 ++ facter osfamily 03:19:23 ++ tr '[:upper:]' '[:lower:]' 03:19:23 + OS_FAMILY=debian 03:19:23 + workspace=/w/workspace/undry_device-onvif-camera_PR-224 03:19:23 + START_PACKAGES=/tmp/packages_start.txt 03:19:23 + END_PACKAGES=/tmp/packages_end.txt 03:19:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:19:23 + PACKAGES=/tmp/packages_start.txt 03:19:23 + '[' /w/workspace/undry_device-onvif-camera_PR-224 ']' 03:19:23 + PACKAGES=/tmp/packages_end.txt 03:19:23 + case "${OS_FAMILY}" in 03:19:23 + dpkg -l 03:19:23 + grep '^ii' 03:19:23 + '[' -f /tmp/packages_start.txt ']' 03:19:23 + '[' -f /tmp/packages_end.txt ']' 03:19:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:19:23 + '[' /w/workspace/undry_device-onvif-camera_PR-224 ']' 03:19:23 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-224/archives/ 03:19:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-224/archives/ [Pipeline] echo 03:19:23 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-224/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:19:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:24 prd-ubuntu20.04-docker-8c-8g-3933 does not seem to be running inside a container 03:19:24 $ 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-224/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-224 -v /w/workspace/undry_device-onvif-camera_PR-224:/w/workspace/undry_device-onvif-camera_PR-224:rw,z -v /w/workspace/undry_device-onvif-camera_PR-224@tmp:/w/workspace/undry_device-onvif-camera_PR-224@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:19:25 $ docker top 401199e0d19b0586907870043299d8ebebd23015a77e393f309dd477b19991ae -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:25 + touch /tmp/pre-build-complete [Pipeline] sh 03:19:25 + mkdir -p /var/log/sysstat [Pipeline] sh 03:19:26 + ls /var/log/sa-host 03:19:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:19:26 provisioning config files... 03:19:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-224@tmp/config10107104956045440151tmp [Pipeline] { [Pipeline] echo 03:19:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:19:26 ---> create-netrc.sh [Pipeline] } 03:19:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:19:27 ---> python-tools-install.sh [Pipeline] echo 03:19:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:19:27 ---> sudo-logs.sh 03:19:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:19:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:19:27 ---> job-cost.sh 03:19:27 lf-activate-venv: SKIPPING 03:19:27 DEBUG: total: 0.2199999988079071 03:19:27 INFO: Retrieving Stack Cost... 03:19:28 INFO: Retrieving Pricing Info for: v3-standard-8 03:19:29 INFO: Archiving Costs [Pipeline] echo 03:19:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:19:29 ---> logs-deploy.sh 03:19:29 lf-activate-venv: SKIPPING 03:19:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-224/1 03:19:29 INFO: archiving workspace using pattern(s): 03:19:30 Archives upload complete. 03:19:30 INFO: archiving logs to Nexus