Pull request #232 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 58e3a01b161305a2dc12d00f19d2c8cfe93de644+03e3920523c9ccf0abebb32dc2ec7b89e7815765 (8b96da78961003e7ed5eb1abe03a6e94455f0cdb) 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-ssh13566790472726557245.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-ssh159856608578123805.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-232/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-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13877186310601805851.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 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-ssh8991827748956743289.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-232/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-232/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8065725049689779855.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.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 ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-6115’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6167’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6168’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6173’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-6170’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6171’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6179 in /w/workspace/undry_device-onvif-camera_PR-232 [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-232 # 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/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 03e3920523c9ccf0abebb32dc2ec7b89e7815765 into PR head commit 58e3a01b161305a2dc12d00f19d2c8cfe93de644 Merge succeeded, producing 58e3a01b161305a2dc12d00f19d2c8cfe93de644 Checking out Revision 58e3a01b161305a2dc12d00f19d2c8cfe93de644 (PR-232) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f 58e3a01b161305a2dc12d00f19d2c8cfe93de644 # 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 03e3920523c9ccf0abebb32dc2ec7b89e7815765 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58e3a01b161305a2dc12d00f19d2c8cfe93de644 # timeout=10 > git rev-list --no-walk edc0738a55fbc1b1250fe0b17dd7a21488aac359 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:13 ========================================================= 18:42:13 EdgeX Global Pipelines Version Info 18:42:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:15 ------------------- 18:42:15 stable info: 18:42:15 ------------------- 18:42:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:42:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:42:15 Message: update stable to v1.0.244 18:42:15 ------------------- 18:42:15 experimental info: 18:42:15 ------------------- 18:42:15 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:42:15 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-232 [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-232 [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-232 [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58e3a01b161305a2dc12d00f19d2c8cfe93de644 [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58e3a01 [Pipeline] echo 18:42:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:15 provisioning config files... 18:42:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-232@tmp/config6193269980108055378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:16 ---> docker-login.sh 18:42:16 nexus3.edgexfoundry.org:10001 18:42:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:16 Configure a credential helper to remove this warning. See 18:42:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:16 18:42:16 Login Succeeded 18:42:16 nexus3.edgexfoundry.org:10002 18:42:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:16 Configure a credential helper to remove this warning. See 18:42:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:16 18:42:16 Login Succeeded 18:42:16 nexus3.edgexfoundry.org:10003 18:42:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:16 Configure a credential helper to remove this warning. See 18:42:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:16 18:42:16 Login Succeeded 18:42:16 nexus3.edgexfoundry.org:10004 18:42:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:16 Configure a credential helper to remove this warning. See 18:42:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:16 18:42:16 Login Succeeded 18:42:16 docker.io 18:42:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:17 Configure a credential helper to remove this warning. See 18:42:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:17 18:42:17 Login Succeeded 18:42:17 ---> docker-login.sh ends [Pipeline] } 18:42:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:42:17 + git rev-list -1 --merges 58e3a01b161305a2dc12d00f19d2c8cfe93de644~1..58e3a01b161305a2dc12d00f19d2c8cfe93de644 [Pipeline] echo 18:42:17 -----------> git rev-list -1 --merges 58e3a01b161305a2dc12d00f19d2c8cfe93de644~1..58e3a01b161305a2dc12d00f19d2c8cfe93de644 58e3a01b161305a2dc12d00f19d2c8cfe93de644 [false] [Pipeline] sh 18:42:17 + git log --format=format:%s -1 58e3a01b161305a2dc12d00f19d2c8cfe93de644 [Pipeline] echo 18:42:17 ========================================================= 18:42:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:42:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:18 + git log --format=format:%s -1 58e3a01b161305a2dc12d00f19d2c8cfe93de644 [Pipeline] echo 18:42:18 [semverPrep] GIT_COMMIT: 58e3a01b161305a2dc12d00f19d2c8cfe93de644, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 18:42:18 [semverPrep] This is not a build commit. [Pipeline] sh 18:42:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:42:18 + grep -v github /etc/ssh/ssh_known_hosts 18:42:18 + [ -e /tmp/ssh_known_hosts ] 18:42:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:42:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:42:18 + sudo tee -a /etc/ssh/ssh_known_hosts 18:42:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:18 18:42:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:19 0.1.4: Pulling from edgex-devops/py-git-semver 18:42:19 b85a868b505f: Pulling fs layer 18:42:19 e2be974225ed: Pulling fs layer 18:42:19 339a4e72a1f5: Pulling fs layer 18:42:19 988bab9f4d93: Pulling fs layer 18:42:19 1469e6f7b9e6: Pulling fs layer 18:42:19 eaf3925da568: Pulling fs layer 18:42:19 bab4dde63d76: Pulling fs layer 18:42:19 bde34c3a00c8: Pulling fs layer 18:42:19 b352a97aabf1: Pulling fs layer 18:42:19 4872d77fe225: Pulling fs layer 18:42:19 5851b861e8e6: Pulling fs layer 18:42:19 1469e6f7b9e6: Waiting 18:42:19 eaf3925da568: Waiting 18:42:19 bab4dde63d76: Waiting 18:42:19 bde34c3a00c8: Waiting 18:42:19 b352a97aabf1: Waiting 18:42:19 4872d77fe225: Waiting 18:42:19 5851b861e8e6: Waiting 18:42:19 988bab9f4d93: Waiting 18:42:19 e2be974225ed: Download complete 18:42:19 988bab9f4d93: Verifying Checksum 18:42:19 988bab9f4d93: Download complete 18:42:19 1469e6f7b9e6: Verifying Checksum 18:42:19 1469e6f7b9e6: Download complete 18:42:19 eaf3925da568: Verifying Checksum 18:42:19 eaf3925da568: Download complete 18:42:19 339a4e72a1f5: Verifying Checksum 18:42:19 339a4e72a1f5: Download complete 18:42:19 bde34c3a00c8: Verifying Checksum 18:42:19 bde34c3a00c8: Download complete 18:42:19 b352a97aabf1: Verifying Checksum 18:42:19 b352a97aabf1: Download complete 18:42:19 4872d77fe225: Verifying Checksum 18:42:19 4872d77fe225: Download complete 18:42:19 5851b861e8e6: Verifying Checksum 18:42:19 5851b861e8e6: Download complete 18:42:19 b85a868b505f: Verifying Checksum 18:42:19 b85a868b505f: Download complete 18:42:20 bab4dde63d76: Verifying Checksum 18:42:20 bab4dde63d76: Download complete 18:42:20 b85a868b505f: Pull complete 18:42:21 e2be974225ed: Pull complete 18:42:21 339a4e72a1f5: Pull complete 18:42:21 988bab9f4d93: Pull complete 18:42:22 1469e6f7b9e6: Pull complete 18:42:22 eaf3925da568: Pull complete 18:42:23 bab4dde63d76: Pull complete 18:42:23 bde34c3a00c8: Pull complete 18:42:23 b352a97aabf1: Pull complete 18:42:23 4872d77fe225: Pull complete 18:42:23 5851b861e8e6: Pull complete 18:42:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:42:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:24 prd-ubuntu20.04-docker-8c-8g-6179 does not seem to be running inside a container 18:42:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@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-devops/py-git-semver:0.1.4 cat 18:42:26 $ docker top e8cd2d5b68656c25acf172b1ef5a36c48379c305ab87fc7af2f2c97a1b1a58e3 -eo pid,comm 18:42:26 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:42:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:26 [ssh-agent] Looking for ssh-agent implementation... 18:42:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:26 $ docker exec e8cd2d5b68656c25acf172b1ef5a36c48379c305ab87fc7af2f2c97a1b1a58e3 ssh-agent 18:42:26 SSH_AUTH_SOCK=/tmp/ssh-uOsHpCHF8YmX/agent.33 18:42:26 SSH_AGENT_PID=40 18:42:26 Running ssh-add (command line suppressed) 18:42:26 Identity added: /w/workspace/undry_device-onvif-camera_PR-232@tmp/private_key_17414864699052155156.key (/w/workspace/undry_device-onvif-camera_PR-232@tmp/private_key_17414864699052155156.key) 18:42:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:27 + git tag --points-at HEAD [Pipeline] } 18:42:27 $ docker exec --env ******** --env ******** e8cd2d5b68656c25acf172b1ef5a36c48379c305ab87fc7af2f2c97a1b1a58e3 ssh-agent -k 18:42:27 unset SSH_AUTH_SOCK; 18:42:27 unset SSH_AGENT_PID; 18:42:27 echo Agent pid 40 killed; 18:42:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:27 [ssh-agent] Looking for ssh-agent implementation... 18:42:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:27 $ docker exec e8cd2d5b68656c25acf172b1ef5a36c48379c305ab87fc7af2f2c97a1b1a58e3 ssh-agent 18:42:27 SSH_AUTH_SOCK=/tmp/ssh-7y5X4i6aDKVp/agent.72 18:42:27 SSH_AGENT_PID=78 18:42:27 Running ssh-add (command line suppressed) 18:42:27 Identity added: /w/workspace/undry_device-onvif-camera_PR-232@tmp/private_key_15745744360740354597.key (/w/workspace/undry_device-onvif-camera_PR-232@tmp/private_key_15745744360740354597.key) 18:42:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:27 + git semver init 18:42:28 2023-02-15 18:42:28,025 [run_init] DEBUG init version:0.0.0 force:False 18:42:28 2023-02-15 18:42:28,026 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-232/.semver 18:42:28 2023-02-15 18:42:28,026 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-232/.semver 18:42:28 2023-02-15 18:42:28,027 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-232/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-232, universal_newlines=False, shell=None, istream=None) 18:42:29 2023-02-15 18:42:29,064 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-232/.git/info/exclude 18:42:29 2023-02-15 18:42:29,064 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-232/.semver/PR-232 with force:False 18:42:29 2023-02-15 18:42:29,064 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-232/.semver/PR-232 18:42:29 2023-02-15 18:42:29,068 [execute] INFO git cat-file --batch-check 18:42:29 2023-02-15 18:42:29,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-232/.semver, universal_newlines=False, shell=None, istream=) 18:42:29 2023-02-15 18:42:29,077 [execute] INFO git cat-file --batch 18:42:29 2023-02-15 18:42:29,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-232/.semver, universal_newlines=False, shell=None, istream=) 18:42:29 2023-02-15 18:42:29,083 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-232/.semver/PR-232 18:42:29 0.0.0 [Pipeline] } 18:42:29 $ docker exec --env ******** --env ******** e8cd2d5b68656c25acf172b1ef5a36c48379c305ab87fc7af2f2c97a1b1a58e3 ssh-agent -k 18:42:29 unset SSH_AUTH_SOCK; 18:42:29 unset SSH_AGENT_PID; 18:42:29 echo Agent pid 78 killed; 18:42:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:29 + git semver [Pipeline] } 18:42:30 $ docker stop --time=1 e8cd2d5b68656c25acf172b1ef5a36c48379c305ab87fc7af2f2c97a1b1a58e3 18:42:31 $ docker rm -f --volumes e8cd2d5b68656c25acf172b1ef5a36c48379c305ab87fc7af2f2c97a1b1a58e3 [Pipeline] // withDockerContainer [Pipeline] sh 18:42:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:31 Stashed 1 file(s) [Pipeline] echo 18:42:31 [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:42:32 provisioning config files... 18:42:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-232@tmp/config89939993998620770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:32 ---> docker-login.sh 18:42:32 nexus3.edgexfoundry.org:10001 18:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:32 Configure a credential helper to remove this warning. See 18:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:32 18:42:32 Login Succeeded 18:42:32 nexus3.edgexfoundry.org:10002 18:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:32 Configure a credential helper to remove this warning. See 18:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:32 18:42:32 Login Succeeded 18:42:32 nexus3.edgexfoundry.org:10003 18:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:32 Configure a credential helper to remove this warning. See 18:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:32 18:42:32 Login Succeeded 18:42:32 nexus3.edgexfoundry.org:10004 18:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:32 Configure a credential helper to remove this warning. See 18:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:32 18:42:32 Login Succeeded 18:42:32 docker.io 18:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:32 Configure a credential helper to remove this warning. See 18:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:32 18:42:32 Login Succeeded 18:42:32 ---> docker-login.sh ends [Pipeline] } 18:42:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:42:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:33 ========================================================= 18:42:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:42:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:33 + 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 . 18:42:33 Sending build context to Docker daemon 27.71MB 18:42:33 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:42:33 Step 2/13 : FROM ${BASE} AS builder 18:42:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:42:33 213ec9aee27d: Pulling fs layer 18:42:33 4583459ba037: Pulling fs layer 18:42:33 93c1e223e6f2: Pulling fs layer 18:42:33 53926ce57604: Pulling fs layer 18:42:33 21b2b0c7a3f4: Pulling fs layer 18:42:33 22ff95d597cd: Pulling fs layer 18:42:33 12d6caf4c0d1: Pulling fs layer 18:42:33 96b7cbca73a9: Pulling fs layer 18:42:33 a7acece74701: Pulling fs layer 18:42:33 21b2b0c7a3f4: Waiting 18:42:33 53926ce57604: Waiting 18:42:33 22ff95d597cd: Waiting 18:42:33 96b7cbca73a9: Waiting 18:42:33 a7acece74701: Waiting 18:42:33 93c1e223e6f2: Verifying Checksum 18:42:33 93c1e223e6f2: Download complete 18:42:33 4583459ba037: Download complete 18:42:33 21b2b0c7a3f4: Verifying Checksum 18:42:33 21b2b0c7a3f4: Download complete 18:42:33 22ff95d597cd: Verifying Checksum 18:42:33 22ff95d597cd: Download complete 18:42:33 213ec9aee27d: Verifying Checksum 18:42:33 213ec9aee27d: Download complete 18:42:33 12d6caf4c0d1: Verifying Checksum 18:42:33 12d6caf4c0d1: Download complete 18:42:33 213ec9aee27d: Pull complete 18:42:34 4583459ba037: Pull complete 18:42:34 93c1e223e6f2: Pull complete 18:42:34 a7acece74701: Verifying Checksum 18:42:34 a7acece74701: Download complete 18:42:34 96b7cbca73a9: Verifying Checksum 18:42:34 96b7cbca73a9: Download complete 18:42:35 53926ce57604: Verifying Checksum 18:42:35 53926ce57604: Download complete 18:42:39 53926ce57604: Pull complete 18:42:39 21b2b0c7a3f4: Pull complete 18:42:39 22ff95d597cd: Pull complete 18:42:39 12d6caf4c0d1: Pull complete 18:42:41 96b7cbca73a9: Pull complete 18:42:41 a7acece74701: Pull complete 18:42:41 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:42:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:42:41 ---> db6d94c90886 18:42:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:42:47 Still waiting to schedule task 18:42:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6177’ 18:42:47 ---> Running in 23c6f8dac07c 18:42:47 Removing intermediate container 23c6f8dac07c 18:42:47 ---> 99f73f37415f 18:42:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:42:47 ---> Running in 307e2a17f418 18:42:47 Removing intermediate container 307e2a17f418 18:42:47 ---> d92d3453a37d 18:42:47 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:42:47 ---> Running in d8db91a2c570 18:42:47 Removing intermediate container d8db91a2c570 18:42:47 ---> 14059180c609 18:42:47 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:42:47 ---> Running in 0435294e587e 18:42:47 Removing intermediate container 0435294e587e 18:42:47 ---> a5d7bdfd5ed2 18:42:47 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:42:47 ---> Running in a21f82e18d15 18:42:47 Removing intermediate container a21f82e18d15 18:42:47 ---> 474c53bda66c 18:42:47 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:42:47 ---> Running in 34568bcb7dc2 18:42:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:42:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:42:47 OK: 211 MiB in 51 packages 18:42:48 Removing intermediate container 34568bcb7dc2 18:42:48 ---> f4f29349cedb 18:42:48 Step 9/13 : WORKDIR /device-onvif-camera 18:42:48 ---> Running in ba9f8897cbf3 18:42:48 Removing intermediate container ba9f8897cbf3 18:42:48 ---> db93cd05d3d3 18:42:48 Step 10/13 : COPY go.mod vendor* ./ 18:42:48 ---> 071e8dfb9ab9 18:42:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:48 ---> Running in 163fdcac31bc 18:43:27 Removing intermediate container 163fdcac31bc 18:43:27 ---> 771e38d3d93b 18:43:27 Step 12/13 : COPY . . 18:43:27 ---> afca199c48a2 18:43:27 Step 13/13 : RUN ${MAKE} 18:43:27 ---> Running in 317d2a6e1ed6 18:43:27 noop 18:43:27 Removing intermediate container 317d2a6e1ed6 18:43:27 ---> 01c4f75bd3d4 18:43:27 Successfully built 01c4f75bd3d4 18:43:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:27 + docker inspect -f . ci-base-image-x86_64 18:43:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:27 prd-ubuntu20.04-docker-8c-8g-6179 does not seem to be running inside a container 18:43:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@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 ******** ci-base-image-x86_64 cat 18:43:27 $ docker top df0583a2412eb16924a9a8fe8a275bde95e9902fd8d31bda35b6b001dfda72c4 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:28 + go version 18:43:28 go version go1.18.7 linux/amd64 [Pipeline] } 18:43:28 $ docker stop --time=1 df0583a2412eb16924a9a8fe8a275bde95e9902fd8d31bda35b6b001dfda72c4 18:43:29 $ docker rm -f --volumes df0583a2412eb16924a9a8fe8a275bde95e9902fd8d31bda35b6b001dfda72c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:29 + docker inspect -f . ci-base-image-x86_64 18:43:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:30 prd-ubuntu20.04-docker-8c-8g-6179 does not seem to be running inside a container 18:43:30 $ 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-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@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 ******** ci-base-image-x86_64 cat 18:43:30 $ docker top 57092bc483b752c5ae0b17e4701ca114441251bd701173b8cc2c64bc491c220e -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:30 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-232 [Pipeline] fileExists [Pipeline] sh 18:43:31 + make test 18:43:31 go test ./... -coverprofile=coverage.out ./... 18:43:31 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:43:41 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 18:43:41 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.28/internal/controller/http/common.go:97:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) 18:43:41 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 18:43:41 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.250s coverage: 86.5% of statements 18:43:41 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 18:43:41 $ docker stop --time=1 57092bc483b752c5ae0b17e4701ca114441251bd701173b8cc2c64bc491c220e 18:43:44 $ docker rm -f --volumes 57092bc483b752c5ae0b17e4701ca114441251bd701173b8cc2c64bc491c220e [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 18:43:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:44 18:43:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:45 latest: Pulling from edgex-lftools-log-publisher 18:43:45 5eb5b503b376: Pulling fs layer 18:43:45 5c69ac0246d0: Pulling fs layer 18:43:45 ec43610c2a17: Pulling fs layer 18:43:45 3a2ae6a8a46f: Pulling fs layer 18:43:45 33b1e0a273af: Pulling fs layer 18:43:45 5d3b04190fa2: Pulling fs layer 18:43:45 2f39f015ded8: Pulling fs layer 18:43:45 33b1e0a273af: Waiting 18:43:45 5d3b04190fa2: Waiting 18:43:45 2f39f015ded8: Waiting 18:43:45 3a2ae6a8a46f: Waiting 18:43:45 5c69ac0246d0: Download complete 18:43:45 3a2ae6a8a46f: Verifying Checksum 18:43:45 3a2ae6a8a46f: Download complete 18:43:45 33b1e0a273af: Verifying Checksum 18:43:45 33b1e0a273af: Download complete 18:43:45 5d3b04190fa2: Verifying Checksum 18:43:45 5d3b04190fa2: Download complete 18:43:45 ec43610c2a17: Verifying Checksum 18:43:45 ec43610c2a17: Download complete 18:43:45 5eb5b503b376: Verifying Checksum 18:43:45 5eb5b503b376: Download complete 18:43:46 2f39f015ded8: Verifying Checksum 18:43:46 2f39f015ded8: Download complete 18:43:46 5eb5b503b376: Pull complete 18:43:46 5c69ac0246d0: Pull complete 18:43:47 ec43610c2a17: Pull complete 18:43:47 3a2ae6a8a46f: Pull complete 18:43:47 33b1e0a273af: Pull complete 18:43:47 5d3b04190fa2: Pull complete 18:43:51 2f39f015ded8: Pull complete 18:43:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:43:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:51 prd-ubuntu20.04-docker-8c-8g-6179 does not seem to be running inside a container 18:43:51 $ 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-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:43:55 $ docker top e55d412d32649bccf7373ae7e42624ab54f6b4da565f5b0a190c21230bb34c4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:55 ---> job-cost.sh 18:43:55 lf-activate-venv: SKIPPING 18:43:55 INFO: No Stack... 18:43:55 INFO: Retrieving Pricing Info for: v3-standard-8 18:43:56 INFO: Archiving Costs [Pipeline] sh 18:43:56 + cat /w/workspace/undry_device-onvif-camera_PR-232/archives/cost.csv 18:43:56 + cut -d, -f6 [Pipeline] lock 18:43:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-232-2-stack-cost] 18:43:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-232-2-stack-cost] did not exist. Created. 18:43:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-232-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:43:57 + echo total: 0.2199999988079071 [Pipeline] stash 18:43:57 Stashed 1 file(s) [Pipeline] } 18:43:57 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-232-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:43:57 $ docker stop --time=1 e55d412d32649bccf7373ae7e42624ab54f6b4da565f5b0a190c21230bb34c4f 18:43:58 $ docker rm -f --volumes e55d412d32649bccf7373ae7e42624ab54f6b4da565f5b0a190c21230bb34c4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:43:58 Failed in branch amd64 18:46:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6189 in /w/workspace/undry_device-onvif-camera_PR-232 [Pipeline] { [Pipeline] ws 18:46:14 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 18:46:14 The recommended git tool is: git 18:46:21 using credential edgex-jenkins-ssh 18:46:21 Cloning the remote Git repository 18:46:21 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:46:21 > git init /w/workspace/device-onvif-camera/2 # timeout=10 18:46:22 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:46:22 > git --version # timeout=10 18:46:22 > git --version # 'git version 2.25.1' 18:46:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:46:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:46:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:46:26 Merging remotes/origin/main commit 03e3920523c9ccf0abebb32dc2ec7b89e7815765 into PR head commit 58e3a01b161305a2dc12d00f19d2c8cfe93de644 18:46:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:46:25 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:46:25 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:46:26 > git config core.sparsecheckout # timeout=10 18:46:26 > git checkout -f 58e3a01b161305a2dc12d00f19d2c8cfe93de644 # timeout=10 18:46:26 Merge succeeded, producing 58e3a01b161305a2dc12d00f19d2c8cfe93de644 18:46:26 Checking out Revision 58e3a01b161305a2dc12d00f19d2c8cfe93de644 (PR-232) 18:46:26 > git remote # timeout=10 18:46:26 > git config --get remote.origin.url # timeout=10 18:46:26 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:26 > git merge 03e3920523c9ccf0abebb32dc2ec7b89e7815765 # timeout=10 18:46:26 > git rev-parse HEAD^{commit} # timeout=10 18:46:26 > git config core.sparsecheckout # timeout=10 18:46:26 > git checkout -f 58e3a01b161305a2dc12d00f19d2c8cfe93de644 # timeout=10 18:46:27 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:46:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:46:28 % Total % Received % Xferd Average Speed Time Time Time Current 18:46:28 Dload Upload Total Spent Left Speed 18:46:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 163k [Pipeline] sh 18:46:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:46:29 + sudo jq+ sudo tee /etc/docker/daemon.new 18:46:29 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:46:29 { 18:46:29 "registry-mirrors": [ 18:46:29 "https://nexus3.edgexfoundry.org:10001" 18:46:29 ], 18:46:29 "bip": "10.250.0.254/24", 18:46:29 "hosts": [ 18:46:29 "tcp://0.0.0.0:5555", 18:46:29 "unix:///var/run/docker.sock" 18:46:29 ], 18:46:29 "mtu": 1458, 18:46:29 "selinux-enabled": true, 18:46:29 "seccomp-profile": "/etc/docker/seccomp.json" 18:46:29 } [Pipeline] sh 18:46:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:46:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:48 provisioning config files... 18:46:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config8045115390040198874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:49 ---> docker-login.sh 18:46:49 nexus3.edgexfoundry.org:10001 18:46:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:49 Configure a credential helper to remove this warning. See 18:46:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:49 18:46:49 Login Succeeded 18:46:49 nexus3.edgexfoundry.org:10002 18:46:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:50 Configure a credential helper to remove this warning. See 18:46:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:50 18:46:50 Login Succeeded 18:46:50 nexus3.edgexfoundry.org:10003 18:46:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:50 Configure a credential helper to remove this warning. See 18:46:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:50 18:46:50 Login Succeeded 18:46:50 nexus3.edgexfoundry.org:10004 18:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:51 Configure a credential helper to remove this warning. See 18:46:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:51 18:46:51 Login Succeeded 18:46:51 docker.io 18:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:51 Configure a credential helper to remove this warning. See 18:46:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:51 18:46:51 Login Succeeded 18:46:51 ---> docker-login.sh ends [Pipeline] } 18:46:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:46:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:46:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:46:52 ========================================================= 18:46:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:46:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:52 + 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 . 18:46:53 Sending build context to Docker daemon 20.54MB 18:46:53 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:46:53 Step 2/13 : FROM ${BASE} AS builder 18:46:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:46:53 9b18e9b68314: Pulling fs layer 18:46:53 35d82f9e3411: Pulling fs layer 18:46:53 e16973657156: Pulling fs layer 18:46:53 fc693d55d65f: Pulling fs layer 18:46:53 7e9fc2657dce: Pulling fs layer 18:46:53 dda99020689f: Pulling fs layer 18:46:53 db1c61fa0a46: Pulling fs layer 18:46:53 891c053d2c06: Pulling fs layer 18:46:53 fc693d55d65f: Waiting 18:46:53 7e9fc2657dce: Waiting 18:46:53 dda99020689f: Waiting 18:46:53 db1c61fa0a46: Waiting 18:46:53 891c053d2c06: Waiting 18:46:53 e16973657156: Download complete 18:46:53 35d82f9e3411: Verifying Checksum 18:46:53 35d82f9e3411: Download complete 18:46:53 7e9fc2657dce: Verifying Checksum 18:46:53 7e9fc2657dce: Download complete 18:46:53 dda99020689f: Download complete 18:46:54 9b18e9b68314: Verifying Checksum 18:46:54 9b18e9b68314: Download complete 18:46:55 9b18e9b68314: Pull complete 18:46:56 891c053d2c06: Verifying Checksum 18:46:56 891c053d2c06: Download complete 18:46:56 35d82f9e3411: Pull complete 18:46:56 e16973657156: Pull complete 18:46:57 db1c61fa0a46: Verifying Checksum 18:46:57 db1c61fa0a46: Download complete 18:46:58 fc693d55d65f: Download complete 18:47:13 fc693d55d65f: Pull complete 18:47:13 7e9fc2657dce: Pull complete 18:47:13 dda99020689f: Pull complete 18:47:18 db1c61fa0a46: Pull complete 18:47:21 891c053d2c06: Pull complete 18:47:21 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:47:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:47:21 ---> f96f9c87975a 18:47:21 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:47:23 ---> Running in 09e746e8afe1 18:47:23 Removing intermediate container 09e746e8afe1 18:47:23 ---> ed142f8d0217 18:47:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:47:23 ---> Running in d16b951e74e8 18:47:24 Removing intermediate container d16b951e74e8 18:47:24 ---> 602eb3646cf0 18:47:24 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:47:24 ---> Running in 953b9988affa 18:47:24 Removing intermediate container 953b9988affa 18:47:24 ---> e1f1db532422 18:47:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:47:24 ---> Running in cadf0820b027 18:47:25 Removing intermediate container cadf0820b027 18:47:25 ---> d712fbe18099 18:47:25 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:47:25 ---> Running in ffcf12ff3ed6 18:47:25 Removing intermediate container ffcf12ff3ed6 18:47:25 ---> dd8a187b9934 18:47:25 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:47:25 ---> Running in 67388d24fb39 18:47:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:47:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:47:29 OK: 221 MiB in 51 packages 18:47:30 Removing intermediate container 67388d24fb39 18:47:30 ---> a2400df6139d 18:47:30 Step 9/13 : WORKDIR /device-onvif-camera 18:47:30 ---> Running in 234b466805c8 18:47:30 Removing intermediate container 234b466805c8 18:47:30 ---> 0a81545b4430 18:47:30 Step 10/13 : COPY go.mod vendor* ./ 18:47:31 ---> ccdb7d1275dc 18:47:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:47:31 ---> Running in cce7b3406535 18:48:53 Removing intermediate container cce7b3406535 18:48:53 ---> d49875b6109a 18:48:53 Step 12/13 : COPY . . 18:48:53 ---> 4d731c035715 18:48:53 Step 13/13 : RUN ${MAKE} 18:48:53 ---> Running in e1e13abede2b 18:48:53 noop 18:48:53 Removing intermediate container e1e13abede2b 18:48:53 ---> 3476698e423e 18:48:53 Successfully built 3476698e423e 18:48:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:53 + docker inspect -f . ci-base-image-arm64 18:48:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:53 prd-ubuntu20.04-docker-arm64-4c-16g-6189 does not seem to be running inside a container 18:48:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:48:55 $ docker top ba45ba5650bb9772340fec9a3d734f9d1a57b6f296f8ad376670c185b93a86f3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:56 + go version 18:48:56 go version go1.18.7 linux/arm64 [Pipeline] } 18:48:56 $ docker stop --time=1 ba45ba5650bb9772340fec9a3d734f9d1a57b6f296f8ad376670c185b93a86f3 18:48:58 $ docker rm -f --volumes ba45ba5650bb9772340fec9a3d734f9d1a57b6f296f8ad376670c185b93a86f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:58 + docker inspect -f . ci-base-image-arm64 18:48:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:58 prd-ubuntu20.04-docker-arm64-4c-16g-6189 does not seem to be running inside a container 18:48:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:49:00 $ docker top e8fd36b695702395c3b6c31c2bf746ca208f0e153b18b31a91fe254fbb101b8a -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:01 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 18:49:01 + make test 18:49:01 go test ./... -coverprofile=coverage.out ./... 18:49:03 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:51:10 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 18:51:10 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.28/internal/controller/http/common.go:97:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) 18:51:10 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 18:51:32 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.720s coverage: 86.5% of statements 18:51:32 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 18:51:32 $ docker stop --time=1 e8fd36b695702395c3b6c31c2bf746ca208f0e153b18b31a91fe254fbb101b8a 18:51:34 $ docker rm -f --volumes e8fd36b695702395c3b6c31c2bf746ca208f0e153b18b31a91fe254fbb101b8a [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 18:51:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:51:35 18:51:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:51:36 arm64: Pulling from edgex-lftools-log-publisher 18:51:36 8998bd30e6a1: Pulling fs layer 18:51:36 04944245beec: Pulling fs layer 18:51:36 699f458cf7ca: Pulling fs layer 18:51:36 765212b225bb: Pulling fs layer 18:51:36 f23df028b6ca: Pulling fs layer 18:51:36 d65c8cfc05b1: Pulling fs layer 18:51:36 2437ff75d9bd: Pulling fs layer 18:51:36 f23df028b6ca: Waiting 18:51:36 d65c8cfc05b1: Waiting 18:51:36 2437ff75d9bd: Waiting 18:51:36 765212b225bb: Waiting 18:51:36 04944245beec: Verifying Checksum 18:51:36 04944245beec: Download complete 18:51:36 765212b225bb: Verifying Checksum 18:51:36 765212b225bb: Download complete 18:51:36 f23df028b6ca: Verifying Checksum 18:51:36 f23df028b6ca: Download complete 18:51:36 d65c8cfc05b1: Download complete 18:51:36 699f458cf7ca: Verifying Checksum 18:51:36 699f458cf7ca: Download complete 18:51:37 8998bd30e6a1: Download complete 18:51:39 2437ff75d9bd: Verifying Checksum 18:51:39 2437ff75d9bd: Download complete 18:51:43 8998bd30e6a1: Pull complete 18:51:43 04944245beec: Pull complete 18:51:44 699f458cf7ca: Pull complete 18:51:44 765212b225bb: Pull complete 18:51:45 f23df028b6ca: Pull complete 18:51:45 d65c8cfc05b1: Pull complete 18:52:00 2437ff75d9bd: Pull complete 18:52:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:52:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:52:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:00 prd-ubuntu20.04-docker-arm64-4c-16g-6189 does not seem to be running inside a container 18:52:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:52:04 $ docker top 1d41918110742e6e6164f5a2697e2eacb86c24e7175647b3d8dc42bd15026b75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:04 ---> job-cost.sh 18:52:04 lf-activate-venv: SKIPPING 18:52:04 INFO: No Stack... 18:52:05 INFO: Retrieving Pricing Info for: v3-standard-4 18:52:06 INFO: Archiving Costs [Pipeline] sh 18:52:06 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 18:52:06 + cut -d, -f6 [Pipeline] lock 18:52:06 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-232-2-stack-cost] 18:52:06 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-232-2-stack-cost] did not exist. Created. 18:52:06 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-232-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:52:07 /w/workspace/device-onvif-camera/2@tmp/durable-3a446355/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:52:08 + echo total: 0.10999999940395355 [Pipeline] stash 18:52:08 Warning: overwriting stash ‘stack-cost’ 18:52:08 Stashed 1 file(s) [Pipeline] } 18:52:08 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-232-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:52:08 $ docker stop --time=1 1d41918110742e6e6164f5a2697e2eacb86c24e7175647b3d8dc42bd15026b75 18:52:10 $ docker rm -f --volumes 1d41918110742e6e6164f5a2697e2eacb86c24e7175647b3d8dc42bd15026b75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:52:10 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 18:52:11 + [ -d /w/workspace/undry_device-onvif-camera_PR-232/archives ] 18:52:11 + ls -al /w/workspace/undry_device-onvif-camera_PR-232/archives 18:52:11 total 16 18:52:11 drwxr-xr-x 3 root root 4096 Feb 15 18:43 . 18:52:11 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 18:43 .. 18:52:11 drwxr-xr-x 2 root root 4096 Feb 15 18:43 cost 18:52:11 -rw-r--r-- 1 root root 91 Feb 15 18:43 cost.csv 18:52:11 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-232/archives 18:52:11 + ls -al /w/workspace/undry_device-onvif-camera_PR-232/archives 18:52:11 total 16 18:52:11 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:43 . 18:52:11 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 18:43 .. 18:52:11 drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 18:43 cost 18:52:11 -rw-r--r-- 1 jenkins jenkins 91 Feb 15 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:52:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:52:12 ---> package-listing.sh 18:52:12 ++ facter osfamily 18:52:12 ++ tr '[:upper:]' '[:lower:]' 18:52:12 + OS_FAMILY=debian 18:52:12 + workspace=/w/workspace/undry_device-onvif-camera_PR-232 18:52:12 + START_PACKAGES=/tmp/packages_start.txt 18:52:12 + END_PACKAGES=/tmp/packages_end.txt 18:52:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:52:12 + PACKAGES=/tmp/packages_start.txt 18:52:12 + '[' /w/workspace/undry_device-onvif-camera_PR-232 ']' 18:52:12 + PACKAGES=/tmp/packages_end.txt 18:52:12 + case "${OS_FAMILY}" in 18:52:12 + dpkg -l 18:52:12 + grep '^ii' 18:52:12 + '[' -f /tmp/packages_start.txt ']' 18:52:12 + '[' -f /tmp/packages_end.txt ']' 18:52:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:52:12 + '[' /w/workspace/undry_device-onvif-camera_PR-232 ']' 18:52:12 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-232/archives/ 18:52:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-232/archives/ [Pipeline] echo 18:52:12 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-232/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:52:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:13 prd-ubuntu20.04-docker-8c-8g-6179 does not seem to be running inside a container 18:52:13 $ 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-232/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-232 -v /w/workspace/undry_device-onvif-camera_PR-232:/w/workspace/undry_device-onvif-camera_PR-232:rw,z -v /w/workspace/undry_device-onvif-camera_PR-232@tmp:/w/workspace/undry_device-onvif-camera_PR-232@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:52:13 $ docker top 121612420f18b63b188acd9d35d170994d761a3668b0896d1618e899ed55a037 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:14 + touch /tmp/pre-build-complete [Pipeline] sh 18:52:14 + mkdir -p /var/log/sysstat [Pipeline] sh 18:52:14 + ls /var/log/sa-host 18:52:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:14 provisioning config files... 18:52:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-232@tmp/config5208855881584247501tmp [Pipeline] { [Pipeline] echo 18:52:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:52:15 ---> create-netrc.sh [Pipeline] } 18:52:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:52:15 ---> python-tools-install.sh [Pipeline] echo 18:52:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:52:15 ---> sudo-logs.sh 18:52:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:52:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:52:16 ---> job-cost.sh 18:52:16 lf-activate-venv: SKIPPING 18:52:16 DEBUG: total: 0.2199999988079071 18:52:16 INFO: Retrieving Stack Cost... 18:52:16 INFO: Retrieving Pricing Info for: v3-standard-8 18:52:16 INFO: Archiving Costs [Pipeline] echo 18:52:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:52:17 ---> logs-deploy.sh 18:52:17 lf-activate-venv: SKIPPING 18:52:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-232/2 18:52:17 INFO: archiving workspace using pattern(s): 18:52:18 Archives upload complete. 18:52:18 INFO: archiving logs to Nexus