ajcasagrande commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 07d7568c4aa69296c110ad64a28331e8173121ad rather than 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Obtained Jenkinsfile from 07d7568c4aa69296c110ad64a28331e8173121ad 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-ssh9926455169693729720.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh11591201047081893070.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-153/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-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3382084400288910147.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh8456989710218281037.key Verifying host key using known hosts file > 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-153/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-153/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16086239196317636473.key Verifying host key using known hosts file > 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1428 in /w/workspace/undry_device-onvif-camera_PR-153 [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-153 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 07d7568c4aa69296c110ad64a28331e8173121ad into PR head commit 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Merge succeeded, producing 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 Checking out Revision 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 (PR-153) > git config core.sparsecheckout # timeout=10 > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 07d7568c4aa69296c110ad64a28331e8173121ad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 # timeout=10 Commit message: "Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk bd38a216c74155d78c9d5a41b711f518272ed920 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:18:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:18:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:18:47 ========================================================= 21:18:47 EdgeX Global Pipelines Version Info 21:18:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:18:48 ------------------- 21:18:48 stable info: 21:18:48 ------------------- 21:18:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:18:48 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:18:48 Message: update stable to v1.0.239 21:18:49 ------------------- 21:18:49 experimental info: 21:18:49 ------------------- 21:18:49 Commited By: **** collab-it+edgex@linuxfoundation.org 21:18:49 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:18:49 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f92f16 [Pipeline] echo 21:18:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:18:49 provisioning config files... 21:18:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config16277242620704016454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:18:50 ---> docker-login.sh 21:18:50 nexus3.edgexfoundry.org:10001 21:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:50 Configure a credential helper to remove this warning. See 21:18:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:50 21:18:50 Login Succeeded 21:18:50 nexus3.edgexfoundry.org:10002 21:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:50 Configure a credential helper to remove this warning. See 21:18:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:50 21:18:50 Login Succeeded 21:18:50 nexus3.edgexfoundry.org:10003 21:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:50 Configure a credential helper to remove this warning. See 21:18:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:50 21:18:50 Login Succeeded 21:18:50 nexus3.edgexfoundry.org:10004 21:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:50 Configure a credential helper to remove this warning. See 21:18:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:50 21:18:50 Login Succeeded 21:18:50 docker.io 21:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:51 Configure a credential helper to remove this warning. See 21:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:51 21:18:51 Login Succeeded 21:18:51 ---> docker-login.sh ends [Pipeline] } 21:18:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:18:51 + git rev-list -1 --merges 4f92f1612484ed54877fa309e0bf844d0f7f9bc5~1..4f92f1612484ed54877fa309e0bf844d0f7f9bc5 [Pipeline] echo 21:18:51 -----------> git rev-list -1 --merges 4f92f1612484ed54877fa309e0bf844d0f7f9bc5~1..4f92f1612484ed54877fa309e0bf844d0f7f9bc5 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 21:18:51 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 [false] [Pipeline] sh 21:18:51 + git log --format=format:%s -1 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 [Pipeline] echo 21:18:51 ========================================================= 21:18:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:18:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:18:52 + git log --format=format:%s -1 4f92f1612484ed54877fa309e0bf844d0f7f9bc5 [Pipeline] echo 21:18:52 [semverPrep] GIT_COMMIT: 4f92f1612484ed54877fa309e0bf844d0f7f9bc5, Commit Message: Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD [Pipeline] echo 21:18:52 [semverPrep] This is not a build commit. [Pipeline] sh 21:18:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:18:52 + grep -v github /etc/ssh/ssh_known_hosts 21:18:52 + [ -e /tmp/ssh_known_hosts ] 21:18:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:18:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:18:52 + sudo tee -a /etc/ssh/ssh_known_hosts 21:18:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:18:52 21:18:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:18:53 0.1.4: Pulling from edgex-devops/py-git-semver 21:18:53 b85a868b505f: Pulling fs layer 21:18:53 e2be974225ed: Pulling fs layer 21:18:53 339a4e72a1f5: Pulling fs layer 21:18:53 988bab9f4d93: Pulling fs layer 21:18:53 1469e6f7b9e6: Pulling fs layer 21:18:53 eaf3925da568: Pulling fs layer 21:18:53 bab4dde63d76: Pulling fs layer 21:18:53 bde34c3a00c8: Pulling fs layer 21:18:53 b352a97aabf1: Pulling fs layer 21:18:53 4872d77fe225: Pulling fs layer 21:18:53 5851b861e8e6: Pulling fs layer 21:18:53 988bab9f4d93: Waiting 21:18:53 eaf3925da568: Waiting 21:18:53 bde34c3a00c8: Waiting 21:18:53 bab4dde63d76: Waiting 21:18:53 1469e6f7b9e6: Waiting 21:18:53 4872d77fe225: Waiting 21:18:53 e2be974225ed: Download complete 21:18:53 988bab9f4d93: Verifying Checksum 21:18:53 988bab9f4d93: Download complete 21:18:53 1469e6f7b9e6: Verifying Checksum 21:18:53 1469e6f7b9e6: Download complete 21:18:53 339a4e72a1f5: Verifying Checksum 21:18:53 339a4e72a1f5: Download complete 21:18:53 eaf3925da568: Verifying Checksum 21:18:53 eaf3925da568: Download complete 21:18:53 bde34c3a00c8: Download complete 21:18:53 b352a97aabf1: Verifying Checksum 21:18:53 b352a97aabf1: Download complete 21:18:53 4872d77fe225: Verifying Checksum 21:18:53 4872d77fe225: Download complete 21:18:53 5851b861e8e6: Verifying Checksum 21:18:53 5851b861e8e6: Download complete 21:18:53 b85a868b505f: Download complete 21:18:53 bab4dde63d76: Verifying Checksum 21:18:53 bab4dde63d76: Download complete 21:18:54 b85a868b505f: Pull complete 21:18:54 e2be974225ed: Pull complete 21:18:55 339a4e72a1f5: Pull complete 21:18:55 988bab9f4d93: Pull complete 21:18:55 1469e6f7b9e6: Pull complete 21:18:55 eaf3925da568: Pull complete 21:18:57 bab4dde63d76: Pull complete 21:18:57 bde34c3a00c8: Pull complete 21:18:57 b352a97aabf1: Pull complete 21:18:57 4872d77fe225: Pull complete 21:18:57 5851b861e8e6: Pull complete 21:18:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:18:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:18:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:57 prd-ubuntu20.04-docker-8c-8g-1428 does not seem to be running inside a container 21:18:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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-devops/py-git-semver:0.1.4 cat 21:18:59 $ docker top ea03b69e3575ee2b1b005ae5fbc24c2a9472ea96b1d5d010f1dfe29d91361f2d -eo pid,comm 21:18:59 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). 21:18:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:18:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:18:59 [ssh-agent] Looking for ssh-agent implementation... 21:18:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:18:59 $ docker exec ea03b69e3575ee2b1b005ae5fbc24c2a9472ea96b1d5d010f1dfe29d91361f2d ssh-agent 21:18:59 SSH_AUTH_SOCK=/tmp/ssh-1PJEfe9nRo2w/agent.33 21:18:59 SSH_AGENT_PID=39 21:18:59 Running ssh-add (command line suppressed) 21:18:59 Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_14752206283111463891.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_14752206283111463891.key) 21:18:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:19:00 + git tag --points-at HEAD [Pipeline] } 21:19:00 $ docker exec --env ******** --env ******** ea03b69e3575ee2b1b005ae5fbc24c2a9472ea96b1d5d010f1dfe29d91361f2d ssh-agent -k 21:19:00 unset SSH_AUTH_SOCK; 21:19:00 unset SSH_AGENT_PID; 21:19:00 echo Agent pid 39 killed; 21:19:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:19:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:19:00 [ssh-agent] Looking for ssh-agent implementation... 21:19:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:19:00 $ docker exec ea03b69e3575ee2b1b005ae5fbc24c2a9472ea96b1d5d010f1dfe29d91361f2d ssh-agent 21:19:00 SSH_AUTH_SOCK=/tmp/ssh-3V6bX9nb7kbt/agent.70 21:19:00 SSH_AGENT_PID=76 21:19:00 Running ssh-add (command line suppressed) 21:19:00 Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_6569281497183368290.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_6569281497183368290.key) 21:19:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:19:00 + git semver init 21:19:01 2022-09-27 21:19:01,076 [run_init] DEBUG init version:0.0.0 force:False 21:19:01 2022-09-27 21:19:01,076 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-153/.semver 21:19:01 2022-09-27 21:19:01,077 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-153/.semver 21:19:01 2022-09-27 21:19:01,077 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-153/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-153, universal_newlines=False, shell=None, istream=None) 21:19:02 2022-09-27 21:19:02,013 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-153/.git/info/exclude 21:19:02 2022-09-27 21:19:02,013 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 with force:False 21:19:02 2022-09-27 21:19:02,013 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 21:19:02 2022-09-27 21:19:02,017 [execute] INFO git cat-file --batch-check 21:19:02 2022-09-27 21:19:02,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) 21:19:02 2022-09-27 21:19:02,023 [execute] INFO git cat-file --batch 21:19:02 2022-09-27 21:19:02,023 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) 21:19:02 2022-09-27 21:19:02,028 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 21:19:02 0.0.0 [Pipeline] } 21:19:02 $ docker exec --env ******** --env ******** ea03b69e3575ee2b1b005ae5fbc24c2a9472ea96b1d5d010f1dfe29d91361f2d ssh-agent -k 21:19:02 unset SSH_AUTH_SOCK; 21:19:02 unset SSH_AGENT_PID; 21:19:02 echo Agent pid 76 killed; 21:19:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:19:02 + git semver [Pipeline] } 21:19:02 $ docker stop --time=1 ea03b69e3575ee2b1b005ae5fbc24c2a9472ea96b1d5d010f1dfe29d91361f2d 21:19:04 $ docker rm -f ea03b69e3575ee2b1b005ae5fbc24c2a9472ea96b1d5d010f1dfe29d91361f2d [Pipeline] // withDockerContainer [Pipeline] sh 21:19:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:19:04 Stashed 1 file(s) [Pipeline] echo 21:19:04 [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 21:19:04 provisioning config files... 21:19:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config4182364497537689123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:05 ---> docker-login.sh 21:19:05 nexus3.edgexfoundry.org:10001 21:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:05 Configure a credential helper to remove this warning. See 21:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:05 21:19:05 Login Succeeded 21:19:05 nexus3.edgexfoundry.org:10002 21:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:05 Configure a credential helper to remove this warning. See 21:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:05 21:19:05 Login Succeeded 21:19:05 nexus3.edgexfoundry.org:10003 21:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:05 Configure a credential helper to remove this warning. See 21:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:05 21:19:05 Login Succeeded 21:19:05 nexus3.edgexfoundry.org:10004 21:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:05 Configure a credential helper to remove this warning. See 21:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:05 21:19:05 Login Succeeded 21:19:05 docker.io 21:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:05 Configure a credential helper to remove this warning. See 21:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:05 21:19:05 Login Succeeded 21:19:05 ---> docker-login.sh ends [Pipeline] } 21:19:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:19:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:19:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:19:05 ========================================================= 21:19:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:19:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:06 + 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 . 21:19:06 Sending build context to Docker daemon 20.74MB 21:19:06 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:19:06 Step 2/13 : FROM ${BASE} AS builder 21:19:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:19:06 2408cc74d12b: Pulling fs layer 21:19:06 ea60b727a1ce: Pulling fs layer 21:19:06 30c4a7721957: Pulling fs layer 21:19:06 370296b7ddb6: Pulling fs layer 21:19:06 7c6cee850709: Pulling fs layer 21:19:06 39a5fcdaea64: Pulling fs layer 21:19:06 d94ebbe4e438: Pulling fs layer 21:19:06 bcfd1f05c69d: Pulling fs layer 21:19:06 59ccb84bbe0f: Pulling fs layer 21:19:06 d94ebbe4e438: Waiting 21:19:06 bcfd1f05c69d: Waiting 21:19:06 7c6cee850709: Waiting 21:19:06 59ccb84bbe0f: Waiting 21:19:06 370296b7ddb6: Waiting 21:19:06 30c4a7721957: Verifying Checksum 21:19:06 30c4a7721957: Download complete 21:19:06 ea60b727a1ce: Verifying Checksum 21:19:06 ea60b727a1ce: Download complete 21:19:06 7c6cee850709: Verifying Checksum 21:19:06 7c6cee850709: Download complete 21:19:06 39a5fcdaea64: Verifying Checksum 21:19:06 39a5fcdaea64: Download complete 21:19:06 2408cc74d12b: Download complete 21:19:06 d94ebbe4e438: Verifying Checksum 21:19:06 d94ebbe4e438: Download complete 21:19:06 2408cc74d12b: Pull complete 21:19:06 ea60b727a1ce: Pull complete 21:19:06 30c4a7721957: Pull complete 21:19:07 59ccb84bbe0f: Verifying Checksum 21:19:07 59ccb84bbe0f: Download complete 21:19:07 bcfd1f05c69d: Verifying Checksum 21:19:07 bcfd1f05c69d: Download complete 21:19:07 370296b7ddb6: Verifying Checksum 21:19:07 370296b7ddb6: Download complete 21:19:11 370296b7ddb6: Pull complete 21:19:11 7c6cee850709: Pull complete 21:19:11 39a5fcdaea64: Pull complete 21:19:11 d94ebbe4e438: Pull complete 21:19:13 bcfd1f05c69d: Pull complete 21:19:13 59ccb84bbe0f: Pull complete 21:19:13 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:19:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:19:13 ---> a4fb48ad2a94 21:19:13 Step 3/13 : ARG MAKE="make build" 21:19:16 ---> Running in ad484ac3e672 21:19:16 Removing intermediate container ad484ac3e672 21:19:16 ---> 41c36f6b4f4b 21:19:16 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:19:16 ---> Running in 944a832e31c0 21:19:16 Removing intermediate container 944a832e31c0 21:19:16 ---> 40e2d8e276ba 21:19:16 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 21:19:16 ---> Running in 725a0386c8e8 21:19:16 Removing intermediate container 725a0386c8e8 21:19:16 ---> 9dce97aa7794 21:19:16 Step 6/13 : LABEL Name=edgex-device-onvif-camera 21:19:16 ---> Running in 690b6a9545b2 21:19:16 Removing intermediate container 690b6a9545b2 21:19:16 ---> d032a74bd867 21:19:16 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:19:16 ---> Running in 02a57ed78afb 21:19:17 Removing intermediate container 02a57ed78afb 21:19:17 ---> e816c1e0826f 21:19:17 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:19:17 ---> Running in c34812b749ea 21:19:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:19:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:19:18 OK: 211 MiB in 51 packages 21:19:18 Removing intermediate container c34812b749ea 21:19:18 ---> 4a6221a500ff 21:19:18 Step 9/13 : WORKDIR /device-onvif-camera 21:19:18 ---> Running in c03b3a75f309 21:19:18 Removing intermediate container c03b3a75f309 21:19:18 ---> ff7dc7069282 21:19:18 Step 10/13 : COPY go.mod vendor* ./ 21:19:18 ---> a8e4ff001b7d 21:19:18 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:19:18 ---> Running in 480e93422a78 21:19:19 Still waiting to schedule task 21:19:19 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:19:37 Removing intermediate container 480e93422a78 21:19:37 ---> ab17112553db 21:19:37 Step 12/13 : COPY . . 21:19:37 ---> f81eccbb79da 21:19:37 Step 13/13 : RUN ${MAKE} 21:19:37 ---> Running in 55d4b4b3f60a 21:19:37 noop 21:19:37 Removing intermediate container 55d4b4b3f60a 21:19:37 ---> 22b3a316d7bd 21:19:37 Successfully built 22b3a316d7bd 21:19:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:37 + docker inspect -f . ci-base-image-x86_64 21:19:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:37 prd-ubuntu20.04-docker-8c-8g-1428 does not seem to be running inside a container 21:19:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:19:37 $ docker top e9149cfd4dd3fc182f1be79449a36e6edefb02b7c27bbfb0f05dd198cf83ebcc -eo pid,comm [Pipeline] { [Pipeline] sh 21:19:38 + go version 21:19:38 go version go1.18.3 linux/amd64 [Pipeline] } 21:19:38 $ docker stop --time=1 e9149cfd4dd3fc182f1be79449a36e6edefb02b7c27bbfb0f05dd198cf83ebcc 21:19:39 $ docker rm -f e9149cfd4dd3fc182f1be79449a36e6edefb02b7c27bbfb0f05dd198cf83ebcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:39 + docker inspect -f . ci-base-image-x86_64 21:19:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:40 prd-ubuntu20.04-docker-8c-8g-1428 does not seem to be running inside a container 21:19:40 $ 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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:19:40 $ docker top 7ec01b8caa2105d4b41b4938431ef8507def4f1f72f1622a2803a4ea7c8df383 -eo pid,comm [Pipeline] { [Pipeline] sh 21:19:40 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] fileExists [Pipeline] sh 21:19:41 + make test 21:19:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:19:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:19:51 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:19:52 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements 21:19:52 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:19:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.220s coverage: 86.5% of statements 21:20:00 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:20:00 internal/driver/onvifdiscovery_test.go:19:2: `uuid1` is unused (deadcode) 21:20:00 uuid1 = "1793ddc8-28b0-11ed-a261-0242ac120002" 21:20:00 ^ 21:20:00 make: *** [Makefile:58: lint] Error 1 [Pipeline] } 21:20:00 $ docker stop --time=1 7ec01b8caa2105d4b41b4938431ef8507def4f1f72f1622a2803a4ea7c8df383 21:20:02 $ docker rm -f 7ec01b8caa2105d4b41b4938431ef8507def4f1f72f1622a2803a4ea7c8df383 [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 21:20:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:02 21:20:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:02 latest: Pulling from edgex-lftools-log-publisher 21:20:02 5eb5b503b376: Pulling fs layer 21:20:02 5c69ac0246d0: Pulling fs layer 21:20:02 ec43610c2a17: Pulling fs layer 21:20:02 3a2ae6a8a46f: Pulling fs layer 21:20:02 33b1e0a273af: Pulling fs layer 21:20:02 5d3b04190fa2: Pulling fs layer 21:20:02 2f39f015ded8: Pulling fs layer 21:20:02 3a2ae6a8a46f: Waiting 21:20:02 33b1e0a273af: Waiting 21:20:02 5d3b04190fa2: Waiting 21:20:02 2f39f015ded8: Waiting 21:20:02 5c69ac0246d0: Verifying Checksum 21:20:02 5c69ac0246d0: Download complete 21:20:02 3a2ae6a8a46f: Verifying Checksum 21:20:02 3a2ae6a8a46f: Download complete 21:20:02 33b1e0a273af: Verifying Checksum 21:20:02 33b1e0a273af: Download complete 21:20:03 5d3b04190fa2: Download complete 21:20:03 ec43610c2a17: Verifying Checksum 21:20:03 ec43610c2a17: Download complete 21:20:03 5eb5b503b376: Download complete 21:20:03 2f39f015ded8: Verifying Checksum 21:20:03 2f39f015ded8: Download complete 21:20:04 5eb5b503b376: Pull complete 21:20:04 5c69ac0246d0: Pull complete 21:20:04 ec43610c2a17: Pull complete 21:20:04 3a2ae6a8a46f: Pull complete 21:20:04 33b1e0a273af: Pull complete 21:20:05 5d3b04190fa2: Pull complete 21:20:09 2f39f015ded8: Pull complete 21:20:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:20:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:09 prd-ubuntu20.04-docker-8c-8g-1428 does not seem to be running inside a container 21:20:09 $ 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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:20:11 $ docker top f3a5b0da943fdb126cebe8f76d3d2d1332b538f3fe9fcbebc6e49a78e1afe5af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:11 ---> job-cost.sh 21:20:11 lf-activate-venv: SKIPPING 21:20:11 INFO: No Stack... 21:20:11 INFO: Retrieving Pricing Info for: v3-standard-8 21:20:12 INFO: Archiving Costs [Pipeline] sh 21:20:12 + cat /w/workspace/undry_device-onvif-camera_PR-153/archives/cost.csv 21:20:12 + cut -d, -f6 [Pipeline] lock 21:20:12 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] 21:20:12 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] did not exist. Created. 21:20:12 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:20:13 + echo total: 0.2199999988079071 [Pipeline] stash 21:20:13 Stashed 1 file(s) [Pipeline] } 21:20:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] [Pipeline] // lock [Pipeline] } 21:20:13 $ docker stop --time=1 f3a5b0da943fdb126cebe8f76d3d2d1332b538f3fe9fcbebc6e49a78e1afe5af 21:20:14 $ docker rm -f f3a5b0da943fdb126cebe8f76d3d2d1332b538f3fe9fcbebc6e49a78e1afe5af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:20:14 Failed in branch amd64 21:21:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1429 in /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] { [Pipeline] ws 21:21:15 Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout 21:21:15 The recommended git tool is: git 21:21:20 using credential edgex-jenkins-ssh 21:21:20 Cloning the remote Git repository 21:21:20 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 21:21:20 > git init /w/workspace/device-onvif-camera/6 # timeout=10 21:21:20 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:21:20 > git --version # timeout=10 21:21:20 > git --version # 'git version 2.25.1' 21:21:20 using GIT_SSH to set credentials SSH Credentials for GitHub 21:21:21 Verifying host key using known hosts file 21:21:21 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:21:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:21:23 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:21:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:21:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:21:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:21:24 using GIT_SSH to set credentials SSH Credentials for GitHub 21:21:24 Verifying host key using known hosts file 21:21:24 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:21:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:21:25 Merging remotes/origin/main commit 07d7568c4aa69296c110ad64a28331e8173121ad into PR head commit 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 21:21:25 Merge succeeded, producing 507d6b9fe01fe487c783864e4ed4aa7553d0a326 21:21:25 Checking out Revision 507d6b9fe01fe487c783864e4ed4aa7553d0a326 (PR-153) 21:21:25 > git config core.sparsecheckout # timeout=10 21:21:25 > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 21:21:25 > git remote # timeout=10 21:21:25 > git config --get remote.origin.url # timeout=10 21:21:25 using GIT_SSH to set credentials SSH Credentials for GitHub 21:21:25 Verifying host key using known hosts file 21:21:25 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:21:25 > git merge 07d7568c4aa69296c110ad64a28331e8173121ad # timeout=10 21:21:25 > git rev-parse HEAD^{commit} # timeout=10 21:21:25 > git config core.sparsecheckout # timeout=10 21:21:25 > git checkout -f 507d6b9fe01fe487c783864e4ed4aa7553d0a326 # timeout=10 21:21:29 Commit message: "Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD" 21:21:29 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:21:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:21:30 % Total % Received % Xferd Average Speed Time Time Time Current 21:21:30 Dload Upload Total Spent Left Speed 21:21:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 77790 0 --:--:-- --:--:-- --:--:-- 77790 [Pipeline] sh 21:21:29 > git rev-list --no-walk bd38a216c74155d78c9d5a41b711f518272ed920 # timeout=10 21:21:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:21:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:21:31 + sudo tee /etc/docker/daemon.new 21:21:31 { 21:21:31 "registry-mirrors": [ 21:21:31 "https://nexus3.edgexfoundry.org:10001" 21:21:31 ], 21:21:31 "bip": "10.250.0.254/24", 21:21:31 "hosts": [ 21:21:31 "tcp://0.0.0.0:5555", 21:21:31 "unix:///var/run/docker.sock" 21:21:31 ], 21:21:31 "mtu": 1458, 21:21:31 "selinux-enabled": true, 21:21:31 "seccomp-profile": "/etc/docker/seccomp.json" 21:21:31 } [Pipeline] sh 21:21:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:21:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:50 provisioning config files... 21:21:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config11535211311761046232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:50 ---> docker-login.sh 21:21:50 nexus3.edgexfoundry.org:10001 21:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:51 Configure a credential helper to remove this warning. See 21:21:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:51 21:21:51 Login Succeeded 21:21:51 nexus3.edgexfoundry.org:10002 21:21:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:51 Configure a credential helper to remove this warning. See 21:21:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:51 21:21:51 Login Succeeded 21:21:51 nexus3.edgexfoundry.org:10003 21:21:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:52 Configure a credential helper to remove this warning. See 21:21:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:52 21:21:52 Login Succeeded 21:21:52 nexus3.edgexfoundry.org:10004 21:21:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:52 Configure a credential helper to remove this warning. See 21:21:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:52 21:21:52 Login Succeeded 21:21:52 docker.io 21:21:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:53 Configure a credential helper to remove this warning. See 21:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:53 21:21:53 Login Succeeded 21:21:53 ---> docker-login.sh ends [Pipeline] } 21:21:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:21:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:53 ========================================================= 21:21:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:21:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:53 + 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 . 21:21:54 Sending build context to Docker daemon 14.2MB 21:21:54 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:21:54 Step 2/13 : FROM ${BASE} AS builder 21:21:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:21:54 b3c136eddcbf: Pulling fs layer 21:21:54 c0a3192eca97: Pulling fs layer 21:21:54 a050256f5b6f: Pulling fs layer 21:21:54 656be50a0ddc: Pulling fs layer 21:21:54 2bbca73fdf42: Pulling fs layer 21:21:54 46d945488cbd: Pulling fs layer 21:21:54 8a5474983e97: Pulling fs layer 21:21:54 329c88fbcd65: Pulling fs layer 21:21:54 46d945488cbd: Waiting 21:21:54 8a5474983e97: Waiting 21:21:54 656be50a0ddc: Waiting 21:21:54 2bbca73fdf42: Waiting 21:21:54 329c88fbcd65: Waiting 21:21:54 a050256f5b6f: Verifying Checksum 21:21:54 a050256f5b6f: Download complete 21:21:54 c0a3192eca97: Verifying Checksum 21:21:54 c0a3192eca97: Download complete 21:21:54 2bbca73fdf42: Verifying Checksum 21:21:54 2bbca73fdf42: Download complete 21:21:54 46d945488cbd: Verifying Checksum 21:21:54 46d945488cbd: Download complete 21:21:54 b3c136eddcbf: Verifying Checksum 21:21:54 b3c136eddcbf: Download complete 21:21:55 b3c136eddcbf: Pull complete 21:21:55 329c88fbcd65: Verifying Checksum 21:21:55 329c88fbcd65: Download complete 21:21:55 c0a3192eca97: Pull complete 21:21:56 a050256f5b6f: Pull complete 21:21:56 8a5474983e97: Verifying Checksum 21:21:56 8a5474983e97: Download complete 21:21:57 656be50a0ddc: Verifying Checksum 21:21:57 656be50a0ddc: Download complete 21:22:09 656be50a0ddc: Pull complete 21:22:09 2bbca73fdf42: Pull complete 21:22:09 46d945488cbd: Pull complete 21:22:16 8a5474983e97: Pull complete 21:22:17 329c88fbcd65: Pull complete 21:22:17 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:22:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:22:17 ---> ff4287adb874 21:22:17 Step 3/13 : ARG MAKE="make build" 21:22:19 ---> Running in 122446fd4de6 21:22:19 Removing intermediate container 122446fd4de6 21:22:19 ---> a73e3e355dcd 21:22:19 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:22:20 ---> Running in 07f06a99013e 21:22:20 Removing intermediate container 07f06a99013e 21:22:20 ---> 4b5aea2174c9 21:22:20 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 21:22:20 ---> Running in 8ca80c4c3932 21:22:20 Removing intermediate container 8ca80c4c3932 21:22:20 ---> 5409381a7432 21:22:20 Step 6/13 : LABEL Name=edgex-device-onvif-camera 21:22:21 ---> Running in 0a5767343baa 21:22:21 Removing intermediate container 0a5767343baa 21:22:21 ---> a10b93a34285 21:22:21 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:22:21 ---> Running in 39ce29d51395 21:22:24 Removing intermediate container 39ce29d51395 21:22:24 ---> 3375b53f1895 21:22:24 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:22:24 ---> Running in 9e1ca322b797 21:22:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:22:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:22:27 OK: 221 MiB in 51 packages 21:22:28 Removing intermediate container 9e1ca322b797 21:22:28 ---> 64d3b76b66a5 21:22:28 Step 9/13 : WORKDIR /device-onvif-camera 21:22:28 ---> Running in 4d6fbad702ae 21:22:28 Removing intermediate container 4d6fbad702ae 21:22:28 ---> cdff60f0b1b5 21:22:28 Step 10/13 : COPY go.mod vendor* ./ 21:22:28 ---> eaecc86014fc 21:22:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:28 ---> Running in 82d6c93a9612 21:23:25 Removing intermediate container 82d6c93a9612 21:23:25 ---> d2a7da68add0 21:23:25 Step 12/13 : COPY . . 21:23:25 ---> 39568e15cf69 21:23:25 Step 13/13 : RUN ${MAKE} 21:23:25 ---> Running in a73270324e2e 21:23:25 noop 21:23:25 Removing intermediate container a73270324e2e 21:23:25 ---> 8dea28711146 21:23:25 Successfully built 8dea28711146 21:23:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:25 + docker inspect -f . ci-base-image-arm64 21:23:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:25 prd-ubuntu20.04-docker-arm64-4c-16g-1429 does not seem to be running inside a container 21:23:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:23:27 $ docker top ce4440356202d0db58a197241fb77ba842fd7da3c895593ede2ef27df27a8042 -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:27 + go version 21:23:27 go version go1.18.3 linux/arm64 [Pipeline] } 21:23:28 $ docker stop --time=1 ce4440356202d0db58a197241fb77ba842fd7da3c895593ede2ef27df27a8042 21:23:29 $ docker rm -f ce4440356202d0db58a197241fb77ba842fd7da3c895593ede2ef27df27a8042 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:30 + docker inspect -f . ci-base-image-arm64 21:23:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:30 prd-ubuntu20.04-docker-arm64-4c-16g-1429 does not seem to be running inside a container 21:23:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:23:31 $ docker top 82c229199e14546b3996943e171df44c456cc3191a84f4ed19d3132ee931fa20 -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:32 + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh 21:23:32 + make test 21:23:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:23:35 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:25:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:25:15 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.215s coverage: 28.2% of statements 21:25:15 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:25:37 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.172s coverage: 86.5% of statements 21:25:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:25:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:26:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:26:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:26:09 ./bin/test-attribution-txt.sh [Pipeline] echo 21:26:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:26:09 $ docker stop --time=1 82c229199e14546b3996943e171df44c456cc3191a84f4ed19d3132ee931fa20 21:26:11 $ docker rm -f 82c229199e14546b3996943e171df44c456cc3191a84f4ed19d3132ee931fa20 [Pipeline] // withDockerContainer [Pipeline] sh 21:26:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:26:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:26:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:26:14 + ls -al . 21:26:14 total 232 21:26:14 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 21:23 . 21:26:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:21 .. 21:26:14 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:21 .git 21:26:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:21 .github 21:26:14 -rw-rw-r-- 1 jenkins jenkins 418 Sep 27 21:21 .gitignore 21:26:14 -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 21:21 .golangci.yml 21:26:14 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 27 21:21 Attribution.txt 21:26:14 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 27 21:21 CHANGELOG.md 21:26:14 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 27 21:21 Dockerfile 21:26:14 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:21 GOVERNANCE.md 21:26:14 -rw-rw-r-- 1 jenkins jenkins 734 Sep 27 21:21 Jenkinsfile 21:26:14 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 27 21:21 LICENSE 21:26:14 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 27 21:21 Makefile 21:26:14 -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 21:21 OWNERS.md 21:26:14 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 27 21:21 README.md 21:26:14 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 21:19 VERSION 21:26:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:21 bin 21:26:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:21 cmd 21:26:14 -rw-r--r-- 1 jenkins jenkins 78461 Sep 27 21:25 coverage.out 21:26:14 drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 21:21 doc 21:26:14 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 27 21:21 go.mod 21:26:14 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 27 21:21 go.sum 21:26:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:21 internal 21:26:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:21 snap 21:26:14 -rw-rw-r-- 1 jenkins jenkins 236 Sep 27 21:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:14 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=507d6b9fe01fe487c783864e4ed4aa7553d0a326 --label arch=arm64 --label version=0.0.0 . 21:26:15 Sending build context to Docker daemon 14.28MB 21:26:15 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:26:15 Step 2/26 : FROM ${BASE} AS builder 21:26:15 ---> 8dea28711146 21:26:15 Step 3/26 : ARG MAKE="make build" 21:26:15 ---> Running in 7dc787fa9688 21:26:15 Removing intermediate container 7dc787fa9688 21:26:15 ---> 79a1c757f4cf 21:26:15 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:26:15 ---> Running in cce24997315a 21:26:16 Removing intermediate container cce24997315a 21:26:16 ---> ab55af6d0824 21:26:16 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 21:26:16 ---> Running in f9f251216336 21:26:16 Removing intermediate container f9f251216336 21:26:16 ---> 4d4edea21c1e 21:26:16 Step 6/26 : LABEL Name=edgex-device-onvif-camera 21:26:16 ---> Running in d74a7a806863 21:26:16 Removing intermediate container d74a7a806863 21:26:16 ---> 795fac1be8c0 21:26:16 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:26:17 ---> Running in 70d967597a18 21:26:19 Removing intermediate container 70d967597a18 21:26:19 ---> de73403f76ca 21:26:19 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:26:19 ---> Running in fc8bd761f382 21:26:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:26:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:26:22 OK: 221 MiB in 51 packages 21:26:23 Removing intermediate container fc8bd761f382 21:26:23 ---> 1180dd9e2d68 21:26:23 Step 9/26 : WORKDIR /device-onvif-camera 21:26:23 ---> Running in 639acfffb998 21:26:23 Removing intermediate container 639acfffb998 21:26:23 ---> 50312964c72b 21:26:23 Step 10/26 : COPY go.mod vendor* ./ 21:26:24 ---> 940969cc5ed8 21:26:24 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:26:24 ---> Running in 5c63ffabbaff 21:26:29 Removing intermediate container 5c63ffabbaff 21:26:29 ---> 1225896e6376 21:26:29 Step 12/26 : COPY . . 21:26:32 ---> cb85d1d6182d 21:26:32 Step 13/26 : RUN ${MAKE} 21:26:32 ---> Running in c47191e6a584 21:26:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 21:29:11 Removing intermediate container c47191e6a584 21:29:11 ---> b161268b7f8e 21:29:11 Step 14/26 : FROM alpine:3.16 21:29:11 3.16: Pulling from library/alpine 21:29:11 9b18e9b68314: Pulling fs layer 21:29:11 9b18e9b68314: Verifying Checksum 21:29:11 9b18e9b68314: Download complete 21:29:11 9b18e9b68314: Pull complete 21:29:11 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:29:11 Status: Downloaded newer image for alpine:3.16 21:29:11 ---> a6215f271958 21:29:11 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:29:11 ---> Running in 945b7554a469 21:29:11 Removing intermediate container 945b7554a469 21:29:11 ---> 9325432c441a 21:29:11 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 21:29:11 ---> Running in 797c6ee424f8 21:29:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:29:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:29:11 (1/6) Installing dumb-init (1.2.5-r1) 21:29:11 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:29:11 (3/6) Installing libsodium (1.0.18-r0) 21:29:11 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:29:11 (5/6) Installing libzmq (4.3.4-r0) 21:29:11 (6/6) Installing zeromq (4.3.4-r0) 21:29:11 Executing busybox-1.35.0-r17.trigger 21:29:11 OK: 8 MiB in 20 packages 21:29:11 Removing intermediate container 797c6ee424f8 21:29:11 ---> 50959a787562 21:29:11 Step 17/26 : WORKDIR / 21:29:11 ---> Running in 70142200f9a5 21:29:11 Removing intermediate container 70142200f9a5 21:29:11 ---> ea293f6be410 21:29:11 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:29:11 ---> df384e6ebb4a 21:29:11 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:29:11 ---> 49cf9a38c518 21:29:11 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:29:11 ---> 1b59aa7b7f8c 21:29:11 Step 21/26 : EXPOSE 59984 21:29:11 ---> Running in cb85a07131f5 21:29:11 Removing intermediate container cb85a07131f5 21:29:11 ---> a9696f47d5be 21:29:11 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:29:11 ---> Running in 23628ff3f845 21:29:11 Removing intermediate container 23628ff3f845 21:29:11 ---> 2b526dcb2d13 21:29:11 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:29:12 ---> Running in d130592e46d4 21:29:12 Removing intermediate container d130592e46d4 21:29:12 ---> 50309037508f 21:29:12 Step 24/26 : LABEL arch=arm64 21:29:12 ---> Running in 910d516f6ee9 21:29:12 Removing intermediate container 910d516f6ee9 21:29:12 ---> d8875b431aae 21:29:12 Step 25/26 : LABEL git_sha=507d6b9fe01fe487c783864e4ed4aa7553d0a326 21:29:12 ---> Running in b576a946fb51 21:29:12 Removing intermediate container b576a946fb51 21:29:12 ---> 1811aec194c2 21:29:12 Step 26/26 : LABEL version=0.0.0 21:29:12 ---> Running in a58ada6f4590 21:29:13 Removing intermediate container a58ada6f4590 21:29:13 ---> fa8d7442b3dc 21:29:13 [Warning] One or more build-args [ARCH] were not consumed 21:29:13 Successfully built fa8d7442b3dc 21:29:13 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:29:13 21:29:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:29:13 arm64: Pulling from edgex-lftools-log-publisher 21:29:13 8998bd30e6a1: Pulling fs layer 21:29:13 04944245beec: Pulling fs layer 21:29:13 699f458cf7ca: Pulling fs layer 21:29:13 765212b225bb: Pulling fs layer 21:29:13 f23df028b6ca: Pulling fs layer 21:29:13 d65c8cfc05b1: Pulling fs layer 21:29:13 2437ff75d9bd: Pulling fs layer 21:29:13 765212b225bb: Waiting 21:29:13 f23df028b6ca: Waiting 21:29:13 d65c8cfc05b1: Waiting 21:29:14 04944245beec: Verifying Checksum 21:29:14 04944245beec: Download complete 21:29:14 765212b225bb: Download complete 21:29:14 f23df028b6ca: Verifying Checksum 21:29:14 f23df028b6ca: Download complete 21:29:14 d65c8cfc05b1: Verifying Checksum 21:29:14 d65c8cfc05b1: Download complete 21:29:14 699f458cf7ca: Verifying Checksum 21:29:14 699f458cf7ca: Download complete 21:29:14 8998bd30e6a1: Verifying Checksum 21:29:14 8998bd30e6a1: Download complete 21:29:16 2437ff75d9bd: Download complete 21:29:18 8998bd30e6a1: Pull complete 21:29:18 04944245beec: Pull complete 21:29:20 699f458cf7ca: Pull complete 21:29:20 765212b225bb: Pull complete 21:29:20 f23df028b6ca: Pull complete 21:29:20 d65c8cfc05b1: Pull complete 21:29:35 2437ff75d9bd: Pull complete 21:29:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:29:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:29:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:36 prd-ubuntu20.04-docker-arm64-4c-16g-1429 does not seem to be running inside a container 21:29:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:29:38 $ docker top e493d2a8ca39734b2f27f69aadcdf528bf6d2d3cf66beaed80ecfd1cb1a1c806 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:29:39 ---> job-cost.sh 21:29:39 lf-activate-venv: SKIPPING 21:29:39 INFO: No Stack... 21:29:40 INFO: Retrieving Pricing Info for: v3-standard-4 21:29:40 INFO: Archiving Costs [Pipeline] sh 21:29:41 + cat /w/workspace/device-onvif-camera/6/archives/cost.csv 21:29:41 + cut -d, -f6 [Pipeline] lock 21:29:41 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] 21:29:41 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] did not exist. Created. 21:29:41 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:29:41 /w/workspace/device-onvif-camera/6@tmp/durable-6e218f6c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:29:42 + echo total: 0.10999999940395355 [Pipeline] stash 21:29:42 Warning: overwriting stash ‘stack-cost’ 21:29:42 Stashed 1 file(s) [Pipeline] } 21:29:42 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-6-stack-cost] [Pipeline] // lock [Pipeline] } 21:29:42 $ docker stop --time=1 e493d2a8ca39734b2f27f69aadcdf528bf6d2d3cf66beaed80ecfd1cb1a1c806 21:29:43 $ docker rm -f e493d2a8ca39734b2f27f69aadcdf528bf6d2d3cf66beaed80ecfd1cb1a1c806 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) 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 21:29:44 + [ -d /w/workspace/undry_device-onvif-camera_PR-153/archives ] 21:29:44 + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives 21:29:44 total 16 21:29:44 drwxr-xr-x 3 root root 4096 Sep 27 21:20 . 21:29:44 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:20 .. 21:29:44 drwxr-xr-x 2 root root 4096 Sep 27 21:20 cost 21:29:44 -rw-r--r-- 1 root root 91 Sep 27 21:20 cost.csv 21:29:44 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-153/archives 21:29:44 + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives 21:29:44 total 16 21:29:44 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:20 . 21:29:44 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:20 .. 21:29:44 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:20 cost 21:29:44 -rw-r--r-- 1 jenkins jenkins 91 Sep 27 21:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:29:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:29:45 ---> package-listing.sh 21:29:45 ++ facter osfamily 21:29:45 ++ tr '[:upper:]' '[:lower:]' 21:29:46 + OS_FAMILY=debian 21:29:46 + workspace=/w/workspace/undry_device-onvif-camera_PR-153 21:29:46 + START_PACKAGES=/tmp/packages_start.txt 21:29:46 + END_PACKAGES=/tmp/packages_end.txt 21:29:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:29:46 + PACKAGES=/tmp/packages_start.txt 21:29:46 + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' 21:29:46 + PACKAGES=/tmp/packages_end.txt 21:29:46 + case "${OS_FAMILY}" in 21:29:46 + dpkg -l 21:29:46 + grep '^ii' 21:29:46 + '[' -f /tmp/packages_start.txt ']' 21:29:46 + '[' -f /tmp/packages_end.txt ']' 21:29:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:29:46 + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' 21:29:46 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-153/archives/ 21:29:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-153/archives/ [Pipeline] echo 21:29:46 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-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:29:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:46 prd-ubuntu20.04-docker-8c-8g-1428 does not seem to be running inside a container 21:29:47 $ 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-153/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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:29:47 $ docker top 5149e33baa760c8e56de7e0bb35bc4de8b7fbf96476fe7b0a69fb7765c7580d9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:47 + touch /tmp/pre-build-complete [Pipeline] sh 21:29:47 + mkdir -p /var/log/sysstat [Pipeline] sh 21:29:48 + ls /var/log/sa-host 21:29:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:29:48 provisioning config files... 21:29:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config18302200202607367175tmp [Pipeline] { [Pipeline] echo 21:29:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:29:48 ---> create-netrc.sh [Pipeline] } 21:29:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:29:48 ---> python-tools-install.sh [Pipeline] echo 21:29:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:29:49 ---> sudo-logs.sh 21:29:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:29:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:29:49 ---> job-cost.sh 21:29:49 lf-activate-venv: SKIPPING 21:29:49 DEBUG: total: 0.2199999988079071 21:29:49 INFO: Retrieving Stack Cost... 21:29:50 INFO: Retrieving Pricing Info for: v3-standard-8 21:29:50 INFO: Archiving Costs [Pipeline] echo 21:29:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:29:50 ---> logs-deploy.sh 21:29:50 lf-activate-venv: SKIPPING 21:29:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-153/6 21:29:50 INFO: archiving workspace using pattern(s): 21:29:51 Archives upload complete. 21:29:51 INFO: archiving logs to Nexus