Pull request #149 updated 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 rather than aaa7964503db9212e959d9a97bd80917f9132ea2 Obtained Jenkinsfile from dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 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-ssh17451583069317527618.key > 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-ssh16337435068976665824.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 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-149/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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh203434816645955788.key > 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-ssh18136498870681962667.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-149/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-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6454056801597424163.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-24205 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-149 # 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 Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit aaa7964503db9212e959d9a97bd80917f9132ea2 Merge succeeded, producing 9606729ca6b23a84792414c42f48c4ace44be866 Checking out Revision 9606729ca6b23a84792414c42f48c4ace44be866 (PR-149) > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aaa7964503db9212e959d9a97bd80917f9132ea2 # 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 dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9606729ca6b23a84792414c42f48c4ace44be866 # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk ab1b37530de8696268a36c20b4d7684934d66771 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:54:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:54:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:54:12 ========================================================= 15:54:12 EdgeX Global Pipelines Version Info 15:54:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:54:13 ------------------- 15:54:13 stable info: 15:54:13 ------------------- 15:54:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:54:13 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 15:54:13 Message: update stable to v1.0.239 15:54:13 ------------------- 15:54:13 experimental info: 15:54:13 ------------------- 15:54:13 Commited By: **** collab-it+edgex@linuxfoundation.org 15:54:13 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 15:54:13 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9606729ca6b23a84792414c42f48c4ace44be866 [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9606729 [Pipeline] echo 15:54:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:14 provisioning config files... 15:54:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config1023755769968523008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:14 ---> docker-login.sh 15:54:14 nexus3.edgexfoundry.org:10001 15:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:15 Configure a credential helper to remove this warning. See 15:54:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:15 15:54:15 Login Succeeded 15:54:15 nexus3.edgexfoundry.org:10002 15:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:15 Configure a credential helper to remove this warning. See 15:54:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:15 15:54:15 Login Succeeded 15:54:15 nexus3.edgexfoundry.org:10003 15:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:15 Configure a credential helper to remove this warning. See 15:54:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:15 15:54:15 Login Succeeded 15:54:15 nexus3.edgexfoundry.org:10004 15:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:15 Configure a credential helper to remove this warning. See 15:54:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:15 15:54:15 Login Succeeded 15:54:15 docker.io 15:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:16 Configure a credential helper to remove this warning. See 15:54:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:16 15:54:16 Login Succeeded 15:54:16 ---> docker-login.sh ends [Pipeline] } 15:54:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:54:16 + git rev-list -1 --merges 9606729ca6b23a84792414c42f48c4ace44be866~1..9606729ca6b23a84792414c42f48c4ace44be866 [Pipeline] echo 15:54:16 -----------> git rev-list -1 --merges 9606729ca6b23a84792414c42f48c4ace44be866~1..9606729ca6b23a84792414c42f48c4ace44be866 9606729ca6b23a84792414c42f48c4ace44be866 15:54:16 9606729ca6b23a84792414c42f48c4ace44be866 [false] [Pipeline] sh 15:54:17 + git log --format=format:%s -1 9606729ca6b23a84792414c42f48c4ace44be866 [Pipeline] echo 15:54:17 ========================================================= 15:54:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:54:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:54:17 + git log --format=format:%s -1 9606729ca6b23a84792414c42f48c4ace44be866 [Pipeline] echo 15:54:17 [semverPrep] GIT_COMMIT: 9606729ca6b23a84792414c42f48c4ace44be866, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo 15:54:17 [semverPrep] This is not a build commit. [Pipeline] sh 15:54:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:17 + grep -v github /etc/ssh/ssh_known_hosts 15:54:17 + [ -e /tmp/ssh_known_hosts ] 15:54:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:54:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:54:17 + sudo tee -a /etc/ssh/ssh_known_hosts 15:54:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:18 15:54:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:18 0.1.4: Pulling from edgex-devops/py-git-semver 15:54:18 b85a868b505f: Pulling fs layer 15:54:18 e2be974225ed: Pulling fs layer 15:54:18 339a4e72a1f5: Pulling fs layer 15:54:18 988bab9f4d93: Pulling fs layer 15:54:18 1469e6f7b9e6: Pulling fs layer 15:54:18 eaf3925da568: Pulling fs layer 15:54:18 bab4dde63d76: Pulling fs layer 15:54:18 bde34c3a00c8: Pulling fs layer 15:54:18 b352a97aabf1: Pulling fs layer 15:54:18 4872d77fe225: Pulling fs layer 15:54:18 5851b861e8e6: Pulling fs layer 15:54:18 988bab9f4d93: Waiting 15:54:18 bab4dde63d76: Waiting 15:54:18 bde34c3a00c8: Waiting 15:54:18 b352a97aabf1: Waiting 15:54:18 1469e6f7b9e6: Waiting 15:54:18 4872d77fe225: Waiting 15:54:18 eaf3925da568: Waiting 15:54:18 e2be974225ed: Verifying Checksum 15:54:18 e2be974225ed: Download complete 15:54:18 988bab9f4d93: Verifying Checksum 15:54:18 988bab9f4d93: Download complete 15:54:18 339a4e72a1f5: Verifying Checksum 15:54:18 339a4e72a1f5: Download complete 15:54:18 1469e6f7b9e6: Verifying Checksum 15:54:18 1469e6f7b9e6: Download complete 15:54:18 eaf3925da568: Verifying Checksum 15:54:18 eaf3925da568: Download complete 15:54:18 bde34c3a00c8: Verifying Checksum 15:54:18 b352a97aabf1: Download complete 15:54:18 4872d77fe225: Download complete 15:54:18 5851b861e8e6: Download complete 15:54:19 b85a868b505f: Download complete 15:54:19 bab4dde63d76: Verifying Checksum 15:54:20 b85a868b505f: Pull complete 15:54:20 e2be974225ed: Pull complete 15:54:21 339a4e72a1f5: Pull complete 15:54:21 988bab9f4d93: Pull complete 15:54:21 1469e6f7b9e6: Pull complete 15:54:21 eaf3925da568: Pull complete 15:54:24 bab4dde63d76: Pull complete 15:54:24 bde34c3a00c8: Pull complete 15:54:24 b352a97aabf1: Pull complete 15:54:24 4872d77fe225: Pull complete 15:54:24 5851b861e8e6: Pull complete 15:54:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:54:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:24 prd-ubuntu20.04-docker-8c-8g-24205 does not seem to be running inside a container 15:54:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:54:25 $ docker top 4ccf763c6cf85ac0a41a171060523aec14d7ec930c504b149054c93bf52ea456 -eo pid,comm 15:54:25 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). 15:54:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:25 [ssh-agent] Looking for ssh-agent implementation... 15:54:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:26 $ docker exec 4ccf763c6cf85ac0a41a171060523aec14d7ec930c504b149054c93bf52ea456 ssh-agent 15:54:26 SSH_AUTH_SOCK=/tmp/ssh-7NTrjy3xpRva/agent.32 15:54:26 SSH_AGENT_PID=39 15:54:26 Running ssh-add (command line suppressed) 15:54:26 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_3702352133149510110.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_3702352133149510110.key) 15:54:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:26 + git tag --points-at HEAD [Pipeline] } 15:54:26 $ docker exec --env ******** --env ******** 4ccf763c6cf85ac0a41a171060523aec14d7ec930c504b149054c93bf52ea456 ssh-agent -k 15:54:26 unset SSH_AUTH_SOCK; 15:54:26 unset SSH_AGENT_PID; 15:54:26 echo Agent pid 39 killed; 15:54:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:54:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:26 [ssh-agent] Looking for ssh-agent implementation... 15:54:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:26 $ docker exec 4ccf763c6cf85ac0a41a171060523aec14d7ec930c504b149054c93bf52ea456 ssh-agent 15:54:27 SSH_AUTH_SOCK=/tmp/ssh-Y9a7nW0w8f2L/agent.71 15:54:27 SSH_AGENT_PID=78 15:54:27 Running ssh-add (command line suppressed) 15:54:27 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_3009857353573641156.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_3009857353573641156.key) 15:54:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:27 + git semver init 15:54:27 2022-08-31 15:54:27,794 [run_init] DEBUG init version:0.0.0 force:False 15:54:27 2022-08-31 15:54:27,794 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver 15:54:27 2022-08-31 15:54:27,795 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver 15:54:27 2022-08-31 15:54:27,795 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-149/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-149, universal_newlines=False, shell=None, istream=None) 15:54:28 2022-08-31 15:54:28,517 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude 15:54:28 2022-08-31 15:54:28,517 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False 15:54:28 2022-08-31 15:54:28,518 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 15:54:28 2022-08-31 15:54:28,522 [execute] INFO git cat-file --batch-check 15:54:28 2022-08-31 15:54:28,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) 15:54:28 2022-08-31 15:54:28,528 [execute] INFO git cat-file --batch 15:54:28 2022-08-31 15:54:28,528 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) 15:54:28 2022-08-31 15:54:28,532 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 15:54:28 0.0.0 [Pipeline] } 15:54:28 $ docker exec --env ******** --env ******** 4ccf763c6cf85ac0a41a171060523aec14d7ec930c504b149054c93bf52ea456 ssh-agent -k 15:54:28 unset SSH_AUTH_SOCK; 15:54:28 unset SSH_AGENT_PID; 15:54:28 echo Agent pid 78 killed; 15:54:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:29 + git semver [Pipeline] } 15:54:29 $ docker stop --time=1 4ccf763c6cf85ac0a41a171060523aec14d7ec930c504b149054c93bf52ea456 15:54:30 $ docker rm -f 4ccf763c6cf85ac0a41a171060523aec14d7ec930c504b149054c93bf52ea456 [Pipeline] // withDockerContainer [Pipeline] sh 15:54:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:54:31 Stashed 1 file(s) [Pipeline] echo 15:54:31 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:31 provisioning config files... 15:54:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config395408910602099116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:31 ---> docker-login.sh 15:54:31 nexus3.edgexfoundry.org:10001 15:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:31 Configure a credential helper to remove this warning. See 15:54:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:31 15:54:31 Login Succeeded 15:54:31 nexus3.edgexfoundry.org:10002 15:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:32 Configure a credential helper to remove this warning. See 15:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:32 15:54:32 Login Succeeded 15:54:32 nexus3.edgexfoundry.org:10003 15:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:32 Configure a credential helper to remove this warning. See 15:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:32 15:54:32 Login Succeeded 15:54:32 nexus3.edgexfoundry.org:10004 15:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:32 Configure a credential helper to remove this warning. See 15:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:32 15:54:32 Login Succeeded 15:54:32 docker.io 15:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:32 Configure a credential helper to remove this warning. See 15:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:32 15:54:32 Login Succeeded 15:54:32 ---> docker-login.sh ends [Pipeline] } 15:54:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:54:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:54:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:54:32 ========================================================= 15:54:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:54:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:54:33 Sending build context to Docker daemon 20.72MB 15:54:33 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 15:54:33 Step 2/13 : FROM ${BASE} AS builder 15:54:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:54:33 2408cc74d12b: Pulling fs layer 15:54:33 ea60b727a1ce: Pulling fs layer 15:54:33 30c4a7721957: Pulling fs layer 15:54:33 370296b7ddb6: Pulling fs layer 15:54:33 7c6cee850709: Pulling fs layer 15:54:33 39a5fcdaea64: Pulling fs layer 15:54:33 d94ebbe4e438: Pulling fs layer 15:54:33 bcfd1f05c69d: Pulling fs layer 15:54:33 59ccb84bbe0f: Pulling fs layer 15:54:33 370296b7ddb6: Waiting 15:54:33 d94ebbe4e438: Waiting 15:54:33 7c6cee850709: Waiting 15:54:33 bcfd1f05c69d: Waiting 15:54:33 39a5fcdaea64: Waiting 15:54:33 59ccb84bbe0f: Waiting 15:54:33 30c4a7721957: Download complete 15:54:33 ea60b727a1ce: Download complete 15:54:33 7c6cee850709: Verifying Checksum 15:54:33 7c6cee850709: Download complete 15:54:33 39a5fcdaea64: Verifying Checksum 15:54:33 39a5fcdaea64: Download complete 15:54:33 2408cc74d12b: Download complete 15:54:33 d94ebbe4e438: Download complete 15:54:33 2408cc74d12b: Pull complete 15:54:33 ea60b727a1ce: Pull complete 15:54:33 30c4a7721957: Pull complete 15:54:34 59ccb84bbe0f: Verifying Checksum 15:54:34 59ccb84bbe0f: Download complete 15:54:34 bcfd1f05c69d: Verifying Checksum 15:54:34 bcfd1f05c69d: Download complete 15:54:34 370296b7ddb6: Verifying Checksum 15:54:34 370296b7ddb6: Download complete 15:54:38 370296b7ddb6: Pull complete 15:54:38 7c6cee850709: Pull complete 15:54:38 39a5fcdaea64: Pull complete 15:54:38 d94ebbe4e438: Pull complete 15:54:41 bcfd1f05c69d: Pull complete 15:54:42 59ccb84bbe0f: Pull complete 15:54:42 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 15:54:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:54:42 ---> a4fb48ad2a94 15:54:42 Step 3/13 : ARG MAKE="make build" 15:54:43 ---> Running in fa803ed2ae18 15:54:43 Removing intermediate container fa803ed2ae18 15:54:43 ---> d1be030fbdf8 15:54:43 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:54:43 ---> Running in f06a897d431a 15:54:43 Removing intermediate container f06a897d431a 15:54:43 ---> 99006e620d47 15:54:43 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 15:54:43 ---> Running in 8d9195cc13c3 15:54:44 Removing intermediate container 8d9195cc13c3 15:54:44 ---> eb1683898ae8 15:54:44 Step 6/13 : LABEL Name=edgex-device-onvif-camera 15:54:44 ---> Running in 97180edb854e 15:54:44 Removing intermediate container 97180edb854e 15:54:44 ---> db122f428e7b 15:54:44 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:54:44 ---> Running in 8f7ad1c3a480 15:54:44 Removing intermediate container 8f7ad1c3a480 15:54:44 ---> dac8358f742a 15:54:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:54:44 ---> Running in 019887780ffd 15:54:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:54:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:54:46 OK: 211 MiB in 51 packages 15:54:46 Removing intermediate container 019887780ffd 15:54:46 ---> 702377c67171 15:54:46 Step 9/13 : WORKDIR /device-onvif-camera 15:54:46 Still waiting to schedule task 15:54:46 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:54:46 ---> Running in 2299e86fe369 15:54:46 Removing intermediate container 2299e86fe369 15:54:46 ---> 80863690f4d3 15:54:46 Step 10/13 : COPY go.mod vendor* ./ 15:54:46 ---> 150b85fd3332 15:54:46 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:54:46 ---> Running in d89dba0b0c68 15:55:05 Removing intermediate container d89dba0b0c68 15:55:05 ---> 9698f2dce3bd 15:55:05 Step 12/13 : COPY . . 15:55:05 ---> c719624607b4 15:55:05 Step 13/13 : RUN ${MAKE} 15:55:05 ---> Running in 1b7f2cd51122 15:55:05 noop 15:55:05 Removing intermediate container 1b7f2cd51122 15:55:05 ---> 6330974a7927 15:55:05 Successfully built 6330974a7927 15:55:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:05 + docker inspect -f . ci-base-image-x86_64 15:55:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:55:05 prd-ubuntu20.04-docker-8c-8g-24205 does not seem to be running inside a container 15:55:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** ci-base-image-x86_64 cat 15:55:05 $ docker top 7ffd176ccf0410031ff8cef1a59085f05d48ff46fbd6a50041d40347a22fc619 -eo pid,comm [Pipeline] { [Pipeline] sh 15:55:06 + go version 15:55:06 go version go1.18.3 linux/amd64 [Pipeline] } 15:55:06 $ docker stop --time=1 7ffd176ccf0410031ff8cef1a59085f05d48ff46fbd6a50041d40347a22fc619 15:55:07 $ docker rm -f 7ffd176ccf0410031ff8cef1a59085f05d48ff46fbd6a50041d40347a22fc619 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:08 + docker inspect -f . ci-base-image-x86_64 15:55:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:55:08 prd-ubuntu20.04-docker-8c-8g-24205 does not seem to be running inside a container 15:55:08 $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** ci-base-image-x86_64 cat 15:55:08 $ docker top 0433fa01c55bd38b0d17798ba18da88b2a8282b06749efc50e05bb03960b7724 -eo pid,comm [Pipeline] { [Pipeline] sh 15:55:08 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh 15:55:09 + make test 15:55:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:55:09 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:55:21 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:55:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.5% of statements 15:55:21 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:55:25 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.656s coverage: 13.8% of statements 15:55:33 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." 15:55:33 internal/driver/driver_test.go:256:17: Error return value of `writer.Write` is not checked (errcheck) 15:55:33 writer.Write([]byte(test.resp)) 15:55:33 ^ 15:55:33 make: *** [Makefile:58: lint] Error 1 [Pipeline] } 15:55:33 $ docker stop --time=1 0433fa01c55bd38b0d17798ba18da88b2a8282b06749efc50e05bb03960b7724 15:55:34 $ docker rm -f 0433fa01c55bd38b0d17798ba18da88b2a8282b06749efc50e05bb03960b7724 [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 15:55:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:35 15:55:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:35 latest: Pulling from edgex-lftools-log-publisher 15:55:35 5eb5b503b376: Pulling fs layer 15:55:35 5c69ac0246d0: Pulling fs layer 15:55:35 ec43610c2a17: Pulling fs layer 15:55:35 3a2ae6a8a46f: Pulling fs layer 15:55:35 33b1e0a273af: Pulling fs layer 15:55:35 5d3b04190fa2: Pulling fs layer 15:55:35 2f39f015ded8: Pulling fs layer 15:55:35 3a2ae6a8a46f: Waiting 15:55:35 5d3b04190fa2: Waiting 15:55:35 2f39f015ded8: Waiting 15:55:35 5c69ac0246d0: Verifying Checksum 15:55:35 5c69ac0246d0: Download complete 15:55:35 3a2ae6a8a46f: Verifying Checksum 15:55:35 3a2ae6a8a46f: Download complete 15:55:35 33b1e0a273af: Verifying Checksum 15:55:35 33b1e0a273af: Download complete 15:55:36 5d3b04190fa2: Download complete 15:55:36 ec43610c2a17: Verifying Checksum 15:55:36 ec43610c2a17: Download complete 15:55:36 5eb5b503b376: Verifying Checksum 15:55:36 5eb5b503b376: Download complete 15:55:36 2f39f015ded8: Verifying Checksum 15:55:36 2f39f015ded8: Download complete 15:55:37 5eb5b503b376: Pull complete 15:55:37 5c69ac0246d0: Pull complete 15:55:38 ec43610c2a17: Pull complete 15:55:38 3a2ae6a8a46f: Pull complete 15:55:38 33b1e0a273af: Pull complete 15:55:38 5d3b04190fa2: Pull complete 15:55:43 2f39f015ded8: Pull complete 15:55:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:55:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:55:43 prd-ubuntu20.04-docker-8c-8g-24205 does not seem to be running inside a container 15:55:43 $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:55:45 $ docker top 751d305d1b702da4f117652ca65e96e084449159525fdde6022ff638289dca45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:45 ---> job-cost.sh 15:55:45 lf-activate-venv: SKIPPING 15:55:45 INFO: No Stack... 15:55:45 INFO: Retrieving Pricing Info for: v3-standard-8 15:55:46 INFO: Archiving Costs [Pipeline] sh 15:55:46 + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv 15:55:46 + cut -d, -f6 [Pipeline] lock 15:55:46 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-20-stack-cost] 15:55:46 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-20-stack-cost] did not exist. Created. 15:55:46 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:55:47 + echo total: 0.2199999988079071 [Pipeline] stash 15:55:47 Stashed 1 file(s) [Pipeline] } 15:55:47 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-20-stack-cost] [Pipeline] // lock [Pipeline] } 15:55:47 $ docker stop --time=1 751d305d1b702da4f117652ca65e96e084449159525fdde6022ff638289dca45 15:55:48 $ docker rm -f 751d305d1b702da4f117652ca65e96e084449159525fdde6022ff638289dca45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:55:48 Failed in branch amd64 15:56:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24206 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws 15:56:31 Running in /w/workspace/device-onvif-camera/20 [Pipeline] { [Pipeline] checkout 15:56:31 Selected Git installation does not exist. Using Default 15:56:31 The recommended git tool is: NONE 15:56:38 using credential edgex-jenkins-ssh 15:56:38 Cloning the remote Git repository 15:56:38 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 15:56:38 > git init /w/workspace/device-onvif-camera/20 # timeout=10 15:56:38 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:56:38 > git --version # timeout=10 15:56:38 > git --version # 'git version 2.25.1' 15:56:38 using GIT_SSH to set credentials SSH Credentials for GitHub 15:56:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:56:40 Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit aaa7964503db9212e959d9a97bd80917f9132ea2 15:56:40 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:56:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:56:40 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:56:40 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:56:40 using GIT_SSH to set credentials SSH Credentials for GitHub 15:56:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:56:40 > git config core.sparsecheckout # timeout=10 15:56:40 > git checkout -f aaa7964503db9212e959d9a97bd80917f9132ea2 # timeout=10 15:56:41 > git remote # timeout=10 15:56:41 > git config --get remote.origin.url # timeout=10 15:56:41 using GIT_SSH to set credentials SSH Credentials for GitHub 15:56:41 > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 15:56:41 Merge succeeded, producing cc7b35f795fbcb53264c0d46b351fe19a04cbefe 15:56:41 Checking out Revision cc7b35f795fbcb53264c0d46b351fe19a04cbefe (PR-149) 15:56:41 > git rev-parse HEAD^{commit} # timeout=10 15:56:41 > git config core.sparsecheckout # timeout=10 15:56:41 > git checkout -f cc7b35f795fbcb53264c0d46b351fe19a04cbefe # timeout=10 15:56:45 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" 15:56:45 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:56:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:56:46 % Total % Received % Xferd Average Speed Time Time Time Current 15:56:46 Dload Upload Total Spent Left Speed 15:56:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96198 0 --:--:-- --:--:-- --:--:-- 96198 [Pipeline] sh 15:56:45 > git rev-list --no-walk ab1b37530de8696268a36c20b4d7684934d66771 # timeout=10 15:56:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:56:47 + + sudo teesudo /etc/docker/daemon.new jq 15:56:47 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:56:47 { 15:56:47 "registry-mirrors": [ 15:56:47 "https://nexus3.edgexfoundry.org:10001" 15:56:47 ], 15:56:47 "bip": "10.250.0.254/24", 15:56:47 "hosts": [ 15:56:47 "tcp://0.0.0.0:5555", 15:56:47 "unix:///var/run/docker.sock" 15:56:47 ], 15:56:47 "mtu": 1458, 15:56:47 "selinux-enabled": true, 15:56:47 "seccomp-profile": "/etc/docker/seccomp.json" 15:56:47 } [Pipeline] sh 15:56:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:56:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:57:06 provisioning config files... 15:57:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/20@tmp/config1491628519310041134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:57:06 ---> docker-login.sh 15:57:06 nexus3.edgexfoundry.org:10001 15:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:07 Configure a credential helper to remove this warning. See 15:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:07 15:57:07 Login Succeeded 15:57:07 nexus3.edgexfoundry.org:10002 15:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:08 Configure a credential helper to remove this warning. See 15:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:08 15:57:08 Login Succeeded 15:57:08 nexus3.edgexfoundry.org:10003 15:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:08 Configure a credential helper to remove this warning. See 15:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:08 15:57:08 Login Succeeded 15:57:08 nexus3.edgexfoundry.org:10004 15:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:08 Configure a credential helper to remove this warning. See 15:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:08 15:57:08 Login Succeeded 15:57:08 docker.io 15:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:09 Configure a credential helper to remove this warning. See 15:57:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:09 15:57:09 Login Succeeded 15:57:09 ---> docker-login.sh ends [Pipeline] } 15:57:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:57:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:57:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:57:10 ========================================================= 15:57:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:57:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:10 + 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 . 15:57:11 Sending build context to Docker daemon 14.23MB 15:57:11 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 15:57:11 Step 2/13 : FROM ${BASE} AS builder 15:57:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:57:11 b3c136eddcbf: Pulling fs layer 15:57:11 c0a3192eca97: Pulling fs layer 15:57:11 a050256f5b6f: Pulling fs layer 15:57:11 656be50a0ddc: Pulling fs layer 15:57:11 2bbca73fdf42: Pulling fs layer 15:57:11 46d945488cbd: Pulling fs layer 15:57:11 8a5474983e97: Pulling fs layer 15:57:11 329c88fbcd65: Pulling fs layer 15:57:11 2bbca73fdf42: Waiting 15:57:11 46d945488cbd: Waiting 15:57:11 8a5474983e97: Waiting 15:57:11 329c88fbcd65: Waiting 15:57:11 656be50a0ddc: Waiting 15:57:11 a050256f5b6f: Verifying Checksum 15:57:11 a050256f5b6f: Download complete 15:57:11 c0a3192eca97: Verifying Checksum 15:57:11 c0a3192eca97: Download complete 15:57:11 2bbca73fdf42: Verifying Checksum 15:57:11 2bbca73fdf42: Download complete 15:57:11 46d945488cbd: Verifying Checksum 15:57:11 46d945488cbd: Download complete 15:57:11 b3c136eddcbf: Verifying Checksum 15:57:11 b3c136eddcbf: Download complete 15:57:12 b3c136eddcbf: Pull complete 15:57:12 329c88fbcd65: Verifying Checksum 15:57:12 329c88fbcd65: Download complete 15:57:13 c0a3192eca97: Pull complete 15:57:13 a050256f5b6f: Pull complete 15:57:13 8a5474983e97: Verifying Checksum 15:57:13 8a5474983e97: Download complete 15:57:14 656be50a0ddc: Verifying Checksum 15:57:14 656be50a0ddc: Download complete 15:57:29 656be50a0ddc: Pull complete 15:57:29 2bbca73fdf42: Pull complete 15:57:29 46d945488cbd: Pull complete 15:57:34 8a5474983e97: Pull complete 15:57:36 329c88fbcd65: Pull complete 15:57:36 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 15:57:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:57:36 ---> ff4287adb874 15:57:36 Step 3/13 : ARG MAKE="make build" 15:57:37 ---> Running in 17649a9d7835 15:57:37 Removing intermediate container 17649a9d7835 15:57:37 ---> c67ef0e10a70 15:57:37 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:57:37 ---> Running in f8d2ebf51249 15:57:38 Removing intermediate container f8d2ebf51249 15:57:38 ---> 60dac8c3a725 15:57:38 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 15:57:38 ---> Running in 24cd3d1fe7fc 15:57:38 Removing intermediate container 24cd3d1fe7fc 15:57:38 ---> dea624dc2e50 15:57:38 Step 6/13 : LABEL Name=edgex-device-onvif-camera 15:57:38 ---> Running in eace142f0463 15:57:39 Removing intermediate container eace142f0463 15:57:39 ---> bbdba7e26c29 15:57:39 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:57:39 ---> Running in 45b9211602e8 15:57:41 Removing intermediate container 45b9211602e8 15:57:41 ---> 5f19cf0f47fd 15:57:41 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:57:41 ---> Running in e50af4dfe503 15:57:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:57:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:57:44 OK: 221 MiB in 51 packages 15:57:45 Removing intermediate container e50af4dfe503 15:57:45 ---> 71ba8ede8d04 15:57:45 Step 9/13 : WORKDIR /device-onvif-camera 15:57:45 ---> Running in c0b2d825a2d8 15:57:45 Removing intermediate container c0b2d825a2d8 15:57:45 ---> 7954931e562e 15:57:45 Step 10/13 : COPY go.mod vendor* ./ 15:57:46 ---> d21dac218abc 15:57:46 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:57:46 ---> Running in 6e3826aedfeb 15:58:43 Removing intermediate container 6e3826aedfeb 15:58:43 ---> 96e4e00950d8 15:58:43 Step 12/13 : COPY . . 15:58:43 ---> ef086e2556e6 15:58:43 Step 13/13 : RUN ${MAKE} 15:58:43 ---> Running in 70a19b51745b 15:58:43 noop 15:58:43 Removing intermediate container 70a19b51745b 15:58:43 ---> cccaf6f8cc9a 15:58:43 Successfully built cccaf6f8cc9a 15:58:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:43 + docker inspect -f . ci-base-image-arm64 15:58:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:43 prd-ubuntu20.04-docker-arm64-4c-16g-24206 does not seem to be running inside a container 15:58:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@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 ******** ci-base-image-arm64 cat 15:58:44 $ docker top 0bedf11a437e093e60e7f69b0f5f83445047b1f3d67387448215c4246e4db314 -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:45 + go version 15:58:45 go version go1.18.3 linux/arm64 [Pipeline] } 15:58:45 $ docker stop --time=1 0bedf11a437e093e60e7f69b0f5f83445047b1f3d67387448215c4246e4db314 15:58:47 $ docker rm -f 0bedf11a437e093e60e7f69b0f5f83445047b1f3d67387448215c4246e4db314 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:48 + docker inspect -f . ci-base-image-arm64 15:58:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:48 prd-ubuntu20.04-docker-arm64-4c-16g-24206 does not seem to be running inside a container 15:58:48 $ 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/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@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 ******** ci-base-image-arm64 cat 15:58:49 $ docker top 5e18f9e8ff3e8a79c7680111de56b42919cc7a90eff8d5334970c3670694f50c -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:50 + git config --global --add safe.directory /w/workspace/device-onvif-camera/20 [Pipeline] fileExists [Pipeline] sh 15:58:51 + make test 15:58:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:58:52 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:00:14 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:00:22 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.200s coverage: 28.5% of statements 16:00:22 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:00:45 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.057s coverage: 13.8% of statements 16:00:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:00:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:01:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:01:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:01:07 ./bin/test-attribution-txt.sh [Pipeline] echo 16:01:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:01:07 $ docker stop --time=1 5e18f9e8ff3e8a79c7680111de56b42919cc7a90eff8d5334970c3670694f50c 16:01:09 $ docker rm -f 5e18f9e8ff3e8a79c7680111de56b42919cc7a90eff8d5334970c3670694f50c [Pipeline] // withDockerContainer [Pipeline] sh 16:01:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:01:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:01:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:01:11 + ls -al . 16:01:11 total 228 16:01:11 drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 15:58 . 16:01:11 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 15:56 .. 16:01:11 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 15:56 .git 16:01:11 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 15:56 .github 16:01:11 -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 15:56 .gitignore 16:01:11 -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 15:56 .golangci.yml 16:01:11 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 15:56 Attribution.txt 16:01:11 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 15:56 CHANGELOG.md 16:01:11 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 31 15:56 Dockerfile 16:01:11 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 15:56 GOVERNANCE.md 16:01:11 -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 15:56 Jenkinsfile 16:01:11 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 15:56 LICENSE 16:01:11 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 15:56 Makefile 16:01:11 -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 15:56 OWNERS.md 16:01:11 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 15:56 README.md 16:01:11 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 15:54 VERSION 16:01:11 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 15:56 bin 16:01:11 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 15:56 cmd 16:01:11 -rw-r--r-- 1 jenkins jenkins 77457 Aug 31 16:00 coverage.out 16:01:11 drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 15:56 doc 16:01:11 -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 15:56 go.mod 16:01:11 -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 15:56 go.sum 16:01:11 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 15:56 internal 16:01:11 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 15:56 snap 16:01:11 -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 15:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:12 + 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=cc7b35f795fbcb53264c0d46b351fe19a04cbefe --label arch=arm64 --label version=0.0.0 . 16:01:12 Sending build context to Docker daemon 14.31MB 16:01:12 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:01:12 Step 2/26 : FROM ${BASE} AS builder 16:01:12 ---> cccaf6f8cc9a 16:01:12 Step 3/26 : ARG MAKE="make build" 16:01:12 ---> Running in 4028b58c2ac5 16:01:13 Removing intermediate container 4028b58c2ac5 16:01:13 ---> 70c467ce00ed 16:01:13 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:01:13 ---> Running in 3666e58d523e 16:01:13 Removing intermediate container 3666e58d523e 16:01:13 ---> 608bb127dcdf 16:01:13 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 16:01:13 ---> Running in 50ee7af403b8 16:01:14 Removing intermediate container 50ee7af403b8 16:01:14 ---> 6032057d7ed3 16:01:14 Step 6/26 : LABEL Name=edgex-device-onvif-camera 16:01:14 ---> Running in a427c3805814 16:01:14 Removing intermediate container a427c3805814 16:01:14 ---> 6bff764831a6 16:01:14 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:01:14 ---> Running in ff2158200074 16:01:16 Removing intermediate container ff2158200074 16:01:16 ---> a63ad4943fdc 16:01:16 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:01:16 ---> Running in 76546c1a7520 16:01:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:01:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:01:18 OK: 221 MiB in 51 packages 16:01:19 Removing intermediate container 76546c1a7520 16:01:19 ---> 859f0df049e2 16:01:19 Step 9/26 : WORKDIR /device-onvif-camera 16:01:19 ---> Running in 5f41907ce226 16:01:19 Removing intermediate container 5f41907ce226 16:01:19 ---> 50d3e36d2283 16:01:19 Step 10/26 : COPY go.mod vendor* ./ 16:01:20 ---> 6d8d12dce818 16:01:20 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:01:20 ---> Running in 2e490c039028 16:01:22 Removing intermediate container 2e490c039028 16:01:22 ---> a64645733d48 16:01:22 Step 12/26 : COPY . . 16:01:23 ---> 56ad18ef9518 16:01:23 Step 13/26 : RUN ${MAKE} 16:01:23 ---> Running in b8a1f83efc5a 16:01:24 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 16:04:01 Removing intermediate container b8a1f83efc5a 16:04:01 ---> 8356dbfe433a 16:04:01 Step 14/26 : FROM alpine:3.16 16:04:01 3.16: Pulling from library/alpine 16:04:01 9b18e9b68314: Pulling fs layer 16:04:01 9b18e9b68314: Verifying Checksum 16:04:01 9b18e9b68314: Download complete 16:04:01 9b18e9b68314: Pull complete 16:04:01 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:04:01 Status: Downloaded newer image for alpine:3.16 16:04:01 ---> a6215f271958 16:04:01 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:04:01 ---> Running in e2ac10d4d12c 16:04:01 Removing intermediate container e2ac10d4d12c 16:04:01 ---> 3dd67b65c1ba 16:04:01 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:04:01 ---> Running in 4a97d4627c55 16:04:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:04:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:04:01 (1/6) Installing dumb-init (1.2.5-r1) 16:04:01 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:04:01 (3/6) Installing libsodium (1.0.18-r0) 16:04:01 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:04:01 (5/6) Installing libzmq (4.3.4-r0) 16:04:01 (6/6) Installing zeromq (4.3.4-r0) 16:04:01 Executing busybox-1.35.0-r17.trigger 16:04:01 OK: 8 MiB in 20 packages 16:04:01 Removing intermediate container 4a97d4627c55 16:04:01 ---> 0e0bff085ac3 16:04:01 Step 17/26 : WORKDIR / 16:04:01 ---> Running in 1ba4cd231f32 16:04:01 Removing intermediate container 1ba4cd231f32 16:04:01 ---> c1a1b49887ba 16:04:01 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:04:01 ---> ba9a57ea73d3 16:04:01 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:04:01 ---> 073ba1968b2c 16:04:01 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:04:01 ---> e2e1a42ac69a 16:04:01 Step 21/26 : EXPOSE 59984 16:04:01 ---> Running in 8017815f8848 16:04:01 Removing intermediate container 8017815f8848 16:04:01 ---> f1d583bd68c3 16:04:01 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:04:01 ---> Running in 031f0b890502 16:04:01 Removing intermediate container 031f0b890502 16:04:01 ---> 6994aa62f748 16:04:01 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:04:01 ---> Running in 7387e15e77a9 16:04:01 Removing intermediate container 7387e15e77a9 16:04:01 ---> 985e275393d4 16:04:01 Step 24/26 : LABEL arch=arm64 16:04:01 ---> Running in 6a5a9cdf0933 16:04:01 Removing intermediate container 6a5a9cdf0933 16:04:01 ---> 03310ab4709a 16:04:01 Step 25/26 : LABEL git_sha=cc7b35f795fbcb53264c0d46b351fe19a04cbefe 16:04:01 ---> Running in f9853784b0c5 16:04:01 Removing intermediate container f9853784b0c5 16:04:01 ---> 262ecfc51a76 16:04:01 Step 26/26 : LABEL version=0.0.0 16:04:01 ---> Running in 08e7a909c0aa 16:04:01 Removing intermediate container 08e7a909c0aa 16:04:01 ---> 86f82f4d4a47 16:04:01 [Warning] One or more build-args [ARCH] were not consumed 16:04:01 Successfully built 86f82f4d4a47 16:04:01 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 16:04:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:04:02 16:04:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:04:02 arm64: Pulling from edgex-lftools-log-publisher 16:04:02 8998bd30e6a1: Pulling fs layer 16:04:02 04944245beec: Pulling fs layer 16:04:02 699f458cf7ca: Pulling fs layer 16:04:02 765212b225bb: Pulling fs layer 16:04:02 f23df028b6ca: Pulling fs layer 16:04:02 d65c8cfc05b1: Pulling fs layer 16:04:02 2437ff75d9bd: Pulling fs layer 16:04:02 f23df028b6ca: Waiting 16:04:02 d65c8cfc05b1: Waiting 16:04:02 2437ff75d9bd: Waiting 16:04:02 765212b225bb: Waiting 16:04:02 04944245beec: Verifying Checksum 16:04:02 04944245beec: Download complete 16:04:02 765212b225bb: Download complete 16:04:02 f23df028b6ca: Verifying Checksum 16:04:02 f23df028b6ca: Download complete 16:04:02 d65c8cfc05b1: Verifying Checksum 16:04:02 d65c8cfc05b1: Download complete 16:04:03 699f458cf7ca: Verifying Checksum 16:04:03 699f458cf7ca: Download complete 16:04:03 8998bd30e6a1: Verifying Checksum 16:04:06 2437ff75d9bd: Verifying Checksum 16:04:06 2437ff75d9bd: Download complete 16:04:08 8998bd30e6a1: Pull complete 16:04:08 04944245beec: Pull complete 16:04:09 699f458cf7ca: Pull complete 16:04:10 765212b225bb: Pull complete 16:04:11 f23df028b6ca: Pull complete 16:04:11 d65c8cfc05b1: Pull complete 16:04:26 2437ff75d9bd: Pull complete 16:04:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:04:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:04:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:04:26 prd-ubuntu20.04-docker-arm64-4c-16g-24206 does not seem to be running inside a container 16:04:26 $ 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/20 -v /w/workspace/device-onvif-camera/20:/w/workspace/device-onvif-camera/20:rw,z -v /w/workspace/device-onvif-camera/20@tmp:/w/workspace/device-onvif-camera/20@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:arm64 cat 16:04:29 $ docker top 603d10aac71a250bea1e7a6360b20cb7f37aeaff2ae0b55fccb4a8c0cf3e7ae5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:04:30 ---> job-cost.sh 16:04:30 lf-activate-venv: SKIPPING 16:04:30 INFO: No Stack... 16:04:30 INFO: Retrieving Pricing Info for: v3-standard-4 16:04:31 INFO: Archiving Costs [Pipeline] sh 16:04:31 + cat /w/workspace/device-onvif-camera/20/archives/cost.csv 16:04:31 + cut -d, -f6 [Pipeline] lock 16:04:31 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-20-stack-cost] 16:04:31 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-20-stack-cost] did not exist. Created. 16:04:31 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:04:32 /w/workspace/device-onvif-camera/20@tmp/durable-4d73aec8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:04:33 + echo total: 0.10999999940395355 [Pipeline] stash 16:04:33 Warning: overwriting stash ‘stack-cost’ 16:04:33 Stashed 1 file(s) [Pipeline] } 16:04:33 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-20-stack-cost] [Pipeline] // lock [Pipeline] } 16:04:33 $ docker stop --time=1 603d10aac71a250bea1e7a6360b20cb7f37aeaff2ae0b55fccb4a8c0cf3e7ae5 16:04:34 $ docker rm -f 603d10aac71a250bea1e7a6360b20cb7f37aeaff2ae0b55fccb4a8c0cf3e7ae5 [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 16:04:35 + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] 16:04:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 16:04:35 total 16 16:04:35 drwxr-xr-x 3 root root 4096 Aug 31 15:55 . 16:04:35 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 15:55 .. 16:04:35 drwxr-xr-x 2 root root 4096 Aug 31 15:55 cost 16:04:35 -rw-r--r-- 1 root root 92 Aug 31 15:55 cost.csv 16:04:35 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives 16:04:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 16:04:35 total 16 16:04:35 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 15:55 . 16:04:35 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 15:55 .. 16:04:35 drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 15:55 cost 16:04:35 -rw-r--r-- 1 jenkins jenkins 92 Aug 31 15:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:04:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:04:37 ---> package-listing.sh 16:04:37 ++ facter osfamily 16:04:37 ++ tr '[:upper:]' '[:lower:]' 16:04:37 + OS_FAMILY=debian 16:04:37 + workspace=/w/workspace/undry_device-onvif-camera_PR-149 16:04:37 + START_PACKAGES=/tmp/packages_start.txt 16:04:37 + END_PACKAGES=/tmp/packages_end.txt 16:04:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:04:37 + PACKAGES=/tmp/packages_start.txt 16:04:37 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 16:04:37 + PACKAGES=/tmp/packages_end.txt 16:04:37 + case "${OS_FAMILY}" in 16:04:37 + dpkg -l 16:04:37 + grep '^ii' 16:04:37 + '[' -f /tmp/packages_start.txt ']' 16:04:37 + '[' -f /tmp/packages_end.txt ']' 16:04:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:04:37 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 16:04:37 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ 16:04:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-149/archives/ [Pipeline] echo 16:04:37 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:04:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:04:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:04:38 prd-ubuntu20.04-docker-8c-8g-24205 does not seem to be running inside a container 16:04:38 $ 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-149/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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 16:04:38 $ docker top 0246523137cc2859786130eea966c080da7fa7ae5ad4120c1d04dd6aff5bc98c -eo pid,comm [Pipeline] { [Pipeline] sh 16:04:38 + touch /tmp/pre-build-complete [Pipeline] sh 16:04:39 + mkdir -p /var/log/sysstat [Pipeline] sh 16:04:39 + ls /var/log/sa-host 16:04:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:04:39 provisioning config files... 16:04:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config5123747361199819031tmp [Pipeline] { [Pipeline] echo 16:04:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:04:39 ---> create-netrc.sh [Pipeline] } 16:04:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:04:40 ---> python-tools-install.sh [Pipeline] echo 16:04:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:04:40 ---> sudo-logs.sh 16:04:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:04:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:04:40 ---> job-cost.sh 16:04:40 lf-activate-venv: SKIPPING 16:04:40 DEBUG: total: 0.2199999988079071 16:04:40 INFO: Retrieving Stack Cost... 16:04:41 INFO: Retrieving Pricing Info for: v3-standard-8 16:04:41 INFO: Archiving Costs [Pipeline] echo 16:04:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:04:42 ---> logs-deploy.sh 16:04:42 lf-activate-venv: SKIPPING 16:04:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/20 16:04:42 INFO: archiving workspace using pattern(s): 16:04:43 Archives upload complete. 16:04:43 INFO: archiving logs to Nexus