Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee+81966fae257ec8aee1d7557002cb31a67ebedcc1 (d015a136d058067c9bb05ca50e16d7fb143c5ef5) 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-ssh5616921924743856165.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-ssh10098775505903288059.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-224/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-224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5008091325493181276.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-ssh9249599217361406366.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-224/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-224/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3276136041036879761.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4030’ Running on prd-ubuntu20.04-docker-8c-8g-4033 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 81966fae257ec8aee1d7557002cb31a67ebedcc1 into PR head commit 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee Merge succeeded, producing c45dc9720989335387be222bb34d3bf7589790cd Checking out Revision c45dc9720989335387be222bb34d3bf7589790cd (PR-224) > 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 81966fae257ec8aee1d7557002cb31a67ebedcc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c45dc9720989335387be222bb34d3bf7589790cd # timeout=10 Commit message: "Merge commit '81966fae257ec8aee1d7557002cb31a67ebedcc1' into HEAD" > git rev-list --no-walk 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:38 ========================================================= 22:10:38 EdgeX Global Pipelines Version Info 22:10:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:10:39 ------------------- 22:10:39 stable info: 22:10:39 ------------------- 22:10:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:10:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:10:39 Message: update stable to v1.0.244 22:10:40 ------------------- 22:10:40 experimental info: 22:10:40 ------------------- 22:10:40 Commited By: **** collab-it+edgex@linuxfoundation.org 22:10:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:10:40 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-224 [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-224 [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-224 [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c45dc9720989335387be222bb34d3bf7589790cd [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c45dc97 [Pipeline] echo 22:10:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:40 provisioning config files... 22:10:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-224@tmp/config6157595863599877723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:40 ---> docker-login.sh 22:10:40 nexus3.edgexfoundry.org:10001 22:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:41 Configure a credential helper to remove this warning. See 22:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:41 22:10:41 Login Succeeded 22:10:41 nexus3.edgexfoundry.org:10002 22:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:41 Configure a credential helper to remove this warning. See 22:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:41 22:10:41 Login Succeeded 22:10:41 nexus3.edgexfoundry.org:10003 22:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:41 Configure a credential helper to remove this warning. See 22:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:41 22:10:41 Login Succeeded 22:10:41 nexus3.edgexfoundry.org:10004 22:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:41 Configure a credential helper to remove this warning. See 22:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:41 22:10:41 Login Succeeded 22:10:41 docker.io 22:10:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:42 Configure a credential helper to remove this warning. See 22:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:42 22:10:42 Login Succeeded 22:10:42 ---> docker-login.sh ends [Pipeline] } 22:10:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:10:42 + git rev-list -1 --merges c45dc9720989335387be222bb34d3bf7589790cd~1..c45dc9720989335387be222bb34d3bf7589790cd [Pipeline] echo 22:10:42 -----------> git rev-list -1 --merges c45dc9720989335387be222bb34d3bf7589790cd~1..c45dc9720989335387be222bb34d3bf7589790cd c45dc9720989335387be222bb34d3bf7589790cd 22:10:42 c45dc9720989335387be222bb34d3bf7589790cd [false] [Pipeline] sh 22:10:42 + git log --format=format:%s -1 c45dc9720989335387be222bb34d3bf7589790cd [Pipeline] echo 22:10:42 ========================================================= 22:10:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:10:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:43 + git log --format=format:%s -1 c45dc9720989335387be222bb34d3bf7589790cd [Pipeline] echo 22:10:43 [semverPrep] GIT_COMMIT: c45dc9720989335387be222bb34d3bf7589790cd, Commit Message: Merge commit '81966fae257ec8aee1d7557002cb31a67ebedcc1' into HEAD [Pipeline] echo 22:10:43 [semverPrep] This is not a build commit. [Pipeline] sh 22:10:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:43 + grep -v github /etc/ssh/ssh_known_hosts 22:10:43 + [ -e /tmp/ssh_known_hosts ] 22:10:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:10:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:10:43 + sudo tee -a /etc/ssh/ssh_known_hosts 22:10:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:43 22:10:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:44 0.1.4: Pulling from edgex-devops/py-git-semver 22:10:44 b85a868b505f: Pulling fs layer 22:10:44 e2be974225ed: Pulling fs layer 22:10:44 339a4e72a1f5: Pulling fs layer 22:10:44 988bab9f4d93: Pulling fs layer 22:10:44 1469e6f7b9e6: Pulling fs layer 22:10:44 eaf3925da568: Pulling fs layer 22:10:44 988bab9f4d93: Waiting 22:10:44 bab4dde63d76: Pulling fs layer 22:10:44 bde34c3a00c8: Pulling fs layer 22:10:44 b352a97aabf1: Pulling fs layer 22:10:44 4872d77fe225: Pulling fs layer 22:10:44 eaf3925da568: Waiting 22:10:44 5851b861e8e6: Pulling fs layer 22:10:44 1469e6f7b9e6: Waiting 22:10:44 bde34c3a00c8: Waiting 22:10:44 bab4dde63d76: Waiting 22:10:44 b352a97aabf1: Waiting 22:10:44 5851b861e8e6: Waiting 22:10:44 e2be974225ed: Download complete 22:10:44 988bab9f4d93: Verifying Checksum 22:10:44 988bab9f4d93: Download complete 22:10:44 1469e6f7b9e6: Verifying Checksum 22:10:44 1469e6f7b9e6: Download complete 22:10:44 339a4e72a1f5: Verifying Checksum 22:10:44 339a4e72a1f5: Download complete 22:10:44 eaf3925da568: Verifying Checksum 22:10:44 eaf3925da568: Download complete 22:10:44 bde34c3a00c8: Verifying Checksum 22:10:44 bde34c3a00c8: Download complete 22:10:44 b352a97aabf1: Download complete 22:10:44 4872d77fe225: Verifying Checksum 22:10:44 4872d77fe225: Download complete 22:10:44 5851b861e8e6: Verifying Checksum 22:10:44 5851b861e8e6: Download complete 22:10:44 b85a868b505f: Verifying Checksum 22:10:44 b85a868b505f: Download complete 22:10:44 bab4dde63d76: Verifying Checksum 22:10:44 bab4dde63d76: Download complete 22:10:45 b85a868b505f: Pull complete 22:10:46 e2be974225ed: Pull complete 22:10:46 339a4e72a1f5: Pull complete 22:10:46 988bab9f4d93: Pull complete 22:10:46 1469e6f7b9e6: Pull complete 22:10:46 eaf3925da568: Pull complete 22:10:48 bab4dde63d76: Pull complete 22:10:48 bde34c3a00c8: Pull complete 22:10:48 b352a97aabf1: Pull complete 22:10:49 4872d77fe225: Pull complete 22:10:49 5851b861e8e6: Pull complete 22:10:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:10:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:49 prd-ubuntu20.04-docker-8c-8g-4033 does not seem to be running inside a container 22:10:49 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:10:51 $ docker top 05b7e2200b1ee98716bd79384e544ffde468aee492009b0d349b8d3734ca9995 -eo pid,comm 22:10:51 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). 22:10:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:51 [ssh-agent] Looking for ssh-agent implementation... 22:10:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:51 $ docker exec 05b7e2200b1ee98716bd79384e544ffde468aee492009b0d349b8d3734ca9995 ssh-agent 22:10:52 SSH_AUTH_SOCK=/tmp/ssh-x1QiV1PW3GxA/agent.32 22:10:52 SSH_AGENT_PID=38 22:10:52 Running ssh-add (command line suppressed) 22:10:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-224@tmp/private_key_8827344007895226769.key (/w/workspace/undry_device-onvif-camera_PR-224@tmp/private_key_8827344007895226769.key) 22:10:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:52 + git tag --points-at HEAD [Pipeline] } 22:10:52 $ docker exec --env ******** --env ******** 05b7e2200b1ee98716bd79384e544ffde468aee492009b0d349b8d3734ca9995 ssh-agent -k 22:10:52 unset SSH_AUTH_SOCK; 22:10:52 unset SSH_AGENT_PID; 22:10:52 echo Agent pid 38 killed; 22:10:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:10:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:52 [ssh-agent] Looking for ssh-agent implementation... 22:10:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:52 $ docker exec 05b7e2200b1ee98716bd79384e544ffde468aee492009b0d349b8d3734ca9995 ssh-agent 22:10:52 SSH_AUTH_SOCK=/tmp/ssh-OW1r3e8ze2Z2/agent.70 22:10:52 SSH_AGENT_PID=76 22:10:52 Running ssh-add (command line suppressed) 22:10:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-224@tmp/private_key_12285106963511797129.key (/w/workspace/undry_device-onvif-camera_PR-224@tmp/private_key_12285106963511797129.key) 22:10:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:53 + git semver init 22:10:53 2023-01-30 22:10:53,378 [run_init] DEBUG init version:0.0.0 force:False 22:10:53 2023-01-30 22:10:53,379 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-224/.semver 22:10:53 2023-01-30 22:10:53,379 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-224/.semver 22:10:53 2023-01-30 22:10:53,379 [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) 22:10:54 2023-01-30 22:10:54,472 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-224/.git/info/exclude 22:10:54 2023-01-30 22:10:54,473 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-224/.semver/PR-224 with force:False 22:10:54 2023-01-30 22:10:54,473 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-224/.semver/PR-224 22:10:54 2023-01-30 22:10:54,477 [execute] INFO git cat-file --batch-check 22:10:54 2023-01-30 22:10:54,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-224/.semver, universal_newlines=False, shell=None, istream=) 22:10:54 2023-01-30 22:10:54,482 [execute] INFO git cat-file --batch 22:10:54 2023-01-30 22:10:54,483 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-224/.semver, universal_newlines=False, shell=None, istream=) 22:10:54 2023-01-30 22:10:54,487 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-224/.semver/PR-224 22:10:54 0.0.0 [Pipeline] } 22:10:54 $ docker exec --env ******** --env ******** 05b7e2200b1ee98716bd79384e544ffde468aee492009b0d349b8d3734ca9995 ssh-agent -k 22:10:54 unset SSH_AUTH_SOCK; 22:10:54 unset SSH_AGENT_PID; 22:10:54 echo Agent pid 76 killed; 22:10:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:55 + git semver [Pipeline] } 22:10:55 $ docker stop --time=1 05b7e2200b1ee98716bd79384e544ffde468aee492009b0d349b8d3734ca9995 22:10:56 $ docker rm -f --volumes 05b7e2200b1ee98716bd79384e544ffde468aee492009b0d349b8d3734ca9995 [Pipeline] // withDockerContainer [Pipeline] sh 22:10:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:10:57 Stashed 1 file(s) [Pipeline] echo 22:10:57 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:57 provisioning config files... 22:10:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-224@tmp/config5250942152853409312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:57 ---> docker-login.sh 22:10:57 nexus3.edgexfoundry.org:10001 22:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:57 Configure a credential helper to remove this warning. See 22:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:57 22:10:57 Login Succeeded 22:10:57 nexus3.edgexfoundry.org:10002 22:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:57 Configure a credential helper to remove this warning. See 22:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:57 22:10:57 Login Succeeded 22:10:57 nexus3.edgexfoundry.org:10003 22:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:58 Configure a credential helper to remove this warning. See 22:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:58 22:10:58 Login Succeeded 22:10:58 nexus3.edgexfoundry.org:10004 22:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:58 Configure a credential helper to remove this warning. See 22:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:58 22:10:58 Login Succeeded 22:10:58 docker.io 22:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:58 Configure a credential helper to remove this warning. See 22:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:58 22:10:58 Login Succeeded 22:10:58 ---> docker-login.sh ends [Pipeline] } 22:10:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:10:58 ========================================================= 22:10:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:10:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:58 + 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 . 22:10:58 Sending build context to Docker daemon 27.7MB 22:10:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:10:58 Step 2/13 : FROM ${BASE} AS builder 22:10:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:10:59 213ec9aee27d: Pulling fs layer 22:10:59 4583459ba037: Pulling fs layer 22:10:59 93c1e223e6f2: Pulling fs layer 22:10:59 53926ce57604: Pulling fs layer 22:10:59 21b2b0c7a3f4: Pulling fs layer 22:10:59 22ff95d597cd: Pulling fs layer 22:10:59 53926ce57604: Waiting 22:10:59 21b2b0c7a3f4: Waiting 22:10:59 12d6caf4c0d1: Pulling fs layer 22:10:59 96b7cbca73a9: Pulling fs layer 22:10:59 12d6caf4c0d1: Waiting 22:10:59 22ff95d597cd: Waiting 22:10:59 a7acece74701: Pulling fs layer 22:10:59 96b7cbca73a9: Waiting 22:10:59 a7acece74701: Waiting 22:10:59 93c1e223e6f2: Verifying Checksum 22:10:59 93c1e223e6f2: Download complete 22:10:59 4583459ba037: Verifying Checksum 22:10:59 4583459ba037: Download complete 22:10:59 21b2b0c7a3f4: Verifying Checksum 22:10:59 21b2b0c7a3f4: Download complete 22:10:59 22ff95d597cd: Verifying Checksum 22:10:59 22ff95d597cd: Download complete 22:10:59 213ec9aee27d: Verifying Checksum 22:10:59 213ec9aee27d: Download complete 22:10:59 12d6caf4c0d1: Verifying Checksum 22:10:59 12d6caf4c0d1: Download complete 22:10:59 213ec9aee27d: Pull complete 22:10:59 4583459ba037: Pull complete 22:10:59 93c1e223e6f2: Pull complete 22:11:00 a7acece74701: Verifying Checksum 22:11:00 a7acece74701: Download complete 22:11:00 53926ce57604: Verifying Checksum 22:11:00 53926ce57604: Download complete 22:11:00 96b7cbca73a9: Verifying Checksum 22:11:00 96b7cbca73a9: Download complete 22:11:03 53926ce57604: Pull complete 22:11:03 21b2b0c7a3f4: Pull complete 22:11:03 22ff95d597cd: Pull complete 22:11:04 12d6caf4c0d1: Pull complete 22:11:05 96b7cbca73a9: Pull complete 22:11:06 a7acece74701: Pull complete 22:11:06 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:11:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:11:06 ---> db6d94c90886 22:11:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:09 ---> Running in f80859d9829a 22:11:10 Removing intermediate container f80859d9829a 22:11:10 ---> 03f54e72f900 22:11:10 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:10 ---> Running in c1a46e2ccb46 22:11:10 Removing intermediate container c1a46e2ccb46 22:11:10 ---> 37658fc851b0 22:11:10 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:11:10 ---> Running in a4526bc047bc 22:11:10 Removing intermediate container a4526bc047bc 22:11:10 ---> c773e63ac3f4 22:11:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:10 ---> Running in b1a05d8010ba 22:11:10 Removing intermediate container b1a05d8010ba 22:11:10 ---> e7cf78f88765 22:11:10 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:10 ---> Running in 5458e6bab13c 22:11:10 Removing intermediate container 5458e6bab13c 22:11:10 ---> 05480d516adc 22:11:10 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:10 ---> Running in 867dceffff4b 22:11:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:11:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:11:11 OK: 211 MiB in 51 packages 22:11:11 Removing intermediate container 867dceffff4b 22:11:11 ---> a7c5116dc6d6 22:11:11 Step 9/13 : WORKDIR /device-onvif-camera 22:11:11 ---> Running in cbe4c932ffb0 22:11:11 Removing intermediate container cbe4c932ffb0 22:11:11 ---> 3b0a84d95c17 22:11:11 Step 10/13 : COPY go.mod vendor* ./ 22:11:11 ---> 498c2196031a 22:11:11 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:11 ---> Running in bf163b0ef650 22:11:12 Still waiting to schedule task 22:11:12 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4031’ 22:11:50 Removing intermediate container bf163b0ef650 22:11:50 ---> b023c1cfaacb 22:11:50 Step 12/13 : COPY . . 22:11:50 ---> fe6e29063007 22:11:50 Step 13/13 : RUN ${MAKE} 22:11:50 ---> Running in c4a5553633f1 22:11:50 noop 22:11:50 Removing intermediate container c4a5553633f1 22:11:50 ---> 8b983cf3707a 22:11:50 Successfully built 8b983cf3707a 22:11:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:50 + docker inspect -f . ci-base-image-x86_64 22:11:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:50 prd-ubuntu20.04-docker-8c-8g-4033 does not seem to be running inside a container 22:11:50 $ 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 ******** -e ******** ci-base-image-x86_64 cat 22:11:51 $ docker top cc2961dfc3e2a280ffc3eb853ebab14011bd97c9575fdc3240d54f271a05646b -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:51 + go version 22:11:51 go version go1.18.7 linux/amd64 [Pipeline] } 22:11:51 $ docker stop --time=1 cc2961dfc3e2a280ffc3eb853ebab14011bd97c9575fdc3240d54f271a05646b 22:11:52 $ docker rm -f --volumes cc2961dfc3e2a280ffc3eb853ebab14011bd97c9575fdc3240d54f271a05646b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:53 + docker inspect -f . ci-base-image-x86_64 22:11:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:53 prd-ubuntu20.04-docker-8c-8g-4033 does not seem to be running inside a container 22:11:53 $ 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 ******** -e ******** ci-base-image-x86_64 cat 22:11:53 $ docker top 0b82b6f3947cca6c0eaebf6a987923044f9519a55cc2c1673761cd510239dca3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:53 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-224 [Pipeline] fileExists [Pipeline] sh 22:11:54 + make test 22:11:54 go test ./... -coverprofile=coverage.out ./... 22:11:54 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:11:59 # github.com/edgexfoundry/device-sdk-go/v3/internal/config 22:11:59 /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 22:12:03 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 22:12:04 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.187s coverage: 86.5% of statements 22:12:04 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 22:12:04 $ docker stop --time=1 0b82b6f3947cca6c0eaebf6a987923044f9519a55cc2c1673761cd510239dca3 22:12:07 $ docker rm -f --volumes 0b82b6f3947cca6c0eaebf6a987923044f9519a55cc2c1673761cd510239dca3 [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 22:12:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:07 22:12:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:08 latest: Pulling from edgex-lftools-log-publisher 22:12:08 5eb5b503b376: Pulling fs layer 22:12:08 5c69ac0246d0: Pulling fs layer 22:12:08 ec43610c2a17: Pulling fs layer 22:12:08 3a2ae6a8a46f: Pulling fs layer 22:12:08 33b1e0a273af: Pulling fs layer 22:12:08 5d3b04190fa2: Pulling fs layer 22:12:08 2f39f015ded8: Pulling fs layer 22:12:08 3a2ae6a8a46f: Waiting 22:12:08 5d3b04190fa2: Waiting 22:12:08 2f39f015ded8: Waiting 22:12:08 33b1e0a273af: Waiting 22:12:08 5c69ac0246d0: Verifying Checksum 22:12:08 5c69ac0246d0: Download complete 22:12:08 3a2ae6a8a46f: Verifying Checksum 22:12:08 3a2ae6a8a46f: Download complete 22:12:08 33b1e0a273af: Verifying Checksum 22:12:08 33b1e0a273af: Download complete 22:12:08 5d3b04190fa2: Download complete 22:12:08 ec43610c2a17: Verifying Checksum 22:12:08 ec43610c2a17: Download complete 22:12:08 5eb5b503b376: Verifying Checksum 22:12:08 5eb5b503b376: Download complete 22:12:09 2f39f015ded8: Verifying Checksum 22:12:09 2f39f015ded8: Download complete 22:12:09 5eb5b503b376: Pull complete 22:12:09 5c69ac0246d0: Pull complete 22:12:10 ec43610c2a17: Pull complete 22:12:10 3a2ae6a8a46f: Pull complete 22:12:10 33b1e0a273af: Pull complete 22:12:10 5d3b04190fa2: Pull complete 22:12:13 2f39f015ded8: Pull complete 22:12:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:12:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:13 prd-ubuntu20.04-docker-8c-8g-4033 does not seem to be running inside a container 22:12:13 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:12:17 $ docker top 94bd2ec0601899c0eb3d51761403b03fd7aa6dc91f2450152b978ca54b0c1615 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:17 ---> job-cost.sh 22:12:17 lf-activate-venv: SKIPPING 22:12:17 INFO: No Stack... 22:12:18 INFO: Retrieving Pricing Info for: v3-standard-8 22:12:18 INFO: Archiving Costs [Pipeline] sh 22:12:18 + cat /w/workspace/undry_device-onvif-camera_PR-224/archives/cost.csv 22:12:18 + cut -d, -f6 [Pipeline] lock 22:12:18 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-224-2-stack-cost] 22:12:18 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-224-2-stack-cost] did not exist. Created. 22:12:18 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-224-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:12:19 + echo total: 0.2199999988079071 [Pipeline] stash 22:12:19 Stashed 1 file(s) [Pipeline] } 22:12:19 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-224-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:12:19 $ docker stop --time=1 94bd2ec0601899c0eb3d51761403b03fd7aa6dc91f2450152b978ca54b0c1615 22:12:20 $ docker rm -f --volumes 94bd2ec0601899c0eb3d51761403b03fd7aa6dc91f2450152b978ca54b0c1615 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:12:20 Failed in branch amd64 22:13:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4038 in /w/workspace/undry_device-onvif-camera_PR-224 [Pipeline] { [Pipeline] ws 22:13:54 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 22:13:54 The recommended git tool is: git 22:14:05 using credential edgex-jenkins-ssh 22:14:05 Cloning the remote Git repository 22:14:05 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:14:05 > git init /w/workspace/device-onvif-camera/2 # timeout=10 22:14:05 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:05 > git --version # timeout=10 22:14:05 > git --version # 'git version 2.25.1' 22:14:05 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:07 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:09 Merging remotes/origin/main commit 81966fae257ec8aee1d7557002cb31a67ebedcc1 into PR head commit 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee 22:14:08 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:08 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:08 > 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 22:14:09 > git config core.sparsecheckout # timeout=10 22:14:09 > git checkout -f 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee # timeout=10 22:14:09 > git remote # timeout=10 22:14:09 > git config --get remote.origin.url # timeout=10 22:14:09 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:09 > git merge 81966fae257ec8aee1d7557002cb31a67ebedcc1 # timeout=10 22:14:10 Merge succeeded, producing 59e984bb9dd4d165849d5910d0da7d437f7a4742 22:14:10 Checking out Revision 59e984bb9dd4d165849d5910d0da7d437f7a4742 (PR-224) 22:14:10 > git rev-parse HEAD^{commit} # timeout=10 22:14:10 > git config core.sparsecheckout # timeout=10 22:14:10 > git checkout -f 59e984bb9dd4d165849d5910d0da7d437f7a4742 # timeout=10 22:14:14 Commit message: "Merge commit '81966fae257ec8aee1d7557002cb31a67ebedcc1' into HEAD" 22:14:14 > git rev-list --no-walk 6f1c582e0b398aa2671fa75b7aaaa2f57ba9aeee # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:14:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:14:15 % Total % Received % Xferd Average Speed Time Time Time Current 22:14:15 Dload Upload Total Spent Left Speed 22:14:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 22:14:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:14:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:14:16 + sudo tee /etc/docker/daemon.new 22:14:16 { 22:14:16 "registry-mirrors": [ 22:14:16 "https://nexus3.edgexfoundry.org:10001" 22:14:16 ], 22:14:16 "bip": "10.250.0.254/24", 22:14:16 "hosts": [ 22:14:16 "tcp://0.0.0.0:5555", 22:14:16 "unix:///var/run/docker.sock" 22:14:16 ], 22:14:16 "mtu": 1458, 22:14:16 "selinux-enabled": true, 22:14:16 "seccomp-profile": "/etc/docker/seccomp.json" 22:14:16 } [Pipeline] sh 22:14:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:14:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:35 provisioning config files... 22:14:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config2447005340779299699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:35 ---> docker-login.sh 22:14:35 nexus3.edgexfoundry.org:10001 22:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:36 Configure a credential helper to remove this warning. See 22:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:36 22:14:36 Login Succeeded 22:14:36 nexus3.edgexfoundry.org:10002 22:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:37 Configure a credential helper to remove this warning. See 22:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:37 22:14:37 Login Succeeded 22:14:37 nexus3.edgexfoundry.org:10003 22:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:37 Configure a credential helper to remove this warning. See 22:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:37 22:14:37 Login Succeeded 22:14:37 nexus3.edgexfoundry.org:10004 22:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:37 Configure a credential helper to remove this warning. See 22:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:37 22:14:37 Login Succeeded 22:14:37 docker.io 22:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:38 Configure a credential helper to remove this warning. See 22:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:38 22:14:38 Login Succeeded 22:14:38 ---> docker-login.sh ends [Pipeline] } 22:14:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:14:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:38 ========================================================= 22:14:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:14:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:39 + 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 . 22:14:39 Sending build context to Docker daemon 20.53MB 22:14:39 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:14:39 Step 2/13 : FROM ${BASE} AS builder 22:14:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:14:39 9b18e9b68314: Pulling fs layer 22:14:39 35d82f9e3411: Pulling fs layer 22:14:39 e16973657156: Pulling fs layer 22:14:39 fc693d55d65f: Pulling fs layer 22:14:39 7e9fc2657dce: Pulling fs layer 22:14:39 dda99020689f: Pulling fs layer 22:14:39 db1c61fa0a46: Pulling fs layer 22:14:39 891c053d2c06: Pulling fs layer 22:14:39 fc693d55d65f: Waiting 22:14:39 7e9fc2657dce: Waiting 22:14:39 dda99020689f: Waiting 22:14:39 891c053d2c06: Waiting 22:14:39 db1c61fa0a46: Waiting 22:14:39 e16973657156: Verifying Checksum 22:14:39 e16973657156: Download complete 22:14:39 35d82f9e3411: Verifying Checksum 22:14:39 35d82f9e3411: Download complete 22:14:39 7e9fc2657dce: Verifying Checksum 22:14:39 7e9fc2657dce: Download complete 22:14:39 dda99020689f: Verifying Checksum 22:14:39 dda99020689f: Download complete 22:14:39 9b18e9b68314: Download complete 22:14:40 9b18e9b68314: Pull complete 22:14:41 35d82f9e3411: Pull complete 22:14:41 891c053d2c06: Verifying Checksum 22:14:41 891c053d2c06: Download complete 22:14:41 e16973657156: Pull complete 22:14:42 db1c61fa0a46: Verifying Checksum 22:14:42 db1c61fa0a46: Download complete 22:14:43 fc693d55d65f: Verifying Checksum 22:14:43 fc693d55d65f: Download complete 22:14:55 fc693d55d65f: Pull complete 22:14:55 7e9fc2657dce: Pull complete 22:14:55 dda99020689f: Pull complete 22:15:04 db1c61fa0a46: Pull complete 22:15:04 891c053d2c06: Pull complete 22:15:04 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:15:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:15:04 ---> f96f9c87975a 22:15:04 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:15:06 ---> Running in d33f51d6e404 22:15:06 Removing intermediate container d33f51d6e404 22:15:06 ---> 506cbee37c56 22:15:06 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:15:06 ---> Running in e4b985c5f303 22:15:06 Removing intermediate container e4b985c5f303 22:15:06 ---> 2afa52e73b24 22:15:06 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:15:07 ---> Running in 2159e11fa13d 22:15:07 Removing intermediate container 2159e11fa13d 22:15:07 ---> 7562807d74db 22:15:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:15:07 ---> Running in 6ade60e45f59 22:15:07 Removing intermediate container 6ade60e45f59 22:15:07 ---> 04d0ce85ce16 22:15:07 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:15:07 ---> Running in cdee5a0f75ca 22:15:07 Removing intermediate container cdee5a0f75ca 22:15:07 ---> 60763fabdec0 22:15:07 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:15:08 ---> Running in 1f2db19096d5 22:15:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:15:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:15:11 OK: 221 MiB in 51 packages 22:15:12 Removing intermediate container 1f2db19096d5 22:15:12 ---> b278c3f8b026 22:15:12 Step 9/13 : WORKDIR /device-onvif-camera 22:15:12 ---> Running in dde9be522b5f 22:15:12 Removing intermediate container dde9be522b5f 22:15:12 ---> 87c5acef7b88 22:15:12 Step 10/13 : COPY go.mod vendor* ./ 22:15:13 ---> ee40d480c07f 22:15:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:15:13 ---> Running in 23a9b86262cf 22:16:34 Removing intermediate container 23a9b86262cf 22:16:34 ---> 531231b57e8e 22:16:34 Step 12/13 : COPY . . 22:16:34 ---> b54e6a54f4e0 22:16:34 Step 13/13 : RUN ${MAKE} 22:16:34 ---> Running in 1d9e74e87a89 22:16:34 noop 22:16:34 Removing intermediate container 1d9e74e87a89 22:16:34 ---> 3479ec4e9083 22:16:34 Successfully built 3479ec4e9083 22:16:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:35 + docker inspect -f . ci-base-image-arm64 22:16:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:35 prd-ubuntu20.04-docker-arm64-4c-16g-4038 does not seem to be running inside a container 22:16:35 $ 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 22:16:36 $ docker top 8d27ce55984d6dbabb30b6f91270c40cf98da0469a06892f98b9919aa16f8ea5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:37 + go version 22:16:37 go version go1.18.7 linux/arm64 [Pipeline] } 22:16:37 $ docker stop --time=1 8d27ce55984d6dbabb30b6f91270c40cf98da0469a06892f98b9919aa16f8ea5 22:16:39 $ docker rm -f --volumes 8d27ce55984d6dbabb30b6f91270c40cf98da0469a06892f98b9919aa16f8ea5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:39 + docker inspect -f . ci-base-image-arm64 22:16:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:39 prd-ubuntu20.04-docker-arm64-4c-16g-4038 does not seem to be running inside a container 22:16:39 $ 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 22:16:41 $ docker top 0fe1fcde7e7b2cff07c418d200914b867a010d09013c1a1950ecdd60abd029d4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:42 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 22:16:42 + make test 22:16:42 go test ./... -coverprofile=coverage.out ./... 22:16:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:17:16 # github.com/edgexfoundry/device-sdk-go/v3/internal/config 22:17:16 /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 22:18:24 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 22:18:46 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.052s coverage: 86.5% of statements 22:18:46 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 22:18:46 $ docker stop --time=1 0fe1fcde7e7b2cff07c418d200914b867a010d09013c1a1950ecdd60abd029d4 22:18:48 $ docker rm -f --volumes 0fe1fcde7e7b2cff07c418d200914b867a010d09013c1a1950ecdd60abd029d4 [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 22:18:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:18:49 22:18:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:18:50 arm64: Pulling from edgex-lftools-log-publisher 22:18:50 8998bd30e6a1: Pulling fs layer 22:18:50 04944245beec: Pulling fs layer 22:18:50 699f458cf7ca: Pulling fs layer 22:18:50 765212b225bb: Pulling fs layer 22:18:50 f23df028b6ca: Pulling fs layer 22:18:50 d65c8cfc05b1: Pulling fs layer 22:18:50 2437ff75d9bd: Pulling fs layer 22:18:50 f23df028b6ca: Waiting 22:18:50 d65c8cfc05b1: Waiting 22:18:50 2437ff75d9bd: Waiting 22:18:50 765212b225bb: Waiting 22:18:50 04944245beec: Verifying Checksum 22:18:50 04944245beec: Download complete 22:18:50 765212b225bb: Verifying Checksum 22:18:50 765212b225bb: Download complete 22:18:50 f23df028b6ca: Verifying Checksum 22:18:50 f23df028b6ca: Download complete 22:18:50 d65c8cfc05b1: Verifying Checksum 22:18:50 d65c8cfc05b1: Download complete 22:18:50 699f458cf7ca: Verifying Checksum 22:18:50 699f458cf7ca: Download complete 22:18:51 8998bd30e6a1: Verifying Checksum 22:18:51 8998bd30e6a1: Download complete 22:18:53 2437ff75d9bd: Verifying Checksum 22:18:53 2437ff75d9bd: Download complete 22:18:55 8998bd30e6a1: Pull complete 22:18:55 04944245beec: Pull complete 22:18:57 699f458cf7ca: Pull complete 22:18:57 765212b225bb: Pull complete 22:18:58 f23df028b6ca: Pull complete 22:18:58 d65c8cfc05b1: Pull complete 22:19:13 2437ff75d9bd: Pull complete 22:19:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:19:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:19:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:13 prd-ubuntu20.04-docker-arm64-4c-16g-4038 does not seem to be running inside a container 22:19:14 $ 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 22:19:17 $ docker top fafb41ea27cfd77aa0b213e36fe497633722e3fc29fd7ce33f3e50ec63bd1e8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:17 ---> job-cost.sh 22:19:17 lf-activate-venv: SKIPPING 22:19:17 INFO: No Stack... 22:19:18 INFO: Retrieving Pricing Info for: v3-standard-4 22:19:19 INFO: Archiving Costs [Pipeline] sh 22:19:19 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 22:19:19 + cut -d, -f6 [Pipeline] lock 22:19:20 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-224-2-stack-cost] 22:19:20 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-224-2-stack-cost] did not exist. Created. 22:19:20 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-224-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:19:20 /w/workspace/device-onvif-camera/2@tmp/durable-ed8a5f49/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:19:21 + echo total: 0.10999999940395355 [Pipeline] stash 22:19:21 Warning: overwriting stash ‘stack-cost’ 22:19:22 Stashed 1 file(s) [Pipeline] } 22:19:22 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-224-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:19:22 $ docker stop --time=1 fafb41ea27cfd77aa0b213e36fe497633722e3fc29fd7ce33f3e50ec63bd1e8e 22:19:23 $ docker rm -f --volumes fafb41ea27cfd77aa0b213e36fe497633722e3fc29fd7ce33f3e50ec63bd1e8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:19:24 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 22:19:24 + [ -d /w/workspace/undry_device-onvif-camera_PR-224/archives ] 22:19:24 + ls -al /w/workspace/undry_device-onvif-camera_PR-224/archives 22:19:24 total 16 22:19:24 drwxr-xr-x 3 root root 4096 Jan 30 22:12 . 22:19:24 drwxrwxr-x 11 jenkins jenkins 4096 Jan 30 22:12 .. 22:19:24 drwxr-xr-x 2 root root 4096 Jan 30 22:12 cost 22:19:24 -rw-r--r-- 1 root root 91 Jan 30 22:12 cost.csv 22:19:24 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-224/archives 22:19:24 + ls -al /w/workspace/undry_device-onvif-camera_PR-224/archives 22:19:24 total 16 22:19:24 drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 22:12 . 22:19:24 drwxrwxr-x 11 jenkins jenkins 4096 Jan 30 22:12 .. 22:19:24 drwxr-xr-x 2 jenkins jenkins 4096 Jan 30 22:12 cost 22:19:24 -rw-r--r-- 1 jenkins jenkins 91 Jan 30 22:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:19:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:19:26 ---> package-listing.sh 22:19:26 ++ facter osfamily 22:19:26 ++ tr '[:upper:]' '[:lower:]' 22:19:26 + OS_FAMILY=debian 22:19:26 + workspace=/w/workspace/undry_device-onvif-camera_PR-224 22:19:26 + START_PACKAGES=/tmp/packages_start.txt 22:19:26 + END_PACKAGES=/tmp/packages_end.txt 22:19:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:19:26 + PACKAGES=/tmp/packages_start.txt 22:19:26 + '[' /w/workspace/undry_device-onvif-camera_PR-224 ']' 22:19:26 + PACKAGES=/tmp/packages_end.txt 22:19:26 + case "${OS_FAMILY}" in 22:19:26 + dpkg -l 22:19:26 + grep '^ii' 22:19:26 + '[' -f /tmp/packages_start.txt ']' 22:19:26 + '[' -f /tmp/packages_end.txt ']' 22:19:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:19:26 + '[' /w/workspace/undry_device-onvif-camera_PR-224 ']' 22:19:26 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-224/archives/ 22:19:26 + 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 22:19:26 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 22:19:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:19:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:27 prd-ubuntu20.04-docker-8c-8g-4033 does not seem to be running inside a container 22:19:27 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:19:27 $ docker top 5db5ceb3a47b971d9c192f19cfd9cd577973e5a66ab13f965286056a0af6ffcb -eo pid,comm [Pipeline] { [Pipeline] sh 22:19:27 + touch /tmp/pre-build-complete [Pipeline] sh 22:19:28 + mkdir -p /var/log/sysstat [Pipeline] sh 22:19:28 + ls /var/log/sa-host 22:19:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:28 provisioning config files... 22:19:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-224@tmp/config14614550310418331564tmp [Pipeline] { [Pipeline] echo 22:19:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:19:28 ---> create-netrc.sh [Pipeline] } 22:19:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:19:29 ---> python-tools-install.sh [Pipeline] echo 22:19:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:19:29 ---> sudo-logs.sh 22:19:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:19:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:19:29 ---> job-cost.sh 22:19:29 lf-activate-venv: SKIPPING 22:19:29 DEBUG: total: 0.2199999988079071 22:19:29 INFO: Retrieving Stack Cost... 22:19:30 INFO: Retrieving Pricing Info for: v3-standard-8 22:19:30 INFO: Archiving Costs [Pipeline] echo 22:19:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:19:30 ---> logs-deploy.sh 22:19:30 lf-activate-venv: SKIPPING 22:19:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-224/2 22:19:30 INFO: archiving workspace using pattern(s): 22:19:31 Archives upload complete. 22:19:32 INFO: archiving logs to Nexus