Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e38c026c9f37f4185198331df275abda63439263+35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 (f7d1af0588bebc68f5aee8a569f9cd934dcfb819) 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-ssh7639495947002760415.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-ssh2670441007044574544.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-220/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-220/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13876489433988728605.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-ssh8552624724515584054.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-220/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-220/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4836832947617896064.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3563 in /w/workspace/undry_device-onvif-camera_PR-220 [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-220 # 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/220/head:refs/remotes/origin/PR-220 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 into PR head commit e38c026c9f37f4185198331df275abda63439263 Merge succeeded, producing 139b4c2590b8122282a3b387c7b000bcc21f220d Checking out Revision 139b4c2590b8122282a3b387c7b000bcc21f220d (PR-220) > git config core.sparsecheckout # timeout=10 > git checkout -f e38c026c9f37f4185198331df275abda63439263 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 139b4c2590b8122282a3b387c7b000bcc21f220d # timeout=10 Commit message: "Merge commit '35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262' into HEAD" > git rev-list --no-walk e38c026c9f37f4185198331df275abda63439263 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:11:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:11:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:11:31 ========================================================= 22:11:31 EdgeX Global Pipelines Version Info 22:11:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:11:32 ------------------- 22:11:32 stable info: 22:11:32 ------------------- 22:11:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:11:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:11:32 Message: update stable to v1.0.244 22:11:32 ------------------- 22:11:32 experimental info: 22:11:32 ------------------- 22:11:32 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:11:32 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:11:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:11:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-220 [Pipeline] echo 22:11:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-220 [Pipeline] echo 22:11:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-220 [Pipeline] echo 22:11:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 139b4c2590b8122282a3b387c7b000bcc21f220d [Pipeline] echo 22:11:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 139b4c2 [Pipeline] echo 22:11:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:33 provisioning config files... 22:11:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-220@tmp/config16546695450734866020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:33 ---> docker-login.sh 22:11:33 nexus3.edgexfoundry.org:10001 22:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:33 Configure a credential helper to remove this warning. See 22:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:33 22:11:33 Login Succeeded 22:11:33 nexus3.edgexfoundry.org:10002 22:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:34 Configure a credential helper to remove this warning. See 22:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:34 22:11:34 Login Succeeded 22:11:34 nexus3.edgexfoundry.org:10003 22:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:34 Configure a credential helper to remove this warning. See 22:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:34 22:11:34 Login Succeeded 22:11:34 nexus3.edgexfoundry.org:10004 22:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:34 Configure a credential helper to remove this warning. See 22:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:34 22:11:34 Login Succeeded 22:11:34 docker.io 22:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:34 Configure a credential helper to remove this warning. See 22:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:34 22:11:34 Login Succeeded 22:11:34 ---> docker-login.sh ends [Pipeline] } 22:11:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:11:34 + git rev-list -1 --merges 139b4c2590b8122282a3b387c7b000bcc21f220d~1..139b4c2590b8122282a3b387c7b000bcc21f220d [Pipeline] echo 22:11:34 -----------> git rev-list -1 --merges 139b4c2590b8122282a3b387c7b000bcc21f220d~1..139b4c2590b8122282a3b387c7b000bcc21f220d 139b4c2590b8122282a3b387c7b000bcc21f220d 22:11:34 139b4c2590b8122282a3b387c7b000bcc21f220d [false] [Pipeline] sh 22:11:34 + git log --format=format:%s -1 139b4c2590b8122282a3b387c7b000bcc21f220d [Pipeline] echo 22:11:35 ========================================================= 22:11:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:11:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:35 + git log --format=format:%s -1 139b4c2590b8122282a3b387c7b000bcc21f220d [Pipeline] echo 22:11:35 [semverPrep] GIT_COMMIT: 139b4c2590b8122282a3b387c7b000bcc21f220d, Commit Message: Merge commit '35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262' into HEAD [Pipeline] echo 22:11:35 [semverPrep] This is not a build commit. [Pipeline] sh 22:11:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:11:35 + grep -v github /etc/ssh/ssh_known_hosts 22:11:35 + [ -e /tmp/ssh_known_hosts ] 22:11:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:11:35 + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a 22:11:35 /etc/ssh/ssh_known_hosts 22:11:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:36 22:11:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:36 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:36 b85a868b505f: Pulling fs layer 22:11:36 e2be974225ed: Pulling fs layer 22:11:36 339a4e72a1f5: Pulling fs layer 22:11:36 988bab9f4d93: Pulling fs layer 22:11:36 1469e6f7b9e6: Pulling fs layer 22:11:36 eaf3925da568: Pulling fs layer 22:11:36 bab4dde63d76: Pulling fs layer 22:11:36 bde34c3a00c8: Pulling fs layer 22:11:36 b352a97aabf1: Pulling fs layer 22:11:36 4872d77fe225: Pulling fs layer 22:11:36 5851b861e8e6: Pulling fs layer 22:11:36 988bab9f4d93: Waiting 22:11:36 1469e6f7b9e6: Waiting 22:11:36 eaf3925da568: Waiting 22:11:36 4872d77fe225: Waiting 22:11:36 bab4dde63d76: Waiting 22:11:36 bde34c3a00c8: Waiting 22:11:36 5851b861e8e6: Waiting 22:11:36 b352a97aabf1: Waiting 22:11:36 e2be974225ed: Download complete 22:11:36 988bab9f4d93: Verifying Checksum 22:11:36 988bab9f4d93: Download complete 22:11:36 339a4e72a1f5: Verifying Checksum 22:11:36 339a4e72a1f5: Download complete 22:11:36 eaf3925da568: Download complete 22:11:36 1469e6f7b9e6: Verifying Checksum 22:11:36 1469e6f7b9e6: Download complete 22:11:36 bde34c3a00c8: Download complete 22:11:36 b352a97aabf1: Verifying Checksum 22:11:36 b352a97aabf1: Download complete 22:11:36 b85a868b505f: Verifying Checksum 22:11:36 b85a868b505f: Download complete 22:11:36 4872d77fe225: Download complete 22:11:36 5851b861e8e6: Verifying Checksum 22:11:36 5851b861e8e6: Download complete 22:11:37 bab4dde63d76: Verifying Checksum 22:11:37 bab4dde63d76: Download complete 22:11:38 b85a868b505f: Pull complete 22:11:38 e2be974225ed: Pull complete 22:11:38 339a4e72a1f5: Pull complete 22:11:38 988bab9f4d93: Pull complete 22:11:39 1469e6f7b9e6: Pull complete 22:11:39 eaf3925da568: Pull complete 22:11:41 bab4dde63d76: Pull complete 22:11:41 bde34c3a00c8: Pull complete 22:11:41 b352a97aabf1: Pull complete 22:11:41 4872d77fe225: Pull complete 22:11:41 5851b861e8e6: Pull complete 22:11:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:41 prd-ubuntu20.04-docker-8c-8g-3563 does not seem to be running inside a container 22:11:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-220 -v /w/workspace/undry_device-onvif-camera_PR-220:/w/workspace/undry_device-onvif-camera_PR-220:rw,z -v /w/workspace/undry_device-onvif-camera_PR-220@tmp:/w/workspace/undry_device-onvif-camera_PR-220@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 22:11:45 $ docker top 46d4b4039a945b0f7a9ad1878476590c9068a187c05d9301613c34673cb0eab9 -eo pid,comm 22:11:45 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:11:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:45 [ssh-agent] Looking for ssh-agent implementation... 22:11:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:45 $ docker exec 46d4b4039a945b0f7a9ad1878476590c9068a187c05d9301613c34673cb0eab9 ssh-agent 22:11:45 SSH_AUTH_SOCK=/tmp/ssh-MmLD9Zr73a8F/agent.31 22:11:45 SSH_AGENT_PID=37 22:11:45 Running ssh-add (command line suppressed) 22:11:45 Identity added: /w/workspace/undry_device-onvif-camera_PR-220@tmp/private_key_12615452737047680134.key (/w/workspace/undry_device-onvif-camera_PR-220@tmp/private_key_12615452737047680134.key) 22:11:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:45 + git tag --points-at HEAD [Pipeline] } 22:11:46 $ docker exec --env ******** --env ******** 46d4b4039a945b0f7a9ad1878476590c9068a187c05d9301613c34673cb0eab9 ssh-agent -k 22:11:46 unset SSH_AUTH_SOCK; 22:11:46 unset SSH_AGENT_PID; 22:11:46 echo Agent pid 37 killed; 22:11:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:46 [ssh-agent] Looking for ssh-agent implementation... 22:11:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:46 $ docker exec 46d4b4039a945b0f7a9ad1878476590c9068a187c05d9301613c34673cb0eab9 ssh-agent 22:11:46 SSH_AUTH_SOCK=/tmp/ssh-wjrk5gOImH35/agent.69 22:11:46 SSH_AGENT_PID=75 22:11:46 Running ssh-add (command line suppressed) 22:11:46 Identity added: /w/workspace/undry_device-onvif-camera_PR-220@tmp/private_key_5746059619051671202.key (/w/workspace/undry_device-onvif-camera_PR-220@tmp/private_key_5746059619051671202.key) 22:11:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:46 + git semver init 22:11:47 2023-01-24 22:11:46,964 [run_init] DEBUG init version:0.0.0 force:False 22:11:47 2023-01-24 22:11:46,965 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-220/.semver 22:11:47 2023-01-24 22:11:46,966 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-220/.semver 22:11:47 2023-01-24 22:11:46,966 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-220/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-220, universal_newlines=False, shell=None, istream=None) 22:11:48 2023-01-24 22:11:47,911 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-220/.git/info/exclude 22:11:48 2023-01-24 22:11:47,911 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-220/.semver/PR-220 with force:False 22:11:48 2023-01-24 22:11:47,911 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-220/.semver/PR-220 22:11:48 2023-01-24 22:11:47,916 [execute] INFO git cat-file --batch-check 22:11:48 2023-01-24 22:11:47,916 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-220/.semver, universal_newlines=False, shell=None, istream=) 22:11:48 2023-01-24 22:11:47,922 [execute] INFO git cat-file --batch 22:11:48 2023-01-24 22:11:47,922 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-220/.semver, universal_newlines=False, shell=None, istream=) 22:11:48 2023-01-24 22:11:47,927 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-220/.semver/PR-220 22:11:48 0.0.0 [Pipeline] } 22:11:48 $ docker exec --env ******** --env ******** 46d4b4039a945b0f7a9ad1878476590c9068a187c05d9301613c34673cb0eab9 ssh-agent -k 22:11:48 unset SSH_AUTH_SOCK; 22:11:48 unset SSH_AGENT_PID; 22:11:48 echo Agent pid 75 killed; 22:11:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:48 + git semver [Pipeline] } 22:11:48 $ docker stop --time=1 46d4b4039a945b0f7a9ad1878476590c9068a187c05d9301613c34673cb0eab9 22:11:50 $ docker rm -f --volumes 46d4b4039a945b0f7a9ad1878476590c9068a187c05d9301613c34673cb0eab9 [Pipeline] // withDockerContainer [Pipeline] sh 22:11:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:50 Stashed 1 file(s) [Pipeline] echo 22:11:50 [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:11:50 provisioning config files... 22:11:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-220@tmp/config7665931263184770465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:50 ---> docker-login.sh 22:11:50 nexus3.edgexfoundry.org:10001 22:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:50 Configure a credential helper to remove this warning. See 22:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:50 22:11:50 Login Succeeded 22:11:50 nexus3.edgexfoundry.org:10002 22:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:50 Configure a credential helper to remove this warning. See 22:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:50 22:11:50 Login Succeeded 22:11:50 nexus3.edgexfoundry.org:10003 22:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:51 Configure a credential helper to remove this warning. See 22:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:51 22:11:51 Login Succeeded 22:11:51 nexus3.edgexfoundry.org:10004 22:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:51 Configure a credential helper to remove this warning. See 22:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:51 22:11:51 Login Succeeded 22:11:51 docker.io 22:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:51 Configure a credential helper to remove this warning. See 22:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:51 22:11:51 Login Succeeded 22:11:51 ---> docker-login.sh ends [Pipeline] } 22:11:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:51 ========================================================= 22:11:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:11:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:51 + 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:11:51 Sending build context to Docker daemon 27.68MB 22:11:51 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:11:51 Step 2/13 : FROM ${BASE} AS builder 22:11:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:52 213ec9aee27d: Pulling fs layer 22:11:52 4583459ba037: Pulling fs layer 22:11:52 93c1e223e6f2: Pulling fs layer 22:11:52 53926ce57604: Pulling fs layer 22:11:52 21b2b0c7a3f4: Pulling fs layer 22:11:52 22ff95d597cd: Pulling fs layer 22:11:52 12d6caf4c0d1: Pulling fs layer 22:11:52 96b7cbca73a9: Pulling fs layer 22:11:52 a7acece74701: Pulling fs layer 22:11:52 96b7cbca73a9: Waiting 22:11:52 53926ce57604: Waiting 22:11:52 22ff95d597cd: Waiting 22:11:52 21b2b0c7a3f4: Waiting 22:11:52 a7acece74701: Waiting 22:11:52 93c1e223e6f2: Verifying Checksum 22:11:52 93c1e223e6f2: Download complete 22:11:52 4583459ba037: Download complete 22:11:52 21b2b0c7a3f4: Verifying Checksum 22:11:52 21b2b0c7a3f4: Download complete 22:11:52 22ff95d597cd: Verifying Checksum 22:11:52 22ff95d597cd: Download complete 22:11:52 213ec9aee27d: Verifying Checksum 22:11:52 12d6caf4c0d1: Verifying Checksum 22:11:52 12d6caf4c0d1: Download complete 22:11:52 213ec9aee27d: Pull complete 22:11:52 4583459ba037: Pull complete 22:11:52 93c1e223e6f2: Pull complete 22:11:53 a7acece74701: Verifying Checksum 22:11:53 a7acece74701: Download complete 22:11:53 96b7cbca73a9: Verifying Checksum 22:11:53 53926ce57604: Verifying Checksum 22:11:53 53926ce57604: Download complete 22:11:57 53926ce57604: Pull complete 22:11:57 21b2b0c7a3f4: Pull complete 22:11:57 22ff95d597cd: Pull complete 22:11:57 12d6caf4c0d1: Pull complete 22:11:59 96b7cbca73a9: Pull complete 22:12:00 a7acece74701: Pull complete 22:12:00 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:12:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:12:00 ---> db6d94c90886 22:12:00 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:12:05 Still waiting to schedule task 22:12:05 ‘prd-ubuntu20.04-docker-arm64-4c-16g-3564’ is offline 22:12:07 ---> Running in fd5cb34219d0 22:12:07 Removing intermediate container fd5cb34219d0 22:12:07 ---> 7d6381e8a8ac 22:12:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:07 ---> Running in ff4662c61379 22:12:07 Removing intermediate container ff4662c61379 22:12:07 ---> 4d789b0db3b9 22:12:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:12:07 ---> Running in 3aac18b0cb83 22:12:07 Removing intermediate container 3aac18b0cb83 22:12:07 ---> 4e25fe667ac0 22:12:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:12:07 ---> Running in 48d14f372e08 22:12:07 Removing intermediate container 48d14f372e08 22:12:07 ---> 27f5b98e3cfa 22:12:07 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:12:07 ---> Running in b351f70233c7 22:12:07 Removing intermediate container b351f70233c7 22:12:07 ---> 8b8c253f0603 22:12:07 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:07 ---> Running in 646544ffb39b 22:12:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:12:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:12:07 OK: 211 MiB in 51 packages 22:12:07 Removing intermediate container 646544ffb39b 22:12:07 ---> fb22d6911234 22:12:07 Step 9/13 : WORKDIR /device-onvif-camera 22:12:07 ---> Running in 5035a00a63c9 22:12:07 Removing intermediate container 5035a00a63c9 22:12:07 ---> cd08eb7cd040 22:12:07 Step 10/13 : COPY go.mod vendor* ./ 22:12:07 ---> 01a0152df6fc 22:12:07 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:07 ---> Running in 517c4c086f50 22:12:46 Removing intermediate container 517c4c086f50 22:12:46 ---> 9d8fe90f163d 22:12:46 Step 12/13 : COPY . . 22:12:46 ---> 2cc12c23b0e6 22:12:46 Step 13/13 : RUN ${MAKE} 22:12:46 ---> Running in 8a663c977a21 22:12:46 noop 22:12:46 Removing intermediate container 8a663c977a21 22:12:46 ---> 23d9e577382d 22:12:46 Successfully built 23d9e577382d 22:12:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:46 + docker inspect -f . ci-base-image-x86_64 22:12:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:46 prd-ubuntu20.04-docker-8c-8g-3563 does not seem to be running inside a container 22:12:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-220 -v /w/workspace/undry_device-onvif-camera_PR-220:/w/workspace/undry_device-onvif-camera_PR-220:rw,z -v /w/workspace/undry_device-onvif-camera_PR-220@tmp:/w/workspace/undry_device-onvif-camera_PR-220@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 22:12:47 $ docker top cc76417eb60d66f0658db85135014161d2ba058a58c39c98b16e14dc660b8380 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:47 + go version 22:12:47 go version go1.18.7 linux/amd64 [Pipeline] } 22:12:47 $ docker stop --time=1 cc76417eb60d66f0658db85135014161d2ba058a58c39c98b16e14dc660b8380 22:12:48 $ docker rm -f --volumes cc76417eb60d66f0658db85135014161d2ba058a58c39c98b16e14dc660b8380 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:49 + docker inspect -f . ci-base-image-x86_64 22:12:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:49 prd-ubuntu20.04-docker-8c-8g-3563 does not seem to be running inside a container 22:12:49 $ 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-220 -v /w/workspace/undry_device-onvif-camera_PR-220:/w/workspace/undry_device-onvif-camera_PR-220:rw,z -v /w/workspace/undry_device-onvif-camera_PR-220@tmp:/w/workspace/undry_device-onvif-camera_PR-220@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 22:12:49 $ docker top 1dec4ae6c8a1554f6add9d2727a7ad26096c20ad47be6bddb0e37162801dbeb0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:50 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-220 [Pipeline] fileExists [Pipeline] sh 22:12:50 + make test 22:12:50 go test ./... -coverprofile=coverage.out ./... 22:12:50 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:55 # github.com/edgexfoundry/device-sdk-go/v3/internal/config 22:12:55 /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:13:00 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 22:13:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.188s coverage: 86.5% of statements 22:13:01 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 22:13:01 $ docker stop --time=1 1dec4ae6c8a1554f6add9d2727a7ad26096c20ad47be6bddb0e37162801dbeb0 22:13:04 $ docker rm -f --volumes 1dec4ae6c8a1554f6add9d2727a7ad26096c20ad47be6bddb0e37162801dbeb0 [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:13:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:04 22:13:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:04 latest: Pulling from edgex-lftools-log-publisher 22:13:04 5eb5b503b376: Pulling fs layer 22:13:04 5c69ac0246d0: Pulling fs layer 22:13:04 ec43610c2a17: Pulling fs layer 22:13:04 3a2ae6a8a46f: Pulling fs layer 22:13:04 33b1e0a273af: Pulling fs layer 22:13:04 5d3b04190fa2: Pulling fs layer 22:13:04 2f39f015ded8: Pulling fs layer 22:13:04 3a2ae6a8a46f: Waiting 22:13:04 33b1e0a273af: Waiting 22:13:04 5d3b04190fa2: Waiting 22:13:04 2f39f015ded8: Waiting 22:13:04 5c69ac0246d0: Verifying Checksum 22:13:04 5c69ac0246d0: Download complete 22:13:04 3a2ae6a8a46f: Download complete 22:13:05 33b1e0a273af: Verifying Checksum 22:13:05 33b1e0a273af: Download complete 22:13:05 5d3b04190fa2: Verifying Checksum 22:13:05 5d3b04190fa2: Download complete 22:13:05 ec43610c2a17: Verifying Checksum 22:13:05 ec43610c2a17: Download complete 22:13:05 5eb5b503b376: Download complete 22:13:06 2f39f015ded8: Download complete 22:13:06 5eb5b503b376: Pull complete 22:13:06 5c69ac0246d0: Pull complete 22:13:07 ec43610c2a17: Pull complete 22:13:07 3a2ae6a8a46f: Pull complete 22:13:07 33b1e0a273af: Pull complete 22:13:07 5d3b04190fa2: Pull complete 22:13:11 2f39f015ded8: Pull complete 22:13:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:13:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:11 prd-ubuntu20.04-docker-8c-8g-3563 does not seem to be running inside a container 22:13:11 $ 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-220 -v /w/workspace/undry_device-onvif-camera_PR-220:/w/workspace/undry_device-onvif-camera_PR-220:rw,z -v /w/workspace/undry_device-onvif-camera_PR-220@tmp:/w/workspace/undry_device-onvif-camera_PR-220@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 22:13:17 $ docker top fa8d2c3129e1dd551ce80fb928c13d035d4d3c567836524fa51dbaf745138a16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:17 ---> job-cost.sh 22:13:17 lf-activate-venv: SKIPPING 22:13:17 INFO: No Stack... 22:13:18 INFO: Retrieving Pricing Info for: v3-standard-8 22:13:18 INFO: Archiving Costs [Pipeline] sh 22:13:18 + cat /w/workspace/undry_device-onvif-camera_PR-220/archives/cost.csv 22:13:18 + cut -d, -f6 [Pipeline] lock 22:13:18 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-220-2-stack-cost] 22:13:18 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-220-2-stack-cost] did not exist. Created. 22:13:18 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-220-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:19 + echo total: 0.2199999988079071 [Pipeline] stash 22:13:19 Stashed 1 file(s) [Pipeline] } 22:13:19 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-220-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:19 $ docker stop --time=1 fa8d2c3129e1dd551ce80fb928c13d035d4d3c567836524fa51dbaf745138a16 22:13:20 $ docker rm -f --volumes fa8d2c3129e1dd551ce80fb928c13d035d4d3c567836524fa51dbaf745138a16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:13:20 Failed in branch amd64 22:14:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3567 in /w/workspace/undry_device-onvif-camera_PR-220 [Pipeline] { [Pipeline] ws 22:14:32 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 22:14:32 The recommended git tool is: git 22:14:42 using credential edgex-jenkins-ssh 22:14:42 Cloning the remote Git repository 22:14:42 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:14:42 > git init /w/workspace/device-onvif-camera/2 # timeout=10 22:14:43 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:43 > git --version # timeout=10 22:14:43 > git --version # 'git version 2.25.1' 22:14:43 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:44 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:47 Merging remotes/origin/main commit 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 into PR head commit e38c026c9f37f4185198331df275abda63439263 22:14:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:46 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/220/head:refs/remotes/origin/PR-220 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:14:47 > git config core.sparsecheckout # timeout=10 22:14:47 > git checkout -f e38c026c9f37f4185198331df275abda63439263 # timeout=10 22:14:47 > git remote # timeout=10 22:14:48 Merge succeeded, producing eb1a1b93f2f398450cc27f0adda43e97f55df3dc 22:14:48 Checking out Revision eb1a1b93f2f398450cc27f0adda43e97f55df3dc (PR-220) 22:14:47 > git config --get remote.origin.url # timeout=10 22:14:47 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:47 > git merge 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 # timeout=10 22:14:48 > git rev-parse HEAD^{commit} # timeout=10 22:14:48 > git config core.sparsecheckout # timeout=10 22:14:48 > git checkout -f eb1a1b93f2f398450cc27f0adda43e97f55df3dc # timeout=10 22:14:51 Commit message: "Merge commit '35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262' into HEAD" 22:14:51 > git rev-list --no-walk e38c026c9f37f4185198331df275abda63439263 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:14:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:14:52 % Total % Received % Xferd Average Speed Time Time Time Current 22:14:52 Dload Upload Total Spent Left Speed 22:14:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 22:14:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:14:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:14:53 + sudo tee /etc/docker/daemon.new 22:14:53 { 22:14:53 "registry-mirrors": [ 22:14:53 "https://nexus3.edgexfoundry.org:10001" 22:14:53 ], 22:14:53 "bip": "10.250.0.254/24", 22:14:53 "hosts": [ 22:14:53 "tcp://0.0.0.0:5555", 22:14:53 "unix:///var/run/docker.sock" 22:14:53 ], 22:14:53 "mtu": 1458, 22:14:53 "selinux-enabled": true, 22:14:53 "seccomp-profile": "/etc/docker/seccomp.json" 22:14:53 } [Pipeline] sh 22:14:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:14:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:15:12 provisioning config files... 22:15:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config8432743625313455545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:13 ---> docker-login.sh 22:15:13 nexus3.edgexfoundry.org:10001 22:15:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:13 Configure a credential helper to remove this warning. See 22:15:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:13 22:15:13 Login Succeeded 22:15:14 nexus3.edgexfoundry.org:10002 22:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:14 Configure a credential helper to remove this warning. See 22:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:14 22:15:14 Login Succeeded 22:15:14 nexus3.edgexfoundry.org:10003 22:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:14 Configure a credential helper to remove this warning. See 22:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:14 22:15:14 Login Succeeded 22:15:14 nexus3.edgexfoundry.org:10004 22:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:15 Configure a credential helper to remove this warning. See 22:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:15 22:15:15 Login Succeeded 22:15:15 docker.io 22:15:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:15 Configure a credential helper to remove this warning. See 22:15:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:15 22:15:15 Login Succeeded 22:15:15 ---> docker-login.sh ends [Pipeline] } 22:15:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:15:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:15:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:15:16 ========================================================= 22:15:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:15:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:16 + 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:15:18 Sending build context to Docker daemon 20.53MB 22:15:18 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:15:18 Step 2/13 : FROM ${BASE} AS builder 22:15:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:15:18 9b18e9b68314: Pulling fs layer 22:15:18 35d82f9e3411: Pulling fs layer 22:15:18 e16973657156: Pulling fs layer 22:15:18 fc693d55d65f: Pulling fs layer 22:15:18 7e9fc2657dce: Pulling fs layer 22:15:18 dda99020689f: Pulling fs layer 22:15:18 db1c61fa0a46: Pulling fs layer 22:15:18 891c053d2c06: Pulling fs layer 22:15:18 fc693d55d65f: Waiting 22:15:18 7e9fc2657dce: Waiting 22:15:18 dda99020689f: Waiting 22:15:18 db1c61fa0a46: Waiting 22:15:18 891c053d2c06: Waiting 22:15:18 e16973657156: Verifying Checksum 22:15:18 e16973657156: Download complete 22:15:18 35d82f9e3411: Download complete 22:15:18 7e9fc2657dce: Verifying Checksum 22:15:18 7e9fc2657dce: Download complete 22:15:18 dda99020689f: Verifying Checksum 22:15:18 dda99020689f: Download complete 22:15:18 9b18e9b68314: Verifying Checksum 22:15:18 9b18e9b68314: Download complete 22:15:19 9b18e9b68314: Pull complete 22:15:19 891c053d2c06: Verifying Checksum 22:15:19 891c053d2c06: Download complete 22:15:19 35d82f9e3411: Pull complete 22:15:20 e16973657156: Pull complete 22:15:21 db1c61fa0a46: Verifying Checksum 22:15:21 db1c61fa0a46: Download complete 22:15:21 fc693d55d65f: Verifying Checksum 22:15:21 fc693d55d65f: Download complete 22:15:33 fc693d55d65f: Pull complete 22:15:33 7e9fc2657dce: Pull complete 22:15:33 dda99020689f: Pull complete 22:15:38 db1c61fa0a46: Pull complete 22:15:40 891c053d2c06: Pull complete 22:15:40 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:15:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:15:40 ---> f96f9c87975a 22:15:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:15:42 ---> Running in b97200f15421 22:15:42 Removing intermediate container b97200f15421 22:15:42 ---> 08938822564e 22:15:42 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:15:42 ---> Running in 3ec4125373ef 22:15:42 Removing intermediate container 3ec4125373ef 22:15:42 ---> 3830ba6cb13e 22:15:42 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:15:43 ---> Running in 711752c08d06 22:15:43 Removing intermediate container 711752c08d06 22:15:43 ---> 099f50ce41b0 22:15:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:15:43 ---> Running in d4779d3ebcc7 22:15:43 Removing intermediate container d4779d3ebcc7 22:15:43 ---> 93f59649d03a 22:15:43 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:15:43 ---> Running in aad734556797 22:15:44 Removing intermediate container aad734556797 22:15:44 ---> 5702880fda39 22:15:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:15:44 ---> Running in 9270ff992436 22:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:15:46 OK: 221 MiB in 51 packages 22:15:47 Removing intermediate container 9270ff992436 22:15:47 ---> 9570d074141f 22:15:47 Step 9/13 : WORKDIR /device-onvif-camera 22:15:47 ---> Running in 58bea198cdd6 22:15:48 Removing intermediate container 58bea198cdd6 22:15:48 ---> 5a04c2a07049 22:15:48 Step 10/13 : COPY go.mod vendor* ./ 22:15:49 ---> af7209ab5ef9 22:15:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:15:50 ---> Running in a0ed91ee7fa1 22:17:11 Removing intermediate container a0ed91ee7fa1 22:17:11 ---> 4e01e2d6141d 22:17:11 Step 12/13 : COPY . . 22:17:11 ---> 76de2a5fbf45 22:17:11 Step 13/13 : RUN ${MAKE} 22:17:11 ---> Running in 24daa93d32c9 22:17:11 noop 22:17:11 Removing intermediate container 24daa93d32c9 22:17:11 ---> 0ae1154c0233 22:17:11 Successfully built 0ae1154c0233 22:17:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:12 + docker inspect -f . ci-base-image-arm64 22:17:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:17:12 prd-ubuntu20.04-docker-arm64-4c-16g-3567 does not seem to be running inside a container 22:17:12 $ 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:17:13 $ docker top 34121778560bc650ac51253e677430f3fde8b33aa943586f1f554b38dba24350 -eo pid,comm [Pipeline] { [Pipeline] sh 22:17:14 + go version 22:17:14 go version go1.18.7 linux/arm64 [Pipeline] } 22:17:14 $ docker stop --time=1 34121778560bc650ac51253e677430f3fde8b33aa943586f1f554b38dba24350 22:17:16 $ docker rm -f --volumes 34121778560bc650ac51253e677430f3fde8b33aa943586f1f554b38dba24350 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:16 + docker inspect -f . ci-base-image-arm64 22:17:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:17:16 prd-ubuntu20.04-docker-arm64-4c-16g-3567 does not seem to be running inside a container 22:17:16 $ 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:17:18 $ docker top ec41d4d3f6d8729c243ed4f55551587779a0bc6ac0dad423691b811c81a00c36 -eo pid,comm [Pipeline] { [Pipeline] sh 22:17:18 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 22:17:19 + make test 22:17:19 go test ./... -coverprofile=coverage.out ./... 22:17:21 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:17:53 # github.com/edgexfoundry/device-sdk-go/v3/internal/config 22:17:53 /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:19:01 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 22:19:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.411s coverage: 86.5% of statements 22:19:16 make: *** [Makefile:53: unittest] Error 2 [Pipeline] } 22:19:16 $ docker stop --time=1 ec41d4d3f6d8729c243ed4f55551587779a0bc6ac0dad423691b811c81a00c36 22:19:18 $ docker rm -f --volumes ec41d4d3f6d8729c243ed4f55551587779a0bc6ac0dad423691b811c81a00c36 [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:19:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:19:19 22:19:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:19:20 arm64: Pulling from edgex-lftools-log-publisher 22:19:20 8998bd30e6a1: Pulling fs layer 22:19:20 04944245beec: Pulling fs layer 22:19:20 699f458cf7ca: Pulling fs layer 22:19:20 765212b225bb: Pulling fs layer 22:19:20 f23df028b6ca: Pulling fs layer 22:19:20 d65c8cfc05b1: Pulling fs layer 22:19:20 2437ff75d9bd: Pulling fs layer 22:19:20 f23df028b6ca: Waiting 22:19:20 d65c8cfc05b1: Waiting 22:19:20 2437ff75d9bd: Waiting 22:19:20 765212b225bb: Waiting 22:19:20 04944245beec: Verifying Checksum 22:19:20 04944245beec: Download complete 22:19:20 765212b225bb: Verifying Checksum 22:19:20 765212b225bb: Download complete 22:19:20 f23df028b6ca: Verifying Checksum 22:19:20 f23df028b6ca: Download complete 22:19:20 d65c8cfc05b1: Verifying Checksum 22:19:20 d65c8cfc05b1: Download complete 22:19:20 699f458cf7ca: Verifying Checksum 22:19:20 699f458cf7ca: Download complete 22:19:21 8998bd30e6a1: Verifying Checksum 22:19:21 8998bd30e6a1: Download complete 22:19:23 2437ff75d9bd: Download complete 22:19:25 8998bd30e6a1: Pull complete 22:19:25 04944245beec: Pull complete 22:19:26 699f458cf7ca: Pull complete 22:19:26 765212b225bb: Pull complete 22:19:30 f23df028b6ca: Pull complete 22:19:30 d65c8cfc05b1: Pull complete 22:19:45 2437ff75d9bd: Pull complete 22:19:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:19:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:19:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:45 prd-ubuntu20.04-docker-arm64-4c-16g-3567 does not seem to be running inside a container 22:19:45 $ 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:48 $ docker top bcfa599431a17ce5efec85582393e8c89e97e60a9a2802f4a442b8d94f1303ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:49 ---> job-cost.sh 22:19:49 lf-activate-venv: SKIPPING 22:19:49 INFO: No Stack... 22:19:49 INFO: Retrieving Pricing Info for: v3-standard-4 22:19:50 INFO: Archiving Costs [Pipeline] sh 22:19:51 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 22:19:51 + cut -d, -f6 [Pipeline] lock 22:19:51 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-220-2-stack-cost] 22:19:51 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-220-2-stack-cost] did not exist. Created. 22:19:51 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-220-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:19:52 /w/workspace/device-onvif-camera/2@tmp/durable-26bc6252/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:19:52 + echo total: 0.10999999940395355 [Pipeline] stash 22:19:53 Warning: overwriting stash ‘stack-cost’ 22:19:53 Stashed 1 file(s) [Pipeline] } 22:19:53 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-220-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:19:53 $ docker stop --time=1 bcfa599431a17ce5efec85582393e8c89e97e60a9a2802f4a442b8d94f1303ac 22:19:55 $ docker rm -f --volumes bcfa599431a17ce5efec85582393e8c89e97e60a9a2802f4a442b8d94f1303ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:19:55 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:56 + [ -d /w/workspace/undry_device-onvif-camera_PR-220/archives ] 22:19:56 + ls -al /w/workspace/undry_device-onvif-camera_PR-220/archives 22:19:56 total 16 22:19:56 drwxr-xr-x 3 root root 4096 Jan 24 22:13 . 22:19:56 drwxrwxr-x 11 jenkins jenkins 4096 Jan 24 22:13 .. 22:19:56 drwxr-xr-x 2 root root 4096 Jan 24 22:13 cost 22:19:56 -rw-r--r-- 1 root root 91 Jan 24 22:13 cost.csv 22:19:56 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-220/archives 22:19:56 + ls -al /w/workspace/undry_device-onvif-camera_PR-220/archives 22:19:56 total 16 22:19:56 drwxr-xr-x 3 jenkins jenkins 4096 Jan 24 22:13 . 22:19:56 drwxrwxr-x 11 jenkins jenkins 4096 Jan 24 22:13 .. 22:19:56 drwxr-xr-x 2 jenkins jenkins 4096 Jan 24 22:13 cost 22:19:56 -rw-r--r-- 1 jenkins jenkins 91 Jan 24 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:19:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:19:57 ---> package-listing.sh 22:19:57 ++ facter osfamily 22:19:57 ++ tr '[:upper:]' '[:lower:]' 22:19:57 + OS_FAMILY=debian 22:19:57 + workspace=/w/workspace/undry_device-onvif-camera_PR-220 22:19:57 + START_PACKAGES=/tmp/packages_start.txt 22:19:57 + END_PACKAGES=/tmp/packages_end.txt 22:19:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:19:57 + PACKAGES=/tmp/packages_start.txt 22:19:57 + '[' /w/workspace/undry_device-onvif-camera_PR-220 ']' 22:19:57 + PACKAGES=/tmp/packages_end.txt 22:19:57 + case "${OS_FAMILY}" in 22:19:57 + dpkg -l 22:19:57 + grep '^ii' 22:19:57 + '[' -f /tmp/packages_start.txt ']' 22:19:57 + '[' -f /tmp/packages_end.txt ']' 22:19:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:19:57 + '[' /w/workspace/undry_device-onvif-camera_PR-220 ']' 22:19:57 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-220/archives/ 22:19:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-220/archives/ [Pipeline] echo 22:19:57 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-220/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:19:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:19:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:58 prd-ubuntu20.04-docker-8c-8g-3563 does not seem to be running inside a container 22:19:58 $ 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-220/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-220 -v /w/workspace/undry_device-onvif-camera_PR-220:/w/workspace/undry_device-onvif-camera_PR-220:rw,z -v /w/workspace/undry_device-onvif-camera_PR-220@tmp:/w/workspace/undry_device-onvif-camera_PR-220@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:19:58 $ docker top 1d895a30b9c421f06bcbf4ecec891737a3f99fa353a7c06bcadc35824868fd72 -eo pid,comm [Pipeline] { [Pipeline] sh 22:19:58 + touch /tmp/pre-build-complete [Pipeline] sh 22:19:59 + mkdir -p /var/log/sysstat [Pipeline] sh 22:19:59 + ls /var/log/sa-host 22:19:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:59 provisioning config files... 22:19:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-220@tmp/config17292162205552739005tmp [Pipeline] { [Pipeline] echo 22:19:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:19:59 ---> create-netrc.sh [Pipeline] } 22:19:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:20:00 ---> python-tools-install.sh [Pipeline] echo 22:20:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:20:00 ---> sudo-logs.sh 22:20:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:20:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:20:00 ---> job-cost.sh 22:20:00 lf-activate-venv: SKIPPING 22:20:00 DEBUG: total: 0.2199999988079071 22:20:00 INFO: Retrieving Stack Cost... 22:20:01 INFO: Retrieving Pricing Info for: v3-standard-8 22:20:01 INFO: Archiving Costs [Pipeline] echo 22:20:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:20:01 ---> logs-deploy.sh 22:20:01 lf-activate-venv: SKIPPING 22:20:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-220/2 22:20:01 INFO: archiving workspace using pattern(s): 22:20:02 Archives upload complete. 22:20:02 INFO: archiving logs to Nexus