Branch indexing 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 8a3386b2ee541d18e88ea65fa18280a00a2df7ca rather than 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Obtained Jenkinsfile from 8a3386b2ee541d18e88ea65fa18280a00a2df7ca 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-ssh14650831087207861716.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-ssh9048102405041741646.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-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-ssh13338453003322727892.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-ssh15396825826970314686.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-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-ssh4824481138274185772.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-28617 in /w/workspace/undry_device-onvif-camera_PR-153 [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-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 > 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 8a3386b2ee541d18e88ea65fa18280a00a2df7ca into PR head commit 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Merge succeeded, producing 0d7e4a19f4cb43bf39240ffa3052c833522314ef Checking out Revision 0d7e4a19f4cb43bf39240ffa3052c833522314ef (PR-153) > 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/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 > 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 > git merge 8a3386b2ee541d18e88ea65fa18280a00a2df7ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d7e4a19f4cb43bf39240ffa3052c833522314ef # timeout=10 Commit message: "Merge commit '8a3386b2ee541d18e88ea65fa18280a00a2df7ca' into HEAD" > git rev-list --no-walk 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:10:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:10:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:10:49 ========================================================= 10:10:49 EdgeX Global Pipelines Version Info 10:10:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:10:50 ------------------- 10:10:50 stable info: 10:10:50 ------------------- 10:10:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:10:50 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:10:50 Message: update stable to v1.0.239 10:10:50 ------------------- 10:10:50 experimental info: 10:10:50 ------------------- 10:10:50 Commited By: **** collab-it+edgex@linuxfoundation.org 10:10:50 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:10:50 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d7e4a19f4cb43bf39240ffa3052c833522314ef [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d7e4a1 [Pipeline] echo 10:10:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:51 provisioning config files... 10:10:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config4482755919304237397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:51 ---> docker-login.sh 10:10:51 nexus3.edgexfoundry.org:10001 10:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:52 Configure a credential helper to remove this warning. See 10:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:52 10:10:52 Login Succeeded 10:10:52 nexus3.edgexfoundry.org:10002 10:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:52 Configure a credential helper to remove this warning. See 10:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:52 10:10:52 Login Succeeded 10:10:52 nexus3.edgexfoundry.org:10003 10:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:52 Configure a credential helper to remove this warning. See 10:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:52 10:10:52 Login Succeeded 10:10:52 nexus3.edgexfoundry.org:10004 10:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:52 Configure a credential helper to remove this warning. See 10:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:52 10:10:52 Login Succeeded 10:10:52 docker.io 10:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:53 Configure a credential helper to remove this warning. See 10:10:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:53 10:10:53 Login Succeeded 10:10:53 ---> docker-login.sh ends [Pipeline] } 10:10:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:10:53 + git rev-list -1 --merges 0d7e4a19f4cb43bf39240ffa3052c833522314ef~1..0d7e4a19f4cb43bf39240ffa3052c833522314ef [Pipeline] echo 10:10:53 -----------> git rev-list -1 --merges 0d7e4a19f4cb43bf39240ffa3052c833522314ef~1..0d7e4a19f4cb43bf39240ffa3052c833522314ef 0d7e4a19f4cb43bf39240ffa3052c833522314ef 10:10:53 0d7e4a19f4cb43bf39240ffa3052c833522314ef [false] [Pipeline] sh 10:10:53 + git log --format=format:%s -1 0d7e4a19f4cb43bf39240ffa3052c833522314ef [Pipeline] echo 10:10:53 ========================================================= 10:10:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:10:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:54 + git log --format=format:%s -1 0d7e4a19f4cb43bf39240ffa3052c833522314ef [Pipeline] echo 10:10:54 [semverPrep] GIT_COMMIT: 0d7e4a19f4cb43bf39240ffa3052c833522314ef, Commit Message: Merge commit '8a3386b2ee541d18e88ea65fa18280a00a2df7ca' into HEAD [Pipeline] echo 10:10:54 [semverPrep] This is not a build commit. [Pipeline] sh 10:10:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:10:54 + grep -v github /etc/ssh/ssh_known_hosts 10:10:54 + [ -e /tmp/ssh_known_hosts ] 10:10:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:10:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:10:54 + sudo tee -a /etc/ssh/ssh_known_hosts 10:10:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:55 10:10:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:55 0.1.4: Pulling from edgex-devops/py-git-semver 10:10:55 b85a868b505f: Pulling fs layer 10:10:55 e2be974225ed: Pulling fs layer 10:10:55 339a4e72a1f5: Pulling fs layer 10:10:55 988bab9f4d93: Pulling fs layer 10:10:55 1469e6f7b9e6: Pulling fs layer 10:10:55 eaf3925da568: Pulling fs layer 10:10:55 bab4dde63d76: Pulling fs layer 10:10:55 bde34c3a00c8: Pulling fs layer 10:10:55 b352a97aabf1: Pulling fs layer 10:10:55 4872d77fe225: Pulling fs layer 10:10:55 5851b861e8e6: Pulling fs layer 10:10:55 988bab9f4d93: Waiting 10:10:55 1469e6f7b9e6: Waiting 10:10:55 b352a97aabf1: Waiting 10:10:55 4872d77fe225: Waiting 10:10:55 5851b861e8e6: Waiting 10:10:55 bde34c3a00c8: Waiting 10:10:55 e2be974225ed: Download complete 10:10:55 988bab9f4d93: Verifying Checksum 10:10:55 988bab9f4d93: Download complete 10:10:55 1469e6f7b9e6: Verifying Checksum 10:10:55 1469e6f7b9e6: Download complete 10:10:55 339a4e72a1f5: Verifying Checksum 10:10:55 339a4e72a1f5: Download complete 10:10:55 eaf3925da568: Verifying Checksum 10:10:55 eaf3925da568: Download complete 10:10:55 bde34c3a00c8: Download complete 10:10:55 b352a97aabf1: Verifying Checksum 10:10:55 b352a97aabf1: Download complete 10:10:55 4872d77fe225: Verifying Checksum 10:10:55 4872d77fe225: Download complete 10:10:55 5851b861e8e6: Verifying Checksum 10:10:55 b85a868b505f: Verifying Checksum 10:10:55 b85a868b505f: Download complete 10:10:55 bab4dde63d76: Verifying Checksum 10:10:55 bab4dde63d76: Download complete 10:10:57 b85a868b505f: Pull complete 10:10:57 e2be974225ed: Pull complete 10:10:57 339a4e72a1f5: Pull complete 10:10:57 988bab9f4d93: Pull complete 10:10:58 1469e6f7b9e6: Pull complete 10:10:58 eaf3925da568: Pull complete 10:11:00 bab4dde63d76: Pull complete 10:11:00 bde34c3a00c8: Pull complete 10:11:00 b352a97aabf1: Pull complete 10:11:00 4872d77fe225: Pull complete 10:11:00 5851b861e8e6: Pull complete 10:11:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:11:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:11:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:00 prd-ubuntu20.04-docker-8c-8g-28617 does not seem to be running inside a container 10:11:00 $ 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 10:11:02 $ docker top 9a9955191062175af030ec57d6dc607db263fa0cab6e6a14d3b52be18274912b -eo pid,comm 10:11:02 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). 10:11:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:11:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:11:02 [ssh-agent] Looking for ssh-agent implementation... 10:11:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:11:02 $ docker exec 9a9955191062175af030ec57d6dc607db263fa0cab6e6a14d3b52be18274912b ssh-agent 10:11:02 SSH_AUTH_SOCK=/tmp/ssh-z1NSZWszhDN8/agent.33 10:11:02 SSH_AGENT_PID=39 10:11:02 Running ssh-add (command line suppressed) 10:11:02 Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_4671121549143937685.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_4671121549143937685.key) 10:11:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:11:03 + git tag --points-at HEAD [Pipeline] } 10:11:03 $ docker exec --env ******** --env ******** 9a9955191062175af030ec57d6dc607db263fa0cab6e6a14d3b52be18274912b ssh-agent -k 10:11:03 unset SSH_AUTH_SOCK; 10:11:03 unset SSH_AGENT_PID; 10:11:03 echo Agent pid 39 killed; 10:11:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:11:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:11:03 [ssh-agent] Looking for ssh-agent implementation... 10:11:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:11:03 $ docker exec 9a9955191062175af030ec57d6dc607db263fa0cab6e6a14d3b52be18274912b ssh-agent 10:11:03 SSH_AUTH_SOCK=/tmp/ssh-C1hstu25n4O6/agent.72 10:11:03 SSH_AGENT_PID=78 10:11:03 Running ssh-add (command line suppressed) 10:11:03 Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_6925414646558771541.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_6925414646558771541.key) 10:11:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:11:03 + git semver init 10:11:04 2022-09-07 10:11:04,177 [run_init] DEBUG init version:0.0.0 force:False 10:11:04 2022-09-07 10:11:04,178 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-153/.semver 10:11:04 2022-09-07 10:11:04,178 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-153/.semver 10:11:04 2022-09-07 10:11:04,178 [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) 10:11:05 2022-09-07 10:11:05,128 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-153/.git/info/exclude 10:11:05 2022-09-07 10:11:05,129 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 with force:False 10:11:05 2022-09-07 10:11:05,129 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 10:11:05 2022-09-07 10:11:05,133 [execute] INFO git cat-file --batch-check 10:11:05 2022-09-07 10:11:05,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) 10:11:05 2022-09-07 10:11:05,143 [execute] INFO git cat-file --batch 10:11:05 2022-09-07 10:11:05,144 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) 10:11:05 2022-09-07 10:11:05,151 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 10:11:05 0.0.0 [Pipeline] } 10:11:05 $ docker exec --env ******** --env ******** 9a9955191062175af030ec57d6dc607db263fa0cab6e6a14d3b52be18274912b ssh-agent -k 10:11:05 unset SSH_AUTH_SOCK; 10:11:05 unset SSH_AGENT_PID; 10:11:05 echo Agent pid 78 killed; 10:11:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:11:05 + git semver [Pipeline] } 10:11:06 $ docker stop --time=1 9a9955191062175af030ec57d6dc607db263fa0cab6e6a14d3b52be18274912b 10:11:07 $ docker rm -f 9a9955191062175af030ec57d6dc607db263fa0cab6e6a14d3b52be18274912b [Pipeline] // withDockerContainer [Pipeline] sh 10:11:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:11:08 Stashed 1 file(s) [Pipeline] echo 10:11:08 [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 10:11:08 provisioning config files... 10:11:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config2814861380139471481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:08 ---> docker-login.sh 10:11:08 nexus3.edgexfoundry.org:10001 10:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:08 Configure a credential helper to remove this warning. See 10:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:08 10:11:08 Login Succeeded 10:11:08 nexus3.edgexfoundry.org:10002 10:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:08 Configure a credential helper to remove this warning. See 10:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:08 10:11:08 Login Succeeded 10:11:08 nexus3.edgexfoundry.org:10003 10:11:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:08 Configure a credential helper to remove this warning. See 10:11:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:08 10:11:08 Login Succeeded 10:11:08 nexus3.edgexfoundry.org:10004 10:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:09 Configure a credential helper to remove this warning. See 10:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:09 10:11:09 Login Succeeded 10:11:09 docker.io 10:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:09 Configure a credential helper to remove this warning. See 10:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:09 10:11:09 Login Succeeded 10:11:09 ---> docker-login.sh ends [Pipeline] } 10:11:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:11:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:09 ========================================================= 10:11:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:11:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:10 + 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 . 10:11:10 Sending build context to Docker daemon 20.67MB 10:11:10 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:11:10 Step 2/13 : FROM ${BASE} AS builder 10:11:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:11:10 2408cc74d12b: Pulling fs layer 10:11:10 ea60b727a1ce: Pulling fs layer 10:11:10 30c4a7721957: Pulling fs layer 10:11:10 370296b7ddb6: Pulling fs layer 10:11:10 7c6cee850709: Pulling fs layer 10:11:10 39a5fcdaea64: Pulling fs layer 10:11:10 d94ebbe4e438: Pulling fs layer 10:11:10 bcfd1f05c69d: Pulling fs layer 10:11:10 59ccb84bbe0f: Pulling fs layer 10:11:10 370296b7ddb6: Waiting 10:11:10 7c6cee850709: Waiting 10:11:10 39a5fcdaea64: Waiting 10:11:10 bcfd1f05c69d: Waiting 10:11:10 d94ebbe4e438: Waiting 10:11:10 59ccb84bbe0f: Waiting 10:11:10 30c4a7721957: Verifying Checksum 10:11:10 30c4a7721957: Download complete 10:11:10 ea60b727a1ce: Download complete 10:11:10 7c6cee850709: Verifying Checksum 10:11:10 7c6cee850709: Download complete 10:11:10 39a5fcdaea64: Verifying Checksum 10:11:10 39a5fcdaea64: Download complete 10:11:10 2408cc74d12b: Verifying Checksum 10:11:10 2408cc74d12b: Download complete 10:11:10 d94ebbe4e438: Verifying Checksum 10:11:10 d94ebbe4e438: Download complete 10:11:10 2408cc74d12b: Pull complete 10:11:10 ea60b727a1ce: Pull complete 10:11:10 30c4a7721957: Pull complete 10:11:10 59ccb84bbe0f: Verifying Checksum 10:11:10 59ccb84bbe0f: Download complete 10:11:11 bcfd1f05c69d: Download complete 10:11:11 370296b7ddb6: Verifying Checksum 10:11:11 370296b7ddb6: Download complete 10:11:15 370296b7ddb6: Pull complete 10:11:15 7c6cee850709: Pull complete 10:11:15 39a5fcdaea64: Pull complete 10:11:15 d94ebbe4e438: Pull complete 10:11:17 bcfd1f05c69d: Pull complete 10:11:18 59ccb84bbe0f: Pull complete 10:11:18 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 10:11:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:11:18 ---> a4fb48ad2a94 10:11:18 Step 3/13 : ARG MAKE="make build" 10:11:20 ---> Running in 69fa87e62d6f 10:11:20 Removing intermediate container 69fa87e62d6f 10:11:20 ---> 159454f39d40 10:11:20 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:11:20 ---> Running in 8a6beb38eb8c 10:11:20 Removing intermediate container 8a6beb38eb8c 10:11:20 ---> 4d4214a14fce 10:11:20 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:11:20 ---> Running in ae066eab1673 10:11:20 Removing intermediate container ae066eab1673 10:11:20 ---> 5de5eb1de9da 10:11:20 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:11:20 ---> Running in c90ae43110d6 10:11:20 Removing intermediate container c90ae43110d6 10:11:20 ---> e80a4ea8fdba 10:11:20 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:20 ---> Running in b1a61d5052ec 10:11:21 Removing intermediate container b1a61d5052ec 10:11:21 ---> 4b309fee6234 10:11:21 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:21 ---> Running in 3a4b35fb7f7e 10:11:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:11:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:11:22 OK: 211 MiB in 51 packages 10:11:22 Removing intermediate container 3a4b35fb7f7e 10:11:22 ---> ed339ce1c983 10:11:22 Step 9/13 : WORKDIR /device-onvif-camera 10:11:22 ---> Running in a5be9c2d4a67 10:11:23 Still waiting to schedule task 10:11:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:11:23 Removing intermediate container a5be9c2d4a67 10:11:23 ---> cb211023c670 10:11:23 Step 10/13 : COPY go.mod vendor* ./ 10:11:23 ---> 90cd23e2e198 10:11:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:23 ---> Running in 2dcef85c59b4 10:11:38 Removing intermediate container 2dcef85c59b4 10:11:38 ---> ce7c0ebc3ef3 10:11:38 Step 12/13 : COPY . . 10:11:38 ---> 87120f54f8f0 10:11:38 Step 13/13 : RUN ${MAKE} 10:11:38 ---> Running in 550c76e5c365 10:11:39 noop 10:11:39 Removing intermediate container 550c76e5c365 10:11:39 ---> 7d8baac7b501 10:11:39 Successfully built 7d8baac7b501 10:11:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:40 + docker inspect -f . ci-base-image-x86_64 10:11:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:40 prd-ubuntu20.04-docker-8c-8g-28617 does not seem to be running inside a container 10:11:40 $ 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 10:11:40 $ docker top 0aed3434679dfc790cea3824ebe052f264a22f039fe1c6102ecf98bbcf9f4086 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:40 + go version 10:11:40 go version go1.18.3 linux/amd64 [Pipeline] } 10:11:40 $ docker stop --time=1 0aed3434679dfc790cea3824ebe052f264a22f039fe1c6102ecf98bbcf9f4086 10:11:42 $ docker rm -f 0aed3434679dfc790cea3824ebe052f264a22f039fe1c6102ecf98bbcf9f4086 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:42 + docker inspect -f . ci-base-image-x86_64 10:11:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:42 prd-ubuntu20.04-docker-8c-8g-28617 does not seem to be running inside a container 10:11:42 $ 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 10:11:43 $ docker top 3ca8e785eff7ef57d260d2072a6556dbe33e0139434930995e94bc3e9ca2de48 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:43 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] fileExists [Pipeline] sh 10:11:43 + make test 10:11:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:11:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:11:56 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:11:56 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements 10:11:56 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:11:59 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.261s coverage: 13.8% of statements 10:12:07 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." 10:12:07 internal/driver/onvifdiscovery_test.go:19:2: `uuid1` is unused (deadcode) 10:12:07 uuid1 = "1793ddc8-28b0-11ed-a261-0242ac120002" 10:12:07 ^ 10:12:07 make: *** [Makefile:58: lint] Error 1 [Pipeline] } 10:12:07 $ docker stop --time=1 3ca8e785eff7ef57d260d2072a6556dbe33e0139434930995e94bc3e9ca2de48 10:12:09 $ docker rm -f 3ca8e785eff7ef57d260d2072a6556dbe33e0139434930995e94bc3e9ca2de48 [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 10:12:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:10 10:12:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:10 latest: Pulling from edgex-lftools-log-publisher 10:12:10 5eb5b503b376: Pulling fs layer 10:12:10 5c69ac0246d0: Pulling fs layer 10:12:10 ec43610c2a17: Pulling fs layer 10:12:10 3a2ae6a8a46f: Pulling fs layer 10:12:10 33b1e0a273af: Pulling fs layer 10:12:10 5d3b04190fa2: Pulling fs layer 10:12:10 2f39f015ded8: Pulling fs layer 10:12:10 5d3b04190fa2: Waiting 10:12:10 3a2ae6a8a46f: Waiting 10:12:10 33b1e0a273af: Waiting 10:12:10 2f39f015ded8: Waiting 10:12:10 5c69ac0246d0: Verifying Checksum 10:12:10 5c69ac0246d0: Download complete 10:12:10 3a2ae6a8a46f: Verifying Checksum 10:12:10 3a2ae6a8a46f: Download complete 10:12:10 33b1e0a273af: Verifying Checksum 10:12:10 33b1e0a273af: Download complete 10:12:10 5d3b04190fa2: Verifying Checksum 10:12:10 5d3b04190fa2: Download complete 10:12:10 ec43610c2a17: Verifying Checksum 10:12:10 ec43610c2a17: Download complete 10:12:10 5eb5b503b376: Verifying Checksum 10:12:10 5eb5b503b376: Download complete 10:12:11 2f39f015ded8: Download complete 10:12:12 5eb5b503b376: Pull complete 10:12:12 5c69ac0246d0: Pull complete 10:12:12 ec43610c2a17: Pull complete 10:12:12 3a2ae6a8a46f: Pull complete 10:12:13 33b1e0a273af: Pull complete 10:12:13 5d3b04190fa2: Pull complete 10:12:18 2f39f015ded8: Pull complete 10:12:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:12:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:12:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:18 prd-ubuntu20.04-docker-8c-8g-28617 does not seem to be running inside a container 10:12:18 $ 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 10:12:20 $ docker top 5734040e2477a70c237f5a01afbd158128046eab75630fa8c08ef9ea099ce036 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:20 ---> job-cost.sh 10:12:20 lf-activate-venv: SKIPPING 10:12:20 INFO: No Stack... 10:12:21 INFO: Retrieving Pricing Info for: v3-standard-8 10:12:21 INFO: Archiving Costs [Pipeline] sh 10:12:22 + cat /w/workspace/undry_device-onvif-camera_PR-153/archives/cost.csv 10:12:22 + cut -d, -f6 [Pipeline] lock 10:12:22 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] 10:12:22 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] did not exist. Created. 10:12:22 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:12:22 + echo total: 0.2199999988079071 [Pipeline] stash 10:12:22 Stashed 1 file(s) [Pipeline] } 10:12:22 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:12:22 $ docker stop --time=1 5734040e2477a70c237f5a01afbd158128046eab75630fa8c08ef9ea099ce036 10:12:23 $ docker rm -f 5734040e2477a70c237f5a01afbd158128046eab75630fa8c08ef9ea099ce036 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:12:23 Failed in branch amd64 10:13:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-28620 in /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] { [Pipeline] ws 10:13:55 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 10:13:55 Selected Git installation does not exist. Using Default 10:13:55 The recommended git tool is: NONE 10:14:03 using credential edgex-jenkins-ssh 10:14:03 Cloning the remote Git repository 10:14:03 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:14:03 > git init /w/workspace/device-onvif-camera/2 # timeout=10 10:14:03 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:14:03 > git --version # timeout=10 10:14:03 > git --version # 'git version 2.25.1' 10:14:03 using GIT_SSH to set credentials SSH Credentials for GitHub 10:14:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:14:04 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:14:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:14:05 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:14:05 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:14:05 using GIT_SSH to set credentials SSH Credentials for GitHub 10:14:05 > 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 10:14:05 Merging remotes/origin/main commit 8a3386b2ee541d18e88ea65fa18280a00a2df7ca into PR head commit 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 10:14:06 Merge succeeded, producing bfae56c1ca6cf327ccebc131fa3798453e4e4661 10:14:06 Checking out Revision bfae56c1ca6cf327ccebc131fa3798453e4e4661 (PR-153) 10:14:05 > git config core.sparsecheckout # timeout=10 10:14:05 > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 10:14:06 > git remote # timeout=10 10:14:06 > git config --get remote.origin.url # timeout=10 10:14:06 using GIT_SSH to set credentials SSH Credentials for GitHub 10:14:06 > git merge 8a3386b2ee541d18e88ea65fa18280a00a2df7ca # timeout=10 10:14:06 > git rev-parse HEAD^{commit} # timeout=10 10:14:06 > git config core.sparsecheckout # timeout=10 10:14:06 > git checkout -f bfae56c1ca6cf327ccebc131fa3798453e4e4661 # timeout=10 10:14:10 Commit message: "Merge commit '8a3386b2ee541d18e88ea65fa18280a00a2df7ca' into HEAD" 10:14:10 > git rev-list --no-walk 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:14:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:14:12 % Total % Received % Xferd Average Speed Time Time Time Current 10:14:12 Dload Upload Total Spent Left Speed 10:14:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 10:14:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:14:13 + + sudo tee /etc/docker/daemon.new 10:14:13 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:14:13 { 10:14:13 "registry-mirrors": [ 10:14:13 "https://nexus3.edgexfoundry.org:10001" 10:14:13 ], 10:14:13 "bip": "10.250.0.254/24", 10:14:13 "hosts": [ 10:14:13 "tcp://0.0.0.0:5555", 10:14:13 "unix:///var/run/docker.sock" 10:14:13 ], 10:14:13 "mtu": 1458, 10:14:13 "selinux-enabled": true, 10:14:13 "seccomp-profile": "/etc/docker/seccomp.json" 10:14:13 } [Pipeline] sh 10:14:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:14:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:14:32 provisioning config files... 10:14:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config656055887981340783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:14:33 ---> docker-login.sh 10:14:33 nexus3.edgexfoundry.org:10001 10:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:34 Configure a credential helper to remove this warning. See 10:14:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:34 10:14:34 Login Succeeded 10:14:34 nexus3.edgexfoundry.org:10002 10:14:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:34 Configure a credential helper to remove this warning. See 10:14:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:34 10:14:34 Login Succeeded 10:14:34 nexus3.edgexfoundry.org:10003 10:14:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:35 Configure a credential helper to remove this warning. See 10:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:35 10:14:35 Login Succeeded 10:14:35 nexus3.edgexfoundry.org:10004 10:14:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:35 Configure a credential helper to remove this warning. See 10:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:35 10:14:35 Login Succeeded 10:14:35 docker.io 10:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:36 Configure a credential helper to remove this warning. See 10:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:36 10:14:36 Login Succeeded 10:14:36 ---> docker-login.sh ends [Pipeline] } 10:14:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:14:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:14:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:14:36 ========================================================= 10:14:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:14:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:37 + 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 . 10:14:37 Sending build context to Docker daemon 14.15MB 10:14:37 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:14:37 Step 2/13 : FROM ${BASE} AS builder 10:14:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:14:38 b3c136eddcbf: Pulling fs layer 10:14:38 c0a3192eca97: Pulling fs layer 10:14:38 a050256f5b6f: Pulling fs layer 10:14:38 656be50a0ddc: Pulling fs layer 10:14:38 2bbca73fdf42: Pulling fs layer 10:14:38 46d945488cbd: Pulling fs layer 10:14:38 8a5474983e97: Pulling fs layer 10:14:38 329c88fbcd65: Pulling fs layer 10:14:38 656be50a0ddc: Waiting 10:14:38 2bbca73fdf42: Waiting 10:14:38 46d945488cbd: Waiting 10:14:38 8a5474983e97: Waiting 10:14:38 329c88fbcd65: Waiting 10:14:38 a050256f5b6f: Verifying Checksum 10:14:38 a050256f5b6f: Download complete 10:14:38 c0a3192eca97: Verifying Checksum 10:14:38 c0a3192eca97: Download complete 10:14:38 2bbca73fdf42: Download complete 10:14:38 46d945488cbd: Verifying Checksum 10:14:38 46d945488cbd: Download complete 10:14:38 b3c136eddcbf: Download complete 10:14:39 b3c136eddcbf: Pull complete 10:14:39 329c88fbcd65: Verifying Checksum 10:14:39 329c88fbcd65: Download complete 10:14:39 c0a3192eca97: Pull complete 10:14:40 a050256f5b6f: Pull complete 10:14:40 8a5474983e97: Verifying Checksum 10:14:40 8a5474983e97: Download complete 10:14:41 656be50a0ddc: Verifying Checksum 10:14:41 656be50a0ddc: Download complete 10:14:53 656be50a0ddc: Pull complete 10:14:54 2bbca73fdf42: Pull complete 10:14:54 46d945488cbd: Pull complete 10:15:01 8a5474983e97: Pull complete 10:15:04 329c88fbcd65: Pull complete 10:15:04 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 10:15:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:15:04 ---> ff4287adb874 10:15:04 Step 3/13 : ARG MAKE="make build" 10:15:05 ---> Running in 58d4ad63ca8c 10:15:05 Removing intermediate container 58d4ad63ca8c 10:15:05 ---> 5f8236316cac 10:15:05 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:15:05 ---> Running in 42abee6254d9 10:15:05 Removing intermediate container 42abee6254d9 10:15:05 ---> 4573f8b5ab43 10:15:05 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:15:05 ---> Running in e9481a291964 10:15:06 Removing intermediate container e9481a291964 10:15:06 ---> 93c651133001 10:15:06 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:15:06 ---> Running in ed31b6bf5df7 10:15:06 Removing intermediate container ed31b6bf5df7 10:15:06 ---> 8ffb0674de8a 10:15:06 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:15:06 ---> Running in c967b57d2955 10:15:08 Removing intermediate container c967b57d2955 10:15:08 ---> 466cd1f1e7b1 10:15:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:15:08 ---> Running in 369e05b878f5 10:15:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:15:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:15:11 OK: 221 MiB in 51 packages 10:15:12 Removing intermediate container 369e05b878f5 10:15:12 ---> 51b17ba05434 10:15:12 Step 9/13 : WORKDIR /device-onvif-camera 10:15:12 ---> Running in 915a956b4dc8 10:15:12 Removing intermediate container 915a956b4dc8 10:15:12 ---> d8354636077e 10:15:12 Step 10/13 : COPY go.mod vendor* ./ 10:15:13 ---> 8091754615e1 10:15:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:15:13 ---> Running in 8a641948da45 10:16:10 Removing intermediate container 8a641948da45 10:16:10 ---> c0809c2cd4c8 10:16:10 Step 12/13 : COPY . . 10:16:10 ---> e7447adbf666 10:16:10 Step 13/13 : RUN ${MAKE} 10:16:10 ---> Running in b124ebbc61cc 10:16:10 noop 10:16:10 Removing intermediate container b124ebbc61cc 10:16:10 ---> 794bfbe9853f 10:16:10 Successfully built 794bfbe9853f 10:16:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:10 + docker inspect -f . ci-base-image-arm64 10:16:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:16:10 prd-ubuntu20.04-docker-arm64-4c-16g-28620 does not seem to be running inside a container 10:16:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:16:12 $ docker top d9fd213af0726d1b101f6c0dce1cb8779cf125854a487f54efa06e0d63b1ed6a -eo pid,comm [Pipeline] { [Pipeline] sh 10:16:13 + go version 10:16:13 go version go1.18.3 linux/arm64 [Pipeline] } 10:16:13 $ docker stop --time=1 d9fd213af0726d1b101f6c0dce1cb8779cf125854a487f54efa06e0d63b1ed6a 10:16:15 $ docker rm -f d9fd213af0726d1b101f6c0dce1cb8779cf125854a487f54efa06e0d63b1ed6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:15 + docker inspect -f . ci-base-image-arm64 10:16:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:16:15 prd-ubuntu20.04-docker-arm64-4c-16g-28620 does not seem to be running inside a container 10:16:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:16:17 $ docker top 42705353ab1481bda48f85e8383ee474412f73d3f0a1d2dbc8575a5791d525fb -eo pid,comm [Pipeline] { [Pipeline] sh 10:16:18 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 10:16:19 + make test 10:16:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:16:21 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:17:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:18:10 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.192s coverage: 28.2% of statements 10:18:10 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:18:32 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.021s coverage: 13.8% of statements 10:18:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:18:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:18:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:18:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:18:59 ./bin/test-attribution-txt.sh [Pipeline] echo 10:18:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:18:59 $ docker stop --time=1 42705353ab1481bda48f85e8383ee474412f73d3f0a1d2dbc8575a5791d525fb 10:19:01 $ docker rm -f 42705353ab1481bda48f85e8383ee474412f73d3f0a1d2dbc8575a5791d525fb [Pipeline] // withDockerContainer [Pipeline] sh 10:19:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:19:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:19:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:19:04 + ls -al . 10:19:04 total 228 10:19:04 drwxrwxr-x 9 jenkins jenkins 4096 Sep 7 10:16 . 10:19:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 10:14 .. 10:19:04 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 10:14 .git 10:19:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 10:14 .github 10:19:04 -rw-rw-r-- 1 jenkins jenkins 418 Sep 7 10:14 .gitignore 10:19:04 -rw-rw-r-- 1 jenkins jenkins 42 Sep 7 10:14 .golangci.yml 10:19:04 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 7 10:14 Attribution.txt 10:19:04 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 7 10:14 CHANGELOG.md 10:19:04 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 7 10:14 Dockerfile 10:19:04 -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 10:14 GOVERNANCE.md 10:19:04 -rw-rw-r-- 1 jenkins jenkins 734 Sep 7 10:14 Jenkinsfile 10:19:04 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 7 10:14 LICENSE 10:19:04 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 7 10:14 Makefile 10:19:04 -rw-rw-r-- 1 jenkins jenkins 625 Sep 7 10:14 OWNERS.md 10:19:04 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 7 10:14 README.md 10:19:04 -rw-rw-r-- 1 jenkins jenkins 5 Sep 7 10:11 VERSION 10:19:04 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 10:14 bin 10:19:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 10:14 cmd 10:19:04 -rw-r--r-- 1 jenkins jenkins 75926 Sep 7 10:18 coverage.out 10:19:04 drwxrwxr-x 6 jenkins jenkins 4096 Sep 7 10:14 doc 10:19:04 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 7 10:14 go.mod 10:19:04 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 7 10:14 go.sum 10:19:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 10:14 internal 10:19:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 10:14 snap 10:19:04 -rw-rw-r-- 1 jenkins jenkins 236 Sep 7 10:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:04 + 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=bfae56c1ca6cf327ccebc131fa3798453e4e4661 --label arch=arm64 --label version=0.0.0 . 10:19:05 Sending build context to Docker daemon 14.23MB 10:19:05 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 10:19:05 Step 2/26 : FROM ${BASE} AS builder 10:19:05 ---> 794bfbe9853f 10:19:05 Step 3/26 : ARG MAKE="make build" 10:19:05 ---> Running in d74acfa418f9 10:19:05 Removing intermediate container d74acfa418f9 10:19:05 ---> 08c4ce1f1ef2 10:19:05 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:19:05 ---> Running in f9d2e21a67b3 10:19:06 Removing intermediate container f9d2e21a67b3 10:19:06 ---> 2ca7ea9759f4 10:19:06 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:19:06 ---> Running in 3107e769da1d 10:19:06 Removing intermediate container 3107e769da1d 10:19:06 ---> 582a6825b770 10:19:06 Step 6/26 : LABEL Name=edgex-device-onvif-camera 10:19:06 ---> Running in 4fc873bd0ac9 10:19:06 Removing intermediate container 4fc873bd0ac9 10:19:06 ---> e02342568e3b 10:19:06 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:19:07 ---> Running in 6e006d739189 10:19:09 Removing intermediate container 6e006d739189 10:19:09 ---> 5bbe53de3826 10:19:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:19:09 ---> Running in a2746ad5c8ac 10:19:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:19:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:19:12 OK: 221 MiB in 51 packages 10:19:13 Removing intermediate container a2746ad5c8ac 10:19:13 ---> d99a51223dad 10:19:13 Step 9/26 : WORKDIR /device-onvif-camera 10:19:13 ---> Running in 53c40e19689e 10:19:13 Removing intermediate container 53c40e19689e 10:19:13 ---> 3026d7303210 10:19:13 Step 10/26 : COPY go.mod vendor* ./ 10:19:14 ---> 3a1fbfcec7d5 10:19:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:19:14 ---> Running in 7746722261f9 10:19:17 Removing intermediate container 7746722261f9 10:19:17 ---> a0dd63a2c2da 10:19:17 Step 12/26 : COPY . . 10:19:19 ---> 195d9c68f8ca 10:19:19 Step 13/26 : RUN ${MAKE} 10:19:19 ---> Running in 7648dff62a01 10:19:20 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 10:21:57 Removing intermediate container 7648dff62a01 10:21:57 ---> ece48f94865e 10:21:57 Step 14/26 : FROM alpine:3.16 10:21:57 3.16: Pulling from library/alpine 10:21:57 9b18e9b68314: Pulling fs layer 10:21:57 9b18e9b68314: Download complete 10:21:57 9b18e9b68314: Pull complete 10:21:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:21:57 Status: Downloaded newer image for alpine:3.16 10:21:57 ---> a6215f271958 10:21:57 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:21:57 ---> Running in 9dc3d90e6a5c 10:21:57 Removing intermediate container 9dc3d90e6a5c 10:21:57 ---> b0a584b8f9bc 10:21:57 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:21:57 ---> Running in 8c56c596ef7e 10:21:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:21:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:21:57 (1/6) Installing dumb-init (1.2.5-r1) 10:21:57 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:21:57 (3/6) Installing libsodium (1.0.18-r0) 10:21:57 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:21:57 (5/6) Installing libzmq (4.3.4-r0) 10:21:57 (6/6) Installing zeromq (4.3.4-r0) 10:21:57 Executing busybox-1.35.0-r17.trigger 10:21:57 OK: 8 MiB in 20 packages 10:21:57 Removing intermediate container 8c56c596ef7e 10:21:57 ---> 157f4ebe2072 10:21:57 Step 17/26 : WORKDIR / 10:21:57 ---> Running in 82afde795b98 10:21:57 Removing intermediate container 82afde795b98 10:21:57 ---> f514d816622a 10:21:57 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:21:57 ---> e78a77a28a88 10:21:57 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:21:57 ---> aaf017aa4a63 10:21:57 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:21:57 ---> afe6e777b6f6 10:21:57 Step 21/26 : EXPOSE 59984 10:21:57 ---> Running in 6f6aa0ee49bd 10:21:57 Removing intermediate container 6f6aa0ee49bd 10:21:57 ---> a15daa940d69 10:21:57 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:21:57 ---> Running in b380ff0f8fa0 10:21:58 Removing intermediate container b380ff0f8fa0 10:21:58 ---> 87d446130d70 10:21:58 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:21:58 ---> Running in dbb9a45f2464 10:21:58 Removing intermediate container dbb9a45f2464 10:21:58 ---> 92d7ceaab286 10:21:58 Step 24/26 : LABEL arch=arm64 10:21:58 ---> Running in 87ea738fecb9 10:21:58 Removing intermediate container 87ea738fecb9 10:21:58 ---> 3817b8f68dc9 10:21:58 Step 25/26 : LABEL git_sha=bfae56c1ca6cf327ccebc131fa3798453e4e4661 10:21:58 ---> Running in 17b9fea2193b 10:21:59 Removing intermediate container 17b9fea2193b 10:21:59 ---> 6989978d20a0 10:21:59 Step 26/26 : LABEL version=0.0.0 10:21:59 ---> Running in 6e7792aac590 10:21:59 Removing intermediate container 6e7792aac590 10:21:59 ---> 01ac00e15a64 10:21:59 [Warning] One or more build-args [ARCH] were not consumed 10:21:59 Successfully built 01ac00e15a64 10:21:59 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 10:22:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:22:00 10:22:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:22:00 arm64: Pulling from edgex-lftools-log-publisher 10:22:00 8998bd30e6a1: Pulling fs layer 10:22:00 04944245beec: Pulling fs layer 10:22:00 699f458cf7ca: Pulling fs layer 10:22:00 765212b225bb: Pulling fs layer 10:22:00 f23df028b6ca: Pulling fs layer 10:22:00 d65c8cfc05b1: Pulling fs layer 10:22:00 2437ff75d9bd: Pulling fs layer 10:22:00 765212b225bb: Waiting 10:22:00 f23df028b6ca: Waiting 10:22:00 2437ff75d9bd: Waiting 10:22:00 d65c8cfc05b1: Waiting 10:22:00 04944245beec: Verifying Checksum 10:22:00 04944245beec: Download complete 10:22:00 765212b225bb: Download complete 10:22:00 f23df028b6ca: Verifying Checksum 10:22:00 f23df028b6ca: Download complete 10:22:01 d65c8cfc05b1: Verifying Checksum 10:22:01 d65c8cfc05b1: Download complete 10:22:01 699f458cf7ca: Verifying Checksum 10:22:01 699f458cf7ca: Download complete 10:22:01 8998bd30e6a1: Verifying Checksum 10:22:01 8998bd30e6a1: Download complete 10:22:04 2437ff75d9bd: Verifying Checksum 10:22:04 2437ff75d9bd: Download complete 10:22:06 8998bd30e6a1: Pull complete 10:22:06 04944245beec: Pull complete 10:22:07 699f458cf7ca: Pull complete 10:22:08 765212b225bb: Pull complete 10:22:09 f23df028b6ca: Pull complete 10:22:09 d65c8cfc05b1: Pull complete 10:22:24 2437ff75d9bd: Pull complete 10:22:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:22:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:22:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:22:24 prd-ubuntu20.04-docker-arm64-4c-16g-28620 does not seem to be running inside a container 10:22:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:22:27 $ docker top e45e49b560d45d2673cc6995da5b47d4b764c3fb7ee18c24b88dbf20f68ed2a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:22:28 ---> job-cost.sh 10:22:28 lf-activate-venv: SKIPPING 10:22:28 INFO: No Stack... 10:22:29 INFO: Retrieving Pricing Info for: v3-standard-4 10:22:30 INFO: Archiving Costs [Pipeline] sh 10:22:30 + cut -d, -f6 10:22:30 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock 10:22:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] 10:22:30 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] did not exist. Created. 10:22:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:22:31 /w/workspace/device-onvif-camera/2@tmp/durable-fa57bd46/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:22:32 + echo total: 0.10999999940395355 [Pipeline] stash 10:22:32 Warning: overwriting stash ‘stack-cost’ 10:22:32 Stashed 1 file(s) [Pipeline] } 10:22:32 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:22:32 $ docker stop --time=1 e45e49b560d45d2673cc6995da5b47d4b764c3fb7ee18c24b88dbf20f68ed2a4 10:22:33 $ docker rm -f e45e49b560d45d2673cc6995da5b47d4b764c3fb7ee18c24b88dbf20f68ed2a4 [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 10:22:34 + [ -d /w/workspace/undry_device-onvif-camera_PR-153/archives ] 10:22:34 + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives 10:22:34 total 16 10:22:34 drwxr-xr-x 3 root root 4096 Sep 7 10:12 . 10:22:34 drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 10:12 .. 10:22:34 drwxr-xr-x 2 root root 4096 Sep 7 10:12 cost 10:22:34 -rw-r--r-- 1 root root 91 Sep 7 10:12 cost.csv 10:22:34 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-153/archives 10:22:34 + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives 10:22:34 total 16 10:22:34 drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 10:12 . 10:22:34 drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 10:12 .. 10:22:34 drwxr-xr-x 2 jenkins jenkins 4096 Sep 7 10:12 cost 10:22:34 -rw-r--r-- 1 jenkins jenkins 91 Sep 7 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:22:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:22:35 ---> package-listing.sh 10:22:35 ++ facter osfamily 10:22:35 ++ tr '[:upper:]' '[:lower:]' 10:22:36 + OS_FAMILY=debian 10:22:36 + workspace=/w/workspace/undry_device-onvif-camera_PR-153 10:22:36 + START_PACKAGES=/tmp/packages_start.txt 10:22:36 + END_PACKAGES=/tmp/packages_end.txt 10:22:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:22:36 + PACKAGES=/tmp/packages_start.txt 10:22:36 + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' 10:22:36 + PACKAGES=/tmp/packages_end.txt 10:22:36 + case "${OS_FAMILY}" in 10:22:36 + dpkg -l 10:22:36 + grep '^ii' 10:22:36 + '[' -f /tmp/packages_start.txt ']' 10:22:36 + '[' -f /tmp/packages_end.txt ']' 10:22:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:22:36 + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' 10:22:36 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-153/archives/ 10:22:36 + 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 10:22:36 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 10:22:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:22:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:22:36 prd-ubuntu20.04-docker-8c-8g-28617 does not seem to be running inside a container 10:22:37 $ 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 10:22:37 $ docker top 718299485fb442db0e5d549c145dc98ff239ed583f1e78ca91566cf0f710f742 -eo pid,comm [Pipeline] { [Pipeline] sh 10:22:37 + touch /tmp/pre-build-complete [Pipeline] sh 10:22:37 + mkdir -p /var/log/sysstat [Pipeline] sh 10:22:38 + ls /var/log/sa-host 10:22:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:22:38 provisioning config files... 10:22:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config8138237343498494207tmp [Pipeline] { [Pipeline] echo 10:22:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:22:38 ---> create-netrc.sh [Pipeline] } 10:22:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:22:38 ---> python-tools-install.sh [Pipeline] echo 10:22:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:22:39 ---> sudo-logs.sh 10:22:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:22:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:22:39 ---> job-cost.sh 10:22:39 lf-activate-venv: SKIPPING 10:22:39 DEBUG: total: 0.2199999988079071 10:22:39 INFO: Retrieving Stack Cost... 10:22:40 INFO: Retrieving Pricing Info for: v3-standard-8 10:22:40 INFO: Archiving Costs [Pipeline] echo 10:22:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:22:40 ---> logs-deploy.sh 10:22:40 lf-activate-venv: SKIPPING 10:22:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-153/2 10:22:40 INFO: archiving workspace using pattern(s): 10:22:41 Archives upload complete. 10:22:41 INFO: archiving logs to Nexus