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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 35e36fe490a7d7a1e97f3b24aeec797b9423c911 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-ssh13386624377162543556.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1650672680569720286.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-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-ssh12312206460739465540.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11689716554826937577.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-ssh10127942022199657124.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-29041 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-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 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 5a500f3af249ca31a50e6950c78d688de8286884 Checking out Revision 5a500f3af249ca31a50e6950c78d688de8286884 (PR-125) > 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 > 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 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a500f3af249ca31a50e6950c78d688de8286884 # timeout=10 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:11:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:11:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:11:17 ========================================================= 10:11:17 EdgeX Global Pipelines Version Info 10:11:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4011d92071821723e5beaaf815fca455878a89cc # timeout=10 10:11:18 ------------------- 10:11:18 stable info: 10:11:18 ------------------- 10:11:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:11:18 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:11:18 Message: update stable to v1.0.239 10:11:18 ------------------- 10:11:18 experimental info: 10:11:18 ------------------- 10:11:18 Commited By: **** collab-it+edgex@linuxfoundation.org 10:11:18 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:11:18 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a500f3af249ca31a50e6950c78d688de8286884 [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a500f3 [Pipeline] echo 10:11:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:11:19 provisioning config files... 10:11:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config2457964827180141165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:19 ---> docker-login.sh 10:11:19 nexus3.edgexfoundry.org:10001 10:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:19 Configure a credential helper to remove this warning. See 10:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:19 10:11:19 Login Succeeded 10:11:19 nexus3.edgexfoundry.org:10002 10:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:20 Configure a credential helper to remove this warning. See 10:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:20 10:11:20 Login Succeeded 10:11:20 nexus3.edgexfoundry.org:10003 10:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:20 Configure a credential helper to remove this warning. See 10:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:20 10:11:20 Login Succeeded 10:11:20 nexus3.edgexfoundry.org:10004 10:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:20 Configure a credential helper to remove this warning. See 10:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:20 10:11:20 Login Succeeded 10:11:20 docker.io 10:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:20 Configure a credential helper to remove this warning. See 10:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:20 10:11:20 Login Succeeded 10:11:20 ---> docker-login.sh ends [Pipeline] } 10:11:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:11:21 + git rev-list -1 --merges 5a500f3af249ca31a50e6950c78d688de8286884~1..5a500f3af249ca31a50e6950c78d688de8286884 [Pipeline] echo 10:11:21 -----------> git rev-list -1 --merges 5a500f3af249ca31a50e6950c78d688de8286884~1..5a500f3af249ca31a50e6950c78d688de8286884 5a500f3af249ca31a50e6950c78d688de8286884 10:11:21 5a500f3af249ca31a50e6950c78d688de8286884 [false] [Pipeline] sh 10:11:21 + git log --format=format:%s -1 5a500f3af249ca31a50e6950c78d688de8286884 [Pipeline] echo 10:11:21 ========================================================= 10:11:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:11:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:11:21 + git log --format=format:%s -1 5a500f3af249ca31a50e6950c78d688de8286884 [Pipeline] echo 10:11:21 [semverPrep] GIT_COMMIT: 5a500f3af249ca31a50e6950c78d688de8286884, Commit Message: Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD [Pipeline] echo 10:11:21 [semverPrep] This is not a build commit. [Pipeline] sh 10:11:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:11:22 + grep -v github /etc/ssh/ssh_known_hosts 10:11:22 + [ -e /tmp/ssh_known_hosts ] 10:11:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:11:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:11:22 + sudo tee -a /etc/ssh/ssh_known_hosts 10:11:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:11:22 10:11:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:11:22 0.1.4: Pulling from edgex-devops/py-git-semver 10:11:22 b85a868b505f: Pulling fs layer 10:11:22 e2be974225ed: Pulling fs layer 10:11:22 339a4e72a1f5: Pulling fs layer 10:11:22 988bab9f4d93: Pulling fs layer 10:11:22 1469e6f7b9e6: Pulling fs layer 10:11:22 eaf3925da568: Pulling fs layer 10:11:22 bab4dde63d76: Pulling fs layer 10:11:22 bde34c3a00c8: Pulling fs layer 10:11:22 b352a97aabf1: Pulling fs layer 10:11:22 4872d77fe225: Pulling fs layer 10:11:22 5851b861e8e6: Pulling fs layer 10:11:22 bab4dde63d76: Waiting 10:11:22 bde34c3a00c8: Waiting 10:11:22 b352a97aabf1: Waiting 10:11:22 4872d77fe225: Waiting 10:11:22 5851b861e8e6: Waiting 10:11:22 988bab9f4d93: Waiting 10:11:22 1469e6f7b9e6: Waiting 10:11:22 eaf3925da568: Waiting 10:11:22 e2be974225ed: Download complete 10:11:22 988bab9f4d93: Verifying Checksum 10:11:22 988bab9f4d93: Download complete 10:11:22 1469e6f7b9e6: Verifying Checksum 10:11:22 1469e6f7b9e6: Download complete 10:11:23 eaf3925da568: Download complete 10:11:23 339a4e72a1f5: Verifying Checksum 10:11:23 339a4e72a1f5: Download complete 10:11:23 bde34c3a00c8: Verifying Checksum 10:11:23 bde34c3a00c8: Download complete 10:11:23 b352a97aabf1: Download complete 10:11:23 4872d77fe225: Verifying Checksum 10:11:23 4872d77fe225: Download complete 10:11:23 5851b861e8e6: Verifying Checksum 10:11:23 5851b861e8e6: Download complete 10:11:23 b85a868b505f: Verifying Checksum 10:11:23 b85a868b505f: Download complete 10:11:23 bab4dde63d76: Verifying Checksum 10:11:23 bab4dde63d76: Download complete 10:11:24 b85a868b505f: Pull complete 10:11:24 e2be974225ed: Pull complete 10:11:24 339a4e72a1f5: Pull complete 10:11:25 988bab9f4d93: Pull complete 10:11:25 1469e6f7b9e6: Pull complete 10:11:25 eaf3925da568: Pull complete 10:11:27 bab4dde63d76: Pull complete 10:11:27 bde34c3a00c8: Pull complete 10:11:27 b352a97aabf1: Pull complete 10:11:27 4872d77fe225: Pull complete 10:11:27 5851b861e8e6: Pull complete 10:11:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:11:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:11:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:27 prd-ubuntu20.04-docker-8c-8g-29041 does not seem to be running inside a container 10:11:27 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:11:28 $ docker top f95a3b83c58b8008cf9b63f9e60bcb752ab977516a13e71190dc1b35c531f054 -eo pid,comm 10:11:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:11:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:11:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:11:28 [ssh-agent] Looking for ssh-agent implementation... 10:11:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:11:28 $ docker exec f95a3b83c58b8008cf9b63f9e60bcb752ab977516a13e71190dc1b35c531f054 ssh-agent 10:11:28 SSH_AUTH_SOCK=/tmp/ssh-iexQyoBDpUty/agent.33 10:11:28 SSH_AGENT_PID=39 10:11:28 Running ssh-add (command line suppressed) 10:11:29 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_3046576905721385030.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_3046576905721385030.key) 10:11:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:11:29 + git tag --points-at HEAD [Pipeline] } 10:11:29 $ docker exec --env ******** --env ******** f95a3b83c58b8008cf9b63f9e60bcb752ab977516a13e71190dc1b35c531f054 ssh-agent -k 10:11:29 unset SSH_AUTH_SOCK; 10:11:29 unset SSH_AGENT_PID; 10:11:29 echo Agent pid 39 killed; 10:11:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:11:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:11:29 [ssh-agent] Looking for ssh-agent implementation... 10:11:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:11:29 $ docker exec f95a3b83c58b8008cf9b63f9e60bcb752ab977516a13e71190dc1b35c531f054 ssh-agent 10:11:29 SSH_AUTH_SOCK=/tmp/ssh-KHkkHnxmXMWE/agent.72 10:11:29 SSH_AGENT_PID=78 10:11:29 Running ssh-add (command line suppressed) 10:11:29 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4002831199659976984.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4002831199659976984.key) 10:11:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:11:30 + git semver init 10:11:30 2022-09-13 10:11:30,474 [run_init] DEBUG init version:0.0.0 force:False 10:11:30 2022-09-13 10:11:30,475 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver 10:11:30 2022-09-13 10:11:30,475 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver 10:11:30 2022-09-13 10:11:30,476 [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) 10:11:31 2022-09-13 10:11:31,437 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude 10:11:31 2022-09-13 10:11:31,438 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False 10:11:31 2022-09-13 10:11:31,438 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 10:11:31 2022-09-13 10:11:31,442 [execute] INFO git cat-file --batch-check 10:11:31 2022-09-13 10:11:31,442 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 10:11:31 2022-09-13 10:11:31,448 [execute] INFO git cat-file --batch 10:11:31 2022-09-13 10:11:31,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 10:11:31 2022-09-13 10:11:31,453 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 10:11:31 0.0.0 [Pipeline] } 10:11:31 $ docker exec --env ******** --env ******** f95a3b83c58b8008cf9b63f9e60bcb752ab977516a13e71190dc1b35c531f054 ssh-agent -k 10:11:31 unset SSH_AUTH_SOCK; 10:11:31 unset SSH_AGENT_PID; 10:11:31 echo Agent pid 78 killed; 10:11:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:11:31 + git semver [Pipeline] } 10:11:32 $ docker stop --time=1 f95a3b83c58b8008cf9b63f9e60bcb752ab977516a13e71190dc1b35c531f054 10:11:33 $ docker rm -f f95a3b83c58b8008cf9b63f9e60bcb752ab977516a13e71190dc1b35c531f054 [Pipeline] // withDockerContainer [Pipeline] sh 10:11:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:11:34 Stashed 1 file(s) [Pipeline] echo 10: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 10:11:34 provisioning config files... 10:11:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7198271071482421509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:34 ---> docker-login.sh 10:11:34 nexus3.edgexfoundry.org:10001 10:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:34 Configure a credential helper to remove this warning. See 10:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:34 10:11:34 Login Succeeded 10:11:34 nexus3.edgexfoundry.org:10002 10:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:34 Configure a credential helper to remove this warning. See 10:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:34 10:11:34 Login Succeeded 10:11:34 nexus3.edgexfoundry.org:10003 10:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:34 Configure a credential helper to remove this warning. See 10:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:34 10:11:34 Login Succeeded 10:11:34 nexus3.edgexfoundry.org:10004 10:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:35 Configure a credential helper to remove this warning. See 10:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:35 10:11:35 Login Succeeded 10:11:35 docker.io 10:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:35 Configure a credential helper to remove this warning. See 10:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:35 10:11:35 Login Succeeded 10:11:35 ---> docker-login.sh ends [Pipeline] } 10:11:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:11:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:35 ========================================================= 10:11:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:11:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 10:11:35 Sending build context to Docker daemon 20.65MB 10:11:35 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:11:35 Step 2/13 : FROM ${BASE} AS builder 10:11:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:11:35 2408cc74d12b: Pulling fs layer 10:11:35 ea60b727a1ce: Pulling fs layer 10:11:35 30c4a7721957: Pulling fs layer 10:11:35 370296b7ddb6: Pulling fs layer 10:11:35 7c6cee850709: Pulling fs layer 10:11:35 39a5fcdaea64: Pulling fs layer 10:11:35 d94ebbe4e438: Pulling fs layer 10:11:35 bcfd1f05c69d: Pulling fs layer 10:11:35 59ccb84bbe0f: Pulling fs layer 10:11:35 370296b7ddb6: Waiting 10:11:35 d94ebbe4e438: Waiting 10:11:35 7c6cee850709: Waiting 10:11:35 39a5fcdaea64: Waiting 10:11:35 bcfd1f05c69d: Waiting 10:11:35 59ccb84bbe0f: Waiting 10:11:35 30c4a7721957: Verifying Checksum 10:11:35 30c4a7721957: Download complete 10:11:35 ea60b727a1ce: Download complete 10:11:35 7c6cee850709: Verifying Checksum 10:11:35 7c6cee850709: Download complete 10:11:35 39a5fcdaea64: Verifying Checksum 10:11:35 39a5fcdaea64: Download complete 10:11:35 2408cc74d12b: Verifying Checksum 10:11:35 d94ebbe4e438: Verifying Checksum 10:11:35 2408cc74d12b: Pull complete 10:11:36 ea60b727a1ce: Pull complete 10:11:36 30c4a7721957: Pull complete 10:11:36 59ccb84bbe0f: Verifying Checksum 10:11:36 59ccb84bbe0f: Download complete 10:11:36 370296b7ddb6: Download complete 10:11:36 bcfd1f05c69d: Download complete 10:11:40 370296b7ddb6: Pull complete 10:11:40 7c6cee850709: Pull complete 10:11:40 39a5fcdaea64: Pull complete 10:11:40 d94ebbe4e438: Pull complete 10:11:43 bcfd1f05c69d: Pull complete 10:11:43 59ccb84bbe0f: Pull complete 10:11:43 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 10:11:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:11:43 ---> a4fb48ad2a94 10:11:43 Step 3/13 : ARG MAKE="make build" 10:11:45 ---> Running in d4c50d436c1a 10:11:45 Removing intermediate container d4c50d436c1a 10:11:45 ---> 2639f9155579 10:11:45 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:11:45 ---> Running in c241c54c6e94 10:11:45 Removing intermediate container c241c54c6e94 10:11:45 ---> 9464241151a0 10:11:45 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:11:45 ---> Running in da00ebe1983a 10:11:45 Removing intermediate container da00ebe1983a 10:11:45 ---> fcbf61c3a8c5 10:11:45 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:11:45 ---> Running in 969ff3ab6be6 10:11:45 Removing intermediate container 969ff3ab6be6 10:11:45 ---> 49fad605472d 10:11:45 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:45 ---> Running in def8a3119723 10:11:46 Removing intermediate container def8a3119723 10:11:46 ---> 1550814b5dce 10:11:46 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:46 ---> Running in 4f80eb7b0ed6 10:11:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:11:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:11:47 OK: 211 MiB in 51 packages 10:11:47 Removing intermediate container 4f80eb7b0ed6 10:11:47 ---> 3a118a0355f1 10:11:47 Step 9/13 : WORKDIR /device-onvif-camera 10:11:47 ---> Running in c3c8da15e5b4 10:11:47 Removing intermediate container c3c8da15e5b4 10:11:47 ---> 10eb93576d52 10:11:47 Step 10/13 : COPY go.mod vendor* ./ 10:11:48 ---> 11e1fcf94d54 10:11:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:48 ---> Running in a82f8ecf477f 10:11:49 Still waiting to schedule task 10:11:49 ‘prd-ubuntu20.04-docker-arm64-4c-16g-29042’ is offline 10:12:02 Removing intermediate container a82f8ecf477f 10:12:02 ---> 6411bf7e1f4e 10:12:02 Step 12/13 : COPY . . 10:12:02 ---> f3b404227d6d 10:12:02 Step 13/13 : RUN ${MAKE} 10:12:02 ---> Running in c124e5480e6e 10:12:02 noop 10:12:02 Removing intermediate container c124e5480e6e 10:12:02 ---> eb67f603ece7 10:12:02 Successfully built eb67f603ece7 10:12:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:03 + docker inspect -f . ci-base-image-x86_64 10:12:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:03 prd-ubuntu20.04-docker-8c-8g-29041 does not seem to be running inside a container 10:12:03 $ 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 ******** -e ******** ci-base-image-x86_64 cat 10:12:03 $ docker top a9fc4770868474ff25808e2a5b957ea2291ee6276f249fcb2744d7e233ae36bf -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:04 + go version 10:12:04 go version go1.18.3 linux/amd64 [Pipeline] } 10:12:04 $ docker stop --time=1 a9fc4770868474ff25808e2a5b957ea2291ee6276f249fcb2744d7e233ae36bf 10:12:05 $ docker rm -f a9fc4770868474ff25808e2a5b957ea2291ee6276f249fcb2744d7e233ae36bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:05 + docker inspect -f . ci-base-image-x86_64 10:12:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:05 prd-ubuntu20.04-docker-8c-8g-29041 does not seem to be running inside a container 10:12:05 $ 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 ******** -e ******** ci-base-image-x86_64 cat 10:12:06 $ docker top 0ff70b025b3253e9e7f97b294ad373518fe9a23b105ccbaeabc38115b2a367a2 -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:06 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh 10:12:06 + make test 10:12:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:12:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:12:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:12:17 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.030s coverage: 28.6% of statements 10:12:17 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:12:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.842s coverage: 13.8% of statements 10:12:27 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 10:12:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:12:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:12:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:12:29 ./bin/test-attribution-txt.sh [Pipeline] echo 10:12:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:12:29 $ docker stop --time=1 0ff70b025b3253e9e7f97b294ad373518fe9a23b105ccbaeabc38115b2a367a2 10:12:31 $ docker rm -f 0ff70b025b3253e9e7f97b294ad373518fe9a23b105ccbaeabc38115b2a367a2 [Pipeline] // withDockerContainer [Pipeline] sh 10:12:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:12:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:12:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:12:32 + ls -al . 10:12:32 total 232 10:12:32 drwxrwxr-x 10 jenkins jenkins 4096 Sep 13 10:12 . 10:12:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:11 .. 10:12:32 drwxrwxr-x 8 jenkins jenkins 4096 Sep 13 10:12 .git 10:12:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 13 10:11 .github 10:12:32 -rw-rw-r-- 1 jenkins jenkins 418 Sep 13 10:11 .gitignore 10:12:32 -rw-rw-r-- 1 jenkins jenkins 42 Sep 13 10:11 .golangci.yml 10:12:32 drwxr-xr-x 3 jenkins jenkins 4096 Sep 13 10:11 .semver 10:12:32 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 13 10:11 Attribution.txt 10:12:32 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 13 10:11 CHANGELOG.md 10:12:32 -rw-rw-r-- 1 jenkins jenkins 1742 Sep 13 10:11 Dockerfile 10:12:32 -rw-rw-r-- 1 jenkins jenkins 677 Sep 13 10:11 GOVERNANCE.md 10:12:32 -rw-rw-r-- 1 jenkins jenkins 734 Sep 13 10:11 Jenkinsfile 10:12:32 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 13 10:11 LICENSE 10:12:32 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 13 10:11 Makefile 10:12:32 -rw-rw-r-- 1 jenkins jenkins 625 Sep 13 10:11 OWNERS.md 10:12:32 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 13 10:11 README.md 10:12:32 -rw-rw-r-- 1 jenkins jenkins 5 Sep 13 10:11 VERSION 10:12:32 drwxrwxr-x 2 jenkins jenkins 4096 Sep 13 10:11 bin 10:12:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 13 10:11 cmd 10:12:32 -rw-r--r-- 1 jenkins jenkins 77283 Sep 13 10:12 coverage.out 10:12:32 drwxrwxr-x 6 jenkins jenkins 4096 Sep 13 10:11 doc 10:12:32 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 13 10:11 go.mod 10:12:32 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 13 10:11 go.sum 10:12:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:11 internal 10:12:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:11 snap 10:12:32 -rw-rw-r-- 1 jenkins jenkins 236 Sep 13 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:33 + 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=5a500f3af249ca31a50e6950c78d688de8286884 --label arch=amd64 --label version=0.0.0 . 10:12:33 Sending build context to Docker daemon 20.73MB 10:12:33 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 10:12:33 Step 2/27 : FROM ${BASE} AS builder 10:12:33 ---> eb67f603ece7 10:12:33 Step 3/27 : ARG MAKE="make build" 10:12:33 ---> Running in 167590411e55 10:12:33 Removing intermediate container 167590411e55 10:12:33 ---> d3e7f3a3d145 10:12:33 Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:12:33 ---> Running in 5a1e0c6d504c 10:12:33 Removing intermediate container 5a1e0c6d504c 10:12:33 ---> 3d03a02295e2 10:12:33 Step 5/27 : ARG ALPINE_PKG_EXTRA="" 10:12:33 ---> Running in 1b4e5b6ee0c9 10:12:33 Removing intermediate container 1b4e5b6ee0c9 10:12:33 ---> ee66d4265cb8 10:12:33 Step 6/27 : LABEL Name=edgex-device-onvif-camera 10:12:33 ---> Running in 2736d98a4b7d 10:12:33 Removing intermediate container 2736d98a4b7d 10:12:33 ---> d62391ea0773 10:12:33 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:12:33 ---> Running in 88a1f1377cab 10:12:34 Removing intermediate container 88a1f1377cab 10:12:34 ---> ed420e3fc299 10:12:34 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:12:34 ---> Running in eb49239151c8 10:12:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:12:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:12:35 OK: 211 MiB in 51 packages 10:12:35 Removing intermediate container eb49239151c8 10:12:35 ---> 954143d899aa 10:12:35 Step 9/27 : WORKDIR /device-onvif-camera 10:12:35 ---> Running in 7584cfc29e24 10:12:35 Removing intermediate container 7584cfc29e24 10:12:35 ---> d675cf7fbfb6 10:12:35 Step 10/27 : COPY go.mod vendor* ./ 10:12:35 ---> a6531557ca31 10:12:35 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:12:35 ---> Running in 01b65607ea61 10:12:36 Removing intermediate container 01b65607ea61 10:12:36 ---> 078d86682d56 10:12:36 Step 12/27 : COPY . . 10:12:37 ---> efba8bae5b8b 10:12:37 Step 13/27 : RUN ${MAKE} 10:12:37 ---> Running in 7fae1195c43e 10:12:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 10:12:59 Removing intermediate container 7fae1195c43e 10:12:59 ---> c075b9cf0469 10:12:59 Step 14/27 : FROM alpine:3.16 10:12:59 3.16: Pulling from library/alpine 10:12:59 213ec9aee27d: Pulling fs layer 10:12:59 213ec9aee27d: Verifying Checksum 10:12:59 213ec9aee27d: Download complete 10:12:59 213ec9aee27d: Pull complete 10:12:59 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:12:59 Status: Downloaded newer image for alpine:3.16 10:12:59 ---> 9c6f07244728 10:12:59 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:12:59 ---> Running in 48da1596bb33 10:12:59 Removing intermediate container 48da1596bb33 10:12:59 ---> 14cd0e1fa101 10:12:59 Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 10:12:59 ---> Running in 935c03efbcd4 10:12:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:12:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:12:59 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 10:12:59 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 10:12:59 (3/21) Installing readline (8.1.2-r0) 10:12:59 (4/21) Installing bash (5.1.16-r2) 10:12:59 Executing bash-5.1.16-r2.post-install 10:12:59 (5/21) Installing ca-certificates (20220614-r0) 10:12:59 (6/21) Installing brotli-libs (1.0.9-r6) 10:12:59 (7/21) Installing nghttp2-libs (1.47.0-r0) 10:12:59 (8/21) Installing libcurl (7.83.1-r3) 10:12:59 (9/21) Installing curl (7.83.1-r3) 10:12:59 (10/21) Installing dumb-init (1.2.5-r1) 10:12:59 (11/21) Installing oniguruma (6.9.8-r0) 10:12:59 (12/21) Installing jq (1.6-r1) 10:12:59 (13/21) Installing popt (1.18-r0) 10:12:59 (14/21) Installing pcre (8.45-r2) 10:12:59 (15/21) Installing slang (2.3.2-r0) 10:12:59 (16/21) Installing newt (0.52.21-r2) 10:12:59 (17/21) Installing libgcc (11.2.1_git20220219-r2) 10:12:59 (18/21) Installing libsodium (1.0.18-r0) 10:12:59 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 10:12:59 (20/21) Installing libzmq (4.3.4-r0) 10:12:59 (21/21) Installing zeromq (4.3.4-r0) 10:12:59 Executing busybox-1.35.0-r17.trigger 10:12:59 Executing ca-certificates-20220614-r0.trigger 10:12:59 OK: 17 MiB in 35 packages 10:12:59 Removing intermediate container 935c03efbcd4 10:12:59 ---> efb29354a35c 10:12:59 Step 17/27 : WORKDIR / 10:12:59 ---> Running in 56823601f495 10:12:59 Removing intermediate container 56823601f495 10:12:59 ---> 47377920b1b5 10:12:59 Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / 10:12:59 ---> 5a92ecd20c63 10:12:59 Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / 10:12:59 ---> 86c9fcb71952 10:12:59 Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:12:59 ---> f46565bf6425 10:12:59 Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ 10:12:59 ---> 570eab0819d2 10:12:59 Step 22/27 : EXPOSE 59984 10:12:59 ---> Running in 31793b05cd1e 10:12:59 Removing intermediate container 31793b05cd1e 10:12:59 ---> b041646dcf7e 10:12:59 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 10:12:59 ---> Running in d9a2643054d1 10:12:59 Removing intermediate container d9a2643054d1 10:12:59 ---> dc02ce4c6dcb 10:12:59 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:12:59 ---> Running in 00e5e4dc9646 10:12:59 Removing intermediate container 00e5e4dc9646 10:12:59 ---> b929fb006326 10:12:59 Step 25/27 : LABEL arch=amd64 10:12:59 ---> Running in 29776a4e77c4 10:12:59 Removing intermediate container 29776a4e77c4 10:12:59 ---> 7eca0ce4623b 10:12:59 Step 26/27 : LABEL git_sha=5a500f3af249ca31a50e6950c78d688de8286884 10:12:59 ---> Running in 5e0f2c972b1a 10:12:59 Removing intermediate container 5e0f2c972b1a 10:12:59 ---> b65bc35c27ee 10:12:59 Step 27/27 : LABEL version=0.0.0 10:12:59 ---> Running in 23b08da366cf 10:13:00 Removing intermediate container 23b08da366cf 10:13:00 ---> 803a9aab9853 10:13:00 [Warning] One or more build-args [ARCH] were not consumed 10:13:00 Successfully built 803a9aab9853 10:13:00 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 10:13:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:00 10:13:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:00 latest: Pulling from edgex-lftools-log-publisher 10:13:00 5eb5b503b376: Pulling fs layer 10:13:00 5c69ac0246d0: Pulling fs layer 10:13:00 ec43610c2a17: Pulling fs layer 10:13:00 3a2ae6a8a46f: Pulling fs layer 10:13:00 33b1e0a273af: Pulling fs layer 10:13:00 5d3b04190fa2: Pulling fs layer 10:13:00 2f39f015ded8: Pulling fs layer 10:13:00 3a2ae6a8a46f: Waiting 10:13:00 33b1e0a273af: Waiting 10:13:00 5d3b04190fa2: Waiting 10:13:00 2f39f015ded8: Waiting 10:13:00 5c69ac0246d0: Download complete 10:13:00 3a2ae6a8a46f: Verifying Checksum 10:13:00 3a2ae6a8a46f: Download complete 10:13:00 33b1e0a273af: Verifying Checksum 10:13:00 33b1e0a273af: Download complete 10:13:00 5d3b04190fa2: Verifying Checksum 10:13:00 5d3b04190fa2: Download complete 10:13:00 ec43610c2a17: Verifying Checksum 10:13:00 ec43610c2a17: Download complete 10:13:01 5eb5b503b376: Verifying Checksum 10:13:01 5eb5b503b376: Download complete 10:13:01 2f39f015ded8: Download complete 10:13:02 5eb5b503b376: Pull complete 10:13:02 5c69ac0246d0: Pull complete 10:13:02 ec43610c2a17: Pull complete 10:13:02 3a2ae6a8a46f: Pull complete 10:13:03 33b1e0a273af: Pull complete 10:13:03 5d3b04190fa2: Pull complete 10:13:07 2f39f015ded8: Pull complete 10:13:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:13:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:07 prd-ubuntu20.04-docker-8c-8g-29041 does not seem to be running inside a container 10:13:07 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:13:08 $ docker top 2b68f54e17df518f1cc292b3973766ab6f4e53d92251a5f82697aefd8ee6398b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:08 ---> job-cost.sh 10:13:08 lf-activate-venv: SKIPPING 10:13:08 INFO: No Stack... 10:13:09 INFO: Retrieving Pricing Info for: v3-standard-8 10:13:09 INFO: Archiving Costs [Pipeline] sh 10:13:10 + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv 10:13:10 + cut -d, -f6 [Pipeline] lock 10:13:10 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] 10:13:10 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] did not exist. Created. 10:13:10 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:10 + echo total: 0.2199999988079071 [Pipeline] stash 10:13:10 Stashed 1 file(s) [Pipeline] } 10:13:10 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] [Pipeline] // lock [Pipeline] } 10:13:10 $ docker stop --time=1 2b68f54e17df518f1cc292b3973766ab6f4e53d92251a5f82697aefd8ee6398b 10:13:11 $ docker rm -f 2b68f54e17df518f1cc292b3973766ab6f4e53d92251a5f82697aefd8ee6398b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:16:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29044 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws 10:16:55 Running in /w/workspace/device-onvif-camera/13 [Pipeline] { [Pipeline] checkout 10:16:55 Selected Git installation does not exist. Using Default 10:16:55 The recommended git tool is: NONE 10:17:01 using credential edgex-jenkins-ssh 10:17:01 Cloning the remote Git repository 10:17:01 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:17:01 > git init /w/workspace/device-onvif-camera/13 # timeout=10 10:17:01 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:17:01 > git --version # timeout=10 10:17:01 > git --version # 'git version 2.25.1' 10:17:01 using GIT_SSH to set credentials SSH Credentials for GitHub 10:17:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:17:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:17:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:17:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:17:03 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:17:03 using GIT_SSH to set credentials SSH Credentials for GitHub 10:17:03 > 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 10:17:04 Merging remotes/origin/main commit 35e36fe490a7d7a1e97f3b24aeec797b9423c911 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 10:17:04 Merge succeeded, producing 27a02180d062f98e024e154abdcad3026828c88f 10:17:04 Checking out Revision 27a02180d062f98e024e154abdcad3026828c88f (PR-125) 10:17:04 > git config core.sparsecheckout # timeout=10 10:17:04 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 10:17:04 > git remote # timeout=10 10:17:04 > git config --get remote.origin.url # timeout=10 10:17:04 using GIT_SSH to set credentials SSH Credentials for GitHub 10:17:04 > git merge 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 10:17:04 > git rev-parse HEAD^{commit} # timeout=10 10:17:04 > git config core.sparsecheckout # timeout=10 10:17:04 > git checkout -f 27a02180d062f98e024e154abdcad3026828c88f # timeout=10 10:17:09 Commit message: "Merge commit '35e36fe490a7d7a1e97f3b24aeec797b9423c911' into HEAD" 10:17:09 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:17:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:17:10 % Total % Received % Xferd Average Speed Time Time Time Current 10:17:10 Dload Upload Total Spent Left Speed 10:17:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 10:17:09 > git rev-list --no-walk 4011d92071821723e5beaaf815fca455878a89cc # timeout=10 10:17:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:17:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:17:11 + sudo tee /etc/docker/daemon.new 10:17:11 { 10:17:11 "registry-mirrors": [ 10:17:11 "https://nexus3.edgexfoundry.org:10001" 10:17:11 ], 10:17:11 "bip": "10.250.0.254/24", 10:17:11 "hosts": [ 10:17:11 "tcp://0.0.0.0:5555", 10:17:11 "unix:///var/run/docker.sock" 10:17:11 ], 10:17:11 "mtu": 1458, 10:17:11 "selinux-enabled": true, 10:17:11 "seccomp-profile": "/etc/docker/seccomp.json" 10:17:11 } [Pipeline] sh 10:17:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:17:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:17:30 provisioning config files... 10:17:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/13@tmp/config489604517265035259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:17:31 ---> docker-login.sh 10:17:31 nexus3.edgexfoundry.org:10001 10:17:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:32 Configure a credential helper to remove this warning. See 10:17:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:32 10:17:32 Login Succeeded 10:17:32 nexus3.edgexfoundry.org:10002 10:17:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:32 Configure a credential helper to remove this warning. See 10:17:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:32 10:17:32 Login Succeeded 10:17:32 nexus3.edgexfoundry.org:10003 10:17:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:33 Configure a credential helper to remove this warning. See 10:17:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:33 10:17:33 Login Succeeded 10:17:33 nexus3.edgexfoundry.org:10004 10:17:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:33 Configure a credential helper to remove this warning. See 10:17:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:33 10:17:33 Login Succeeded 10:17:33 docker.io 10:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:34 Configure a credential helper to remove this warning. See 10:17:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:34 10:17:34 Login Succeeded 10:17:34 ---> docker-login.sh ends [Pipeline] } 10:17:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:17:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:17:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:17:35 ========================================================= 10:17:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:17:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 10:17:36 Sending build context to Docker daemon 14.13MB 10:17:36 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:17:36 Step 2/13 : FROM ${BASE} AS builder 10:17:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:17:36 b3c136eddcbf: Pulling fs layer 10:17:36 c0a3192eca97: Pulling fs layer 10:17:36 a050256f5b6f: Pulling fs layer 10:17:36 656be50a0ddc: Pulling fs layer 10:17:36 2bbca73fdf42: Pulling fs layer 10:17:36 46d945488cbd: Pulling fs layer 10:17:36 8a5474983e97: Pulling fs layer 10:17:36 329c88fbcd65: Pulling fs layer 10:17:36 656be50a0ddc: Waiting 10:17:36 2bbca73fdf42: Waiting 10:17:36 46d945488cbd: Waiting 10:17:36 8a5474983e97: Waiting 10:17:36 329c88fbcd65: Waiting 10:17:36 a050256f5b6f: Verifying Checksum 10:17:36 a050256f5b6f: Download complete 10:17:36 c0a3192eca97: Verifying Checksum 10:17:36 c0a3192eca97: Download complete 10:17:36 2bbca73fdf42: Verifying Checksum 10:17:36 2bbca73fdf42: Download complete 10:17:36 b3c136eddcbf: Verifying Checksum 10:17:36 46d945488cbd: Verifying Checksum 10:17:36 b3c136eddcbf: Download complete 10:17:36 46d945488cbd: Download complete 10:17:37 b3c136eddcbf: Pull complete 10:17:37 329c88fbcd65: Verifying Checksum 10:17:37 329c88fbcd65: Download complete 10:17:38 c0a3192eca97: Pull complete 10:17:38 a050256f5b6f: Pull complete 10:17:39 8a5474983e97: Verifying Checksum 10:17:39 8a5474983e97: Download complete 10:17:39 656be50a0ddc: Verifying Checksum 10:17:39 656be50a0ddc: Download complete 10:17:54 656be50a0ddc: Pull complete 10:17:54 2bbca73fdf42: Pull complete 10:17:54 46d945488cbd: Pull complete 10:18:00 8a5474983e97: Pull complete 10:18:02 329c88fbcd65: Pull complete 10:18:02 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 10:18:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:18:02 ---> ff4287adb874 10:18:02 Step 3/13 : ARG MAKE="make build" 10:18:04 ---> Running in 461f07cfcf66 10:18:04 Removing intermediate container 461f07cfcf66 10:18:04 ---> a085111250b8 10:18:04 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:18:04 ---> Running in 0d19b994ef5c 10:18:05 Removing intermediate container 0d19b994ef5c 10:18:05 ---> 1dc2eeea359f 10:18:05 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:18:05 ---> Running in 8a30d88a1486 10:18:05 Removing intermediate container 8a30d88a1486 10:18:05 ---> bf25fbf99000 10:18:05 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:18:05 ---> Running in 7d93c4142051 10:18:05 Removing intermediate container 7d93c4142051 10:18:05 ---> f2336f7936e9 10:18:05 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:18:05 ---> Running in d4a824810c46 10:18:07 Removing intermediate container d4a824810c46 10:18:07 ---> 4745bef2c5b2 10:18:07 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:18:07 ---> Running in 0598a828f0ea 10:18:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:18:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:18:10 OK: 221 MiB in 51 packages 10:18:11 Removing intermediate container 0598a828f0ea 10:18:11 ---> 8fb2b2bd6666 10:18:11 Step 9/13 : WORKDIR /device-onvif-camera 10:18:11 ---> Running in b148f79aec53 10:18:12 Removing intermediate container b148f79aec53 10:18:12 ---> a81ca2d4066d 10:18:12 Step 10/13 : COPY go.mod vendor* ./ 10:18:12 ---> 42973a6c2887 10:18:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:18:12 ---> Running in 7c8dc76a7a36 10:19:09 Removing intermediate container 7c8dc76a7a36 10:19:09 ---> 30e0ab5f98d4 10:19:09 Step 12/13 : COPY . . 10:19:09 ---> 27ed41ae7ba7 10:19:09 Step 13/13 : RUN ${MAKE} 10:19:09 ---> Running in 73fb245e7b26 10:19:09 noop 10:19:09 Removing intermediate container 73fb245e7b26 10:19:09 ---> 5e3e8d56a682 10:19:09 Successfully built 5e3e8d56a682 10:19:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:09 + docker inspect -f . ci-base-image-arm64 10:19:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:09 prd-ubuntu20.04-docker-arm64-4c-16g-29044 does not seem to be running inside a container 10:19:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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 10:19:11 $ docker top 2d6ca3b918da8538f6d15cc079d5a8ffbfd8e797347480b578a820174c559136 -eo pid,comm [Pipeline] { [Pipeline] sh 10:19:12 + go version 10:19:12 go version go1.18.3 linux/arm64 [Pipeline] } 10:19:12 $ docker stop --time=1 2d6ca3b918da8538f6d15cc079d5a8ffbfd8e797347480b578a820174c559136 10:19:13 $ docker rm -f 2d6ca3b918da8538f6d15cc079d5a8ffbfd8e797347480b578a820174c559136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:14 + docker inspect -f . ci-base-image-arm64 10:19:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:14 prd-ubuntu20.04-docker-arm64-4c-16g-29044 does not seem to be running inside a container 10:19:14 $ 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/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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 10:19:16 $ docker top e32c9587f61b2f881f67143edd67d8f73af5f333d1afacae76a3cc0f531514ba -eo pid,comm [Pipeline] { [Pipeline] sh 10:19:17 + git config --global --add safe.directory /w/workspace/device-onvif-camera/13 [Pipeline] fileExists [Pipeline] sh 10:19:17 + make test 10:19:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:19:19 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:20:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:21:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.180s coverage: 28.6% of statements 10:21:01 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:21:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 36.232s coverage: 13.8% of statements 10:21:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:21:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:21:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:21:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:21:56 ./bin/test-attribution-txt.sh [Pipeline] echo 10:21:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:21:56 $ docker stop --time=1 e32c9587f61b2f881f67143edd67d8f73af5f333d1afacae76a3cc0f531514ba 10:21:58 $ docker rm -f e32c9587f61b2f881f67143edd67d8f73af5f333d1afacae76a3cc0f531514ba [Pipeline] // withDockerContainer [Pipeline] sh 10:21:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:21:59 Warning: overwriting stash ‘coverage-report’ 10:21:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:22:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:22:00 + ls -al . 10:22:00 total 228 10:22:00 drwxrwxr-x 9 jenkins jenkins 4096 Sep 13 10:19 . 10:22:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:17 .. 10:22:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 13 10:17 .git 10:22:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 13 10:17 .github 10:22:00 -rw-rw-r-- 1 jenkins jenkins 418 Sep 13 10:17 .gitignore 10:22:00 -rw-rw-r-- 1 jenkins jenkins 42 Sep 13 10:17 .golangci.yml 10:22:00 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 13 10:17 Attribution.txt 10:22:00 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 13 10:17 CHANGELOG.md 10:22:00 -rw-rw-r-- 1 jenkins jenkins 1742 Sep 13 10:17 Dockerfile 10:22:00 -rw-rw-r-- 1 jenkins jenkins 677 Sep 13 10:17 GOVERNANCE.md 10:22:00 -rw-rw-r-- 1 jenkins jenkins 734 Sep 13 10:17 Jenkinsfile 10:22:00 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 13 10:17 LICENSE 10:22:00 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 13 10:17 Makefile 10:22:00 -rw-rw-r-- 1 jenkins jenkins 625 Sep 13 10:17 OWNERS.md 10:22:00 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 13 10:17 README.md 10:22:00 -rw-rw-r-- 1 jenkins jenkins 5 Sep 13 10:11 VERSION 10:22:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 13 10:17 bin 10:22:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 13 10:17 cmd 10:22:00 -rw-r--r-- 1 jenkins jenkins 77283 Sep 13 10:21 coverage.out 10:22:00 drwxrwxr-x 6 jenkins jenkins 4096 Sep 13 10:17 doc 10:22:00 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 13 10:17 go.mod 10:22:00 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 13 10:17 go.sum 10:22:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:17 internal 10:22:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 10:17 snap 10:22:00 -rw-rw-r-- 1 jenkins jenkins 236 Sep 13 10:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:00 + 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=27a02180d062f98e024e154abdcad3026828c88f --label arch=arm64 --label version=0.0.0 . 10:22:01 Sending build context to Docker daemon 14.21MB 10:22:01 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 10:22:01 Step 2/27 : FROM ${BASE} AS builder 10:22:01 ---> 5e3e8d56a682 10:22:01 Step 3/27 : ARG MAKE="make build" 10:22:01 ---> Running in 22dc8e5a701f 10:22:01 Removing intermediate container 22dc8e5a701f 10:22:01 ---> a9347c46b475 10:22:01 Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:22:01 ---> Running in d23bc7708911 10:22:02 Removing intermediate container d23bc7708911 10:22:02 ---> 5ee46427b6a2 10:22:02 Step 5/27 : ARG ALPINE_PKG_EXTRA="" 10:22:02 ---> Running in 54e2c0dc2ee9 10:22:02 Removing intermediate container 54e2c0dc2ee9 10:22:02 ---> 604467cfbd3e 10:22:02 Step 6/27 : LABEL Name=edgex-device-onvif-camera 10:22:02 ---> Running in cc8c77ab03e0 10:22:03 Removing intermediate container cc8c77ab03e0 10:22:03 ---> c28329a4760c 10:22:03 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:22:03 ---> Running in e2f3007a7420 10:22:05 Removing intermediate container e2f3007a7420 10:22:05 ---> 193336bba6e1 10:22:05 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:22:05 ---> Running in b757938b406c 10:22:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:22:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:22:07 OK: 221 MiB in 51 packages 10:22:08 Removing intermediate container b757938b406c 10:22:08 ---> 7b3c6387f454 10:22:08 Step 9/27 : WORKDIR /device-onvif-camera 10:22:08 ---> Running in 714e197f25b0 10:22:09 Removing intermediate container 714e197f25b0 10:22:09 ---> 2b571dee1783 10:22:09 Step 10/27 : COPY go.mod vendor* ./ 10:22:09 ---> 40ec6a2ea536 10:22:09 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:22:09 ---> Running in adac7c79541c 10:22:12 Removing intermediate container adac7c79541c 10:22:12 ---> ffeb231c4862 10:22:12 Step 12/27 : COPY . . 10:22:13 ---> edff3b0c7de1 10:22:13 Step 13/27 : RUN ${MAKE} 10:22:13 ---> Running in ec64e87ed4f7 10:22:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 10:24:36 Removing intermediate container ec64e87ed4f7 10:24:36 ---> 4080b440461c 10:24:36 Step 14/27 : FROM alpine:3.16 10:24:36 3.16: Pulling from library/alpine 10:24:36 9b18e9b68314: Pulling fs layer 10:24:36 9b18e9b68314: Verifying Checksum 10:24:36 9b18e9b68314: Download complete 10:24:36 9b18e9b68314: Pull complete 10:24:36 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:24:36 Status: Downloaded newer image for alpine:3.16 10:24:36 ---> a6215f271958 10:24:36 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:24:36 ---> Running in 65271f9a8677 10:24:36 Removing intermediate container 65271f9a8677 10:24:36 ---> fb05d4bea2c3 10:24:36 Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 10:24:36 ---> Running in 00d4ea0222b2 10:24:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:24:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:24:36 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 10:24:36 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 10:24:36 (3/21) Installing readline (8.1.2-r0) 10:24:36 (4/21) Installing bash (5.1.16-r2) 10:24:36 Executing bash-5.1.16-r2.post-install 10:24:36 (5/21) Installing ca-certificates (20220614-r0) 10:24:36 (6/21) Installing brotli-libs (1.0.9-r6) 10:24:36 (7/21) Installing nghttp2-libs (1.47.0-r0) 10:24:36 (8/21) Installing libcurl (7.83.1-r3) 10:24:36 (9/21) Installing curl (7.83.1-r3) 10:24:36 (10/21) Installing dumb-init (1.2.5-r1) 10:24:36 (11/21) Installing oniguruma (6.9.8-r0) 10:24:36 (12/21) Installing jq (1.6-r1) 10:24:36 (13/21) Installing popt (1.18-r0) 10:24:36 (14/21) Installing pcre (8.45-r2) 10:24:36 (15/21) Installing slang (2.3.2-r0) 10:24:36 (16/21) Installing newt (0.52.21-r2) 10:24:36 (17/21) Installing libgcc (11.2.1_git20220219-r2) 10:24:36 (18/21) Installing libsodium (1.0.18-r0) 10:24:36 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 10:24:36 (20/21) Installing libzmq (4.3.4-r0) 10:24:36 (21/21) Installing zeromq (4.3.4-r0) 10:24:36 Executing busybox-1.35.0-r17.trigger 10:24:36 Executing ca-certificates-20220614-r0.trigger 10:24:36 OK: 16 MiB in 35 packages 10:24:36 Removing intermediate container 00d4ea0222b2 10:24:36 ---> d02113ce3420 10:24:36 Step 17/27 : WORKDIR / 10:24:36 ---> Running in 408b1f797651 10:24:36 Removing intermediate container 408b1f797651 10:24:36 ---> be1613085588 10:24:36 Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / 10:24:36 ---> f504b82c10de 10:24:36 Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / 10:24:36 ---> c8a0c863ac02 10:24:36 Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:24:36 ---> 1778fae261eb 10:24:36 Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ 10:24:36 ---> 4b8694bd0044 10:24:36 Step 22/27 : EXPOSE 59984 10:24:36 ---> Running in 51bbc0ad4c22 10:24:36 Removing intermediate container 51bbc0ad4c22 10:24:36 ---> dbd62c3ff9c5 10:24:36 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 10:24:36 ---> Running in c439b959ceba 10:24:36 Removing intermediate container c439b959ceba 10:24:36 ---> 5a460c7490a2 10:24:36 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:24:36 ---> Running in 8d5782085392 10:24:36 Removing intermediate container 8d5782085392 10:24:36 ---> 565f8f687866 10:24:36 Step 25/27 : LABEL arch=arm64 10:24:36 ---> Running in 8c22947641b0 10:24:36 Removing intermediate container 8c22947641b0 10:24:36 ---> afec80611bbe 10:24:36 Step 26/27 : LABEL git_sha=27a02180d062f98e024e154abdcad3026828c88f 10:24:36 ---> Running in f4ba78c5552d 10:24:36 Removing intermediate container f4ba78c5552d 10:24:36 ---> 138c266d0520 10:24:36 Step 27/27 : LABEL version=0.0.0 10:24:36 ---> Running in fa5ffb9293b6 10:24:36 Removing intermediate container fa5ffb9293b6 10:24:36 ---> 8fe7b54560e5 10:24:36 [Warning] One or more build-args [ARCH] were not consumed 10:24:36 Successfully built 8fe7b54560e5 10:24:36 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:24:37 10:24:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:24:37 arm64: Pulling from edgex-lftools-log-publisher 10:24:37 8998bd30e6a1: Pulling fs layer 10:24:37 04944245beec: Pulling fs layer 10:24:37 699f458cf7ca: Pulling fs layer 10:24:37 765212b225bb: Pulling fs layer 10:24:37 f23df028b6ca: Pulling fs layer 10:24:37 d65c8cfc05b1: Pulling fs layer 10:24:37 2437ff75d9bd: Pulling fs layer 10:24:37 f23df028b6ca: Waiting 10:24:37 d65c8cfc05b1: Waiting 10:24:37 2437ff75d9bd: Waiting 10:24:37 765212b225bb: Waiting 10:24:37 04944245beec: Verifying Checksum 10:24:37 04944245beec: Download complete 10:24:37 765212b225bb: Download complete 10:24:37 f23df028b6ca: Download complete 10:24:37 d65c8cfc05b1: Verifying Checksum 10:24:37 d65c8cfc05b1: Download complete 10:24:37 699f458cf7ca: Verifying Checksum 10:24:37 699f458cf7ca: Download complete 10:24:38 8998bd30e6a1: Verifying Checksum 10:24:38 8998bd30e6a1: Download complete 10:24:40 2437ff75d9bd: Verifying Checksum 10:24:40 2437ff75d9bd: Download complete 10:24:42 8998bd30e6a1: Pull complete 10:24:43 04944245beec: Pull complete 10:24:44 699f458cf7ca: Pull complete 10:24:44 765212b225bb: Pull complete 10:24:45 f23df028b6ca: Pull complete 10:24:45 d65c8cfc05b1: Pull complete 10:25:04 2437ff75d9bd: Pull complete 10:25:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:25:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:25:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:25:04 prd-ubuntu20.04-docker-arm64-4c-16g-29044 does not seem to be running inside a container 10:25:04 $ 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/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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 10:25:07 $ docker top 4aa2f98965ee41ba216c98838add544bbdd738947635cfe2180041f449f37c0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:25:08 ---> job-cost.sh 10:25:08 lf-activate-venv: SKIPPING 10:25:08 INFO: No Stack... 10:25:08 INFO: Retrieving Pricing Info for: v3-standard-4 10:25:09 INFO: Archiving Costs [Pipeline] sh 10:25:10 + cut -d, -f6 10:25:10 + cat /w/workspace/device-onvif-camera/13/archives/cost.csv [Pipeline] lock 10:25:10 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] 10:25:10 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] did not exist. Created. 10:25:10 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:25:11 /w/workspace/device-onvif-camera/13@tmp/durable-279a236c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:25:11 + echo total: 0.10999999940395355 [Pipeline] stash 10:25:11 Warning: overwriting stash ‘stack-cost’ 10:25:11 Stashed 1 file(s) [Pipeline] } 10:25:11 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-13-stack-cost] [Pipeline] // lock [Pipeline] } 10:25:11 $ docker stop --time=1 4aa2f98965ee41ba216c98838add544bbdd738947635cfe2180041f449f37c0b 10:25:13 $ docker rm -f 4aa2f98965ee41ba216c98838add544bbdd738947635cfe2180041f449f37c0b [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 10:25:13 provisioning config files... 10:25:13 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config6090526349734344333tmp [Pipeline] { [Pipeline] sh 10:25:14 + set +x 10:25:14 + bash -s -- 10:25:14 + curl -s https://codecov.io/bash 10:25:14 10:25:14 _____ _ 10:25:14 / ____| | | 10:25:14 | | ___ __| | ___ ___ _____ __ 10:25:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:25:14 | |___| (_) | (_| | __/ (_| (_) \ V / 10:25:14 \_____\___/ \__,_|\___|\___\___/ \_/ 10:25:14 Bash-1.0.6 10:25:14 10:25:14 10:25:14 ==> git version 2.25.1 found 10:25:14 ==> 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 10:25:14 Release-Date: 2020-01-08 10:25:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:25:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:25:14 ==> Jenkins CI detected. 10:25:14 current dir:  /w/workspace/undry_device-onvif-camera_PR-125 10:25:14 project root: . 10:25:14 --> token set from env 10:25:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:25:14 ==> Running gcov in . (disable via -X gcov) 10:25:14 ==> Python coveragepy not found 10:25:14 ==> Searching for coverage reports in: 10:25:14 + . 10:25:14 -> Found 1 reports 10:25:14 ==> Detecting git/mercurial file structure 10:25:14 ==> Reading reports 10:25:14 + ./coverage.out bytes=77283 10:25:14 ==> Appending adjustments 10:25:14 https://docs.codecov.io/docs/fixing-reports 10:25:14 + Found adjustments 10:25:14 ==> Gzipping contents 10:25:14 12K /tmp/codecov.4le6qx.gz 10:25:14 ==> Uploading reports 10:25:14 url: https://codecov.io 10:25:14 query: branch=PR-125&commit=5a500f3af249ca31a50e6950c78d688de8286884&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 10:25:14 -> Pinging Codecov 10:25:14 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=5a500f3af249ca31a50e6950c78d688de8286884&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 10:25:14 -> Uploading to 10:25:14 https://storage.googleapis.com/codecov/v4/raw/2022-09-13/F29A59C45E3A92E06B3E522C9905F8EF/5a500f3af249ca31a50e6950c78d688de8286884/94464581-55eb-4254-b389-583e5688b941.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220913%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220913T102514Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a69e033ade07b4c93172109160e12acf454e6d9ada3655e315f5b2265882a86e 10:25:14 % Total % Received % Xferd Average Speed Time Time Time Current 10:25:14 Dload Upload Total Spent Left Speed 10:25:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10569 0 0 100 10569 0 41940 --:--:-- --:--:-- --:--:-- 41940 10:25:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/5a500f3af249ca31a50e6950c78d688de8286884 [Pipeline] } 10:25:15 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 10:25:15 + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] 10:25:15 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 10:25:15 total 16 10:25:15 drwxr-xr-x 3 root root 4096 Sep 13 10:13 . 10:25:15 drwxrwxr-x 11 jenkins jenkins 4096 Sep 13 10:13 .. 10:25:15 drwxr-xr-x 2 root root 4096 Sep 13 10:13 cost 10:25:15 -rw-r--r-- 1 root root 92 Sep 13 10:13 cost.csv 10:25:15 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives 10:25:15 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 10:25:15 total 16 10:25:15 drwxr-xr-x 3 jenkins jenkins 4096 Sep 13 10:13 . 10:25:15 drwxrwxr-x 11 jenkins jenkins 4096 Sep 13 10:13 .. 10:25:15 drwxr-xr-x 2 jenkins jenkins 4096 Sep 13 10:13 cost 10:25:15 -rw-r--r-- 1 jenkins jenkins 92 Sep 13 10:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:25:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:25:16 ---> package-listing.sh 10:25:16 ++ facter osfamily 10:25:16 ++ tr '[:upper:]' '[:lower:]' 10:25:17 + OS_FAMILY=debian 10:25:17 + workspace=/w/workspace/undry_device-onvif-camera_PR-125 10:25:17 + START_PACKAGES=/tmp/packages_start.txt 10:25:17 + END_PACKAGES=/tmp/packages_end.txt 10:25:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:25:17 + PACKAGES=/tmp/packages_start.txt 10:25:17 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 10:25:17 + PACKAGES=/tmp/packages_end.txt 10:25:17 + case "${OS_FAMILY}" in 10:25:17 + dpkg -l 10:25:17 + grep '^ii' 10:25:17 + '[' -f /tmp/packages_start.txt ']' 10:25:17 + '[' -f /tmp/packages_end.txt ']' 10:25:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:25:17 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 10:25:17 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ 10:25:17 + 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 10:25:17 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 10:25:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:25:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:25:18 prd-ubuntu20.04-docker-8c-8g-29041 does not seem to be running inside a container 10:25:18 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:25:18 $ docker top 913fc33e260705f8421070cc9d10fd8adaebc3026475a049602b817129ddca29 -eo pid,comm [Pipeline] { [Pipeline] sh 10:25:18 + touch /tmp/pre-build-complete [Pipeline] sh 10:25:19 + mkdir -p /var/log/sysstat [Pipeline] sh 10:25:19 + ls /var/log/sa-host 10:25:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:25:19 provisioning config files... 10:25:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config5277936588233380056tmp [Pipeline] { [Pipeline] echo 10:25:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:25:19 ---> create-netrc.sh [Pipeline] } 10:25:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:25:20 ---> python-tools-install.sh [Pipeline] echo 10:25:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:25:20 ---> sudo-logs.sh 10:25:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:25:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:25:20 ---> job-cost.sh 10:25:20 lf-activate-venv: SKIPPING 10:25:20 DEBUG: total: 0.2199999988079071 10:25:20 INFO: Retrieving Stack Cost... 10:25:20 INFO: Retrieving Pricing Info for: v3-standard-8 10:25:21 INFO: Archiving Costs [Pipeline] echo 10:25:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:25:21 ---> logs-deploy.sh 10:25:21 lf-activate-venv: SKIPPING 10:25:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/13 10:25:21 INFO: archiving workspace using pattern(s): 10:25:22 Archives upload complete. 10:25:22 INFO: archiving logs to Nexus 10:25:23 ---> uname -a: 10:25:23 Linux prd-ubuntu20-04-docker-8c-8g-29041 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 10:25:23 10:25:23 10:25:23 ---> lscpu: 10:25:23 Architecture: x86_64 10:25:23 CPU op-mode(s): 32-bit, 64-bit 10:25:23 Byte Order: Little Endian 10:25:23 Address sizes: 40 bits physical, 48 bits virtual 10:25:23 CPU(s): 8 10:25:23 On-line CPU(s) list: 0-7 10:25:23 Thread(s) per core: 1 10:25:23 Core(s) per socket: 1 10:25:23 Socket(s): 8 10:25:23 NUMA node(s): 1 10:25:23 Vendor ID: AuthenticAMD 10:25:23 CPU family: 23 10:25:23 Model: 49 10:25:23 Model name: AMD EPYC-Rome Processor 10:25:23 Stepping: 0 10:25:23 CPU MHz: 2799.998 10:25:23 BogoMIPS: 5599.99 10:25:23 Virtualization: AMD-V 10:25:23 Hypervisor vendor: KVM 10:25:23 Virtualization type: full 10:25:23 L1d cache: 256 KiB 10:25:23 L1i cache: 256 KiB 10:25:23 L2 cache: 4 MiB 10:25:23 L3 cache: 128 MiB 10:25:23 NUMA node0 CPU(s): 0-7 10:25:23 Vulnerability Itlb multihit: Not affected 10:25:23 Vulnerability L1tf: Not affected 10:25:23 Vulnerability Mds: Not affected 10:25:23 Vulnerability Meltdown: Not affected 10:25:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:25:23 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:25:23 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:25:23 Vulnerability Srbds: Not affected 10:25:23 Vulnerability Tsx async abort: Not affected 10:25:23 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 10:25:23 10:25:23