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 e283d27a39f6608c4972b60e45559292c212ac31 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from e283d27a39f6608c4972b60e45559292c212ac31 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-ssh9127459222500492779.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16276712122953810829.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10562322081613679184.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14882563911808703805.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-125/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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7623628940281770085.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-967 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-125 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e283d27a39f6608c4972b60e45559292c212ac31 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing d5e9855412022031c00f291585c791252adde5ab Checking out Revision d5e9855412022031c00f291585c791252adde5ab (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # 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 e283d27a39f6608c4972b60e45559292c212ac31 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5e9855412022031c00f291585c791252adde5ab # timeout=10 Commit message: "Merge commit 'e283d27a39f6608c4972b60e45559292c212ac31' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 52710e1d2eb7a52d62a6472d1aa706ed0696a19f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:11:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:11:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:11:07 ========================================================= 22:11:07 EdgeX Global Pipelines Version Info 22:11:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:11:08 ------------------- 22:11:08 stable info: 22:11:08 ------------------- 22:11:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:11:08 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:11:08 Message: update stable to v1.0.244 22:11:08 ------------------- 22:11:08 experimental info: 22:11:08 ------------------- 22:11:08 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:08 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:11:08 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d5e9855412022031c00f291585c791252adde5ab [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d5e9855 [Pipeline] echo 22:11:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:09 provisioning config files... 22:11:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config10880792112378948066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:09 ---> docker-login.sh 22:11:09 nexus3.edgexfoundry.org:10001 22:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:09 Configure a credential helper to remove this warning. See 22:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:09 22:11:09 Login Succeeded 22:11:09 nexus3.edgexfoundry.org:10002 22:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:09 Configure a credential helper to remove this warning. See 22:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:09 22:11:09 Login Succeeded 22:11:09 nexus3.edgexfoundry.org:10003 22:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:10 Configure a credential helper to remove this warning. See 22:11:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:10 22:11:10 Login Succeeded 22:11:10 nexus3.edgexfoundry.org:10004 22:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:10 Configure a credential helper to remove this warning. See 22:11:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:10 22:11:10 Login Succeeded 22:11:10 docker.io 22:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:10 Configure a credential helper to remove this warning. See 22:11:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:10 22:11:10 Login Succeeded 22:11:10 ---> docker-login.sh ends [Pipeline] } 22:11:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:11:10 + git rev-list -1 --merges d5e9855412022031c00f291585c791252adde5ab~1..d5e9855412022031c00f291585c791252adde5ab [Pipeline] echo 22:11:10 -----------> git rev-list -1 --merges d5e9855412022031c00f291585c791252adde5ab~1..d5e9855412022031c00f291585c791252adde5ab d5e9855412022031c00f291585c791252adde5ab 22:11:10 d5e9855412022031c00f291585c791252adde5ab [false] [Pipeline] sh 22:11:11 + git log --format=format:%s -1 d5e9855412022031c00f291585c791252adde5ab [Pipeline] echo 22:11:11 ========================================================= 22:11:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:11:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:11 + git log --format=format:%s -1 d5e9855412022031c00f291585c791252adde5ab [Pipeline] echo 22:11:11 [semverPrep] GIT_COMMIT: d5e9855412022031c00f291585c791252adde5ab, Commit Message: Merge commit 'e283d27a39f6608c4972b60e45559292c212ac31' into HEAD [Pipeline] echo 22:11:11 [semverPrep] This is not a build commit. [Pipeline] sh 22:11:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:11:11 + grep -v github /etc/ssh/ssh_known_hosts 22:11:11 + [ -e /tmp/ssh_known_hosts ] 22:11:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:11:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:11:11 + sudo tee -a /etc/ssh/ssh_known_hosts 22:11:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:12 22:11:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:12 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:12 b85a868b505f: Pulling fs layer 22:11:12 e2be974225ed: Pulling fs layer 22:11:12 339a4e72a1f5: Pulling fs layer 22:11:12 988bab9f4d93: Pulling fs layer 22:11:12 1469e6f7b9e6: Pulling fs layer 22:11:12 eaf3925da568: Pulling fs layer 22:11:12 bab4dde63d76: Pulling fs layer 22:11:12 bde34c3a00c8: Pulling fs layer 22:11:12 b352a97aabf1: Pulling fs layer 22:11:12 4872d77fe225: Pulling fs layer 22:11:12 5851b861e8e6: Pulling fs layer 22:11:12 988bab9f4d93: Waiting 22:11:12 1469e6f7b9e6: Waiting 22:11:12 bde34c3a00c8: Waiting 22:11:12 eaf3925da568: Waiting 22:11:12 bab4dde63d76: Waiting 22:11:12 4872d77fe225: Waiting 22:11:12 5851b861e8e6: Waiting 22:11:12 e2be974225ed: Download complete 22:11:12 988bab9f4d93: Verifying Checksum 22:11:12 988bab9f4d93: Download complete 22:11:12 1469e6f7b9e6: Verifying Checksum 22:11:12 1469e6f7b9e6: Download complete 22:11:12 eaf3925da568: Download complete 22:11:12 339a4e72a1f5: Verifying Checksum 22:11:12 339a4e72a1f5: Download complete 22:11:12 bde34c3a00c8: Verifying Checksum 22:11:12 bde34c3a00c8: Download complete 22:11:12 b352a97aabf1: Retrying in 5 seconds 22:11:12 b85a868b505f: Verifying Checksum 22:11:12 b85a868b505f: Download complete 22:11:12 4872d77fe225: Verifying Checksum 22:11:12 4872d77fe225: Download complete 22:11:12 5851b861e8e6: Verifying Checksum 22:11:12 5851b861e8e6: Download complete 22:11:12 bab4dde63d76: Verifying Checksum 22:11:12 bab4dde63d76: Download complete 22:11:13 b352a97aabf1: Retrying in 4 seconds 22:11:13 b85a868b505f: Pull complete 22:11:14 e2be974225ed: Pull complete 22:11:14 b352a97aabf1: Retrying in 3 seconds 22:11:14 339a4e72a1f5: Pull complete 22:11:14 988bab9f4d93: Pull complete 22:11:15 1469e6f7b9e6: Pull complete 22:11:15 eaf3925da568: Pull complete 22:11:15 b352a97aabf1: Retrying in 2 seconds 22:11:16 b352a97aabf1: Retrying in 1 second 22:11:17 bab4dde63d76: Pull complete 22:11:17 bde34c3a00c8: Pull complete 22:11:17 b352a97aabf1: Retrying in 10 seconds 22:11:18 b352a97aabf1: Retrying in 9 seconds 22:11:19 b352a97aabf1: Retrying in 8 seconds 22:11:20 b352a97aabf1: Retrying in 7 seconds 22:11:21 b352a97aabf1: Retrying in 6 seconds 22:11:22 b352a97aabf1: Retrying in 5 seconds 22:11:23 b352a97aabf1: Retrying in 4 seconds 22:11:24 b352a97aabf1: Retrying in 3 seconds 22:11:25 b352a97aabf1: Retrying in 2 seconds 22:11:26 b352a97aabf1: Retrying in 1 second 22:11:27 b352a97aabf1: Download complete 22:11:27 b352a97aabf1: Pull complete 22:11:27 4872d77fe225: Pull complete 22:11:27 5851b861e8e6: Pull complete 22:11:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:28 prd-ubuntu20.04-docker-8c-8g-967 does not seem to be running inside a container 22:11:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 22:11:29 $ docker top 08e9c35e1ba1cc93ea31086e93f2dc4e041d91ee8f5f5e295109fb647d4c29af -eo pid,comm 22:11:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:11:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:29 [ssh-agent] Looking for ssh-agent implementation... 22:11:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:29 $ docker exec 08e9c35e1ba1cc93ea31086e93f2dc4e041d91ee8f5f5e295109fb647d4c29af ssh-agent 22:11:29 SSH_AUTH_SOCK=/tmp/ssh-yg9K3UIY9vur/agent.32 22:11:29 SSH_AGENT_PID=38 22:11:29 Running ssh-add (command line suppressed) 22:11:30 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_15151858629364233335.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_15151858629364233335.key) 22:11:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:30 + git tag --points-at HEAD [Pipeline] } 22:11:30 $ docker exec --env ******** --env ******** 08e9c35e1ba1cc93ea31086e93f2dc4e041d91ee8f5f5e295109fb647d4c29af ssh-agent -k 22:11:30 unset SSH_AUTH_SOCK; 22:11:30 unset SSH_AGENT_PID; 22:11:30 echo Agent pid 38 killed; 22:11:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:30 [ssh-agent] Looking for ssh-agent implementation... 22:11:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:30 $ docker exec 08e9c35e1ba1cc93ea31086e93f2dc4e041d91ee8f5f5e295109fb647d4c29af ssh-agent 22:11:30 SSH_AUTH_SOCK=/tmp/ssh-iudnp5nXO56G/agent.71 22:11:30 SSH_AGENT_PID=77 22:11:30 Running ssh-add (command line suppressed) 22:11:30 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_12422621506343010916.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_12422621506343010916.key) 22:11:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:31 + git semver init 22:11:31 2023-01-03 22:11:31,307 [run_init] DEBUG init version:0.0.0 force:False 22:11:31 2023-01-03 22:11:31,307 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver 22:11:31 2023-01-03 22:11:31,308 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver 22:11:31 2023-01-03 22:11:31,308 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) 22:11:32 2023-01-03 22:11:32,129 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude 22:11:32 2023-01-03 22:11:32,130 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False 22:11:32 2023-01-03 22:11:32,130 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 22:11:32 2023-01-03 22:11:32,134 [execute] INFO git cat-file --batch-check 22:11:32 2023-01-03 22:11:32,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 22:11:32 2023-01-03 22:11:32,139 [execute] INFO git cat-file --batch 22:11:32 2023-01-03 22:11:32,139 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 22:11:32 2023-01-03 22:11:32,144 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 22:11:32 0.0.0 [Pipeline] } 22:11:32 $ docker exec --env ******** --env ******** 08e9c35e1ba1cc93ea31086e93f2dc4e041d91ee8f5f5e295109fb647d4c29af ssh-agent -k 22:11:32 unset SSH_AUTH_SOCK; 22:11:32 unset SSH_AGENT_PID; 22:11:32 echo Agent pid 77 killed; 22:11:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:32 + git semver [Pipeline] } 22:11:33 $ docker stop --time=1 08e9c35e1ba1cc93ea31086e93f2dc4e041d91ee8f5f5e295109fb647d4c29af 22:11:34 $ docker rm -f --volumes 08e9c35e1ba1cc93ea31086e93f2dc4e041d91ee8f5f5e295109fb647d4c29af [Pipeline] // withDockerContainer [Pipeline] sh 22:11:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:34 Stashed 1 file(s) [Pipeline] echo 22:11:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:35 provisioning config files... 22:11:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config3480406360814344850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:35 ---> docker-login.sh 22:11:35 nexus3.edgexfoundry.org:10001 22:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:35 Configure a credential helper to remove this warning. See 22:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:35 22:11:35 Login Succeeded 22:11:35 nexus3.edgexfoundry.org:10002 22:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:35 Configure a credential helper to remove this warning. See 22:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:35 22:11:35 Login Succeeded 22:11:35 nexus3.edgexfoundry.org:10003 22:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:35 Configure a credential helper to remove this warning. See 22:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:35 22:11:35 Login Succeeded 22:11:35 nexus3.edgexfoundry.org:10004 22:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:35 Configure a credential helper to remove this warning. See 22:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:35 22:11:35 Login Succeeded 22:11:35 docker.io 22:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:35 Configure a credential helper to remove this warning. See 22:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:35 22:11:35 Login Succeeded 22:11:35 ---> docker-login.sh ends [Pipeline] } 22:11:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:35 ========================================================= 22:11:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:11:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:11:36 Sending build context to Docker daemon 27.55MB 22:11:36 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:11:36 Step 2/13 : FROM ${BASE} AS builder 22:11:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:36 213ec9aee27d: Pulling fs layer 22:11:36 4583459ba037: Pulling fs layer 22:11:36 93c1e223e6f2: Pulling fs layer 22:11:36 53926ce57604: Pulling fs layer 22:11:36 21b2b0c7a3f4: Pulling fs layer 22:11:36 22ff95d597cd: Pulling fs layer 22:11:36 12d6caf4c0d1: Pulling fs layer 22:11:36 96b7cbca73a9: Pulling fs layer 22:11:36 53926ce57604: Waiting 22:11:36 a7acece74701: Pulling fs layer 22:11:36 21b2b0c7a3f4: Waiting 22:11:36 22ff95d597cd: Waiting 22:11:36 12d6caf4c0d1: Waiting 22:11:36 a7acece74701: Waiting 22:11:36 96b7cbca73a9: Waiting 22:11:36 93c1e223e6f2: Verifying Checksum 22:11:36 93c1e223e6f2: Download complete 22:11:36 4583459ba037: Verifying Checksum 22:11:36 4583459ba037: Download complete 22:11:36 21b2b0c7a3f4: Download complete 22:11:36 22ff95d597cd: Verifying Checksum 22:11:36 22ff95d597cd: Download complete 22:11:36 213ec9aee27d: Verifying Checksum 22:11:36 213ec9aee27d: Download complete 22:11:36 12d6caf4c0d1: Verifying Checksum 22:11:36 12d6caf4c0d1: Download complete 22:11:36 213ec9aee27d: Pull complete 22:11:36 4583459ba037: Pull complete 22:11:36 93c1e223e6f2: Pull complete 22:11:37 a7acece74701: Verifying Checksum 22:11:37 a7acece74701: Download complete 22:11:37 96b7cbca73a9: Verifying Checksum 22:11:37 96b7cbca73a9: Download complete 22:11:37 53926ce57604: Verifying Checksum 22:11:37 53926ce57604: Download complete 22:11:41 53926ce57604: Pull complete 22:11:41 21b2b0c7a3f4: Pull complete 22:11:41 22ff95d597cd: Pull complete 22:11:41 12d6caf4c0d1: Pull complete 22:11:43 96b7cbca73a9: Pull complete 22:11:43 a7acece74701: Pull complete 22:11:43 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:11:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:11:43 ---> db6d94c90886 22:11:43 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:45 ---> Running in 0b7e0230ea0d 22:11:45 Removing intermediate container 0b7e0230ea0d 22:11:45 ---> 0e52a5798b8c 22:11:45 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:45 ---> Running in 9a3a439d1162 22:11:45 Removing intermediate container 9a3a439d1162 22:11:45 ---> 80530a4995ac 22:11:45 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:11:45 ---> Running in dda6b56de5fd 22:11:46 Removing intermediate container dda6b56de5fd 22:11:46 ---> 209473fcd548 22:11:46 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:46 ---> Running in cc5f9fa6bb6e 22:11:46 Removing intermediate container cc5f9fa6bb6e 22:11:46 ---> fdd12e64d3f8 22:11:46 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:46 ---> Running in 4f8bbccfdf26 22:11:46 Removing intermediate container 4f8bbccfdf26 22:11:46 ---> 3c4710bbd2d1 22:11:46 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:46 ---> Running in dd43137b65da 22:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:11:46 OK: 211 MiB in 51 packages 22:11:47 Removing intermediate container dd43137b65da 22:11:47 ---> 569622df984b 22:11:47 Step 9/13 : WORKDIR /device-onvif-camera 22:11:47 ---> Running in 6deb61d58ceb 22:11:47 Removing intermediate container 6deb61d58ceb 22:11:47 ---> 5c57afea6d30 22:11:47 Step 10/13 : COPY go.mod vendor* ./ 22:11:47 ---> d387433fd86e 22:11:47 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:47 ---> Running in 9c62454f11bd 22:11:49 Still waiting to schedule task 22:11:49 ‘prd-ubuntu20.04-docker-arm64-4c-16g-968’ is offline 22:12:05 Removing intermediate container 9c62454f11bd 22:12:05 ---> da5f553ef958 22:12:05 Step 12/13 : COPY . . 22:12:05 ---> 46cafa9b22bb 22:12:05 Step 13/13 : RUN ${MAKE} 22:12:05 ---> Running in 1fc27fc9c757 22:12:05 noop 22:12:05 Removing intermediate container 1fc27fc9c757 22:12:05 ---> 4c7b14f538b8 22:12:05 Successfully built 4c7b14f538b8 22:12:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:06 + docker inspect -f . ci-base-image-x86_64 22:12:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:06 prd-ubuntu20.04-docker-8c-8g-967 does not seem to be running inside a container 22:12:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 22:12:06 $ docker top e32c65fdaa418f19c762bac76ade1ebf01eaba421a2d25d2c1480cda71314361 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:06 + go version 22:12:06 go version go1.18.7 linux/amd64 [Pipeline] } 22:12:06 $ docker stop --time=1 e32c65fdaa418f19c762bac76ade1ebf01eaba421a2d25d2c1480cda71314361 22:12:08 $ docker rm -f --volumes e32c65fdaa418f19c762bac76ade1ebf01eaba421a2d25d2c1480cda71314361 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:08 + docker inspect -f . ci-base-image-x86_64 22:12:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:08 prd-ubuntu20.04-docker-8c-8g-967 does not seem to be running inside a container 22:12: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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 22:12:09 $ docker top 2f96359df4552806072a1df2e8761b9dc5bf338f324c608b6e8d685ac8ef3a5e -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:09 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh 22:12:09 + make test 22:12:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:12:09 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:19 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:23 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 29.3% of statements 22:12:23 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:23 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.396s coverage: 86.5% of statements 22:12:29 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." 22:12:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:12:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:33 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:33 $ docker stop --time=1 2f96359df4552806072a1df2e8761b9dc5bf338f324c608b6e8d685ac8ef3a5e 22:12:34 $ docker rm -f --volumes 2f96359df4552806072a1df2e8761b9dc5bf338f324c608b6e8d685ac8ef3a5e [Pipeline] // withDockerContainer [Pipeline] sh 22:12:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:12:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:36 + ls -al . 22:12:36 total 248 22:12:36 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 22:12 . 22:12:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:11 .. 22:12:36 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 22:12 .git 22:12:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:11 .github 22:12:36 -rw-rw-r-- 1 jenkins jenkins 496 Jan 3 22:11 .gitignore 22:12:36 -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 22:11 .golangci.yml 22:12:36 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 22:11 .semver 22:12:36 -rw-rw-r-- 1 jenkins jenkins 9742 Jan 3 22:11 Attribution.txt 22:12:36 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 3 22:11 CHANGELOG.md 22:12:36 -rw-rw-r-- 1 jenkins jenkins 1692 Jan 3 22:11 Dockerfile 22:12:36 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 22:11 GOVERNANCE.md 22:12:36 -rw-rw-r-- 1 jenkins jenkins 734 Jan 3 22:11 Jenkinsfile 22:12:36 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 3 22:11 LICENSE 22:12:36 -rw-rw-r-- 1 jenkins jenkins 2858 Jan 3 22:11 Makefile 22:12:36 -rw-rw-r-- 1 jenkins jenkins 625 Jan 3 22:11 OWNERS.md 22:12:36 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 3 22:11 README.md 22:12:36 -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 22:11 VERSION 22:12:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 22:11 bin 22:12:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:11 cmd 22:12:36 -rw-r--r-- 1 jenkins jenkins 79184 Jan 3 22:12 coverage.out 22:12:36 drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 22:11 doc 22:12:36 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 3 22:11 go.mod 22:12:36 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 3 22:11 go.sum 22:12:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:11 internal 22:12:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:11 snap 22:12:36 -rw-rw-r-- 1 jenkins jenkins 236 Jan 3 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:36 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d5e9855412022031c00f291585c791252adde5ab --label arch=amd64 --label version=0.0.0 . 22:12:36 Sending build context to Docker daemon 27.63MB 22:12:36 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 22:12:36 Step 2/27 : FROM ${BASE} AS builder 22:12:36 ---> 4c7b14f538b8 22:12:36 Step 3/27 : ARG ADD_BUILD_TAGS="" 22:12:36 ---> Running in 107699ba86de 22:12:36 Removing intermediate container 107699ba86de 22:12:36 ---> 189f59ff055f 22:12:36 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:37 ---> Running in dfaa52bf88ba 22:12:37 Removing intermediate container dfaa52bf88ba 22:12:37 ---> 3523e930ff37 22:12:37 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:12:37 ---> Running in 0ad4c100cb82 22:12:37 Removing intermediate container 0ad4c100cb82 22:12:37 ---> aeaa2dc65d11 22:12:37 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 22:12:37 ---> Running in 558216e3fa8d 22:12:37 Removing intermediate container 558216e3fa8d 22:12:37 ---> 32995eff1762 22:12:37 Step 7/27 : LABEL Name=edgex-device-onvif-camera 22:12:37 ---> Running in b6f9883bf803 22:12:37 Removing intermediate container b6f9883bf803 22:12:37 ---> c36d3f1c1879 22:12:37 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:37 ---> Running in c51dbb1acdeb 22:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:12:38 OK: 211 MiB in 51 packages 22:12:38 Removing intermediate container c51dbb1acdeb 22:12:38 ---> 18dc6293b895 22:12:38 Step 9/27 : WORKDIR /device-onvif-camera 22:12:38 ---> Running in 47bedcd23d95 22:12:38 Removing intermediate container 47bedcd23d95 22:12:38 ---> 2dd948f81040 22:12:38 Step 10/27 : COPY go.mod vendor* ./ 22:12:38 ---> c1c3e51622eb 22:12:38 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:38 ---> Running in 4aa004488233 22:12:39 Removing intermediate container 4aa004488233 22:12:39 ---> 86c5284aefc0 22:12:39 Step 12/27 : COPY . . 22:12:40 ---> 318267fba7ae 22:12:40 Step 13/27 : RUN ${MAKE} 22:12:40 ---> Running in c87da03a069f 22:12:40 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 22:13:02 Removing intermediate container c87da03a069f 22:13:02 ---> 5806393a1084 22:13:02 Step 14/27 : FROM alpine:3.16 22:13:02 3.16: Pulling from library/alpine 22:13:02 ca7dd9ec2225: Pulling fs layer 22:13:02 ca7dd9ec2225: Download complete 22:13:02 ca7dd9ec2225: Pull complete 22:13:02 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:13:02 Status: Downloaded newer image for alpine:3.16 22:13:02 ---> bfe296a52501 22:13:02 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:13:02 ---> Running in 90a4d75213c3 22:13:02 Removing intermediate container 90a4d75213c3 22:13:02 ---> d039720c0d81 22:13:02 Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 22:13:02 ---> Running in 22ad2c27bea4 22:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:13:02 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 22:13:02 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 22:13:02 (3/21) Installing readline (8.1.2-r0) 22:13:02 (4/21) Installing bash (5.1.16-r2) 22:13:02 Executing bash-5.1.16-r2.post-install 22:13:02 (5/21) Installing ca-certificates (20220614-r0) 22:13:02 (6/21) Installing brotli-libs (1.0.9-r6) 22:13:02 (7/21) Installing nghttp2-libs (1.47.0-r0) 22:13:02 (8/21) Installing libcurl (7.83.1-r5) 22:13:02 (9/21) Installing curl (7.83.1-r5) 22:13:02 (10/21) Installing dumb-init (1.2.5-r1) 22:13:02 (11/21) Installing oniguruma (6.9.8-r0) 22:13:02 (12/21) Installing jq (1.6-r1) 22:13:02 (13/21) Installing popt (1.18-r0) 22:13:02 (14/21) Installing pcre (8.45-r2) 22:13:02 (15/21) Installing slang (2.3.2-r0) 22:13:02 (16/21) Installing newt (0.52.21-r2) 22:13:02 (17/21) Installing libgcc (11.2.1_git20220219-r2) 22:13:02 (18/21) Installing libsodium (1.0.18-r0) 22:13:02 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 22:13:02 (20/21) Installing libzmq (4.3.4-r0) 22:13:02 (21/21) Installing zeromq (4.3.4-r0) 22:13:02 Executing busybox-1.35.0-r17.trigger 22:13:02 Executing ca-certificates-20220614-r0.trigger 22:13:02 OK: 17 MiB in 35 packages 22:13:02 Removing intermediate container 22ad2c27bea4 22:13:02 ---> deeac7d4a332 22:13:02 Step 17/27 : WORKDIR / 22:13:02 ---> Running in bad1661b8a49 22:13:02 Removing intermediate container bad1661b8a49 22:13:02 ---> 9be8f0585bf1 22:13:02 Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / 22:13:02 ---> 6c5ed7546baf 22:13:02 Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / 22:13:02 ---> 1d5d0fed8ddc 22:13:02 Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:13:02 ---> 96a29d6fcc46 22:13:02 Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ 22:13:02 ---> 862d8c9d0ad7 22:13:02 Step 22/27 : EXPOSE 59984 22:13:03 ---> Running in a6d6ecae8392 22:13:03 Removing intermediate container a6d6ecae8392 22:13:03 ---> eb7c843da3ea 22:13:03 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 22:13:03 ---> Running in 590060beb8c2 22:13:03 Removing intermediate container 590060beb8c2 22:13:03 ---> 6f5cd6b1c84e 22:13:03 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:13:03 ---> Running in d868683a1393 22:13:03 Removing intermediate container d868683a1393 22:13:03 ---> f52df086fa36 22:13:03 Step 25/27 : LABEL arch=amd64 22:13:03 ---> Running in 08bbf149a896 22:13:03 Removing intermediate container 08bbf149a896 22:13:03 ---> 0ba5a3cfa088 22:13:03 Step 26/27 : LABEL git_sha=d5e9855412022031c00f291585c791252adde5ab 22:13:03 ---> Running in 555f8384ff0e 22:13:03 Removing intermediate container 555f8384ff0e 22:13:03 ---> df6b6fc437fc 22:13:03 Step 27/27 : LABEL version=0.0.0 22:13:03 ---> Running in 75b75b3558a3 22:13:03 Removing intermediate container 75b75b3558a3 22:13:03 ---> 7515422e405b 22:13:03 [Warning] One or more build-args [ARCH] were not consumed 22:13:03 Successfully built 7515422e405b 22:13:03 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:04 22:13:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:04 latest: Pulling from edgex-lftools-log-publisher 22:13:04 5eb5b503b376: Pulling fs layer 22:13:04 5c69ac0246d0: Pulling fs layer 22:13:04 ec43610c2a17: Pulling fs layer 22:13:04 3a2ae6a8a46f: Pulling fs layer 22:13:04 33b1e0a273af: Pulling fs layer 22:13:04 5d3b04190fa2: Pulling fs layer 22:13:04 2f39f015ded8: Pulling fs layer 22:13:04 3a2ae6a8a46f: Waiting 22:13:04 33b1e0a273af: Waiting 22:13:04 5d3b04190fa2: Waiting 22:13:04 2f39f015ded8: Waiting 22:13:04 5c69ac0246d0: Verifying Checksum 22:13:04 5c69ac0246d0: Download complete 22:13:04 3a2ae6a8a46f: Verifying Checksum 22:13:04 3a2ae6a8a46f: Download complete 22:13:04 33b1e0a273af: Verifying Checksum 22:13:04 33b1e0a273af: Download complete 22:13:04 5d3b04190fa2: Verifying Checksum 22:13:04 5d3b04190fa2: Download complete 22:13:04 ec43610c2a17: Verifying Checksum 22:13:04 ec43610c2a17: Download complete 22:13:04 5eb5b503b376: Verifying Checksum 22:13:04 5eb5b503b376: Download complete 22:13:05 2f39f015ded8: Download complete 22:13:05 5eb5b503b376: Pull complete 22:13:06 5c69ac0246d0: Pull complete 22:13:06 ec43610c2a17: Pull complete 22:13:06 3a2ae6a8a46f: Pull complete 22:13:06 33b1e0a273af: Pull complete 22:13:06 5d3b04190fa2: Pull complete 22:13:10 2f39f015ded8: Pull complete 22:13:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:13:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:11 prd-ubuntu20.04-docker-8c-8g-967 does not seem to be running inside a container 22:13:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 22:13:12 $ docker top 602c5c37fcdc0b06e256e3aeef45be5dfd05b901b61956f6a945bb5d870c39a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:13 ---> job-cost.sh 22:13:13 lf-activate-venv: SKIPPING 22:13:13 INFO: No Stack... 22:13:13 INFO: Retrieving Pricing Info for: v3-standard-8 22:13:13 INFO: Archiving Costs [Pipeline] sh 22:13:13 + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv 22:13:13 + cut -d, -f6 [Pipeline] lock 22:13:13 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] 22:13:13 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] did not exist. Created. 22:13:13 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:14 + echo total: 0.2199999988079071 [Pipeline] stash 22:13:14 Stashed 1 file(s) [Pipeline] } 22:13:14 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:14 $ docker stop --time=1 602c5c37fcdc0b06e256e3aeef45be5dfd05b901b61956f6a945bb5d870c39a1 22:13:15 $ docker rm -f --volumes 602c5c37fcdc0b06e256e3aeef45be5dfd05b901b61956f6a945bb5d870c39a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:14:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-971 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws 22:14:25 Running in /w/workspace/device-onvif-camera/33 [Pipeline] { [Pipeline] checkout 22:14:25 The recommended git tool is: git 22:14:32 using credential edgex-jenkins-ssh 22:14:32 Cloning the remote Git repository 22:14:32 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:14:32 > git init /w/workspace/device-onvif-camera/33 # timeout=10 22:14:32 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:32 > git --version # timeout=10 22:14:32 > git --version # 'git version 2.25.1' 22:14:32 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:34 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:36 Merging remotes/origin/main commit e283d27a39f6608c4972b60e45559292c212ac31 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 22:14:35 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:14:35 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:14:35 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:14:36 > git config core.sparsecheckout # timeout=10 22:14:37 Merge succeeded, producing f1477d6f5e7796a86030d0ce97d79619a0906148 22:14:37 Checking out Revision f1477d6f5e7796a86030d0ce97d79619a0906148 (PR-125) 22:14:36 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 22:14:36 > git remote # timeout=10 22:14:36 > git config --get remote.origin.url # timeout=10 22:14:36 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:36 > git merge e283d27a39f6608c4972b60e45559292c212ac31 # timeout=10 22:14:37 > git rev-parse HEAD^{commit} # timeout=10 22:14:37 > git config core.sparsecheckout # timeout=10 22:14:37 > git checkout -f f1477d6f5e7796a86030d0ce97d79619a0906148 # timeout=10 22:14:40 Commit message: "Merge commit 'e283d27a39f6608c4972b60e45559292c212ac31' into HEAD" 22:14:40 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:14:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:14:41 % Total % Received % Xferd Average Speed Time Time Time Current 22:14:41 Dload Upload Total Spent Left Speed 22:14:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 22:14:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:14:40 > git rev-list --no-walk 52710e1d2eb7a52d62a6472d1aa706ed0696a19f # timeout=10 22:14:42 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 22:14:42 22:14:42 { 22:14:42 "registry-mirrors": [ 22:14:42 "https://nexus3.edgexfoundry.org:10001" 22:14:42 ], 22:14:42 "bip": "10.250.0.254/24", 22:14:42 "hosts": [ 22:14:42 "tcp://0.0.0.0:5555", 22:14:42 "unix:///var/run/docker.sock" 22:14:42 ], 22:14:42 "mtu": 1458, 22:14:42 "selinux-enabled": true, 22:14:42 "seccomp-profile": "/etc/docker/seccomp.json" 22:14:42 } [Pipeline] sh 22:14:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:14:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:15:01 provisioning config files... 22:15:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/33@tmp/config12734168454059096876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:02 ---> docker-login.sh 22:15:02 nexus3.edgexfoundry.org:10001 22:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:02 Configure a credential helper to remove this warning. See 22:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:02 22:15:02 Login Succeeded 22:15:02 nexus3.edgexfoundry.org:10002 22:15:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:03 Configure a credential helper to remove this warning. See 22:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:03 22:15:03 Login Succeeded 22:15:03 nexus3.edgexfoundry.org:10003 22:15:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:03 Configure a credential helper to remove this warning. See 22:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:03 22:15:03 Login Succeeded 22:15:04 nexus3.edgexfoundry.org:10004 22:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:04 Configure a credential helper to remove this warning. See 22:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:04 22:15:04 Login Succeeded 22:15:04 docker.io 22:15:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:04 Configure a credential helper to remove this warning. See 22:15:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:04 22:15:04 Login Succeeded 22:15:04 ---> docker-login.sh ends [Pipeline] } 22:15:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:15:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:15:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:15:05 ========================================================= 22:15:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:15:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:15:06 Sending build context to Docker daemon 20.47MB 22:15:06 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:15:06 Step 2/13 : FROM ${BASE} AS builder 22:15:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:15:06 9b18e9b68314: Pulling fs layer 22:15:06 35d82f9e3411: Pulling fs layer 22:15:06 e16973657156: Pulling fs layer 22:15:06 fc693d55d65f: Pulling fs layer 22:15:06 7e9fc2657dce: Pulling fs layer 22:15:06 dda99020689f: Pulling fs layer 22:15:06 db1c61fa0a46: Pulling fs layer 22:15:06 891c053d2c06: Pulling fs layer 22:15:06 fc693d55d65f: Waiting 22:15:06 7e9fc2657dce: Waiting 22:15:06 dda99020689f: Waiting 22:15:06 db1c61fa0a46: Waiting 22:15:06 891c053d2c06: Waiting 22:15:06 e16973657156: Verifying Checksum 22:15:06 e16973657156: Download complete 22:15:06 35d82f9e3411: Verifying Checksum 22:15:06 35d82f9e3411: Download complete 22:15:06 7e9fc2657dce: Download complete 22:15:06 dda99020689f: Verifying Checksum 22:15:06 dda99020689f: Download complete 22:15:06 9b18e9b68314: Verifying Checksum 22:15:06 9b18e9b68314: Download complete 22:15:07 9b18e9b68314: Pull complete 22:15:07 891c053d2c06: Verifying Checksum 22:15:07 891c053d2c06: Download complete 22:15:07 35d82f9e3411: Pull complete 22:15:08 e16973657156: Pull complete 22:15:08 db1c61fa0a46: Verifying Checksum 22:15:08 db1c61fa0a46: Download complete 22:15:09 fc693d55d65f: Verifying Checksum 22:15:09 fc693d55d65f: Download complete 22:15:21 fc693d55d65f: Pull complete 22:15:21 7e9fc2657dce: Pull complete 22:15:22 dda99020689f: Pull complete 22:15:28 db1c61fa0a46: Pull complete 22:15:29 891c053d2c06: Pull complete 22:15:29 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:15:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:15:29 ---> f96f9c87975a 22:15:29 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:15:31 ---> Running in d2fcc4151e1c 22:15:31 Removing intermediate container d2fcc4151e1c 22:15:31 ---> 9e243ead7a2e 22:15:31 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:15:32 ---> Running in 7b2e3884f9af 22:15:32 Removing intermediate container 7b2e3884f9af 22:15:32 ---> 35604b998adc 22:15:32 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:15:32 ---> Running in 6bd5b6d8b2c9 22:15:33 Removing intermediate container 6bd5b6d8b2c9 22:15:33 ---> bc56438721f4 22:15:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:15:33 ---> Running in 1957a655e145 22:15:33 Removing intermediate container 1957a655e145 22:15:33 ---> 4662a990339f 22:15:33 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:15:33 ---> Running in 4ab97c9a6575 22:15:33 Removing intermediate container 4ab97c9a6575 22:15:33 ---> d44aa1492afa 22:15:33 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:15:33 ---> Running in 18dcf188b8af 22:15:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:15:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:15:37 OK: 221 MiB in 51 packages 22:15:37 Removing intermediate container 18dcf188b8af 22:15:37 ---> ea90f8e8f04a 22:15:37 Step 9/13 : WORKDIR /device-onvif-camera 22:15:37 ---> Running in 93f0fc611cc4 22:15:38 Removing intermediate container 93f0fc611cc4 22:15:38 ---> 73d0cb7b1c1e 22:15:38 Step 10/13 : COPY go.mod vendor* ./ 22:15:38 ---> ce94deccb70f 22:15:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:15:39 ---> Running in d6477f9e1815 22:16:35 Removing intermediate container d6477f9e1815 22:16:35 ---> 44ba7ffc5294 22:16:35 Step 12/13 : COPY . . 22:16:37 ---> 76a7ffb6ed87 22:16:37 Step 13/13 : RUN ${MAKE} 22:16:37 ---> Running in 80bf69a84f54 22:16:38 noop 22:16:39 Removing intermediate container 80bf69a84f54 22:16:39 ---> a8a9788f3565 22:16:39 Successfully built a8a9788f3565 22:16:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:39 + docker inspect -f . ci-base-image-arm64 22:16:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:39 prd-ubuntu20.04-docker-arm64-4c-16g-971 does not seem to be running inside a container 22:16:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/33 -v /w/workspace/device-onvif-camera/33:/w/workspace/device-onvif-camera/33:rw,z -v /w/workspace/device-onvif-camera/33@tmp:/w/workspace/device-onvif-camera/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:16:40 $ docker top 382ecd96fade2e3ae186db9f80422c0625d598dd7df81f97b1219c9bb1773497 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:41 + go version 22:16:41 go version go1.18.7 linux/arm64 [Pipeline] } 22:16:41 $ docker stop --time=1 382ecd96fade2e3ae186db9f80422c0625d598dd7df81f97b1219c9bb1773497 22:16:43 $ docker rm -f --volumes 382ecd96fade2e3ae186db9f80422c0625d598dd7df81f97b1219c9bb1773497 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:44 + docker inspect -f . ci-base-image-arm64 22:16:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:44 prd-ubuntu20.04-docker-arm64-4c-16g-971 does not seem to be running inside a container 22:16:44 $ 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/33 -v /w/workspace/device-onvif-camera/33:/w/workspace/device-onvif-camera/33:rw,z -v /w/workspace/device-onvif-camera/33@tmp:/w/workspace/device-onvif-camera/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:16:45 $ docker top 19b86101554b9065e6bbab5d09d212a52439351526b1188fce4085de8aad04f0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:46 + git config --global --add safe.directory /w/workspace/device-onvif-camera/33 [Pipeline] fileExists [Pipeline] sh 22:16:47 + make test 22:16:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:16:49 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:18:40 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:18:40 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.182s coverage: 29.3% of statements 22:18:40 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:18:53 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.002s coverage: 86.5% of statements 22:18:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:18:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:19:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:19:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:19:32 ./bin/test-attribution-txt.sh [Pipeline] echo 22:19:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:19:32 $ docker stop --time=1 19b86101554b9065e6bbab5d09d212a52439351526b1188fce4085de8aad04f0 22:19:35 $ docker rm -f --volumes 19b86101554b9065e6bbab5d09d212a52439351526b1188fce4085de8aad04f0 [Pipeline] // withDockerContainer [Pipeline] sh 22:19:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:19:36 Warning: overwriting stash ‘coverage-report’ 22:19:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:19:38 + ls -al . 22:19:38 total 244 22:19:38 drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 22:16 . 22:19:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:14 .. 22:19:38 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 22:14 .git 22:19:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:14 .github 22:19:38 -rw-rw-r-- 1 jenkins jenkins 496 Jan 3 22:14 .gitignore 22:19:38 -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 22:14 .golangci.yml 22:19:38 -rw-rw-r-- 1 jenkins jenkins 9742 Jan 3 22:14 Attribution.txt 22:19:38 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 3 22:14 CHANGELOG.md 22:19:38 -rw-rw-r-- 1 jenkins jenkins 1692 Jan 3 22:14 Dockerfile 22:19:38 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 22:14 GOVERNANCE.md 22:19:38 -rw-rw-r-- 1 jenkins jenkins 734 Jan 3 22:14 Jenkinsfile 22:19:38 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 3 22:14 LICENSE 22:19:38 -rw-rw-r-- 1 jenkins jenkins 2858 Jan 3 22:14 Makefile 22:19:38 -rw-rw-r-- 1 jenkins jenkins 625 Jan 3 22:14 OWNERS.md 22:19:38 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 3 22:14 README.md 22:19:38 -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 22:11 VERSION 22:19:38 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 22:14 bin 22:19:38 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:14 cmd 22:19:38 -rw-r--r-- 1 jenkins jenkins 79184 Jan 3 22:18 coverage.out 22:19:38 drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 22:14 doc 22:19:38 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 3 22:14 go.mod 22:19:38 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 3 22:14 go.sum 22:19:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:14 internal 22:19:38 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:14 snap 22:19:38 -rw-rw-r-- 1 jenkins jenkins 236 Jan 3 22:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:39 + 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=f1477d6f5e7796a86030d0ce97d79619a0906148 --label arch=arm64 --label version=0.0.0 . 22:19:40 Sending build context to Docker daemon 20.55MB 22:19:40 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 22:19:40 Step 2/27 : FROM ${BASE} AS builder 22:19:40 ---> a8a9788f3565 22:19:40 Step 3/27 : ARG ADD_BUILD_TAGS="" 22:19:40 ---> Running in 77e1b7fb026d 22:19:41 Removing intermediate container 77e1b7fb026d 22:19:41 ---> 8e8d379d57a1 22:19:41 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:19:41 ---> Running in 44dea382ae50 22:19:42 Removing intermediate container 44dea382ae50 22:19:42 ---> 59956bf45cdc 22:19:42 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:19:42 ---> Running in 4e0899e2d87f 22:19:42 Removing intermediate container 4e0899e2d87f 22:19:42 ---> 5bbbadc6c4a2 22:19:42 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 22:19:42 ---> Running in 4bc10db97b2b 22:19:42 Removing intermediate container 4bc10db97b2b 22:19:42 ---> 41f478f7baa3 22:19:42 Step 7/27 : LABEL Name=edgex-device-onvif-camera 22:19:42 ---> Running in 7b50063180df 22:19:44 Removing intermediate container 7b50063180df 22:19:44 ---> 6e4a5c85938f 22:19:44 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:19:44 ---> Running in 9a7b11dde74c 22:19:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:19:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:19:48 OK: 221 MiB in 51 packages 22:19:49 Removing intermediate container 9a7b11dde74c 22:19:49 ---> e870a91930a3 22:19:49 Step 9/27 : WORKDIR /device-onvif-camera 22:19:49 ---> Running in dc2eb622d63d 22:19:50 Removing intermediate container dc2eb622d63d 22:19:50 ---> f58b518241b4 22:19:50 Step 10/27 : COPY go.mod vendor* ./ 22:19:50 ---> dae4e3bf6593 22:19:50 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:19:50 ---> Running in 70db541f0ffc 22:19:53 Removing intermediate container 70db541f0ffc 22:19:53 ---> 9b4aeab11bd7 22:19:53 Step 12/27 : COPY . . 22:19:54 ---> d7d2ae17f43c 22:19:54 Step 13/27 : RUN ${MAKE} 22:19:55 ---> Running in 836fa6376b31 22:19:56 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 22:22:47 Removing intermediate container 836fa6376b31 22:22:47 ---> 78f4223cf9c5 22:22:47 Step 14/27 : FROM alpine:3.16 22:22:47 3.16: Pulling from library/alpine 22:22:47 6875df1f5354: Pulling fs layer 22:22:47 6875df1f5354: Verifying Checksum 22:22:47 6875df1f5354: Download complete 22:22:47 6875df1f5354: Pull complete 22:22:47 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:22:47 Status: Downloaded newer image for alpine:3.16 22:22:47 ---> 2b4661558fb8 22:22:47 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:22:47 ---> Running in f0e4479e2e03 22:22:47 Removing intermediate container f0e4479e2e03 22:22:47 ---> 8825a17c7647 22:22:47 Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 22:22:47 ---> Running in 62b6e8a6da63 22:22:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:22:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:22:47 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 22:22:47 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 22:22:47 (3/21) Installing readline (8.1.2-r0) 22:22:47 (4/21) Installing bash (5.1.16-r2) 22:22:47 Executing bash-5.1.16-r2.post-install 22:22:47 (5/21) Installing ca-certificates (20220614-r0) 22:22:47 (6/21) Installing brotli-libs (1.0.9-r6) 22:22:47 (7/21) Installing nghttp2-libs (1.47.0-r0) 22:22:47 (8/21) Installing libcurl (7.83.1-r5) 22:22:47 (9/21) Installing curl (7.83.1-r5) 22:22:47 (10/21) Installing dumb-init (1.2.5-r1) 22:22:47 (11/21) Installing oniguruma (6.9.8-r0) 22:22:47 (12/21) Installing jq (1.6-r1) 22:22:47 (13/21) Installing popt (1.18-r0) 22:22:47 (14/21) Installing pcre (8.45-r2) 22:22:47 (15/21) Installing slang (2.3.2-r0) 22:22:47 (16/21) Installing newt (0.52.21-r2) 22:22:47 (17/21) Installing libgcc (11.2.1_git20220219-r2) 22:22:47 (18/21) Installing libsodium (1.0.18-r0) 22:22:47 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 22:22:47 (20/21) Installing libzmq (4.3.4-r0) 22:22:47 (21/21) Installing zeromq (4.3.4-r0) 22:22:47 Executing busybox-1.35.0-r17.trigger 22:22:47 Executing ca-certificates-20220614-r0.trigger 22:22:47 OK: 16 MiB in 35 packages 22:22:47 Removing intermediate container 62b6e8a6da63 22:22:47 ---> 68c3284de91f 22:22:47 Step 17/27 : WORKDIR / 22:22:47 ---> Running in ddeb930b5103 22:22:47 Removing intermediate container ddeb930b5103 22:22:47 ---> 175f9f80b031 22:22:47 Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / 22:22:47 ---> 1a8ce97dbbe7 22:22:47 Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / 22:22:47 ---> 338ef59b0188 22:22:47 Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:22:47 ---> dc70684a3699 22:22:47 Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ 22:22:47 ---> 3e95d7f7f67a 22:22:47 Step 22/27 : EXPOSE 59984 22:22:47 ---> Running in 1c2d00f94766 22:22:47 Removing intermediate container 1c2d00f94766 22:22:47 ---> d7066150253a 22:22:47 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 22:22:47 ---> Running in 21832ccdb70c 22:22:47 Removing intermediate container 21832ccdb70c 22:22:47 ---> 144f1f45aa7a 22:22:47 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:22:47 ---> Running in 264f51994acd 22:22:47 Removing intermediate container 264f51994acd 22:22:47 ---> 5596180f8ff5 22:22:47 Step 25/27 : LABEL arch=arm64 22:22:47 ---> Running in ac543e1ce802 22:22:47 Removing intermediate container ac543e1ce802 22:22:47 ---> 5111233f3ddd 22:22:47 Step 26/27 : LABEL git_sha=f1477d6f5e7796a86030d0ce97d79619a0906148 22:22:47 ---> Running in ccfc289d9a64 22:22:47 Removing intermediate container ccfc289d9a64 22:22:47 ---> d6a697eafb3c 22:22:47 Step 27/27 : LABEL version=0.0.0 22:22:47 ---> Running in 3d344f716272 22:22:47 Removing intermediate container 3d344f716272 22:22:47 ---> ecd0dcfc6bf5 22:22:47 [Warning] One or more build-args [ARCH] were not consumed 22:22:47 Successfully built ecd0dcfc6bf5 22:22:47 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 22:22:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:48 22:22:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:48 arm64: Pulling from edgex-lftools-log-publisher 22:22:48 8998bd30e6a1: Pulling fs layer 22:22:48 04944245beec: Pulling fs layer 22:22:48 699f458cf7ca: Pulling fs layer 22:22:48 765212b225bb: Pulling fs layer 22:22:48 f23df028b6ca: Pulling fs layer 22:22:48 d65c8cfc05b1: Pulling fs layer 22:22:48 2437ff75d9bd: Pulling fs layer 22:22:48 765212b225bb: Waiting 22:22:48 f23df028b6ca: Waiting 22:22:48 d65c8cfc05b1: Waiting 22:22:48 2437ff75d9bd: Waiting 22:22:48 04944245beec: Verifying Checksum 22:22:48 04944245beec: Download complete 22:22:48 765212b225bb: Download complete 22:22:48 f23df028b6ca: Verifying Checksum 22:22:48 f23df028b6ca: Download complete 22:22:48 d65c8cfc05b1: Verifying Checksum 22:22:48 d65c8cfc05b1: Download complete 22:22:48 699f458cf7ca: Verifying Checksum 22:22:48 699f458cf7ca: Download complete 22:22:49 8998bd30e6a1: Verifying Checksum 22:22:49 8998bd30e6a1: Download complete 22:22:51 2437ff75d9bd: Download complete 22:22:53 8998bd30e6a1: Pull complete 22:22:53 04944245beec: Pull complete 22:22:55 699f458cf7ca: Pull complete 22:22:55 765212b225bb: Pull complete 22:22:56 f23df028b6ca: Pull complete 22:22:57 d65c8cfc05b1: Pull complete 22:23:12 2437ff75d9bd: Pull complete 22:23:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:23:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:23:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:12 prd-ubuntu20.04-docker-arm64-4c-16g-971 does not seem to be running inside a container 22:23:12 $ 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/33 -v /w/workspace/device-onvif-camera/33:/w/workspace/device-onvif-camera/33:rw,z -v /w/workspace/device-onvif-camera/33@tmp:/w/workspace/device-onvif-camera/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:23:15 $ docker top d7af92cd002ff7ac10c613bec6a3ce1900aac7a7ecc12a7f39240beb5d0b58bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:16 ---> job-cost.sh 22:23:16 lf-activate-venv: SKIPPING 22:23:16 INFO: No Stack... 22:23:16 INFO: Retrieving Pricing Info for: v3-standard-4 22:23:17 INFO: Archiving Costs [Pipeline] sh 22:23:18 + cat /w/workspace/device-onvif-camera/33/archives/cost.csv 22:23:18 + cut -d, -f6 [Pipeline] lock 22:23:18 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] 22:23:18 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] did not exist. Created. 22:23:18 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:23:19 /w/workspace/device-onvif-camera/33@tmp/durable-20c581be/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:23:19 + echo total: 0.10999999940395355 [Pipeline] stash 22:23:19 Warning: overwriting stash ‘stack-cost’ 22:23:19 Stashed 1 file(s) [Pipeline] } 22:23:19 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-33-stack-cost] [Pipeline] // lock [Pipeline] } 22:23:19 $ docker stop --time=1 d7af92cd002ff7ac10c613bec6a3ce1900aac7a7ecc12a7f39240beb5d0b58bd 22:23:21 $ docker rm -f --volumes d7af92cd002ff7ac10c613bec6a3ce1900aac7a7ecc12a7f39240beb5d0b58bd [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) [Pipeline] unstash [Pipeline] configFileProvider 22:23:21 provisioning config files... 22:23:21 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config17261708713431371631tmp [Pipeline] { [Pipeline] sh 22:23:22 + set +x 22:23:22 + bash -s -- 22:23:22 + curl -s https://codecov.io/bash 22:23:22 22:23:22 _____ _ 22:23:22 / ____| | | 22:23:22 | | ___ __| | ___ ___ _____ __ 22:23:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:23:22 | |___| (_) | (_| | __/ (_| (_) \ V / 22:23:22 \_____\___/ \__,_|\___|\___\___/ \_/ 22:23:22 Bash-1.0.6 22:23:22 22:23:22 22:23:22 ==> git version 2.25.1 found 22:23:22 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:23:22 Release-Date: 2020-01-08 22:23:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:23:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:23:22 ==> Jenkins CI detected. 22:23:22 current dir:  /w/workspace/undry_device-onvif-camera_PR-125 22:23:22 project root: . 22:23:22 --> token set from env 22:23:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:23:22 ==> Running gcov in . (disable via -X gcov) 22:23:22 ==> Python coveragepy not found 22:23:22 ==> Searching for coverage reports in: 22:23:22 + . 22:23:22 -> Found 1 reports 22:23:22 ==> Detecting git/mercurial file structure 22:23:22 ==> Reading reports 22:23:22 + ./coverage.out bytes=79184 22:23:22 ==> Appending adjustments 22:23:22 https://docs.codecov.io/docs/fixing-reports 22:23:22 + Found adjustments 22:23:22 ==> Gzipping contents 22:23:22 12K /tmp/codecov.sJBCJW.gz 22:23:22 ==> Uploading reports 22:23:22 url: https://codecov.io 22:23:22 query: branch=PR-125&commit=d5e9855412022031c00f291585c791252adde5ab&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 22:23:22 -> Pinging Codecov 22:23:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=d5e9855412022031c00f291585c791252adde5ab&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 22:23:22 -> Uploading to 22:23:22 https://storage.googleapis.com/codecov/v4/raw/2023-01-03/F29A59C45E3A92E06B3E522C9905F8EF/d5e9855412022031c00f291585c791252adde5ab/74e4ed72-e200-49de-9673-0bb976414b11.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T222322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d2264b6e2e28ee1d902a344bceca5d25b984d893a728287d5d8c740f1f02225c 22:23:22 % Total % Received % Xferd Average Speed Time Time Time Current 22:23:22 Dload Upload Total Spent Left Speed 22:23:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10885 0 0 100 10885 0 54425 --:--:-- --:--:-- --:--:-- 54425 22:23:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d5e9855412022031c00f291585c791252adde5ab [Pipeline] } 22:23:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:23:23 + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] 22:23:23 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 22:23:23 total 16 22:23:23 drwxr-xr-x 3 root root 4096 Jan 3 22:13 . 22:23:23 drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 22:13 .. 22:23:23 drwxr-xr-x 2 root root 4096 Jan 3 22:13 cost 22:23:23 -rw-r--r-- 1 root root 92 Jan 3 22:13 cost.csv 22:23:23 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives 22:23:23 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 22:23:23 total 16 22:23:23 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 22:13 . 22:23:23 drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 22:13 .. 22:23:23 drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 22:13 cost 22:23:23 -rw-r--r-- 1 jenkins jenkins 92 Jan 3 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:23:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:23:24 ---> package-listing.sh 22:23:24 ++ facter osfamily 22:23:24 ++ tr '[:upper:]' '[:lower:]' 22:23:25 + OS_FAMILY=debian 22:23:25 + workspace=/w/workspace/undry_device-onvif-camera_PR-125 22:23:25 + START_PACKAGES=/tmp/packages_start.txt 22:23:25 + END_PACKAGES=/tmp/packages_end.txt 22:23:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:23:25 + PACKAGES=/tmp/packages_start.txt 22:23:25 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 22:23:25 + PACKAGES=/tmp/packages_end.txt 22:23:25 + case "${OS_FAMILY}" in 22:23:25 + dpkg -l 22:23:25 + grep '^ii' 22:23:25 + '[' -f /tmp/packages_start.txt ']' 22:23:25 + '[' -f /tmp/packages_end.txt ']' 22:23:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:23:25 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 22:23:25 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ 22:23:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo 22:23:25 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:23:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:25 prd-ubuntu20.04-docker-8c-8g-967 does not seem to be running inside a container 22:23:25 $ 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-125/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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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 22:23:26 $ docker top 5b44d8ae8337fdae0bca3f8247eb47a8ebb824cfa94b998cccc49151bc94171b -eo pid,comm [Pipeline] { [Pipeline] sh 22:23:26 + touch /tmp/pre-build-complete [Pipeline] sh 22:23:26 + mkdir -p /var/log/sysstat [Pipeline] sh 22:23:27 + ls /var/log/sa-host 22:23:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:23:27 provisioning config files... 22:23:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config5164742950926493402tmp [Pipeline] { [Pipeline] echo 22:23:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:23:27 ---> create-netrc.sh [Pipeline] } 22:23:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:23:27 ---> python-tools-install.sh [Pipeline] echo 22:23:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:23:28 ---> sudo-logs.sh 22:23:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:23:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:23:28 ---> job-cost.sh 22:23:28 lf-activate-venv: SKIPPING 22:23:28 DEBUG: total: 0.2199999988079071 22:23:28 INFO: Retrieving Stack Cost... 22:23:28 INFO: Retrieving Pricing Info for: v3-standard-8 22:23:29 INFO: Archiving Costs [Pipeline] echo 22:23:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:23:29 ---> logs-deploy.sh 22:23:29 lf-activate-venv: SKIPPING 22:23:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/33 22:23:29 INFO: archiving workspace using pattern(s): 22:23:30 Archives upload complete. 22:23:30 INFO: archiving logs to Nexus