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 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 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-ssh12383678714062344884.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-ssh958034110546583481.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-ssh12190542520335048864.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-ssh5604575525594848736.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-ssh18201816379052513696.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-23538 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 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Merging remotes/origin/main commit 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c Checking out Revision d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c (PR-125) > 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 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c # timeout=10 Commit message: "Merge commit '5e91d4f85419f84dfbfc8f3e713bc0113c4e4412' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:11:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:11:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:11:25 ========================================================= 10:11:25 EdgeX Global Pipelines Version Info 10:11:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 54a616185e58ca27ef124d4b0ab3c0f1615a7fbe # timeout=10 10:11:26 ------------------- 10:11:26 stable info: 10:11:26 ------------------- 10:11:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:11:26 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:11:26 Message: update stable to v1.0.239 10:11:27 ------------------- 10:11:27 experimental info: 10:11:27 ------------------- 10:11:27 Commited By: **** collab-it+edgex@linuxfoundation.org 10:11:27 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:11:27 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8a4d0d [Pipeline] echo 10:11:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:11:27 provisioning config files... 10:11:28 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config5345575544808607497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:28 ---> docker-login.sh 10:11:28 nexus3.edgexfoundry.org:10001 10:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:28 Configure a credential helper to remove this warning. See 10:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:28 10:11:28 Login Succeeded 10:11:28 nexus3.edgexfoundry.org:10002 10:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:28 Configure a credential helper to remove this warning. See 10:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:28 10:11:28 Login Succeeded 10:11:28 nexus3.edgexfoundry.org:10003 10:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:28 Configure a credential helper to remove this warning. See 10:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:28 10:11:28 Login Succeeded 10:11:28 nexus3.edgexfoundry.org:10004 10:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:29 Configure a credential helper to remove this warning. See 10:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:29 10:11:29 Login Succeeded 10:11:29 docker.io 10:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:29 Configure a credential helper to remove this warning. See 10:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:29 10:11:29 Login Succeeded 10:11:29 ---> docker-login.sh ends [Pipeline] } 10:11:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:11:29 + git rev-list -1 --merges d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c~1..d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c [Pipeline] echo 10:11:29 -----------> git rev-list -1 --merges d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c~1..d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c 10:11:29 d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c [false] [Pipeline] sh 10:11:30 + git log --format=format:%s -1 d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c [Pipeline] echo 10:11:30 ========================================================= 10:11:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:11:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:11:30 + git log --format=format:%s -1 d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c [Pipeline] echo 10:11:30 [semverPrep] GIT_COMMIT: d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c, Commit Message: Merge commit '5e91d4f85419f84dfbfc8f3e713bc0113c4e4412' into HEAD [Pipeline] echo 10:11:30 [semverPrep] This is not a build commit. [Pipeline] sh 10:11:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:11:30 + grep -v github /etc/ssh/ssh_known_hosts 10:11:30 + [ -e /tmp/ssh_known_hosts ] 10:11:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:11:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:11:30 + sudo tee -a /etc/ssh/ssh_known_hosts 10:11:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:11:31 10:11:31 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:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:11:31 0.1.4: Pulling from edgex-devops/py-git-semver 10:11:31 b85a868b505f: Pulling fs layer 10:11:31 e2be974225ed: Pulling fs layer 10:11:31 339a4e72a1f5: Pulling fs layer 10:11:31 988bab9f4d93: Pulling fs layer 10:11:31 1469e6f7b9e6: Pulling fs layer 10:11:31 988bab9f4d93: Waiting 10:11:31 1469e6f7b9e6: Waiting 10:11:31 eaf3925da568: Pulling fs layer 10:11:31 bab4dde63d76: Pulling fs layer 10:11:31 bde34c3a00c8: Pulling fs layer 10:11:31 b352a97aabf1: Pulling fs layer 10:11:31 bab4dde63d76: Waiting 10:11:31 eaf3925da568: Waiting 10:11:31 bde34c3a00c8: Waiting 10:11:31 b352a97aabf1: Waiting 10:11:31 4872d77fe225: Pulling fs layer 10:11:31 5851b861e8e6: Pulling fs layer 10:11:31 4872d77fe225: Waiting 10:11:31 e2be974225ed: Download complete 10:11:31 988bab9f4d93: Download complete 10:11:31 1469e6f7b9e6: Verifying Checksum 10:11:31 1469e6f7b9e6: Download complete 10:11:31 eaf3925da568: Download complete 10:11:31 339a4e72a1f5: Verifying Checksum 10:11:31 339a4e72a1f5: Download complete 10:11:31 bde34c3a00c8: Download complete 10:11:31 b352a97aabf1: Verifying Checksum 10:11:31 b352a97aabf1: Download complete 10:11:31 4872d77fe225: Verifying Checksum 10:11:31 4872d77fe225: Download complete 10:11:31 5851b861e8e6: Verifying Checksum 10:11:31 5851b861e8e6: Download complete 10:11:31 b85a868b505f: Verifying Checksum 10:11:31 b85a868b505f: Download complete 10:11:32 bab4dde63d76: Verifying Checksum 10:11:32 bab4dde63d76: Download complete 10:11:33 b85a868b505f: Pull complete 10:11:33 e2be974225ed: Pull complete 10:11:33 339a4e72a1f5: Pull complete 10:11:33 988bab9f4d93: Pull complete 10:11:34 1469e6f7b9e6: Pull complete 10:11:34 eaf3925da568: Pull complete 10:11:35 bab4dde63d76: Pull complete 10:11:35 bde34c3a00c8: Pull complete 10:11:35 b352a97aabf1: Pull complete 10:11:36 4872d77fe225: Pull complete 10:11:36 5851b861e8e6: Pull complete 10:11:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:11:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:11:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:36 prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container 10:11:36 $ 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:37 $ docker top 5a2332646ba9b03ac45d46f63249ac62fed3cba1daf4713eb5e7e263a62aeaa6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:11:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:11:37 [ssh-agent] Looking for ssh-agent implementation... 10:11:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:11:38 $ docker exec 5a2332646ba9b03ac45d46f63249ac62fed3cba1daf4713eb5e7e263a62aeaa6 ssh-agent 10:11:38 SSH_AUTH_SOCK=/tmp/ssh-OlCMVPxOs9vM/agent.33 10:11:38 SSH_AGENT_PID=40 10:11:38 Running ssh-add (command line suppressed) 10:11:38 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4343719046100200394.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4343719046100200394.key) 10:11:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:11:38 + git tag --points-at HEAD [Pipeline] } 10:11:38 $ docker exec --env ******** --env ******** 5a2332646ba9b03ac45d46f63249ac62fed3cba1daf4713eb5e7e263a62aeaa6 ssh-agent -k 10:11:38 unset SSH_AUTH_SOCK; 10:11:38 unset SSH_AGENT_PID; 10:11:38 echo Agent pid 40 killed; 10:11:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:11:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:11:38 [ssh-agent] Looking for ssh-agent implementation... 10:11:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:11:38 $ docker exec 5a2332646ba9b03ac45d46f63249ac62fed3cba1daf4713eb5e7e263a62aeaa6 ssh-agent 10:11:39 SSH_AUTH_SOCK=/tmp/ssh-HeKqorJRtP6s/agent.74 10:11:39 SSH_AGENT_PID=80 10:11:39 Running ssh-add (command line suppressed) 10:11:39 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_2499566429547728920.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_2499566429547728920.key) 10:11:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:11:39 + git semver init 10:11:39 2022-08-25 10:11:39,779 [run_init] DEBUG init version:0.0.0 force:False 10:11:39 2022-08-25 10:11:39,779 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver 10:11:39 2022-08-25 10:11:39,780 [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:39 2022-08-25 10:11:39,780 [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:40 2022-08-25 10:11:40,581 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude 10:11:40 2022-08-25 10:11:40,582 [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:40 2022-08-25 10:11:40,582 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 10:11:40 2022-08-25 10:11:40,586 [execute] INFO git cat-file --batch-check 10:11:40 2022-08-25 10:11:40,586 [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:40 2022-08-25 10:11:40,592 [execute] INFO git cat-file --batch 10:11:40 2022-08-25 10:11:40,593 [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:40 2022-08-25 10:11:40,598 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 10:11:40 0.0.0 [Pipeline] } 10:11:40 $ docker exec --env ******** --env ******** 5a2332646ba9b03ac45d46f63249ac62fed3cba1daf4713eb5e7e263a62aeaa6 ssh-agent -k 10:11:40 unset SSH_AUTH_SOCK; 10:11:40 unset SSH_AGENT_PID; 10:11:40 echo Agent pid 80 killed; 10:11:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:11:41 + git semver [Pipeline] } 10:11:41 $ docker stop --time=1 5a2332646ba9b03ac45d46f63249ac62fed3cba1daf4713eb5e7e263a62aeaa6 10:11:42 $ docker rm -f 5a2332646ba9b03ac45d46f63249ac62fed3cba1daf4713eb5e7e263a62aeaa6 [Pipeline] // withDockerContainer [Pipeline] sh 10:11:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:11:43 Stashed 1 file(s) [Pipeline] echo 10:11:43 [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:43 provisioning config files... 10:11:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7357084219934537783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:43 ---> docker-login.sh 10:11:43 nexus3.edgexfoundry.org:10001 10:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:43 Configure a credential helper to remove this warning. See 10:11:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:43 10:11:43 Login Succeeded 10:11:43 nexus3.edgexfoundry.org:10002 10:11:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:44 Configure a credential helper to remove this warning. See 10:11:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:44 10:11:44 Login Succeeded 10:11:44 nexus3.edgexfoundry.org:10003 10:11:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:44 Configure a credential helper to remove this warning. See 10:11:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:44 10:11:44 Login Succeeded 10:11:44 nexus3.edgexfoundry.org:10004 10:11:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:44 Configure a credential helper to remove this warning. See 10:11:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:44 10:11:44 Login Succeeded 10:11:44 docker.io 10:11:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:44 Configure a credential helper to remove this warning. See 10:11:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:44 10:11:44 Login Succeeded 10:11:44 ---> docker-login.sh ends [Pipeline] } 10:11:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:11:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:44 ========================================================= 10:11:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:11:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:45 + 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:45 Sending build context to Docker daemon 20.59MB 10:11:45 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:11:45 Step 2/13 : FROM ${BASE} AS builder 10:11:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:11:45 2408cc74d12b: Pulling fs layer 10:11:45 ea60b727a1ce: Pulling fs layer 10:11:45 30c4a7721957: Pulling fs layer 10:11:45 370296b7ddb6: Pulling fs layer 10:11:45 7c6cee850709: Pulling fs layer 10:11:45 39a5fcdaea64: Pulling fs layer 10:11:45 d94ebbe4e438: Pulling fs layer 10:11:45 bcfd1f05c69d: Pulling fs layer 10:11:45 7c6cee850709: Waiting 10:11:45 39a5fcdaea64: Waiting 10:11:45 d94ebbe4e438: Waiting 10:11:45 370296b7ddb6: Waiting 10:11:45 bcfd1f05c69d: Waiting 10:11:45 59ccb84bbe0f: Pulling fs layer 10:11:45 59ccb84bbe0f: Waiting 10:11:45 30c4a7721957: Download complete 10:11:45 ea60b727a1ce: Verifying Checksum 10:11:45 ea60b727a1ce: Download complete 10:11:45 7c6cee850709: Download complete 10:11:45 39a5fcdaea64: Verifying Checksum 10:11:45 39a5fcdaea64: Download complete 10:11:45 2408cc74d12b: Verifying Checksum 10:11:45 2408cc74d12b: Download complete 10:11:45 d94ebbe4e438: Verifying Checksum 10:11:45 d94ebbe4e438: Download complete 10:11:45 2408cc74d12b: Pull complete 10:11:45 ea60b727a1ce: Pull complete 10:11:45 30c4a7721957: Pull complete 10:11:45 59ccb84bbe0f: Verifying Checksum 10:11:45 59ccb84bbe0f: Download complete 10:11:46 370296b7ddb6: Verifying Checksum 10:11:46 370296b7ddb6: Download complete 10:11:46 bcfd1f05c69d: Verifying Checksum 10:11:46 bcfd1f05c69d: Download complete 10:11:50 370296b7ddb6: Pull complete 10:11:50 7c6cee850709: Pull complete 10:11:50 39a5fcdaea64: Pull complete 10:11:50 d94ebbe4e438: Pull complete 10:11:52 bcfd1f05c69d: Pull complete 10:11:52 59ccb84bbe0f: Pull complete 10:11:52 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 10:11:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:11:52 ---> a4fb48ad2a94 10:11:52 Step 3/13 : ARG MAKE="make build" 10:11:54 ---> Running in 341f71dac6c9 10:11:54 Removing intermediate container 341f71dac6c9 10:11:54 ---> e579bccf9627 10:11:54 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:11:54 ---> Running in 47da0b8d57b7 10:11:54 Removing intermediate container 47da0b8d57b7 10:11:54 ---> 611fce411589 10:11:54 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:11:54 ---> Running in a1fa6133bc93 10:11:54 Removing intermediate container a1fa6133bc93 10:11:54 ---> 2b279be3a876 10:11:54 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:11:54 ---> Running in 0df354da17ad 10:11:54 Removing intermediate container 0df354da17ad 10:11:54 ---> 2a824071bccf 10:11:54 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:54 ---> Running in c333265dda68 10:11:55 Removing intermediate container c333265dda68 10:11:55 ---> 9925c8df8a84 10:11:55 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:55 ---> Running in 93a1267812bf 10:11:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:11:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:11:57 OK: 211 MiB in 51 packages 10:11:58 Removing intermediate container 93a1267812bf 10:11:58 ---> 6271626e4682 10:11:58 Step 9/13 : WORKDIR /device-onvif-camera 10:11:58 ---> Running in 8c8170bbb612 10:11:58 Removing intermediate container 8c8170bbb612 10:11:58 ---> 3657b4488cfe 10:11:58 Step 10/13 : COPY go.mod vendor* ./ 10:11:58 ---> 24131ac18f96 10:11:58 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:58 Still waiting to schedule task 10:11:58 ‘prd-ubuntu20.04-docker-arm64-4c-16g-23539’ is offline 10:11:58 ---> Running in 3e19f3dcc108 10:12:20 Removing intermediate container 3e19f3dcc108 10:12:20 ---> ef8e73ec9fa9 10:12:20 Step 12/13 : COPY . . 10:12:20 ---> 72507876e58f 10:12:20 Step 13/13 : RUN ${MAKE} 10:12:20 ---> Running in 67898c05cf10 10:12:20 noop 10:12:20 Removing intermediate container 67898c05cf10 10:12:20 ---> c17ed8fba485 10:12:20 Successfully built c17ed8fba485 10:12:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:20 + docker inspect -f . ci-base-image-x86_64 10:12:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:21 prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container 10:12:21 $ 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:21 $ docker top 5f67461d76b87d960b3c510040e43e2bac3afe32e4124d4247ad6de59f3b5dca -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:21 + go version 10:12:21 go version go1.18.3 linux/amd64 [Pipeline] } 10:12:21 $ docker stop --time=1 5f67461d76b87d960b3c510040e43e2bac3afe32e4124d4247ad6de59f3b5dca 10:12:23 $ docker rm -f 5f67461d76b87d960b3c510040e43e2bac3afe32e4124d4247ad6de59f3b5dca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:23 + docker inspect -f . ci-base-image-x86_64 10:12:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:12:23 prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container 10:12:23 $ 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:23 $ docker top 91e1f7ba35f295d233004dbb7d9b9db6e97fcc76ee096c8da1b89a8b78480402 -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:24 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh 10:12:24 + make test 10:12:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:12:24 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:12:34 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:12:34 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.026s coverage: 10.6% of statements 10:12:34 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:12:38 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.920s coverage: 13.8% of statements 10:12:44 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:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:12:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:12:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:12:48 ./bin/test-attribution-txt.sh [Pipeline] echo 10:12:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:12:48 $ docker stop --time=1 91e1f7ba35f295d233004dbb7d9b9db6e97fcc76ee096c8da1b89a8b78480402 10:12:50 $ docker rm -f 91e1f7ba35f295d233004dbb7d9b9db6e97fcc76ee096c8da1b89a8b78480402 [Pipeline] // withDockerContainer [Pipeline] sh 10:12:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:12:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:12:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:12:51 + ls -al . 10:12:51 total 232 10:12:51 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 10:12 . 10:12:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:11 .. 10:12:51 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 10:12 .git 10:12:51 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:11 .github 10:12:51 -rw-rw-r-- 1 jenkins jenkins 418 Aug 25 10:11 .gitignore 10:12:51 -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 10:11 .golangci.yml 10:12:51 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 10:11 .semver 10:12:51 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 25 10:11 Attribution.txt 10:12:51 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 25 10:11 CHANGELOG.md 10:12:51 -rw-rw-r-- 1 jenkins jenkins 1742 Aug 25 10:11 Dockerfile 10:12:51 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 10:11 GOVERNANCE.md 10:12:51 -rw-rw-r-- 1 jenkins jenkins 734 Aug 25 10:11 Jenkinsfile 10:12:51 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 10:11 LICENSE 10:12:51 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 25 10:11 Makefile 10:12:51 -rw-rw-r-- 1 jenkins jenkins 625 Aug 25 10:11 OWNERS.md 10:12:51 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 25 10:11 README.md 10:12:51 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 10:11 VERSION 10:12:51 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 10:11 bin 10:12:51 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:11 cmd 10:12:51 -rw-r--r-- 1 jenkins jenkins 76854 Aug 25 10:12 coverage.out 10:12:51 drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 10:11 doc 10:12:51 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 25 10:11 go.mod 10:12:51 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 25 10:11 go.sum 10:12:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:11 internal 10:12:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:11 snap 10:12:51 -rw-rw-r-- 1 jenkins jenkins 236 Aug 25 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:51 + 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=d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c --label arch=amd64 --label version=0.0.0 . 10:12:51 Sending build context to Docker daemon 20.67MB 10:12:51 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 10:12:51 Step 2/27 : FROM ${BASE} AS builder 10:12:51 ---> c17ed8fba485 10:12:51 Step 3/27 : ARG MAKE="make build" 10:12:51 ---> Running in c58abce63c04 10:12:51 Removing intermediate container c58abce63c04 10:12:51 ---> b7157c87fd34 10:12:51 Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:12:51 ---> Running in a6371ab79d4e 10:12:52 Removing intermediate container a6371ab79d4e 10:12:52 ---> 42a99728bb49 10:12:52 Step 5/27 : ARG ALPINE_PKG_EXTRA="" 10:12:52 ---> Running in 0c34eb800868 10:12:52 Removing intermediate container 0c34eb800868 10:12:52 ---> 3c94f12123c7 10:12:52 Step 6/27 : LABEL Name=edgex-device-onvif-camera 10:12:52 ---> Running in 1361e48e3692 10:12:52 Removing intermediate container 1361e48e3692 10:12:52 ---> 074db739045e 10:12:52 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:12:52 ---> Running in ee57601484f5 10:12:52 Removing intermediate container ee57601484f5 10:12:52 ---> 6d7c76e3f6b7 10:12:52 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:12:52 ---> Running in ec3b1f04e4f2 10:12:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:12:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:12:54 OK: 211 MiB in 51 packages 10:12:54 Removing intermediate container ec3b1f04e4f2 10:12:54 ---> 18837eb48915 10:12:54 Step 9/27 : WORKDIR /device-onvif-camera 10:12:54 ---> Running in d1a4377443d8 10:12:54 Removing intermediate container d1a4377443d8 10:12:54 ---> 6d7d48fe7080 10:12:54 Step 10/27 : COPY go.mod vendor* ./ 10:12:54 ---> 1ecaae6ff24c 10:12:54 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:12:54 ---> Running in 2c18733c059f 10:12:55 Removing intermediate container 2c18733c059f 10:12:55 ---> 81305c9336b1 10:12:55 Step 12/27 : COPY . . 10:12:56 ---> 32ededa465fd 10:12:56 Step 13/27 : RUN ${MAKE} 10:12:56 ---> Running in 990ed3300b7b 10:12:56 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:13:18 Removing intermediate container 990ed3300b7b 10:13:18 ---> a97b7ba4eb2c 10:13:18 Step 14/27 : FROM alpine:3.16 10:13:18 3.16: Pulling from library/alpine 10:13:18 213ec9aee27d: Pulling fs layer 10:13:18 213ec9aee27d: Verifying Checksum 10:13:18 213ec9aee27d: Download complete 10:13:18 213ec9aee27d: Pull complete 10:13:18 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:13:18 Status: Downloaded newer image for alpine:3.16 10:13:18 ---> 9c6f07244728 10:13:18 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:13:18 ---> Running in df5bafcce75a 10:13:18 Removing intermediate container df5bafcce75a 10:13:18 ---> 7c435ba106dd 10:13:18 Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 10:13:18 ---> Running in 780ce8ad0369 10:13:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:13:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:13:18 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 10:13:18 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 10:13:18 (3/21) Installing readline (8.1.2-r0) 10:13:18 (4/21) Installing bash (5.1.16-r2) 10:13:18 Executing bash-5.1.16-r2.post-install 10:13:18 (5/21) Installing ca-certificates (20220614-r0) 10:13:18 (6/21) Installing brotli-libs (1.0.9-r6) 10:13:18 (7/21) Installing nghttp2-libs (1.47.0-r0) 10:13:18 (8/21) Installing libcurl (7.83.1-r2) 10:13:18 (9/21) Installing curl (7.83.1-r2) 10:13:18 (10/21) Installing dumb-init (1.2.5-r1) 10:13:18 (11/21) Installing oniguruma (6.9.8-r0) 10:13:18 (12/21) Installing jq (1.6-r1) 10:13:18 (13/21) Installing popt (1.18-r0) 10:13:18 (14/21) Installing pcre (8.45-r2) 10:13:18 (15/21) Installing slang (2.3.2-r0) 10:13:18 (16/21) Installing newt (0.52.21-r2) 10:13:18 (17/21) Installing libgcc (11.2.1_git20220219-r2) 10:13:18 (18/21) Installing libsodium (1.0.18-r0) 10:13:18 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 10:13:18 (20/21) Installing libzmq (4.3.4-r0) 10:13:18 (21/21) Installing zeromq (4.3.4-r0) 10:13:18 Executing busybox-1.35.0-r17.trigger 10:13:18 Executing ca-certificates-20220614-r0.trigger 10:13:18 OK: 17 MiB in 35 packages 10:13:18 Removing intermediate container 780ce8ad0369 10:13:18 ---> 40b36c2a7568 10:13:18 Step 17/27 : WORKDIR / 10:13:18 ---> Running in 95f64227fea5 10:13:18 Removing intermediate container 95f64227fea5 10:13:18 ---> 0b78af716694 10:13:18 Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / 10:13:18 ---> 5349522db3fa 10:13:18 Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / 10:13:18 ---> 19dc40f52ba4 10:13:18 Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:13:18 ---> 758a26c614a2 10:13:18 Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ 10:13:18 ---> 6e7ed36df04f 10:13:18 Step 22/27 : EXPOSE 59984 10:13:18 ---> Running in 2d9cd55c777d 10:13:18 Removing intermediate container 2d9cd55c777d 10:13:18 ---> 16ffb8399f87 10:13:18 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 10:13:18 ---> Running in 28eaea9a3113 10:13:18 Removing intermediate container 28eaea9a3113 10:13:18 ---> 8052bdc180fd 10:13:18 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:13:18 ---> Running in cde78aa426b9 10:13:18 Removing intermediate container cde78aa426b9 10:13:18 ---> 244b452fea51 10:13:18 Step 25/27 : LABEL arch=amd64 10:13:18 ---> Running in 03008bc5a724 10:13:18 Removing intermediate container 03008bc5a724 10:13:18 ---> eb2484b909aa 10:13:18 Step 26/27 : LABEL git_sha=d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c 10:13:18 ---> Running in df8f512aa1d0 10:13:19 Removing intermediate container df8f512aa1d0 10:13:19 ---> eeb07b68ae21 10:13:19 Step 27/27 : LABEL version=0.0.0 10:13:19 ---> Running in 3bc63bafe42c 10:13:19 Removing intermediate container 3bc63bafe42c 10:13:19 ---> ed568f37cfef 10:13:19 [Warning] One or more build-args [ARCH] were not consumed 10:13:19 Successfully built ed568f37cfef 10:13:19 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:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:19 10:13:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:19 latest: Pulling from edgex-lftools-log-publisher 10:13:19 5eb5b503b376: Pulling fs layer 10:13:19 5c69ac0246d0: Pulling fs layer 10:13:19 ec43610c2a17: Pulling fs layer 10:13:19 3a2ae6a8a46f: Pulling fs layer 10:13:19 33b1e0a273af: Pulling fs layer 10:13:19 5d3b04190fa2: Pulling fs layer 10:13:19 2f39f015ded8: Pulling fs layer 10:13:19 5d3b04190fa2: Waiting 10:13:19 3a2ae6a8a46f: Waiting 10:13:19 2f39f015ded8: Waiting 10:13:19 33b1e0a273af: Waiting 10:13:19 5c69ac0246d0: Download complete 10:13:19 3a2ae6a8a46f: Download complete 10:13:19 33b1e0a273af: Verifying Checksum 10:13:19 33b1e0a273af: Download complete 10:13:20 ec43610c2a17: Verifying Checksum 10:13:20 ec43610c2a17: Download complete 10:13:20 5d3b04190fa2: Verifying Checksum 10:13:20 5d3b04190fa2: Download complete 10:13:20 5eb5b503b376: Verifying Checksum 10:13:20 5eb5b503b376: Download complete 10:13:20 2f39f015ded8: Download complete 10:13:21 5eb5b503b376: Pull complete 10:13:21 5c69ac0246d0: Pull complete 10:13:21 ec43610c2a17: Pull complete 10:13:21 3a2ae6a8a46f: Pull complete 10:13:22 33b1e0a273af: Pull complete 10:13:22 5d3b04190fa2: Pull complete 10:13:26 2f39f015ded8: Pull complete 10:13:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:13:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:26 prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container 10:13:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:28 $ docker top f25f140985006d0bb094baa86f5325196c674a7bc10bf85f5e81f8be0ae92fbf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:28 ---> job-cost.sh 10:13:28 lf-activate-venv: SKIPPING 10:13:28 INFO: No Stack... 10:13:29 INFO: Retrieving Pricing Info for: v3-standard-8 10:13:29 INFO: Archiving Costs [Pipeline] sh 10:13:29 + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv 10:13:29 + cut -d, -f6 [Pipeline] lock 10:13:29 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-7-stack-cost] 10:13:29 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-7-stack-cost] did not exist. Created. 10:13:29 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:29 + echo total: 0.2199999988079071 [Pipeline] stash 10:13:29 Stashed 1 file(s) [Pipeline] } 10:13:29 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-7-stack-cost] [Pipeline] // lock [Pipeline] } 10:13:30 $ docker stop --time=1 f25f140985006d0bb094baa86f5325196c674a7bc10bf85f5e81f8be0ae92fbf 10:13:31 $ docker rm -f f25f140985006d0bb094baa86f5325196c674a7bc10bf85f5e81f8be0ae92fbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:14:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23540 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws 10:14:24 Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout 10:14:24 Selected Git installation does not exist. Using Default 10:14:24 The recommended git tool is: NONE 10:14:31 using credential edgex-jenkins-ssh 10:14:31 Cloning the remote Git repository 10:14:31 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:14:31 > git init /w/workspace/device-onvif-camera/7 # timeout=10 10:14:31 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:14:31 > git --version # timeout=10 10:14:31 > git --version # 'git version 2.25.1' 10:14:31 using GIT_SSH to set credentials SSH Credentials for GitHub 10:14:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:14:33 Merging remotes/origin/main commit 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 10:14:33 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:14:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:14:33 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:14:33 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:14:33 using GIT_SSH to set credentials SSH Credentials for GitHub 10:14:33 > 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:14:33 > git config core.sparsecheckout # timeout=10 10:14:33 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 10:14:34 Merge succeeded, producing c0c7b706a0fa7aba72b70bc27e8f200072b99e90 10:14:34 Checking out Revision c0c7b706a0fa7aba72b70bc27e8f200072b99e90 (PR-125) 10:14:34 > git remote # timeout=10 10:14:34 > git config --get remote.origin.url # timeout=10 10:14:34 using GIT_SSH to set credentials SSH Credentials for GitHub 10:14:34 > git merge 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 # timeout=10 10:14:34 > git rev-parse HEAD^{commit} # timeout=10 10:14:34 > git config core.sparsecheckout # timeout=10 10:14:34 > git checkout -f c0c7b706a0fa7aba72b70bc27e8f200072b99e90 # timeout=10 10:14:38 Commit message: "Merge commit '5e91d4f85419f84dfbfc8f3e713bc0113c4e4412' into HEAD" 10:14:38 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:14:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:14:39 % Total % Received % Xferd Average Speed Time Time Time Current 10:14:39 Dload Upload Total Spent Left Speed 10:14:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 201k 0 --:--:-- --:--:-- --:--:-- 201k [Pipeline] sh 10:14:38 > git rev-list --no-walk 54a616185e58ca27ef124d4b0ab3c0f1615a7fbe # timeout=10 10:14:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:14:40 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 10:14:40 /etc/docker/daemon.new 10:14:40 { 10:14:40 "registry-mirrors": [ 10:14:40 "https://nexus3.edgexfoundry.org:10001" 10:14:40 ], 10:14:40 "bip": "10.250.0.254/24", 10:14:40 "hosts": [ 10:14:40 "tcp://0.0.0.0:5555", 10:14:40 "unix:///var/run/docker.sock" 10:14:40 ], 10:14:40 "mtu": 1458, 10:14:40 "selinux-enabled": true, 10:14:40 "seccomp-profile": "/etc/docker/seccomp.json" 10:14:40 } [Pipeline] sh 10:14:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:14:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:14:59 provisioning config files... 10:14:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config3069481426711259561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:15:00 ---> docker-login.sh 10:15:00 nexus3.edgexfoundry.org:10001 10:15:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:00 Configure a credential helper to remove this warning. See 10:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:00 10:15:00 Login Succeeded 10:15:00 nexus3.edgexfoundry.org:10002 10:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:01 Configure a credential helper to remove this warning. See 10:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:01 10:15:01 Login Succeeded 10:15:01 nexus3.edgexfoundry.org:10003 10:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:02 Configure a credential helper to remove this warning. See 10:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:02 10:15:02 Login Succeeded 10:15:02 nexus3.edgexfoundry.org:10004 10:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:02 Configure a credential helper to remove this warning. See 10:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:02 10:15:02 Login Succeeded 10:15:02 docker.io 10:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:03 Configure a credential helper to remove this warning. See 10:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:03 10:15:03 Login Succeeded 10:15:03 ---> docker-login.sh ends [Pipeline] } 10:15:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:15:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:15:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:15:03 ========================================================= 10:15:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:15:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:04 + 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:15:04 Sending build context to Docker daemon 14.09MB 10:15:04 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:15:04 Step 2/13 : FROM ${BASE} AS builder 10:15:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:15:04 b3c136eddcbf: Pulling fs layer 10:15:04 c0a3192eca97: Pulling fs layer 10:15:04 a050256f5b6f: Pulling fs layer 10:15:04 656be50a0ddc: Pulling fs layer 10:15:04 2bbca73fdf42: Pulling fs layer 10:15:04 46d945488cbd: Pulling fs layer 10:15:04 8a5474983e97: Pulling fs layer 10:15:04 329c88fbcd65: Pulling fs layer 10:15:04 656be50a0ddc: Waiting 10:15:04 2bbca73fdf42: Waiting 10:15:04 46d945488cbd: Waiting 10:15:04 8a5474983e97: Waiting 10:15:04 329c88fbcd65: Waiting 10:15:04 a050256f5b6f: Verifying Checksum 10:15:04 a050256f5b6f: Download complete 10:15:04 c0a3192eca97: Verifying Checksum 10:15:04 c0a3192eca97: Download complete 10:15:04 2bbca73fdf42: Verifying Checksum 10:15:04 2bbca73fdf42: Download complete 10:15:04 b3c136eddcbf: Verifying Checksum 10:15:04 46d945488cbd: Verifying Checksum 10:15:04 46d945488cbd: Download complete 10:15:06 b3c136eddcbf: Pull complete 10:15:06 329c88fbcd65: Verifying Checksum 10:15:06 329c88fbcd65: Download complete 10:15:06 c0a3192eca97: Pull complete 10:15:06 a050256f5b6f: Pull complete 10:15:07 8a5474983e97: Verifying Checksum 10:15:08 656be50a0ddc: Verifying Checksum 10:15:08 656be50a0ddc: Download complete 10:15:20 656be50a0ddc: Pull complete 10:15:20 2bbca73fdf42: Pull complete 10:15:20 46d945488cbd: Pull complete 10:15:27 8a5474983e97: Pull complete 10:15:28 329c88fbcd65: Pull complete 10:15:28 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 10:15:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:15:28 ---> ff4287adb874 10:15:28 Step 3/13 : ARG MAKE="make build" 10:15:30 ---> Running in 5def2a202e75 10:15:31 Removing intermediate container 5def2a202e75 10:15:31 ---> 195713419eb9 10:15:31 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:15:31 ---> Running in f015f177ba18 10:15:31 Removing intermediate container f015f177ba18 10:15:31 ---> 679018660702 10:15:31 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:15:31 ---> Running in 55dca098e005 10:15:33 Removing intermediate container 55dca098e005 10:15:33 ---> 644f86733b59 10:15:33 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:15:33 ---> Running in 095816c1449d 10:15:33 Removing intermediate container 095816c1449d 10:15:33 ---> 698702a18c1a 10:15:33 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:15:33 ---> Running in c582dc036aca 10:15:35 Removing intermediate container c582dc036aca 10:15:35 ---> a942bd9713ba 10:15:35 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:15:35 ---> Running in b2d1d39a8aa6 10:15:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:15:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:15:38 OK: 221 MiB in 51 packages 10:15:39 Removing intermediate container b2d1d39a8aa6 10:15:39 ---> fc6a55152ac5 10:15:39 Step 9/13 : WORKDIR /device-onvif-camera 10:15:39 ---> Running in d3d3b686f16a 10:15:39 Removing intermediate container d3d3b686f16a 10:15:39 ---> 4c4b57227094 10:15:39 Step 10/13 : COPY go.mod vendor* ./ 10:15:40 ---> 7b663d12db31 10:15:40 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:15:40 ---> Running in 87ba50409d50 10:16:36 Removing intermediate container 87ba50409d50 10:16:36 ---> bf930b3145e8 10:16:36 Step 12/13 : COPY . . 10:16:36 ---> bf07d5129a56 10:16:36 Step 13/13 : RUN ${MAKE} 10:16:36 ---> Running in b7c3f19cd15d 10:16:36 noop 10:16:36 Removing intermediate container b7c3f19cd15d 10:16:36 ---> d72964a7b950 10:16:36 Successfully built d72964a7b950 10:16:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:37 + docker inspect -f . ci-base-image-arm64 10:16:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:16:37 prd-ubuntu20.04-docker-arm64-4c-16g-23540 does not seem to be running inside a container 10:16:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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:16:38 $ docker top d855cfa918ea1ff2a441dcb222ecf740f5cc78b8536d86fcfd5458097ceae8e3 -eo pid,comm [Pipeline] { [Pipeline] sh 10:16:39 + go version 10:16:39 go version go1.18.3 linux/arm64 [Pipeline] } 10:16:39 $ docker stop --time=1 d855cfa918ea1ff2a441dcb222ecf740f5cc78b8536d86fcfd5458097ceae8e3 10:16:41 $ docker rm -f d855cfa918ea1ff2a441dcb222ecf740f5cc78b8536d86fcfd5458097ceae8e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:42 + docker inspect -f . ci-base-image-arm64 10:16:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:16:42 prd-ubuntu20.04-docker-arm64-4c-16g-23540 does not seem to be running inside a container 10:16:42 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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:16:43 $ docker top d8027ea6dc01e1ae686855ebbd66bffe35c38bb4852cef6af124bd9dab75798c -eo pid,comm [Pipeline] { [Pipeline] sh 10:16:44 + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh 10:16:45 + make test 10:16:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:16:47 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:18:24 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:18:24 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.125s coverage: 10.6% of statements 10:18:24 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:18:39 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.086s coverage: 13.8% of statements 10:18:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:18:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:19:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:19:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:19:01 ./bin/test-attribution-txt.sh [Pipeline] echo 10:19:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:19:01 $ docker stop --time=1 d8027ea6dc01e1ae686855ebbd66bffe35c38bb4852cef6af124bd9dab75798c 10:19:03 $ docker rm -f d8027ea6dc01e1ae686855ebbd66bffe35c38bb4852cef6af124bd9dab75798c [Pipeline] // withDockerContainer [Pipeline] sh 10:19:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:19:04 Warning: overwriting stash ‘coverage-report’ 10:19:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:19:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:19:05 + ls -al . 10:19:05 total 228 10:19:05 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 10:16 . 10:19:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:14 .. 10:19:05 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 10:14 .git 10:19:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:14 .github 10:19:05 -rw-rw-r-- 1 jenkins jenkins 418 Aug 25 10:14 .gitignore 10:19:05 -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 10:14 .golangci.yml 10:19:05 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 25 10:14 Attribution.txt 10:19:05 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 25 10:14 CHANGELOG.md 10:19:05 -rw-rw-r-- 1 jenkins jenkins 1742 Aug 25 10:14 Dockerfile 10:19:05 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 10:14 GOVERNANCE.md 10:19:05 -rw-rw-r-- 1 jenkins jenkins 734 Aug 25 10:14 Jenkinsfile 10:19:05 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 10:14 LICENSE 10:19:05 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 25 10:14 Makefile 10:19:05 -rw-rw-r-- 1 jenkins jenkins 625 Aug 25 10:14 OWNERS.md 10:19:05 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 25 10:14 README.md 10:19:05 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 10:11 VERSION 10:19:05 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 10:14 bin 10:19:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 10:14 cmd 10:19:05 -rw-r--r-- 1 jenkins jenkins 76854 Aug 25 10:18 coverage.out 10:19:05 drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 10:14 doc 10:19:05 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 25 10:14 go.mod 10:19:05 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 25 10:14 go.sum 10:19:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:14 internal 10:19:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 10:14 snap 10:19:05 -rw-rw-r-- 1 jenkins jenkins 236 Aug 25 10:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:06 + 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=c0c7b706a0fa7aba72b70bc27e8f200072b99e90 --label arch=arm64 --label version=0.0.0 . 10:19:06 Sending build context to Docker daemon 14.16MB 10:19:06 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 10:19:06 Step 2/27 : FROM ${BASE} AS builder 10:19:06 ---> d72964a7b950 10:19:06 Step 3/27 : ARG MAKE="make build" 10:19:07 ---> Running in 266aca7505d2 10:19:07 Removing intermediate container 266aca7505d2 10:19:07 ---> 4cd6dc702317 10:19:07 Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:19:07 ---> Running in 84b292d40e91 10:19:07 Removing intermediate container 84b292d40e91 10:19:07 ---> b3c6f63a603e 10:19:07 Step 5/27 : ARG ALPINE_PKG_EXTRA="" 10:19:08 ---> Running in 7955d5d95605 10:19:08 Removing intermediate container 7955d5d95605 10:19:08 ---> 18d3897d2ef7 10:19:08 Step 6/27 : LABEL Name=edgex-device-onvif-camera 10:19:08 ---> Running in 23602f650e50 10:19:08 Removing intermediate container 23602f650e50 10:19:08 ---> e17b8c64d77d 10:19:08 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:19:08 ---> Running in f90fbd40de55 10:19:10 Removing intermediate container f90fbd40de55 10:19:10 ---> 550f5685e324 10:19:10 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:19:10 ---> Running in 8c42e61db6c1 10:19:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:19:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:19:13 OK: 221 MiB in 51 packages 10:19:13 Removing intermediate container 8c42e61db6c1 10:19:13 ---> 90db2baac8bb 10:19:13 Step 9/27 : WORKDIR /device-onvif-camera 10:19:14 ---> Running in 580d4b13255f 10:19:14 Removing intermediate container 580d4b13255f 10:19:14 ---> 99c839b637f1 10:19:14 Step 10/27 : COPY go.mod vendor* ./ 10:19:14 ---> d7696fb3b304 10:19:14 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:19:14 ---> Running in 931c4e791280 10:19:16 Removing intermediate container 931c4e791280 10:19:16 ---> 048c4641ddc6 10:19:16 Step 12/27 : COPY . . 10:19:18 ---> e5abeb95eb53 10:19:18 Step 13/27 : RUN ${MAKE} 10:19:18 ---> Running in 4509ad24291f 10:19:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 10:21:41 Removing intermediate container 4509ad24291f 10:21:41 ---> 5199b5ad438d 10:21:41 Step 14/27 : FROM alpine:3.16 10:21:41 3.16: Pulling from library/alpine 10:21:41 9b18e9b68314: Pulling fs layer 10:21:41 9b18e9b68314: Verifying Checksum 10:21:41 9b18e9b68314: Download complete 10:21:41 9b18e9b68314: Pull complete 10:21:41 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:21:41 Status: Downloaded newer image for alpine:3.16 10:21:41 ---> a6215f271958 10:21:41 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:21:41 ---> Running in 8009efcb237a 10:21:41 Removing intermediate container 8009efcb237a 10:21:41 ---> 4a53e5d3348a 10:21:41 Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 10:21:41 ---> Running in 4f42de991619 10:21:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:21:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:21:41 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 10:21:41 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 10:21:41 (3/21) Installing readline (8.1.2-r0) 10:21:41 (4/21) Installing bash (5.1.16-r2) 10:21:41 Executing bash-5.1.16-r2.post-install 10:21:41 (5/21) Installing ca-certificates (20220614-r0) 10:21:41 (6/21) Installing brotli-libs (1.0.9-r6) 10:21:41 (7/21) Installing nghttp2-libs (1.47.0-r0) 10:21:41 (8/21) Installing libcurl (7.83.1-r2) 10:21:41 (9/21) Installing curl (7.83.1-r2) 10:21:41 (10/21) Installing dumb-init (1.2.5-r1) 10:21:41 (11/21) Installing oniguruma (6.9.8-r0) 10:21:41 (12/21) Installing jq (1.6-r1) 10:21:41 (13/21) Installing popt (1.18-r0) 10:21:41 (14/21) Installing pcre (8.45-r2) 10:21:41 (15/21) Installing slang (2.3.2-r0) 10:21:41 (16/21) Installing newt (0.52.21-r2) 10:21:41 (17/21) Installing libgcc (11.2.1_git20220219-r2) 10:21:41 (18/21) Installing libsodium (1.0.18-r0) 10:21:41 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 10:21:41 (20/21) Installing libzmq (4.3.4-r0) 10:21:41 (21/21) Installing zeromq (4.3.4-r0) 10:21:41 Executing busybox-1.35.0-r17.trigger 10:21:41 Executing ca-certificates-20220614-r0.trigger 10:21:41 OK: 16 MiB in 35 packages 10:21:41 Removing intermediate container 4f42de991619 10:21:41 ---> 6fd17c19ad62 10:21:41 Step 17/27 : WORKDIR / 10:21:41 ---> Running in aed8a17003ac 10:21:41 Removing intermediate container aed8a17003ac 10:21:41 ---> 93e7f35b436d 10:21:41 Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / 10:21:41 ---> d198dee86bad 10:21:41 Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / 10:21:41 ---> cd790d9902a0 10:21:41 Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:21:41 ---> 9691aa38938b 10:21:41 Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ 10:21:41 ---> e4dc113bb8ec 10:21:41 Step 22/27 : EXPOSE 59984 10:21:41 ---> Running in ad902e727909 10:21:41 Removing intermediate container ad902e727909 10:21:41 ---> b9111a49834d 10:21:41 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 10:21:41 ---> Running in a4eb532fd846 10:21:42 Removing intermediate container a4eb532fd846 10:21:42 ---> 0f95d38b8dee 10:21:42 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:21:42 ---> Running in 259ded09b0b4 10:21:42 Removing intermediate container 259ded09b0b4 10:21:42 ---> 1e54ac03ea1c 10:21:42 Step 25/27 : LABEL arch=arm64 10:21:42 ---> Running in 38dfebd23569 10:21:42 Removing intermediate container 38dfebd23569 10:21:42 ---> bb2b351e46b3 10:21:42 Step 26/27 : LABEL git_sha=c0c7b706a0fa7aba72b70bc27e8f200072b99e90 10:21:42 ---> Running in a3031e58bb42 10:21:43 Removing intermediate container a3031e58bb42 10:21:43 ---> 2a7d5af2bbd0 10:21:43 Step 27/27 : LABEL version=0.0.0 10:21:43 ---> Running in fe310ce0f760 10:21:43 Removing intermediate container fe310ce0f760 10:21:43 ---> 733dd9c28f27 10:21:43 [Warning] One or more build-args [ARCH] were not consumed 10:21:43 Successfully built 733dd9c28f27 10:21:43 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:21:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:21:44 10:21:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:21:44 arm64: Pulling from edgex-lftools-log-publisher 10:21:44 8998bd30e6a1: Pulling fs layer 10:21:44 04944245beec: Pulling fs layer 10:21:44 699f458cf7ca: Pulling fs layer 10:21:44 765212b225bb: Pulling fs layer 10:21:44 f23df028b6ca: Pulling fs layer 10:21:44 d65c8cfc05b1: Pulling fs layer 10:21:44 2437ff75d9bd: Pulling fs layer 10:21:44 d65c8cfc05b1: Waiting 10:21:44 2437ff75d9bd: Waiting 10:21:44 765212b225bb: Waiting 10:21:44 f23df028b6ca: Waiting 10:21:44 04944245beec: Verifying Checksum 10:21:44 04944245beec: Download complete 10:21:44 765212b225bb: Verifying Checksum 10:21:44 765212b225bb: Download complete 10:21:44 f23df028b6ca: Verifying Checksum 10:21:44 f23df028b6ca: Download complete 10:21:44 d65c8cfc05b1: Verifying Checksum 10:21:44 d65c8cfc05b1: Download complete 10:21:45 699f458cf7ca: Verifying Checksum 10:21:45 699f458cf7ca: Download complete 10:21:45 8998bd30e6a1: Download complete 10:21:47 2437ff75d9bd: Verifying Checksum 10:21:47 2437ff75d9bd: Download complete 10:21:49 8998bd30e6a1: Pull complete 10:21:49 04944245beec: Pull complete 10:21:51 699f458cf7ca: Pull complete 10:21:51 765212b225bb: Pull complete 10:21:52 f23df028b6ca: Pull complete 10:21:52 d65c8cfc05b1: Pull complete 10:22:07 2437ff75d9bd: Pull complete 10:22:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:22:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:22:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:22:08 prd-ubuntu20.04-docker-arm64-4c-16g-23540 does not seem to be running inside a container 10:22:08 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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:22:10 $ docker top aa074c249164c68f9394e624fda1b721be7eaa2160ae05fc4dce7878baf11187 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:22:11 ---> job-cost.sh 10:22:11 lf-activate-venv: SKIPPING 10:22:11 INFO: No Stack... 10:22:12 INFO: Retrieving Pricing Info for: v3-standard-4 10:22:13 INFO: Archiving Costs [Pipeline] sh 10:22:14 + cat /w/workspace/device-onvif-camera/7/archives/cost.csv 10:22:14 + cut -d, -f6 [Pipeline] lock 10:22:14 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-7-stack-cost] 10:22:14 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-7-stack-cost] did not exist. Created. 10:22:14 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:22:14 /w/workspace/device-onvif-camera/7@tmp/durable-d9f0c261/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:22:15 + echo total: 0.10999999940395355 [Pipeline] stash 10:22:15 Warning: overwriting stash ‘stack-cost’ 10:22:15 Stashed 1 file(s) [Pipeline] } 10:22:15 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-7-stack-cost] [Pipeline] // lock [Pipeline] } 10:22:15 $ docker stop --time=1 aa074c249164c68f9394e624fda1b721be7eaa2160ae05fc4dce7878baf11187 10:22:17 $ docker rm -f aa074c249164c68f9394e624fda1b721be7eaa2160ae05fc4dce7878baf11187 [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:22:17 provisioning config files... 10:22:17 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config702193700688794539tmp [Pipeline] { [Pipeline] sh 10:22:17 + set +x 10:22:17 + curl -s https://codecov.io/bash 10:22:17 + bash -s -- 10:22:17 10:22:17 _____ _ 10:22:17 / ____| | | 10:22:17 | | ___ __| | ___ ___ _____ __ 10:22:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:22:17 | |___| (_) | (_| | __/ (_| (_) \ V / 10:22:17 \_____\___/ \__,_|\___|\___\___/ \_/ 10:22:17 Bash-1.0.6 10:22:17 10:22:17 10:22:17 ==> git version 2.25.1 found 10:22:17 ==> 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:22:17 Release-Date: 2020-01-08 10:22:17 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:22:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:22:17 ==> Jenkins CI detected. 10:22:17 current dir:  /w/workspace/undry_device-onvif-camera_PR-125 10:22:17 project root: . 10:22:17 --> token set from env 10:22:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:22:17 ==> Running gcov in . (disable via -X gcov) 10:22:17 ==> Python coveragepy not found 10:22:17 ==> Searching for coverage reports in: 10:22:17 + . 10:22:17 -> Found 1 reports 10:22:17 ==> Detecting git/mercurial file structure 10:22:17 ==> Reading reports 10:22:17 + ./coverage.out bytes=76854 10:22:17 ==> Appending adjustments 10:22:17 https://docs.codecov.io/docs/fixing-reports 10:22:18 + Found adjustments 10:22:18 ==> Gzipping contents 10:22:18 12K /tmp/codecov.Psgp6J.gz 10:22:18 ==> Uploading reports 10:22:18 url: https://codecov.io 10:22:18 query: branch=PR-125&commit=d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 10:22:18 -> Pinging Codecov 10:22:18 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=d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 10:22:18 -> Uploading to 10:22:18 https://storage.googleapis.com/codecov/v4/raw/2022-08-25/F29A59C45E3A92E06B3E522C9905F8EF/d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c/c50225c5-7085-4e03-99db-ed7ddc1ec338.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220825T102218Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec14049fe7014f8480ead3d3db185c115568d455e2f8b8bcb4a0904bb8af10da 10:22:18 % Total % Received % Xferd Average Speed Time Time Time Current 10:22:18 Dload Upload Total Spent Left Speed 10:22:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10377 0 0 100 10377 0 51118 --:--:-- --:--:-- --:--:-- 50867 100 10377 0 0 100 10377 0 41674 --:--:-- --:--:-- --:--:-- 41508 10:22:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/d8a4d0d8c972d40e64cb8409015bad5fdaf2c03c [Pipeline] } 10:22:18 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:22:19 + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] 10:22:19 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 10:22:19 total 16 10:22:19 drwxr-xr-x 3 root root 4096 Aug 25 10:13 . 10:22:19 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 10:13 .. 10:22:19 drwxr-xr-x 2 root root 4096 Aug 25 10:13 cost 10:22:19 -rw-r--r-- 1 root root 91 Aug 25 10:13 cost.csv 10:22:19 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives 10:22:19 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 10:22:19 total 16 10:22:19 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 10:13 . 10:22:19 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 10:13 .. 10:22:19 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 10:13 cost 10:22:19 -rw-r--r-- 1 jenkins jenkins 91 Aug 25 10:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:22:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:22:20 ---> package-listing.sh 10:22:20 ++ facter osfamily 10:22:20 ++ tr '[:upper:]' '[:lower:]' 10:22:20 + OS_FAMILY=debian 10:22:20 + workspace=/w/workspace/undry_device-onvif-camera_PR-125 10:22:20 + START_PACKAGES=/tmp/packages_start.txt 10:22:20 + END_PACKAGES=/tmp/packages_end.txt 10:22:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:22:20 + PACKAGES=/tmp/packages_start.txt 10:22:20 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 10:22:20 + PACKAGES=/tmp/packages_end.txt 10:22:20 + case "${OS_FAMILY}" in 10:22:20 + dpkg -l 10:22:20 + grep '^ii' 10:22:20 + '[' -f /tmp/packages_start.txt ']' 10:22:20 + '[' -f /tmp/packages_end.txt ']' 10:22:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:22:20 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 10:22:20 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ 10:22:20 + 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:22:20 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:22:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:22:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:22:21 prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container 10:22:21 $ 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:22:22 $ docker top ff34bd376380e4cad69168f8ba9fdb14cfe3e4eab9e790127a4cc82024f73789 -eo pid,comm [Pipeline] { [Pipeline] sh 10:22:22 + touch /tmp/pre-build-complete [Pipeline] sh 10:22:22 + mkdir -p /var/log/sysstat [Pipeline] sh 10:22:22 + ls /var/log/sa-host 10:22:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:22:23 provisioning config files... 10:22:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1678473116946080848tmp [Pipeline] { [Pipeline] echo 10:22:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:22:23 ---> create-netrc.sh [Pipeline] } 10:22:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:22:23 ---> python-tools-install.sh [Pipeline] echo 10:22:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:22:23 ---> sudo-logs.sh 10:22:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:22:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:22:24 ---> job-cost.sh 10:22:24 lf-activate-venv: SKIPPING 10:22:24 DEBUG: total: 0.2199999988079071 10:22:24 INFO: Retrieving Stack Cost... 10:22:24 INFO: Retrieving Pricing Info for: v3-standard-8 10:22:25 INFO: Archiving Costs [Pipeline] echo 10:22:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:22:25 ---> logs-deploy.sh 10:22:25 lf-activate-venv: SKIPPING 10:22:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/7 10:22:25 INFO: archiving workspace using pattern(s): 10:22:26 Archives upload complete. 10:22:26 INFO: archiving logs to Nexus 10:22:27 ---> uname -a: 10:22:27 Linux prd-ubuntu20-04-docker-8c-8g-23538 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 10:22:27 10:22:27