Pull request #172 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than face5d6007145a468790ace10b56d6957ea9f84d Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh2373688608892167434.key Verifying host key using known hosts file > 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-ssh12986204266020614197.key Verifying host key using known hosts file > 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-172/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-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2207399587836821336.key Verifying host key using known hosts file > 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-ssh16989889992603167106.key Verifying host key using known hosts file > 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-172/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-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12202190907795896521.key Verifying host key using known hosts file > 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7323 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-172 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit face5d6007145a468790ace10b56d6957ea9f84d Merge succeeded, producing face5d6007145a468790ace10b56d6957ea9f84d Checking out Revision face5d6007145a468790ace10b56d6957ea9f84d (PR-172) > git config core.sparsecheckout # timeout=10 > git checkout -f face5d6007145a468790ace10b56d6957ea9f84d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f face5d6007145a468790ace10b56d6957ea9f84d # timeout=10 Commit message: "fix: discovery mode netscan when using docker-compose" First time build. Skipping changelog. > git rev-list --no-walk 46e56256ac5babb7df711278807ddef6ea50998f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:39:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:39:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:39:20 ========================================================= 10:39:20 EdgeX Global Pipelines Version Info 10:39:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:39:21 ------------------- 10:39:21 stable info: 10:39:21 ------------------- 10:39:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:39:21 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:39:21 Message: update stable to v1.0.239 10:39:22 ------------------- 10:39:22 experimental info: 10:39:22 ------------------- 10:39:22 Commited By: **** collab-it+edgex@linuxfoundation.org 10:39:22 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:39:22 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = face5d6 [Pipeline] echo 10:39:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:39:22 provisioning config files... 10:39:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config14881674206285397718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:39:22 ---> docker-login.sh 10:39:22 nexus3.edgexfoundry.org:10001 10:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:23 Configure a credential helper to remove this warning. See 10:39:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:23 10:39:23 Login Succeeded 10:39:23 nexus3.edgexfoundry.org:10002 10:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:23 Configure a credential helper to remove this warning. See 10:39:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:23 10:39:23 Login Succeeded 10:39:23 nexus3.edgexfoundry.org:10003 10:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:23 Configure a credential helper to remove this warning. See 10:39:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:23 10:39:23 Login Succeeded 10:39:23 nexus3.edgexfoundry.org:10004 10:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:23 Configure a credential helper to remove this warning. See 10:39:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:23 10:39:23 Login Succeeded 10:39:23 docker.io 10:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:23 Configure a credential helper to remove this warning. See 10:39:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:23 10:39:23 Login Succeeded 10:39:23 ---> docker-login.sh ends [Pipeline] } 10:39:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:39:24 + git rev-list -1 --merges face5d6007145a468790ace10b56d6957ea9f84d~1..face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] echo 10:39:24 -----------> git rev-list -1 --merges face5d6007145a468790ace10b56d6957ea9f84d~1..face5d6007145a468790ace10b56d6957ea9f84d face5d6007145a468790ace10b56d6957ea9f84d [false] [Pipeline] sh 10:39:24 + git log --format=format:%s -1 face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] echo 10:39:24 ========================================================= 10:39:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:39:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:39:25 + git log --format=format:%s -1 face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] echo 10:39:25 [semverPrep] GIT_COMMIT: face5d6007145a468790ace10b56d6957ea9f84d, Commit Message: fix: discovery mode netscan when using docker-compose [Pipeline] echo 10:39:25 [semverPrep] This is not a build commit. [Pipeline] sh 10:39:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:39:25 + grep -v github /etc/ssh/ssh_known_hosts 10:39:25 + [ -e /tmp/ssh_known_hosts ] 10:39:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:39:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:39:25 + sudo tee -a /etc/ssh/ssh_known_hosts 10:39:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:39:25 10:39:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:39:26 0.1.4: Pulling from edgex-devops/py-git-semver 10:39:26 b85a868b505f: Pulling fs layer 10:39:26 e2be974225ed: Pulling fs layer 10:39:26 339a4e72a1f5: Pulling fs layer 10:39:26 988bab9f4d93: Pulling fs layer 10:39:26 1469e6f7b9e6: Pulling fs layer 10:39:26 eaf3925da568: Pulling fs layer 10:39:26 bab4dde63d76: Pulling fs layer 10:39:26 bde34c3a00c8: Pulling fs layer 10:39:26 b352a97aabf1: Pulling fs layer 10:39:26 4872d77fe225: Pulling fs layer 10:39:26 5851b861e8e6: Pulling fs layer 10:39:26 bab4dde63d76: Waiting 10:39:26 eaf3925da568: Waiting 10:39:26 1469e6f7b9e6: Waiting 10:39:26 bde34c3a00c8: Waiting 10:39:26 4872d77fe225: Waiting 10:39:26 5851b861e8e6: Waiting 10:39:26 b352a97aabf1: Waiting 10:39:26 988bab9f4d93: Waiting 10:39:26 e2be974225ed: Verifying Checksum 10:39:26 e2be974225ed: Download complete 10:39:26 988bab9f4d93: Verifying Checksum 10:39:26 988bab9f4d93: Download complete 10:39:26 339a4e72a1f5: Verifying Checksum 10:39:26 339a4e72a1f5: Download complete 10:39:26 1469e6f7b9e6: Verifying Checksum 10:39:26 1469e6f7b9e6: Download complete 10:39:26 eaf3925da568: Verifying Checksum 10:39:26 eaf3925da568: Download complete 10:39:26 bde34c3a00c8: Download complete 10:39:26 b352a97aabf1: Download complete 10:39:26 4872d77fe225: Download complete 10:39:26 5851b861e8e6: Verifying Checksum 10:39:26 5851b861e8e6: Download complete 10:39:26 b85a868b505f: Verifying Checksum 10:39:26 b85a868b505f: Download complete 10:39:26 bab4dde63d76: Verifying Checksum 10:39:26 bab4dde63d76: Download complete 10:39:27 b85a868b505f: Pull complete 10:39:27 e2be974225ed: Pull complete 10:39:28 339a4e72a1f5: Pull complete 10:39:28 988bab9f4d93: Pull complete 10:39:28 1469e6f7b9e6: Pull complete 10:39:28 eaf3925da568: Pull complete 10:39:30 bab4dde63d76: Pull complete 10:39:30 bde34c3a00c8: Pull complete 10:39:30 b352a97aabf1: Pull complete 10:39:31 4872d77fe225: Pull complete 10:39:31 5851b861e8e6: Pull complete 10:39:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:39:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:39:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:39:31 prd-ubuntu20.04-docker-8c-8g-7323 does not seem to be running inside a container 10:39:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:39:34 $ docker top 43a35287a903a249f553821ac6b13e317ed61b2a22f4a6e5bf7925977a77290e -eo pid,comm 10:39:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:39:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:39:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:39:34 [ssh-agent] Looking for ssh-agent implementation... 10:39:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:39:34 $ docker exec 43a35287a903a249f553821ac6b13e317ed61b2a22f4a6e5bf7925977a77290e ssh-agent 10:39:34 SSH_AUTH_SOCK=/tmp/ssh-jLQSgWDLM5Aw/agent.32 10:39:34 SSH_AGENT_PID=38 10:39:34 Running ssh-add (command line suppressed) 10:39:34 Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_14600610226148598961.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_14600610226148598961.key) 10:39:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:39:35 + git tag --points-at HEAD [Pipeline] } 10:39:35 $ docker exec --env ******** --env ******** 43a35287a903a249f553821ac6b13e317ed61b2a22f4a6e5bf7925977a77290e ssh-agent -k 10:39:35 unset SSH_AUTH_SOCK; 10:39:35 unset SSH_AGENT_PID; 10:39:35 echo Agent pid 38 killed; 10:39:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:39:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:39:35 [ssh-agent] Looking for ssh-agent implementation... 10:39:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:39:35 $ docker exec 43a35287a903a249f553821ac6b13e317ed61b2a22f4a6e5bf7925977a77290e ssh-agent 10:39:35 SSH_AUTH_SOCK=/tmp/ssh-cx1ikfgQgHJa/agent.70 10:39:35 SSH_AGENT_PID=76 10:39:35 Running ssh-add (command line suppressed) 10:39:35 Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_6336979166453248104.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_6336979166453248104.key) 10:39:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:39:36 + git semver init 10:39:36 2022-10-07 10:39:36,227 [run_init] DEBUG init version:0.0.0 force:False 10:39:36 2022-10-07 10:39:36,227 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver 10:39:36 2022-10-07 10:39:36,228 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-172/.semver 10:39:36 2022-10-07 10:39:36,228 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-172/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-172, universal_newlines=False, shell=None, istream=None) 10:39:37 2022-10-07 10:39:37,219 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude 10:39:37 2022-10-07 10:39:37,220 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 with force:False 10:39:37 2022-10-07 10:39:37,220 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 10:39:37 2022-10-07 10:39:37,224 [execute] INFO git cat-file --batch-check 10:39:37 2022-10-07 10:39:37,224 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) 10:39:37 2022-10-07 10:39:37,230 [execute] INFO git cat-file --batch 10:39:37 2022-10-07 10:39:37,230 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) 10:39:37 2022-10-07 10:39:37,236 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 10:39:37 0.0.0 [Pipeline] } 10:39:37 $ docker exec --env ******** --env ******** 43a35287a903a249f553821ac6b13e317ed61b2a22f4a6e5bf7925977a77290e ssh-agent -k 10:39:37 unset SSH_AUTH_SOCK; 10:39:37 unset SSH_AGENT_PID; 10:39:37 echo Agent pid 76 killed; 10:39:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:39:37 + git semver [Pipeline] } 10:39:37 $ docker stop --time=1 43a35287a903a249f553821ac6b13e317ed61b2a22f4a6e5bf7925977a77290e 10:39:39 $ docker rm -f 43a35287a903a249f553821ac6b13e317ed61b2a22f4a6e5bf7925977a77290e [Pipeline] // withDockerContainer [Pipeline] sh 10:39:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:39:39 Stashed 1 file(s) [Pipeline] echo 10:39:39 [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:39:39 provisioning config files... 10:39:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config7231106238067796107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:39:40 ---> docker-login.sh 10:39:40 nexus3.edgexfoundry.org:10001 10:39:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:40 Configure a credential helper to remove this warning. See 10:39:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:40 10:39:40 Login Succeeded 10:39:40 nexus3.edgexfoundry.org:10002 10:39:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:40 Configure a credential helper to remove this warning. See 10:39:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:40 10:39:40 Login Succeeded 10:39:40 nexus3.edgexfoundry.org:10003 10:39:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:40 Configure a credential helper to remove this warning. See 10:39:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:40 10:39:40 Login Succeeded 10:39:40 nexus3.edgexfoundry.org:10004 10:39:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:40 Configure a credential helper to remove this warning. See 10:39:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:40 10:39:40 Login Succeeded 10:39:40 docker.io 10:39:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:41 Configure a credential helper to remove this warning. See 10:39:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:41 10:39:41 Login Succeeded 10:39:41 ---> docker-login.sh ends [Pipeline] } 10:39:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:39:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:39:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:39:41 ========================================================= 10:39:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:39:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:41 + 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:39:41 Sending build context to Docker daemon 21.01MB 10:39:41 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 10:39:41 Step 2/14 : FROM ${BASE} AS builder 10:39:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:39:41 2408cc74d12b: Pulling fs layer 10:39:41 ea60b727a1ce: Pulling fs layer 10:39:41 30c4a7721957: Pulling fs layer 10:39:41 370296b7ddb6: Pulling fs layer 10:39:41 7c6cee850709: Pulling fs layer 10:39:41 aa9baa53a306: Pulling fs layer 10:39:41 8b309c321861: Pulling fs layer 10:39:41 d8d76fd02f46: Pulling fs layer 10:39:41 fa31f396de31: Pulling fs layer 10:39:41 aa9baa53a306: Waiting 10:39:41 8b309c321861: Waiting 10:39:41 d8d76fd02f46: Waiting 10:39:41 370296b7ddb6: Waiting 10:39:41 7c6cee850709: Waiting 10:39:41 30c4a7721957: Verifying Checksum 10:39:41 30c4a7721957: Download complete 10:39:41 ea60b727a1ce: Download complete 10:39:41 7c6cee850709: Download complete 10:39:41 aa9baa53a306: Verifying Checksum 10:39:41 aa9baa53a306: Download complete 10:39:41 2408cc74d12b: Verifying Checksum 10:39:41 2408cc74d12b: Download complete 10:39:41 8b309c321861: Download complete 10:39:41 2408cc74d12b: Pull complete 10:39:41 ea60b727a1ce: Pull complete 10:39:41 30c4a7721957: Pull complete 10:39:42 fa31f396de31: Download complete 10:39:42 d8d76fd02f46: Verifying Checksum 10:39:42 d8d76fd02f46: Download complete 10:39:42 370296b7ddb6: Verifying Checksum 10:39:42 370296b7ddb6: Download complete 10:39:46 370296b7ddb6: Pull complete 10:39:46 7c6cee850709: Pull complete 10:39:46 aa9baa53a306: Pull complete 10:39:46 8b309c321861: Pull complete 10:39:49 d8d76fd02f46: Pull complete 10:39:49 fa31f396de31: Pull complete 10:39:49 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 10:39:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:39:49 ---> cef68f9685f8 10:39:49 Step 3/14 : ARG ADD_BUILD_TAGS="" 10:39:54 Still waiting to schedule task 10:39:54 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7321’ 10:39:55 ---> Running in 930a9dff955e 10:39:55 Removing intermediate container 930a9dff955e 10:39:55 ---> ee1d818a8244 10:39:55 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:39:55 ---> Running in b0c0efa947f5 10:39:55 Removing intermediate container b0c0efa947f5 10:39:55 ---> b2f054a5a153 10:39:55 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:39:55 ---> Running in 2d5b24cbffcf 10:39:55 Removing intermediate container 2d5b24cbffcf 10:39:55 ---> c7b51cfbee83 10:39:55 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 10:39:55 ---> Running in 1eba7a183bac 10:39:55 Removing intermediate container 1eba7a183bac 10:39:55 ---> b1cf5b0f0251 10:39:55 Step 7/14 : LABEL Name=edgex-device-onvif-camera 10:39:55 ---> Running in 4d9bb3cf28eb 10:39:55 Removing intermediate container 4d9bb3cf28eb 10:39:55 ---> a41a2c8ca188 10:39:55 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:39:55 ---> Running in 2ae2c5079c64 10:39:55 Removing intermediate container 2ae2c5079c64 10:39:55 ---> b3cf2f0285d3 10:39:55 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:39:55 ---> Running in 560deb1a3c57 10:39:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:39:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:39:56 OK: 211 MiB in 51 packages 10:39:57 Removing intermediate container 560deb1a3c57 10:39:57 ---> c0ceb918961b 10:39:57 Step 10/14 : WORKDIR /device-onvif-camera 10:39:57 ---> Running in 8b30682d6352 10:39:57 Removing intermediate container 8b30682d6352 10:39:57 ---> c58a7924d75d 10:39:57 Step 11/14 : COPY go.mod vendor* ./ 10:39:57 ---> 4722f3bdcc94 10:39:57 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:39:57 ---> Running in 43f42b599195 10:40:19 Removing intermediate container 43f42b599195 10:40:19 ---> ad3dc4a21714 10:40:19 Step 13/14 : COPY . . 10:40:19 ---> 269348b79622 10:40:19 Step 14/14 : RUN ${MAKE} 10:40:19 ---> Running in 71ca7c225a99 10:40:20 noop 10:40:20 Removing intermediate container 71ca7c225a99 10:40:20 ---> a55d974f8f85 10:40:20 Successfully built a55d974f8f85 10:40:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:20 + docker inspect -f . ci-base-image-x86_64 10:40:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:40:20 prd-ubuntu20.04-docker-8c-8g-7323 does not seem to be running inside a container 10:40:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:40:21 $ docker top ec9070474e99ffd47b69f01f71a2577c8bf175377577b869984f82d1ec8898c6 -eo pid,comm [Pipeline] { [Pipeline] sh 10:40:21 + go version 10:40:21 go version go1.18.3 linux/amd64 [Pipeline] } 10:40:21 $ docker stop --time=1 ec9070474e99ffd47b69f01f71a2577c8bf175377577b869984f82d1ec8898c6 10:40:23 $ docker rm -f ec9070474e99ffd47b69f01f71a2577c8bf175377577b869984f82d1ec8898c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:23 + docker inspect -f . ci-base-image-x86_64 10:40:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:40:23 prd-ubuntu20.04-docker-8c-8g-7323 does not seem to be running inside a container 10:40: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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:40:23 $ docker top 0ddb22c822f566db9aa17386df9eb83142183eff7d5d2144030497c870b06eab -eo pid,comm [Pipeline] { [Pipeline] sh 10:40:24 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh 10:40:24 + make test 10:40:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:40:24 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:40:37 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:40:37 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.041s coverage: 28.2% of statements 10:40:37 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:40:37 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.630s coverage: 86.5% of statements 10:40:46 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:40:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:40:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:40:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:40:50 ./bin/test-attribution-txt.sh [Pipeline] echo 10:40:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:40:50 $ docker stop --time=1 0ddb22c822f566db9aa17386df9eb83142183eff7d5d2144030497c870b06eab 10:40:52 $ docker rm -f 0ddb22c822f566db9aa17386df9eb83142183eff7d5d2144030497c870b06eab [Pipeline] // withDockerContainer [Pipeline] sh 10:40:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:40:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:40:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:40:54 + ls -al . 10:40:54 total 236 10:40:54 drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 10:40 . 10:40:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:39 .. 10:40:54 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 10:40 .git 10:40:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:39 .github 10:40:54 -rw-rw-r-- 1 jenkins jenkins 418 Oct 7 10:39 .gitignore 10:40:54 -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 10:39 .golangci.yml 10:40:54 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 10:39 .semver 10:40:54 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 10:39 Attribution.txt 10:40:54 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 10:39 CHANGELOG.md 10:40:54 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 10:39 Dockerfile 10:40:54 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 10:39 GOVERNANCE.md 10:40:54 -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 10:39 Jenkinsfile 10:40:54 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 10:39 LICENSE 10:40:54 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 10:39 Makefile 10:40:54 -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 10:39 OWNERS.md 10:40:54 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 10:39 README.md 10:40:54 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 10:39 VERSION 10:40:54 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:39 bin 10:40:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:39 cmd 10:40:54 -rw-r--r-- 1 jenkins jenkins 78636 Oct 7 10:40 coverage.out 10:40:54 drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 10:39 doc 10:40:54 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 10:39 go.mod 10:40:54 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 10:39 go.sum 10:40:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:39 internal 10:40:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:39 snap 10:40:54 -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 10:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:54 + 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=face5d6007145a468790ace10b56d6957ea9f84d --label arch=amd64 --label version=0.0.0 . 10:40:54 Sending build context to Docker daemon 21.09MB 10:40:54 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 10:40:54 Step 2/27 : FROM ${BASE} AS builder 10:40:54 ---> a55d974f8f85 10:40:54 Step 3/27 : ARG ADD_BUILD_TAGS="" 10:40:54 ---> Running in 043caefae38b 10:40:54 Removing intermediate container 043caefae38b 10:40:54 ---> fcc96bde7917 10:40:54 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:40:54 ---> Running in 99e8008942e1 10:40:54 Removing intermediate container 99e8008942e1 10:40:54 ---> e3a0d0d19be9 10:40:54 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:40:54 ---> Running in 46d3c36aa657 10:40:54 Removing intermediate container 46d3c36aa657 10:40:54 ---> c45c2014a083 10:40:54 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 10:40:55 ---> Running in ddf38adb1c01 10:40:55 Removing intermediate container ddf38adb1c01 10:40:55 ---> d360c5982745 10:40:55 Step 7/27 : LABEL Name=edgex-device-onvif-camera 10:40:55 ---> Running in ed90c8648614 10:40:55 Removing intermediate container ed90c8648614 10:40:55 ---> 340cc6948130 10:40:55 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:40:55 ---> Running in 143141bc76b9 10:40:55 Removing intermediate container 143141bc76b9 10:40:55 ---> 337d2e84d788 10:40:55 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:40:55 ---> Running in 7e44a5ff5336 10:40:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:40:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:40:57 OK: 211 MiB in 51 packages 10:40:57 Removing intermediate container 7e44a5ff5336 10:40:57 ---> 80932c218fa7 10:40:57 Step 10/27 : WORKDIR /device-onvif-camera 10:40:57 ---> Running in ba62bb820754 10:40:57 Removing intermediate container ba62bb820754 10:40:57 ---> 2dca31779919 10:40:57 Step 11/27 : COPY go.mod vendor* ./ 10:40:57 ---> 7090095d2cfd 10:40:57 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:40:57 ---> Running in 784305b585dd 10:40:58 Removing intermediate container 784305b585dd 10:40:58 ---> 3f491c0fb375 10:40:58 Step 13/27 : COPY . . 10:40:59 ---> 11187d5fe864 10:40:59 Step 14/27 : RUN ${MAKE} 10:40:59 ---> Running in e795f0aee086 10:40:59 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 10:41:25 Removing intermediate container e795f0aee086 10:41:25 ---> bfd128e66c7a 10:41:25 Step 15/27 : FROM alpine:3.16 10:41:25 3.16: Pulling from library/alpine 10:41:25 213ec9aee27d: Pulling fs layer 10:41:25 213ec9aee27d: Verifying Checksum 10:41:25 213ec9aee27d: Download complete 10:41:25 213ec9aee27d: Pull complete 10:41:25 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:41:25 Status: Downloaded newer image for alpine:3.16 10:41:25 ---> 9c6f07244728 10:41:25 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:41:25 ---> Running in 2a71aed12dd7 10:41:25 Removing intermediate container 2a71aed12dd7 10:41:25 ---> e303b87cb993 10:41:25 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 10:41:25 ---> Running in c06120a9c7e6 10:41:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:41:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:41:25 (1/6) Installing dumb-init (1.2.5-r1) 10:41:25 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:41:25 (3/6) Installing libsodium (1.0.18-r0) 10:41:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:41:25 (5/6) Installing libzmq (4.3.4-r0) 10:41:25 (6/6) Installing zeromq (4.3.4-r0) 10:41:25 Executing busybox-1.35.0-r17.trigger 10:41:25 OK: 8 MiB in 20 packages 10:41:25 Removing intermediate container c06120a9c7e6 10:41:25 ---> 12ec3be40c1f 10:41:25 Step 18/27 : WORKDIR / 10:41:25 ---> Running in 539b4ceaee89 10:41:26 Removing intermediate container 539b4ceaee89 10:41:26 ---> 56d5f14f443d 10:41:26 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 10:41:26 ---> 90acd8962ad2 10:41:26 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 10:41:27 ---> adde3816ac6d 10:41:27 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:41:27 ---> ff70cf3ea227 10:41:27 Step 22/27 : EXPOSE 59984 10:41:27 ---> Running in 62f02d2de087 10:41:27 Removing intermediate container 62f02d2de087 10:41:27 ---> ed5be911a690 10:41:27 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 10:41:27 ---> Running in 2955ca0174c0 10:41:27 Removing intermediate container 2955ca0174c0 10:41:27 ---> 9d96b1dc74da 10:41:27 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:41:27 ---> Running in 8f7b84613ac1 10:41:27 Removing intermediate container 8f7b84613ac1 10:41:27 ---> 493ec8754543 10:41:27 Step 25/27 : LABEL arch=amd64 10:41:27 ---> Running in fef0a1e65d5d 10:41:27 Removing intermediate container fef0a1e65d5d 10:41:27 ---> 97dc5db160b3 10:41:27 Step 26/27 : LABEL git_sha=face5d6007145a468790ace10b56d6957ea9f84d 10:41:27 ---> Running in 1b118c6f1a5e 10:41:27 Removing intermediate container 1b118c6f1a5e 10:41:27 ---> 802601f87047 10:41:27 Step 27/27 : LABEL version=0.0.0 10:41:27 ---> Running in f0a0b1b4488f 10:41:27 Removing intermediate container f0a0b1b4488f 10:41:27 ---> 020fa5d3e50a 10:41:27 [Warning] One or more build-args [ARCH] were not consumed 10:41:27 Successfully built 020fa5d3e50a 10:41:27 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:41:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:27 10:41:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:28 latest: Pulling from edgex-lftools-log-publisher 10:41:28 5eb5b503b376: Pulling fs layer 10:41:28 5c69ac0246d0: Pulling fs layer 10:41:28 ec43610c2a17: Pulling fs layer 10:41:28 3a2ae6a8a46f: Pulling fs layer 10:41:28 33b1e0a273af: Pulling fs layer 10:41:28 5d3b04190fa2: Pulling fs layer 10:41:28 2f39f015ded8: Pulling fs layer 10:41:28 33b1e0a273af: Waiting 10:41:28 3a2ae6a8a46f: Waiting 10:41:28 5d3b04190fa2: Waiting 10:41:28 2f39f015ded8: Waiting 10:41:28 5c69ac0246d0: Verifying Checksum 10:41:28 5c69ac0246d0: Download complete 10:41:28 3a2ae6a8a46f: Verifying Checksum 10:41:28 3a2ae6a8a46f: Download complete 10:41:28 33b1e0a273af: Verifying Checksum 10:41:28 33b1e0a273af: Download complete 10:41:28 ec43610c2a17: Verifying Checksum 10:41:28 ec43610c2a17: Download complete 10:41:28 5d3b04190fa2: Verifying Checksum 10:41:28 5d3b04190fa2: Download complete 10:41:28 5eb5b503b376: Verifying Checksum 10:41:28 5eb5b503b376: Download complete 10:41:29 2f39f015ded8: Download complete 10:41:30 5eb5b503b376: Pull complete 10:41:30 5c69ac0246d0: Pull complete 10:41:30 ec43610c2a17: Pull complete 10:41:30 3a2ae6a8a46f: Pull complete 10:41:30 33b1e0a273af: Pull complete 10:41:30 5d3b04190fa2: Pull complete 10:41:36 2f39f015ded8: Pull complete 10:41:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:41:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:41:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:36 prd-ubuntu20.04-docker-8c-8g-7323 does not seem to be running inside a container 10:41:36 $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:41:39 $ docker top 084dc0974e931a8f9252112d2a0a41c0b671cb632e57be44010ee33513987fbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:39 ---> job-cost.sh 10:41:39 lf-activate-venv: SKIPPING 10:41:39 INFO: No Stack... 10:41:39 INFO: Retrieving Pricing Info for: v3-standard-8 10:41:40 INFO: Archiving Costs [Pipeline] sh 10:41:40 + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv 10:41:40 + cut -d, -f6 [Pipeline] lock 10:41:40 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] 10:41:40 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] did not exist. Created. 10:41:40 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:41:41 + echo total: 0.2199999988079071 [Pipeline] stash 10:41:41 Stashed 1 file(s) [Pipeline] } 10:41:41 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] [Pipeline] // lock [Pipeline] } 10:41:41 $ docker stop --time=1 084dc0974e931a8f9252112d2a0a41c0b671cb632e57be44010ee33513987fbd 10:41:42 $ docker rm -f 084dc0974e931a8f9252112d2a0a41c0b671cb632e57be44010ee33513987fbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:41:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7325 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws 10:41:53 Running in /w/workspace/device-onvif-camera/11 [Pipeline] { [Pipeline] checkout 10:41:53 The recommended git tool is: git 10:41:59 using credential edgex-jenkins-ssh 10:41:59 Cloning the remote Git repository 10:41:59 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:41:59 > git init /w/workspace/device-onvif-camera/11 # timeout=10 10:41:59 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:41:59 > git --version # timeout=10 10:41:59 > git --version # 'git version 2.25.1' 10:41:59 using GIT_SSH to set credentials SSH Credentials for GitHub 10:41:59 Verifying host key using known hosts file 10:41:59 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 10:41:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:42:01 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:42:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:42:02 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:42:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:42:02 using GIT_SSH to set credentials SSH Credentials for GitHub 10:42:02 Verifying host key using known hosts file 10:42:02 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 10:42:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:42:02 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit face5d6007145a468790ace10b56d6957ea9f84d 10:42:03 Merge succeeded, producing face5d6007145a468790ace10b56d6957ea9f84d 10:42:03 Checking out Revision face5d6007145a468790ace10b56d6957ea9f84d (PR-172) 10:42:02 > git config core.sparsecheckout # timeout=10 10:42:02 > git checkout -f face5d6007145a468790ace10b56d6957ea9f84d # timeout=10 10:42:03 > git remote # timeout=10 10:42:03 > git config --get remote.origin.url # timeout=10 10:42:03 using GIT_SSH to set credentials SSH Credentials for GitHub 10:42:03 Verifying host key using known hosts file 10:42:03 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 10:42:03 > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 10:42:03 > git rev-parse HEAD^{commit} # timeout=10 10:42:03 > git config core.sparsecheckout # timeout=10 10:42:03 > git checkout -f face5d6007145a468790ace10b56d6957ea9f84d # timeout=10 10:42:07 Commit message: "fix: discovery mode netscan when using docker-compose" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:42:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:42:07 % Total % Received % Xferd Average Speed Time Time Time Current 10:42:07 Dload Upload Total Spent Left Speed 10:42:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh 10:42:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:42:08 + sudo tee /etc/docker/daemon.new 10:42:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:42:08 { 10:42:08 "registry-mirrors": [ 10:42:08 "https://nexus3.edgexfoundry.org:10001" 10:42:08 ], 10:42:08 "bip": "10.250.0.254/24", 10:42:08 "hosts": [ 10:42:08 "tcp://0.0.0.0:5555", 10:42:08 "unix:///var/run/docker.sock" 10:42:08 ], 10:42:08 "mtu": 1458, 10:42:08 "selinux-enabled": true, 10:42:08 "seccomp-profile": "/etc/docker/seccomp.json" 10:42:08 } [Pipeline] sh 10:42:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:42:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:42:27 provisioning config files... 10:42:27 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/11@tmp/config17315484907766467947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:42:28 ---> docker-login.sh 10:42:28 nexus3.edgexfoundry.org:10001 10:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:28 Configure a credential helper to remove this warning. See 10:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:28 10:42:28 Login Succeeded 10:42:28 nexus3.edgexfoundry.org:10002 10:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:29 Configure a credential helper to remove this warning. See 10:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:29 10:42:29 Login Succeeded 10:42:29 nexus3.edgexfoundry.org:10003 10:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:29 Configure a credential helper to remove this warning. See 10:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:29 10:42:29 Login Succeeded 10:42:29 nexus3.edgexfoundry.org:10004 10:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:29 Configure a credential helper to remove this warning. See 10:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:29 10:42:29 Login Succeeded 10:42:29 docker.io 10:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:30 Configure a credential helper to remove this warning. See 10:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:30 10:42:30 Login Succeeded 10:42:30 ---> docker-login.sh ends [Pipeline] } 10:42:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:42:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:42:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:42:30 ========================================================= 10:42:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:42:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:31 + 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:42:31 Sending build context to Docker daemon 14.44MB 10:42:31 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 10:42:31 Step 2/14 : FROM ${BASE} AS builder 10:42:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:42:32 b3c136eddcbf: Pulling fs layer 10:42:32 c0a3192eca97: Pulling fs layer 10:42:32 a050256f5b6f: Pulling fs layer 10:42:32 656be50a0ddc: Pulling fs layer 10:42:32 2bbca73fdf42: Pulling fs layer 10:42:32 f607e4fc86c3: Pulling fs layer 10:42:32 4d572c569a2c: Pulling fs layer 10:42:32 fcf976331f73: Pulling fs layer 10:42:32 656be50a0ddc: Waiting 10:42:32 2bbca73fdf42: Waiting 10:42:32 f607e4fc86c3: Waiting 10:42:32 4d572c569a2c: Waiting 10:42:32 fcf976331f73: Waiting 10:42:32 a050256f5b6f: Verifying Checksum 10:42:32 a050256f5b6f: Download complete 10:42:32 c0a3192eca97: Verifying Checksum 10:42:32 c0a3192eca97: Download complete 10:42:32 2bbca73fdf42: Verifying Checksum 10:42:32 2bbca73fdf42: Download complete 10:42:32 f607e4fc86c3: Verifying Checksum 10:42:32 f607e4fc86c3: Download complete 10:42:32 b3c136eddcbf: Download complete 10:42:33 b3c136eddcbf: Pull complete 10:42:33 fcf976331f73: Verifying Checksum 10:42:33 fcf976331f73: Download complete 10:42:33 c0a3192eca97: Pull complete 10:42:33 a050256f5b6f: Pull complete 10:42:34 4d572c569a2c: Verifying Checksum 10:42:34 4d572c569a2c: Download complete 10:42:35 656be50a0ddc: Download complete 10:42:47 656be50a0ddc: Pull complete 10:42:47 2bbca73fdf42: Pull complete 10:42:47 f607e4fc86c3: Pull complete 10:42:54 4d572c569a2c: Pull complete 10:42:55 fcf976331f73: Pull complete 10:42:55 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 10:42:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:42:55 ---> 3970a7415f9e 10:42:55 Step 3/14 : ARG ADD_BUILD_TAGS="" 10:42:57 ---> Running in e66e00df99f9 10:42:57 Removing intermediate container e66e00df99f9 10:42:57 ---> 2d89637d736c 10:42:57 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:42:58 ---> Running in a1823425133e 10:42:58 Removing intermediate container a1823425133e 10:42:58 ---> 5bf12834ea2a 10:42:58 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:42:58 ---> Running in 6393750265ef 10:42:58 Removing intermediate container 6393750265ef 10:42:58 ---> cf12cbc80c05 10:42:58 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 10:42:58 ---> Running in eebf53657eb1 10:42:59 Removing intermediate container eebf53657eb1 10:42:59 ---> 89a59600dcc1 10:42:59 Step 7/14 : LABEL Name=edgex-device-onvif-camera 10:42:59 ---> Running in bd14f7a8e125 10:42:59 Removing intermediate container bd14f7a8e125 10:42:59 ---> 66012d8b4e6f 10:42:59 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:42:59 ---> Running in ad19946f8083 10:43:01 Removing intermediate container ad19946f8083 10:43:01 ---> 753db276ae59 10:43:01 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:43:01 ---> Running in 60bd6d1c3c71 10:43:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:43:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:43:04 OK: 221 MiB in 51 packages 10:43:05 Removing intermediate container 60bd6d1c3c71 10:43:05 ---> c04ef84246de 10:43:05 Step 10/14 : WORKDIR /device-onvif-camera 10:43:05 ---> Running in 128856a30ef0 10:43:05 Removing intermediate container 128856a30ef0 10:43:05 ---> f7ea41905c13 10:43:05 Step 11/14 : COPY go.mod vendor* ./ 10:43:06 ---> caf91e16c490 10:43:06 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:43:06 ---> Running in bd625f7dbfb0 10:44:02 Removing intermediate container bd625f7dbfb0 10:44:02 ---> c31b0ba20991 10:44:02 Step 13/14 : COPY . . 10:44:02 ---> 5d0a81a96839 10:44:02 Step 14/14 : RUN ${MAKE} 10:44:02 ---> Running in 87d3b832d3e2 10:44:02 noop 10:44:02 Removing intermediate container 87d3b832d3e2 10:44:02 ---> b5a0635a3002 10:44:02 Successfully built b5a0635a3002 10:44:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:03 + docker inspect -f . ci-base-image-arm64 10:44:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:44:03 prd-ubuntu20.04-docker-arm64-4c-16g-7325 does not seem to be running inside a container 10:44:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:44:04 $ docker top 596bc101e9f65ceebe4a200691f19d255b78d23f8e7d52c867f58eaf68c8c9f9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:44:05 + go version 10:44:05 go version go1.18.3 linux/arm64 [Pipeline] } 10:44:05 $ docker stop --time=1 596bc101e9f65ceebe4a200691f19d255b78d23f8e7d52c867f58eaf68c8c9f9 10:44:07 $ docker rm -f 596bc101e9f65ceebe4a200691f19d255b78d23f8e7d52c867f58eaf68c8c9f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:07 + docker inspect -f . ci-base-image-arm64 10:44:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:44:07 prd-ubuntu20.04-docker-arm64-4c-16g-7325 does not seem to be running inside a container 10:44:08 $ 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/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:44:09 $ docker top f046da5e4f5cfec4efcc8b166f72ddb08148b903af79d764c2d2b9eb521f06e0 -eo pid,comm [Pipeline] { [Pipeline] sh 10:44:10 + git config --global --add safe.directory /w/workspace/device-onvif-camera/11 [Pipeline] fileExists [Pipeline] sh 10:44:10 + make test 10:44:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:44:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:46:04 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:46:04 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.201s coverage: 28.2% of statements 10:46:04 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 10:46:22 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.376s coverage: 86.5% of statements 10:46:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:46:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:47:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:47:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:47:01 ./bin/test-attribution-txt.sh [Pipeline] echo 10:47:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:47:01 $ docker stop --time=1 f046da5e4f5cfec4efcc8b166f72ddb08148b903af79d764c2d2b9eb521f06e0 10:47:03 $ docker rm -f f046da5e4f5cfec4efcc8b166f72ddb08148b903af79d764c2d2b9eb521f06e0 [Pipeline] // withDockerContainer [Pipeline] sh 10:47:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:47:04 Warning: overwriting stash ‘coverage-report’ 10:47:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:47:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:47:06 + ls -al . 10:47:06 total 232 10:47:06 drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 10:44 . 10:47:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:41 .. 10:47:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 10:42 .git 10:47:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:42 .github 10:47:06 -rw-rw-r-- 1 jenkins jenkins 418 Oct 7 10:42 .gitignore 10:47:06 -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 10:42 .golangci.yml 10:47:06 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 10:42 Attribution.txt 10:47:06 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 10:42 CHANGELOG.md 10:47:06 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 10:42 Dockerfile 10:47:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 10:42 GOVERNANCE.md 10:47:06 -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 10:42 Jenkinsfile 10:47:06 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 10:42 LICENSE 10:47:06 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 10:42 Makefile 10:47:06 -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 10:42 OWNERS.md 10:47:06 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 10:42 README.md 10:47:06 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 10:39 VERSION 10:47:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:42 bin 10:47:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:42 cmd 10:47:06 -rw-r--r-- 1 jenkins jenkins 78636 Oct 7 10:46 coverage.out 10:47:06 drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 10:42 doc 10:47:06 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 10:42 go.mod 10:47:06 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 10:42 go.sum 10:47:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:42 internal 10:47:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:42 snap 10:47:06 -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 10:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:47: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=face5d6007145a468790ace10b56d6957ea9f84d --label arch=arm64 --label version=0.0.0 . 10:47:07 Sending build context to Docker daemon 14.52MB 10:47:07 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 10:47:07 Step 2/27 : FROM ${BASE} AS builder 10:47:07 ---> b5a0635a3002 10:47:07 Step 3/27 : ARG ADD_BUILD_TAGS="" 10:47:07 ---> Running in 7a1f11154692 10:47:09 Removing intermediate container 7a1f11154692 10:47:09 ---> 7ebd706c82a6 10:47:09 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:47:09 ---> Running in 11f95d7c5f68 10:47:09 Removing intermediate container 11f95d7c5f68 10:47:09 ---> d7ad29242620 10:47:09 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:47:09 ---> Running in 8499a31fa622 10:47:12 Removing intermediate container 8499a31fa622 10:47:12 ---> e646f8db3226 10:47:12 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 10:47:12 ---> Running in a04cc3f3b44d 10:47:12 Removing intermediate container a04cc3f3b44d 10:47:12 ---> b31fae1bbc5f 10:47:12 Step 7/27 : LABEL Name=edgex-device-onvif-camera 10:47:12 ---> Running in f85463bc7f7a 10:47:12 Removing intermediate container f85463bc7f7a 10:47:12 ---> bc9fdaef31d0 10:47:12 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:47:12 ---> Running in 451d98687a29 10:47:14 Removing intermediate container 451d98687a29 10:47:14 ---> 05c542a8a414 10:47:14 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:47:14 ---> Running in 168f43296bab 10:47:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:47:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:47:18 OK: 221 MiB in 51 packages 10:47:19 Removing intermediate container 168f43296bab 10:47:19 ---> 62788d7c0ad3 10:47:19 Step 10/27 : WORKDIR /device-onvif-camera 10:47:19 ---> Running in 550e9278fea4 10:47:19 Removing intermediate container 550e9278fea4 10:47:19 ---> 9398dd514c75 10:47:19 Step 11/27 : COPY go.mod vendor* ./ 10:47:19 ---> 6bcbdbe1d16d 10:47:19 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:47:20 ---> Running in 7c8099e95766 10:47:23 Removing intermediate container 7c8099e95766 10:47:23 ---> 1452e7c2a71e 10:47:23 Step 13/27 : COPY . . 10:47:24 ---> 7c56d71060a3 10:47:24 Step 14/27 : RUN ${MAKE} 10:47:24 ---> Running in 8af90968906b 10:47:25 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 10:50:02 Removing intermediate container 8af90968906b 10:50:02 ---> f0cccf5029ab 10:50:02 Step 15/27 : FROM alpine:3.16 10:50:02 3.16: Pulling from library/alpine 10:50:02 9b18e9b68314: Pulling fs layer 10:50:02 9b18e9b68314: Verifying Checksum 10:50:02 9b18e9b68314: Pull complete 10:50:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:50:02 Status: Downloaded newer image for alpine:3.16 10:50:02 ---> a6215f271958 10:50:02 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:50:02 ---> Running in 81bd2399f762 10:50:02 Removing intermediate container 81bd2399f762 10:50:02 ---> 462d9c0ed005 10:50:02 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 10:50:02 ---> Running in eb47adebe590 10:50:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:50:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:50:03 (1/6) Installing dumb-init (1.2.5-r1) 10:50:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:50:03 (3/6) Installing libsodium (1.0.18-r0) 10:50:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:50:03 (5/6) Installing libzmq (4.3.4-r0) 10:50:03 (6/6) Installing zeromq (4.3.4-r0) 10:50:03 Executing busybox-1.35.0-r17.trigger 10:50:03 OK: 8 MiB in 20 packages 10:50:04 Removing intermediate container eb47adebe590 10:50:04 ---> 9b70d006c821 10:50:04 Step 18/27 : WORKDIR / 10:50:04 ---> Running in ed04e115467d 10:50:04 Removing intermediate container ed04e115467d 10:50:04 ---> b9c9577ef41f 10:50:04 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 10:50:06 ---> 9949e51efbbc 10:50:06 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 10:50:06 ---> ae66e91f660d 10:50:06 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:50:07 ---> a9eeee1fe12d 10:50:07 Step 22/27 : EXPOSE 59984 10:50:07 ---> Running in f4e10210e9ad 10:50:07 Removing intermediate container f4e10210e9ad 10:50:07 ---> eb1de08c4211 10:50:07 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 10:50:07 ---> Running in 2ae42c00e89d 10:50:07 Removing intermediate container 2ae42c00e89d 10:50:07 ---> 5290b6fc425c 10:50:07 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:50:07 ---> Running in f306d945d26d 10:50:08 Removing intermediate container f306d945d26d 10:50:08 ---> 1f7a3965b6f9 10:50:08 Step 25/27 : LABEL arch=arm64 10:50:08 ---> Running in 2a6320d1414c 10:50:08 Removing intermediate container 2a6320d1414c 10:50:08 ---> 14d1943d197c 10:50:08 Step 26/27 : LABEL git_sha=face5d6007145a468790ace10b56d6957ea9f84d 10:50:08 ---> Running in f5620fdacc82 10:50:08 Removing intermediate container f5620fdacc82 10:50:08 ---> 70d7a5a13e1f 10:50:08 Step 27/27 : LABEL version=0.0.0 10:50:09 ---> Running in a0ca0d99271e 10:50:09 Removing intermediate container a0ca0d99271e 10:50:09 ---> 8fa05afaf212 10:50:09 [Warning] One or more build-args [ARCH] were not consumed 10:50:09 Successfully built 8fa05afaf212 10:50:09 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:50:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:50:09 10:50:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:50:10 arm64: Pulling from edgex-lftools-log-publisher 10:50:10 8998bd30e6a1: Pulling fs layer 10:50:10 04944245beec: Pulling fs layer 10:50:10 699f458cf7ca: Pulling fs layer 10:50:10 765212b225bb: Pulling fs layer 10:50:10 f23df028b6ca: Pulling fs layer 10:50:10 d65c8cfc05b1: Pulling fs layer 10:50:10 2437ff75d9bd: Pulling fs layer 10:50:10 765212b225bb: Waiting 10:50:10 f23df028b6ca: Waiting 10:50:10 d65c8cfc05b1: Waiting 10:50:10 2437ff75d9bd: Waiting 10:50:10 04944245beec: Verifying Checksum 10:50:10 04944245beec: Download complete 10:50:10 765212b225bb: Verifying Checksum 10:50:10 765212b225bb: Download complete 10:50:10 f23df028b6ca: Verifying Checksum 10:50:10 f23df028b6ca: Download complete 10:50:10 d65c8cfc05b1: Verifying Checksum 10:50:10 d65c8cfc05b1: Download complete 10:50:10 699f458cf7ca: Verifying Checksum 10:50:10 699f458cf7ca: Download complete 10:50:11 8998bd30e6a1: Verifying Checksum 10:50:11 8998bd30e6a1: Download complete 10:50:13 2437ff75d9bd: Verifying Checksum 10:50:13 2437ff75d9bd: Download complete 10:50:15 8998bd30e6a1: Pull complete 10:50:15 04944245beec: Pull complete 10:50:17 699f458cf7ca: Pull complete 10:50:17 765212b225bb: Pull complete 10:50:17 f23df028b6ca: Pull complete 10:50:18 d65c8cfc05b1: Pull complete 10:50:33 2437ff75d9bd: Pull complete 10:50:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:50:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:50:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:50:33 prd-ubuntu20.04-docker-arm64-4c-16g-7325 does not seem to be running inside a container 10:50:33 $ 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/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:50:36 $ docker top 5fc1877f23a658ab7c891c29d3002919bce935479c07e89ce844ea1a4a5a7e3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:50:36 ---> job-cost.sh 10:50:36 lf-activate-venv: SKIPPING 10:50:36 INFO: No Stack... 10:50:37 INFO: Retrieving Pricing Info for: v3-standard-4 10:50:38 INFO: Archiving Costs [Pipeline] sh 10:50:38 + cut -d, -f6 10:50:38 + cat /w/workspace/device-onvif-camera/11/archives/cost.csv [Pipeline] lock 10:50:38 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] 10:50:38 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] did not exist. Created. 10:50:38 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:50:39 /w/workspace/device-onvif-camera/11@tmp/durable-699912d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:50:40 + echo total: 0.10999999940395355 [Pipeline] stash 10:50:40 Warning: overwriting stash ‘stack-cost’ 10:50:40 Stashed 1 file(s) [Pipeline] } 10:50:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-11-stack-cost] [Pipeline] // lock [Pipeline] } 10:50:40 $ docker stop --time=1 5fc1877f23a658ab7c891c29d3002919bce935479c07e89ce844ea1a4a5a7e3c 10:50:41 $ docker rm -f 5fc1877f23a658ab7c891c29d3002919bce935479c07e89ce844ea1a4a5a7e3c [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:50:42 provisioning config files... 10:50:42 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config15045814590739520668tmp [Pipeline] { [Pipeline] sh 10:50:42 + set +x 10:50:42 + + curl -sbash https://codecov.io/bash -s 10:50:42 -- 10:50:42 10:50:42 _____ _ 10:50:42 / ____| | | 10:50:42 | | ___ __| | ___ ___ _____ __ 10:50:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:50:42 | |___| (_) | (_| | __/ (_| (_) \ V / 10:50:42 \_____\___/ \__,_|\___|\___\___/ \_/ 10:50:42 Bash-1.0.6 10:50:42 10:50:42 10:50:42 ==> git version 2.25.1 found 10:50:42 ==> 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:50:42 Release-Date: 2020-01-08 10:50:42 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:50:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:50:42 ==> Jenkins CI detected. 10:50:42 current dir:  /w/workspace/undry_device-onvif-camera_PR-172 10:50:42 project root: . 10:50:42 --> token set from env 10:50:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:50:42 ==> Running gcov in . (disable via -X gcov) 10:50:42 ==> Python coveragepy not found 10:50:42 ==> Searching for coverage reports in: 10:50:42 + . 10:50:42 -> Found 1 reports 10:50:42 ==> Detecting git/mercurial file structure 10:50:42 ==> Reading reports 10:50:42 + ./coverage.out bytes=78636 10:50:42 ==> Appending adjustments 10:50:42 https://docs.codecov.io/docs/fixing-reports 10:50:42 + Found adjustments 10:50:42 ==> Gzipping contents 10:50:42 12K /tmp/codecov.aepwrB.gz 10:50:42 ==> Uploading reports 10:50:42 url: https://codecov.io 10:50:42 query: branch=PR-172&commit=face5d6007145a468790ace10b56d6957ea9f84d&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= 10:50:42 -> Pinging Codecov 10:50:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-172&commit=face5d6007145a468790ace10b56d6957ea9f84d&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= 10:50:42 -> Uploading to 10:50:42 https://storage.googleapis.com/codecov/v4/raw/2022-10-07/F29A59C45E3A92E06B3E522C9905F8EF/face5d6007145a468790ace10b56d6957ea9f84d/ef7cf112-5887-4f49-b32b-ad6a3014641b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T105042Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1f512c343733b6502549fd8ec8c2c23bd0d8e1e2336b70cb577e2b6d5196a1f1 10:50:42 % Total % Received % Xferd Average Speed Time Time Time Current 10:50:42 Dload Upload Total Spent Left Speed 10:50:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10737 0 0 100 10737 0 46081 --:--:-- --:--:-- --:--:-- 46081 10:50:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/face5d6007145a468790ace10b56d6957ea9f84d [Pipeline] } 10:50:43 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:50:43 + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] 10:50:43 + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives 10:50:43 total 16 10:50:43 drwxr-xr-x 3 root root 4096 Oct 7 10:41 . 10:50:43 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 10:41 .. 10:50:43 drwxr-xr-x 2 root root 4096 Oct 7 10:41 cost 10:50:43 -rw-r--r-- 1 root root 92 Oct 7 10:41 cost.csv 10:50:43 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives 10:50:43 + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives 10:50:43 total 16 10:50:43 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 10:41 . 10:50:43 drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 10:41 .. 10:50:43 drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 10:41 cost 10:50:43 -rw-r--r-- 1 jenkins jenkins 92 Oct 7 10:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:50:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:50:45 ---> package-listing.sh 10:50:45 ++ facter osfamily 10:50:45 ++ tr '[:upper:]' '[:lower:]' 10:50:45 + OS_FAMILY=debian 10:50:45 + workspace=/w/workspace/undry_device-onvif-camera_PR-172 10:50:45 + START_PACKAGES=/tmp/packages_start.txt 10:50:45 + END_PACKAGES=/tmp/packages_end.txt 10:50:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:50:45 + PACKAGES=/tmp/packages_start.txt 10:50:45 + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' 10:50:45 + PACKAGES=/tmp/packages_end.txt 10:50:45 + case "${OS_FAMILY}" in 10:50:45 + dpkg -l 10:50:45 + grep '^ii' 10:50:45 + '[' -f /tmp/packages_start.txt ']' 10:50:45 + '[' -f /tmp/packages_end.txt ']' 10:50:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:50:45 + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' 10:50:45 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ 10:50:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-172/archives/ [Pipeline] echo 10:50:45 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-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:50:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:50:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:50:46 prd-ubuntu20.04-docker-8c-8g-7323 does not seem to be running inside a container 10:50:46 $ 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-172/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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:50:46 $ docker top 8910602530c01f64e62ef944d44015748755506f981d1b7a6d17f11fc94e8bc1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:50:46 + touch /tmp/pre-build-complete [Pipeline] sh 10:50:47 + mkdir -p /var/log/sysstat [Pipeline] sh 10:50:47 + ls /var/log/sa-host 10:50:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:50:47 provisioning config files... 10:50:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config18306617597628725953tmp [Pipeline] { [Pipeline] echo 10:50:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:50:47 ---> create-netrc.sh [Pipeline] } 10:50:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:50:48 ---> python-tools-install.sh [Pipeline] echo 10:50:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:50:48 ---> sudo-logs.sh 10:50:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:50:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:50:48 ---> job-cost.sh 10:50:48 lf-activate-venv: SKIPPING 10:50:48 DEBUG: total: 0.2199999988079071 10:50:48 INFO: Retrieving Stack Cost... 10:50:49 INFO: Retrieving Pricing Info for: v3-standard-8 10:50:49 INFO: Archiving Costs [Pipeline] echo 10:50:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:50:49 ---> logs-deploy.sh 10:50:49 lf-activate-venv: SKIPPING 10:50:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/11 10:50:49 INFO: archiving workspace using pattern(s): 10:50:50 Archives upload complete. 10:50:51 INFO: archiving logs to Nexus