Pull request #177 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 45b6d688c6e97385f61642aadc73fdb1f0b5c87c rather than ffbff162aac394af497cabb37cda3a2f6632d839 Obtained Jenkinsfile from 45b6d688c6e97385f61642aadc73fdb1f0b5c87c 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-ssh17598222211171145677.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh18193719849610950380.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-177/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-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6195519289494458782.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh5636492352637216837.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-177/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-177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11020371311713460596.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 ‘prd-ubuntu20.04-docker-8c-8g-8387’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8389 in /w/workspace/undry_device-onvif-camera_PR-177 [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-177 # 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/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 45b6d688c6e97385f61642aadc73fdb1f0b5c87c into PR head commit ffbff162aac394af497cabb37cda3a2f6632d839 Merge succeeded, producing 61d54e68b491ba9afb2b0be67624d31ec22b7b1f Checking out Revision 61d54e68b491ba9afb2b0be67624d31ec22b7b1f (PR-177) > git config core.sparsecheckout # timeout=10 > git checkout -f ffbff162aac394af497cabb37cda3a2f6632d839 # 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 45b6d688c6e97385f61642aadc73fdb1f0b5c87c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61d54e68b491ba9afb2b0be67624d31ec22b7b1f # timeout=10 Commit message: "Merge commit '45b6d688c6e97385f61642aadc73fdb1f0b5c87c' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 1a22b8e850afb19e203cd07be8e91502006e9716 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:36:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:36:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:36:55 ========================================================= 18:36:55 EdgeX Global Pipelines Version Info 18:36:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:36:55 ------------------- 18:36:55 stable info: 18:36:55 ------------------- 18:36:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:36:55 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:36:55 Message: update stable to v1.0.243 18:36:56 ------------------- 18:36:56 experimental info: 18:36:56 ------------------- 18:36:56 Commited By: **** collab-it+edgex@linuxfoundation.org 18:36:56 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:36:56 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61d54e68b491ba9afb2b0be67624d31ec22b7b1f [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61d54e6 [Pipeline] echo 18:36:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:36:57 provisioning config files... 18:36:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config10358825325309649253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:36:57 ---> docker-login.sh 18:36:57 nexus3.edgexfoundry.org:10001 18:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:58 Configure a credential helper to remove this warning. See 18:36:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:58 18:36:58 Login Succeeded 18:36:58 nexus3.edgexfoundry.org:10002 18:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:58 Configure a credential helper to remove this warning. See 18:36:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:58 18:36:58 Login Succeeded 18:36:58 nexus3.edgexfoundry.org:10003 18:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:58 Configure a credential helper to remove this warning. See 18:36:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:58 18:36:58 Login Succeeded 18:36:58 nexus3.edgexfoundry.org:10004 18:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:58 Configure a credential helper to remove this warning. See 18:36:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:58 18:36:58 Login Succeeded 18:36:58 docker.io 18:36:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:58 Configure a credential helper to remove this warning. See 18:36:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:58 18:36:58 Login Succeeded 18:36:58 ---> docker-login.sh ends [Pipeline] } 18:36:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:36:59 + git rev-list -1 --merges 61d54e68b491ba9afb2b0be67624d31ec22b7b1f~1..61d54e68b491ba9afb2b0be67624d31ec22b7b1f [Pipeline] echo 18:36:59 -----------> git rev-list -1 --merges 61d54e68b491ba9afb2b0be67624d31ec22b7b1f~1..61d54e68b491ba9afb2b0be67624d31ec22b7b1f 61d54e68b491ba9afb2b0be67624d31ec22b7b1f 18:36:59 61d54e68b491ba9afb2b0be67624d31ec22b7b1f [false] [Pipeline] sh 18:36:59 + git log --format=format:%s -1 61d54e68b491ba9afb2b0be67624d31ec22b7b1f [Pipeline] echo 18:36:59 ========================================================= 18:36:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:36:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:36:59 + git log --format=format:%s -1 61d54e68b491ba9afb2b0be67624d31ec22b7b1f [Pipeline] echo 18:36:59 [semverPrep] GIT_COMMIT: 61d54e68b491ba9afb2b0be67624d31ec22b7b1f, Commit Message: Merge commit '45b6d688c6e97385f61642aadc73fdb1f0b5c87c' into HEAD [Pipeline] echo 18:36:59 [semverPrep] This is not a build commit. [Pipeline] sh 18:37:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:37:00 + grep -v github /etc/ssh/ssh_known_hosts 18:37:00 + [ -e /tmp/ssh_known_hosts ] 18:37:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:37:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:37:00 + sudo tee -a /etc/ssh/ssh_known_hosts 18:37:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:37:00 18:37:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:37:00 0.1.4: Pulling from edgex-devops/py-git-semver 18:37:00 b85a868b505f: Pulling fs layer 18:37:00 e2be974225ed: Pulling fs layer 18:37:00 339a4e72a1f5: Pulling fs layer 18:37:00 988bab9f4d93: Pulling fs layer 18:37:00 1469e6f7b9e6: Pulling fs layer 18:37:00 eaf3925da568: Pulling fs layer 18:37:00 bab4dde63d76: Pulling fs layer 18:37:00 bde34c3a00c8: Pulling fs layer 18:37:00 b352a97aabf1: Pulling fs layer 18:37:00 4872d77fe225: Pulling fs layer 18:37:00 5851b861e8e6: Pulling fs layer 18:37:00 1469e6f7b9e6: Waiting 18:37:00 988bab9f4d93: Waiting 18:37:00 b352a97aabf1: Waiting 18:37:00 eaf3925da568: Waiting 18:37:00 4872d77fe225: Waiting 18:37:00 bab4dde63d76: Waiting 18:37:00 5851b861e8e6: Waiting 18:37:00 bde34c3a00c8: Waiting 18:37:00 e2be974225ed: Verifying Checksum 18:37:00 e2be974225ed: Download complete 18:37:00 988bab9f4d93: Verifying Checksum 18:37:00 988bab9f4d93: Download complete 18:37:01 1469e6f7b9e6: Verifying Checksum 18:37:01 1469e6f7b9e6: Download complete 18:37:01 339a4e72a1f5: Verifying Checksum 18:37:01 339a4e72a1f5: Download complete 18:37:01 eaf3925da568: Verifying Checksum 18:37:01 eaf3925da568: Download complete 18:37:01 bde34c3a00c8: Verifying Checksum 18:37:01 bde34c3a00c8: Download complete 18:37:01 b352a97aabf1: Verifying Checksum 18:37:01 b352a97aabf1: Download complete 18:37:01 4872d77fe225: Verifying Checksum 18:37:01 4872d77fe225: Download complete 18:37:01 5851b861e8e6: Download complete 18:37:01 b85a868b505f: Download complete 18:37:01 bab4dde63d76: Verifying Checksum 18:37:01 bab4dde63d76: Download complete 18:37:02 b85a868b505f: Pull complete 18:37:02 e2be974225ed: Pull complete 18:37:03 339a4e72a1f5: Pull complete 18:37:03 988bab9f4d93: Pull complete 18:37:03 1469e6f7b9e6: Pull complete 18:37:03 eaf3925da568: Pull complete 18:37:05 bab4dde63d76: Pull complete 18:37:05 bde34c3a00c8: Pull complete 18:37:05 b352a97aabf1: Pull complete 18:37:05 4872d77fe225: Pull complete 18:37:05 5851b861e8e6: Pull complete 18:37:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:37:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:37:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:05 prd-ubuntu20.04-docker-8c-8g-8389 does not seem to be running inside a container 18:37:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:37:08 $ docker top 1b61059b8313246eabebe25c994b6538540713659fa565913d936aedef1f6e82 -eo pid,comm 18:37:08 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). 18:37:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:37:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:37:08 [ssh-agent] Looking for ssh-agent implementation... 18:37:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:37:08 $ docker exec 1b61059b8313246eabebe25c994b6538540713659fa565913d936aedef1f6e82 ssh-agent 18:37:08 SSH_AUTH_SOCK=/tmp/ssh-SfFV0UbI78sO/agent.34 18:37:08 SSH_AGENT_PID=40 18:37:08 Running ssh-add (command line suppressed) 18:37:08 Identity added: /w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_16080336675872525740.key (/w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_16080336675872525740.key) 18:37:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:37:09 + git tag --points-at HEAD [Pipeline] } 18:37:09 $ docker exec --env ******** --env ******** 1b61059b8313246eabebe25c994b6538540713659fa565913d936aedef1f6e82 ssh-agent -k 18:37:09 unset SSH_AUTH_SOCK; 18:37:09 unset SSH_AGENT_PID; 18:37:09 echo Agent pid 40 killed; 18:37:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:37:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:37:09 [ssh-agent] Looking for ssh-agent implementation... 18:37:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:37:09 $ docker exec 1b61059b8313246eabebe25c994b6538540713659fa565913d936aedef1f6e82 ssh-agent 18:37:09 SSH_AUTH_SOCK=/tmp/ssh-VgfnnNYVEuYo/agent.72 18:37:09 SSH_AGENT_PID=79 18:37:09 Running ssh-add (command line suppressed) 18:37:09 Identity added: /w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_1686581579816515177.key (/w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_1686581579816515177.key) 18:37:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:37:10 + git semver init 18:37:10 2022-10-17 18:37:10,274 [run_init] DEBUG init version:0.0.0 force:False 18:37:10 2022-10-17 18:37:10,275 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-177/.semver 18:37:10 2022-10-17 18:37:10,275 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-177/.semver 18:37:10 2022-10-17 18:37:10,275 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-177/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-177, universal_newlines=False, shell=None, istream=None) 18:37:11 2022-10-17 18:37:11,318 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-177/.git/info/exclude 18:37:11 2022-10-17 18:37:11,319 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-177/.semver/PR-177 with force:False 18:37:11 2022-10-17 18:37:11,319 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-177/.semver/PR-177 18:37:11 2022-10-17 18:37:11,323 [execute] INFO git cat-file --batch-check 18:37:11 2022-10-17 18:37:11,324 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-177/.semver, universal_newlines=False, shell=None, istream=) 18:37:11 2022-10-17 18:37:11,331 [execute] INFO git cat-file --batch 18:37:11 2022-10-17 18:37:11,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-177/.semver, universal_newlines=False, shell=None, istream=) 18:37:11 2022-10-17 18:37:11,337 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-177/.semver/PR-177 18:37:11 0.0.0 [Pipeline] } 18:37:11 $ docker exec --env ******** --env ******** 1b61059b8313246eabebe25c994b6538540713659fa565913d936aedef1f6e82 ssh-agent -k 18:37:11 unset SSH_AUTH_SOCK; 18:37:11 unset SSH_AGENT_PID; 18:37:11 echo Agent pid 79 killed; 18:37:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:37:12 + git semver [Pipeline] } 18:37:12 $ docker stop --time=1 1b61059b8313246eabebe25c994b6538540713659fa565913d936aedef1f6e82 18:37:13 $ docker rm -f 1b61059b8313246eabebe25c994b6538540713659fa565913d936aedef1f6e82 [Pipeline] // withDockerContainer [Pipeline] sh 18:37:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:37:14 Stashed 1 file(s) [Pipeline] echo 18:37:14 [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 18:37:14 provisioning config files... 18:37:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config1623828266811035085tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:14 ---> docker-login.sh 18:37:14 nexus3.edgexfoundry.org:10001 18:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:14 Configure a credential helper to remove this warning. See 18:37:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:14 18:37:14 Login Succeeded 18:37:14 nexus3.edgexfoundry.org:10002 18:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:14 Configure a credential helper to remove this warning. See 18:37:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:14 18:37:14 Login Succeeded 18:37:14 nexus3.edgexfoundry.org:10003 18:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:14 Configure a credential helper to remove this warning. See 18:37:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:14 18:37:14 Login Succeeded 18:37:14 nexus3.edgexfoundry.org:10004 18:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:14 Configure a credential helper to remove this warning. See 18:37:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:14 18:37:14 Login Succeeded 18:37:15 docker.io 18:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:15 Configure a credential helper to remove this warning. See 18:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:15 18:37:15 Login Succeeded 18:37:15 ---> docker-login.sh ends [Pipeline] } 18:37:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:37:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:37:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:37:15 ========================================================= 18:37:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:37:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:15 + 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 . 18:37:15 Sending build context to Docker daemon 21.47MB 18:37:15 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 18:37:15 Step 2/14 : FROM ${BASE} AS builder 18:37:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:37:16 213ec9aee27d: Pulling fs layer 18:37:16 4583459ba037: Pulling fs layer 18:37:16 93c1e223e6f2: Pulling fs layer 18:37:16 53926ce57604: Pulling fs layer 18:37:16 21b2b0c7a3f4: Pulling fs layer 18:37:16 30f14e443154: Pulling fs layer 18:37:16 801331c1e519: Pulling fs layer 18:37:16 99cc6dd402b0: Pulling fs layer 18:37:16 7d9ed39f4882: Pulling fs layer 18:37:16 53926ce57604: Waiting 18:37:16 801331c1e519: Waiting 18:37:16 21b2b0c7a3f4: Waiting 18:37:16 30f14e443154: Waiting 18:37:16 99cc6dd402b0: Waiting 18:37:16 7d9ed39f4882: Waiting 18:37:16 93c1e223e6f2: Verifying Checksum 18:37:16 93c1e223e6f2: Download complete 18:37:16 4583459ba037: Verifying Checksum 18:37:16 4583459ba037: Download complete 18:37:16 21b2b0c7a3f4: Verifying Checksum 18:37:16 21b2b0c7a3f4: Download complete 18:37:16 30f14e443154: Download complete 18:37:16 213ec9aee27d: Verifying Checksum 18:37:16 213ec9aee27d: Download complete 18:37:16 801331c1e519: Verifying Checksum 18:37:16 801331c1e519: Download complete 18:37:16 213ec9aee27d: Pull complete 18:37:16 4583459ba037: Pull complete 18:37:16 93c1e223e6f2: Pull complete 18:37:16 7d9ed39f4882: Verifying Checksum 18:37:16 7d9ed39f4882: Download complete 18:37:17 99cc6dd402b0: Verifying Checksum 18:37:17 99cc6dd402b0: Download complete 18:37:17 53926ce57604: Verifying Checksum 18:37:17 53926ce57604: Download complete 18:37:21 53926ce57604: Pull complete 18:37:21 21b2b0c7a3f4: Pull complete 18:37:21 30f14e443154: Pull complete 18:37:21 801331c1e519: Pull complete 18:37:23 99cc6dd402b0: Pull complete 18:37:23 7d9ed39f4882: Pull complete 18:37:23 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 18:37:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:37:23 ---> 1dedd983c030 18:37:23 Step 3/14 : ARG ADD_BUILD_TAGS="" 18:37:25 ---> Running in 5d3999d63fb1 18:37:25 Removing intermediate container 5d3999d63fb1 18:37:25 ---> 33ed49db0373 18:37:25 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:37:25 ---> Running in beab857c0270 18:37:25 Removing intermediate container beab857c0270 18:37:25 ---> 2f829584d3a7 18:37:25 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:37:25 ---> Running in 998eecd309d1 18:37:25 Removing intermediate container 998eecd309d1 18:37:25 ---> 7b9ac3e57679 18:37:25 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 18:37:25 ---> Running in c0f3d8f6733a 18:37:25 Removing intermediate container c0f3d8f6733a 18:37:25 ---> 9b22d657f0e5 18:37:25 Step 7/14 : LABEL Name=edgex-device-onvif-camera 18:37:25 ---> Running in e4cbdc9959a8 18:37:25 Removing intermediate container e4cbdc9959a8 18:37:25 ---> c3aa5b096af7 18:37:25 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:37:25 ---> Running in b8dbd2d5413b 18:37:26 Removing intermediate container b8dbd2d5413b 18:37:26 ---> a3f4e28dbeaf 18:37:26 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:37:26 ---> Running in cc7020c8b5ec 18:37:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:37:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:37:27 OK: 211 MiB in 51 packages 18:37:28 Removing intermediate container cc7020c8b5ec 18:37:28 ---> 0f8a1d262fee 18:37:28 Step 10/14 : WORKDIR /device-onvif-camera 18:37:28 ---> Running in d80010b8a2e3 18:37:28 Removing intermediate container d80010b8a2e3 18:37:28 ---> a6b3a29e611b 18:37:28 Step 11/14 : COPY go.mod vendor* ./ 18:37:28 ---> 9d76efb6648f 18:37:28 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:37:28 ---> Running in 2a017572b44c 18:37:29 Still waiting to schedule task 18:37:29 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8388’ is offline 18:37:46 Removing intermediate container 2a017572b44c 18:37:46 ---> e9b010b94eec 18:37:46 Step 13/14 : COPY . . 18:37:46 ---> e02e4c619583 18:37:46 Step 14/14 : RUN ${MAKE} 18:37:46 ---> Running in 34c73a6087bb 18:37:46 noop 18:37:46 Removing intermediate container 34c73a6087bb 18:37:46 ---> 066030125c10 18:37:46 Successfully built 066030125c10 18:37:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:46 + docker inspect -f . ci-base-image-x86_64 18:37:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:46 prd-ubuntu20.04-docker-8c-8g-8389 does not seem to be running inside a container 18:37:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@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 ******** ci-base-image-x86_64 cat 18:37:47 $ docker top 1082ef499df054425d02d39413c1bcdb1453c9b018aef35b4cf18949f56273aa -eo pid,comm [Pipeline] { [Pipeline] sh 18:37:47 + go version 18:37:47 go version go1.18.7 linux/amd64 [Pipeline] } 18:37:47 $ docker stop --time=1 1082ef499df054425d02d39413c1bcdb1453c9b018aef35b4cf18949f56273aa 18:37:48 $ docker rm -f 1082ef499df054425d02d39413c1bcdb1453c9b018aef35b4cf18949f56273aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:49 + docker inspect -f . ci-base-image-x86_64 18:37:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:49 prd-ubuntu20.04-docker-8c-8g-8389 does not seem to be running inside a container 18:37:49 $ 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-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@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 ******** ci-base-image-x86_64 cat 18:37:49 $ docker top 729a9a72eccb5d7cda8de81a79f248afe805248ecb64637c69a0897a1c8fa415 -eo pid,comm [Pipeline] { [Pipeline] sh 18:37:49 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-177 [Pipeline] fileExists [Pipeline] sh 18:37:50 + make test 18:37:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:37:50 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:38:00 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:38:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements 18:38:01 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:38:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.405s coverage: 86.5% of statements 18:38:09 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." 18:38:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:38:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:38:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:38:13 ./bin/test-attribution-txt.sh [Pipeline] echo 18:38:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:38:13 $ docker stop --time=1 729a9a72eccb5d7cda8de81a79f248afe805248ecb64637c69a0897a1c8fa415 18:38:15 $ docker rm -f 729a9a72eccb5d7cda8de81a79f248afe805248ecb64637c69a0897a1c8fa415 [Pipeline] // withDockerContainer [Pipeline] sh 18:38:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:38:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:38:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:38:16 + ls -al . 18:38:16 total 236 18:38:16 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 18:37 . 18:38:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:36 .. 18:38:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 18:38 .git 18:38:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 18:36 .github 18:38:16 -rw-rw-r-- 1 jenkins jenkins 496 Oct 17 18:36 .gitignore 18:38:16 -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 18:36 .golangci.yml 18:38:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 18:37 .semver 18:38:16 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 17 18:36 Attribution.txt 18:38:16 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 17 18:36 CHANGELOG.md 18:38:16 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 17 18:36 Dockerfile 18:38:16 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 18:36 GOVERNANCE.md 18:38:16 -rw-rw-r-- 1 jenkins jenkins 734 Oct 17 18:36 Jenkinsfile 18:38:16 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 18:36 LICENSE 18:38:16 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 17 18:36 Makefile 18:38:16 -rw-rw-r-- 1 jenkins jenkins 625 Oct 17 18:36 OWNERS.md 18:38:16 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 17 18:36 README.md 18:38:16 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 18:37 VERSION 18:38:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 18:36 bin 18:38:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 18:36 cmd 18:38:16 -rw-r--r-- 1 jenkins jenkins 78636 Oct 17 18:38 coverage.out 18:38:16 drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 18:36 doc 18:38:16 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 17 18:36 go.mod 18:38:16 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 17 18:36 go.sum 18:38:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:36 internal 18:38:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:36 snap 18:38:16 -rw-rw-r-- 1 jenkins jenkins 236 Oct 17 18:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:17 + 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=61d54e68b491ba9afb2b0be67624d31ec22b7b1f --label arch=amd64 --label version=0.0.0 . 18:38:17 Sending build context to Docker daemon 21.55MB 18:38:17 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 18:38:17 Step 2/27 : FROM ${BASE} AS builder 18:38:17 ---> 066030125c10 18:38:17 Step 3/27 : ARG ADD_BUILD_TAGS="" 18:38:17 ---> Running in 220ed917048f 18:38:17 Removing intermediate container 220ed917048f 18:38:17 ---> c4e9a5ebbf62 18:38:17 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:38:17 ---> Running in 531de28ae720 18:38:17 Removing intermediate container 531de28ae720 18:38:17 ---> ef06db7d9379 18:38:17 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:38:17 ---> Running in 751dab670563 18:38:17 Removing intermediate container 751dab670563 18:38:17 ---> b15d024dac03 18:38:17 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 18:38:17 ---> Running in 677cc524153d 18:38:17 Removing intermediate container 677cc524153d 18:38:17 ---> e58c04db3e24 18:38:17 Step 7/27 : LABEL Name=edgex-device-onvif-camera 18:38:17 ---> Running in 54bd66820801 18:38:17 Removing intermediate container 54bd66820801 18:38:17 ---> ab8ddac861a8 18:38:17 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:38:17 ---> Running in 6feedb0934f2 18:38:18 Removing intermediate container 6feedb0934f2 18:38:18 ---> 1a302d2d5261 18:38:18 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:38:18 ---> Running in 16b583fb1e0e 18:38:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:38:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:38:19 OK: 211 MiB in 51 packages 18:38:20 Removing intermediate container 16b583fb1e0e 18:38:20 ---> 09b7bf5d26a0 18:38:20 Step 10/27 : WORKDIR /device-onvif-camera 18:38:20 ---> Running in b73cf22588a0 18:38:20 Removing intermediate container b73cf22588a0 18:38:20 ---> 07538e23ef9e 18:38:20 Step 11/27 : COPY go.mod vendor* ./ 18:38:20 ---> 6ee28cfa580b 18:38:20 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:38:20 ---> Running in ca68768c5367 18:38:20 Removing intermediate container ca68768c5367 18:38:20 ---> e00ff27729f3 18:38:20 Step 13/27 : COPY . . 18:38:21 ---> e9bd8a10317d 18:38:21 Step 14/27 : RUN ${MAKE} 18:38:21 ---> Running in ba345d924a0e 18:38:21 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 18:38:43 Removing intermediate container ba345d924a0e 18:38:43 ---> 6e96bd137bbe 18:38:43 Step 15/27 : FROM alpine:3.16 18:38:44 3.16: Pulling from library/alpine 18:38:44 213ec9aee27d: Already exists 18:38:45 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:38:45 Status: Downloaded newer image for alpine:3.16 18:38:45 ---> 9c6f07244728 18:38:45 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:38:45 ---> Running in dddf8e0024dc 18:38:45 Removing intermediate container dddf8e0024dc 18:38:45 ---> e9248b54716b 18:38:45 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 18:38:45 ---> Running in 579a9214e250 18:38:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:38:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:38:45 (1/6) Installing dumb-init (1.2.5-r1) 18:38:45 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:38:45 (3/6) Installing libsodium (1.0.18-r0) 18:38:45 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:38:45 (5/6) Installing libzmq (4.3.4-r0) 18:38:45 (6/6) Installing zeromq (4.3.4-r0) 18:38:45 Executing busybox-1.35.0-r17.trigger 18:38:45 OK: 8 MiB in 20 packages 18:38:46 Removing intermediate container 579a9214e250 18:38:46 ---> 0cf4d14b37e7 18:38:46 Step 18/27 : WORKDIR / 18:38:46 ---> Running in 0a142362160f 18:38:46 Removing intermediate container 0a142362160f 18:38:46 ---> 4461a835e4d3 18:38:46 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 18:38:47 ---> 716cb3ac7d94 18:38:47 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 18:38:47 ---> f0f51dc8c50b 18:38:47 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:38:47 ---> f254f8c0c7a3 18:38:47 Step 22/27 : EXPOSE 59984 18:38:47 ---> Running in 63cb12eb14e0 18:38:47 Removing intermediate container 63cb12eb14e0 18:38:47 ---> db22e9c41efe 18:38:47 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 18:38:47 ---> Running in 7d318cc42dfe 18:38:47 Removing intermediate container 7d318cc42dfe 18:38:47 ---> f67b1db04bc5 18:38:47 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:38:47 ---> Running in 6a0065719ab9 18:38:47 Removing intermediate container 6a0065719ab9 18:38:47 ---> 5cfaeca82d99 18:38:47 Step 25/27 : LABEL arch=amd64 18:38:47 ---> Running in 58ee6db96a3f 18:38:47 Removing intermediate container 58ee6db96a3f 18:38:47 ---> a11e0d6254cc 18:38:47 Step 26/27 : LABEL git_sha=61d54e68b491ba9afb2b0be67624d31ec22b7b1f 18:38:48 ---> Running in 8117f086dfaf 18:38:48 Removing intermediate container 8117f086dfaf 18:38:48 ---> c0edc9661dda 18:38:48 Step 27/27 : LABEL version=0.0.0 18:38:48 ---> Running in 8a9d89e7ee1e 18:38:48 Removing intermediate container 8a9d89e7ee1e 18:38:48 ---> beccde372771 18:38:48 [Warning] One or more build-args [ARCH] were not consumed 18:38:48 Successfully built beccde372771 18:38:48 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 18:38:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:38:48 18:38:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:38:48 latest: Pulling from edgex-lftools-log-publisher 18:38:48 5eb5b503b376: Pulling fs layer 18:38:48 5c69ac0246d0: Pulling fs layer 18:38:48 ec43610c2a17: Pulling fs layer 18:38:48 3a2ae6a8a46f: Pulling fs layer 18:38:48 33b1e0a273af: Pulling fs layer 18:38:48 5d3b04190fa2: Pulling fs layer 18:38:48 2f39f015ded8: Pulling fs layer 18:38:48 33b1e0a273af: Waiting 18:38:48 5d3b04190fa2: Waiting 18:38:48 2f39f015ded8: Waiting 18:38:48 3a2ae6a8a46f: Waiting 18:38:48 5c69ac0246d0: Verifying Checksum 18:38:48 5c69ac0246d0: Download complete 18:38:48 3a2ae6a8a46f: Verifying Checksum 18:38:48 3a2ae6a8a46f: Download complete 18:38:48 33b1e0a273af: Verifying Checksum 18:38:48 33b1e0a273af: Download complete 18:38:48 5d3b04190fa2: Verifying Checksum 18:38:48 5d3b04190fa2: Download complete 18:38:49 ec43610c2a17: Verifying Checksum 18:38:49 ec43610c2a17: Download complete 18:38:49 5eb5b503b376: Verifying Checksum 18:38:49 5eb5b503b376: Download complete 18:38:49 2f39f015ded8: Download complete 18:38:50 5eb5b503b376: Pull complete 18:38:50 5c69ac0246d0: Pull complete 18:38:50 ec43610c2a17: Pull complete 18:38:51 3a2ae6a8a46f: Pull complete 18:38:51 33b1e0a273af: Pull complete 18:38:51 5d3b04190fa2: Pull complete 18:38:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8390 in /w/workspace/undry_device-onvif-camera_PR-177 [Pipeline] { [Pipeline] ws 18:38:53 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 18:38:53 The recommended git tool is: git 18:38:55 2f39f015ded8: Pull complete 18:38:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:38:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:38:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:55 prd-ubuntu20.04-docker-8c-8g-8389 does not seem to be running inside a container 18:38:55 $ 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-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@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 18:38:59 using credential edgex-jenkins-ssh 18:38:59 Cloning the remote Git repository 18:38:59 $ docker top 537f6e34cf407e8e269ec55233537b10be4b62021b73da46def085f716a99231 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:39:00 ---> job-cost.sh 18:39:00 lf-activate-venv: SKIPPING 18:39:00 INFO: No Stack... 18:38:59 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:38:59 > git init /w/workspace/device-onvif-camera/3 # timeout=10 18:38:59 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:38:59 > git --version # timeout=10 18:38:59 > git --version # 'git version 2.25.1' 18:38:59 using GIT_SSH to set credentials SSH Credentials for GitHub 18:38:59 Verifying host key using known hosts file 18:38: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. 18:38:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:39:00 INFO: Retrieving Pricing Info for: v3-standard-8 18:39:00 INFO: Archiving Costs [Pipeline] sh 18:39:01 + cat /w/workspace/undry_device-onvif-camera_PR-177/archives/cost.csv 18:39:01 + cut -d, -f6 [Pipeline] lock 18:39:01 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] 18:39:01 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] did not exist. Created. 18:39:01 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:39:00 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:39:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:39:01 + echo total: 0.2199999988079071 [Pipeline] stash 18:39:01 Stashed 1 file(s) [Pipeline] } 18:39:01 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:39:01 $ docker stop --time=1 537f6e34cf407e8e269ec55233537b10be4b62021b73da46def085f716a99231 18:39:02 Merging remotes/origin/main commit 45b6d688c6e97385f61642aadc73fdb1f0b5c87c into PR head commit ffbff162aac394af497cabb37cda3a2f6632d839 18:39:02 $ docker rm -f 537f6e34cf407e8e269ec55233537b10be4b62021b73da46def085f716a99231 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:39:01 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:39:01 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:39:01 using GIT_SSH to set credentials SSH Credentials for GitHub 18:39:01 Verifying host key using known hosts file 18:39:01 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. 18:39:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:39:02 > git config core.sparsecheckout # timeout=10 18:39:02 > git checkout -f ffbff162aac394af497cabb37cda3a2f6632d839 # timeout=10 18:39:03 Merge succeeded, producing f7f3e5c563f5f693e8190ce60b25e29b70b46900 18:39:03 Checking out Revision f7f3e5c563f5f693e8190ce60b25e29b70b46900 (PR-177) 18:39:02 > git remote # timeout=10 18:39:02 > git config --get remote.origin.url # timeout=10 18:39:02 using GIT_SSH to set credentials SSH Credentials for GitHub 18:39:02 Verifying host key using known hosts file 18:39: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. 18:39:02 > git merge 45b6d688c6e97385f61642aadc73fdb1f0b5c87c # timeout=10 18:39:03 > git rev-parse HEAD^{commit} # timeout=10 18:39:03 > git config core.sparsecheckout # timeout=10 18:39:03 > git checkout -f f7f3e5c563f5f693e8190ce60b25e29b70b46900 # timeout=10 18:39:06 Commit message: "Merge commit '45b6d688c6e97385f61642aadc73fdb1f0b5c87c' into HEAD" 18:39:06 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { 18:39:06 > git rev-list --no-walk 1a22b8e850afb19e203cd07be8e91502006e9716 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:39:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:39:07 % Total % Received % Xferd Average Speed Time Time Time Current 18:39:07 Dload Upload Total Spent Left Speed 18:39:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 70797 0 --:--:-- --:--:-- --:--:-- 71197 [Pipeline] sh 18:39:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:39:08 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:39:08 sudo tee /etc/docker/daemon.new 18:39:08 { 18:39:08 "registry-mirrors": [ 18:39:08 "https://nexus3.edgexfoundry.org:10001" 18:39:08 ], 18:39:08 "bip": "10.250.0.254/24", 18:39:08 "hosts": [ 18:39:08 "tcp://0.0.0.0:5555", 18:39:08 "unix:///var/run/docker.sock" 18:39:08 ], 18:39:08 "mtu": 1458, 18:39:08 "selinux-enabled": true, 18:39:08 "seccomp-profile": "/etc/docker/seccomp.json" 18:39:08 } [Pipeline] sh 18:39:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:39:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:39:27 provisioning config files... 18:39:27 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config4977124892790603099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:39:27 ---> docker-login.sh 18:39:27 nexus3.edgexfoundry.org:10001 18:39:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:28 Configure a credential helper to remove this warning. See 18:39:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:28 18:39:28 Login Succeeded 18:39:28 nexus3.edgexfoundry.org:10002 18:39:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:28 Configure a credential helper to remove this warning. See 18:39:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:28 18:39:28 Login Succeeded 18:39:28 nexus3.edgexfoundry.org:10003 18:39:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:29 Configure a credential helper to remove this warning. See 18:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:29 18:39:29 Login Succeeded 18:39:29 nexus3.edgexfoundry.org:10004 18:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:29 Configure a credential helper to remove this warning. See 18:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:29 18:39:29 Login Succeeded 18:39:29 docker.io 18:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:30 Configure a credential helper to remove this warning. See 18:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:30 18:39:30 Login Succeeded 18:39:30 ---> docker-login.sh ends [Pipeline] } 18:39:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:39:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:39:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:39:30 ========================================================= 18:39:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:39:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:30 + 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 . 18:39:30 Sending build context to Docker daemon 14.84MB 18:39:31 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 18:39:31 Step 2/14 : FROM ${BASE} AS builder 18:39:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:39:31 9b18e9b68314: Pulling fs layer 18:39:31 d32db5db7311: Pulling fs layer 18:39:31 d0c4b47475fc: Pulling fs layer 18:39:31 5831b945b038: Pulling fs layer 18:39:31 86bbec2aaacd: Pulling fs layer 18:39:31 e10730c5d714: Pulling fs layer 18:39:31 5dd5c2283517: Pulling fs layer 18:39:31 d5ac0230b979: Pulling fs layer 18:39:31 86bbec2aaacd: Waiting 18:39:31 e10730c5d714: Waiting 18:39:31 5dd5c2283517: Waiting 18:39:31 d5ac0230b979: Waiting 18:39:31 5831b945b038: Waiting 18:39:31 d0c4b47475fc: Verifying Checksum 18:39:31 d0c4b47475fc: Download complete 18:39:31 d32db5db7311: Download complete 18:39:31 86bbec2aaacd: Verifying Checksum 18:39:31 86bbec2aaacd: Download complete 18:39:31 e10730c5d714: Verifying Checksum 18:39:31 e10730c5d714: Download complete 18:39:31 9b18e9b68314: Verifying Checksum 18:39:31 9b18e9b68314: Download complete 18:39:32 9b18e9b68314: Pull complete 18:39:32 d5ac0230b979: Verifying Checksum 18:39:32 d5ac0230b979: Download complete 18:39:32 d32db5db7311: Pull complete 18:39:32 d0c4b47475fc: Pull complete 18:39:33 5dd5c2283517: Download complete 18:39:34 5831b945b038: Download complete 18:39:46 5831b945b038: Pull complete 18:39:46 86bbec2aaacd: Pull complete 18:39:46 e10730c5d714: Pull complete 18:39:53 5dd5c2283517: Pull complete 18:39:54 d5ac0230b979: Pull complete 18:39:54 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 18:39:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:39:54 ---> 59b3b1a385d4 18:39:54 Step 3/14 : ARG ADD_BUILD_TAGS="" 18:39:56 ---> Running in b885ac65a012 18:39:56 Removing intermediate container b885ac65a012 18:39:56 ---> 5f23d3557968 18:39:56 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:39:56 ---> Running in fdbe6efd4efc 18:39:56 Removing intermediate container fdbe6efd4efc 18:39:56 ---> baa590f5ac10 18:39:56 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:39:57 ---> Running in bde8a49581fa 18:39:57 Removing intermediate container bde8a49581fa 18:39:57 ---> cb6439a84652 18:39:57 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 18:39:57 ---> Running in 7f86ef2df7a3 18:39:57 Removing intermediate container 7f86ef2df7a3 18:39:57 ---> 73c0a584e653 18:39:57 Step 7/14 : LABEL Name=edgex-device-onvif-camera 18:39:57 ---> Running in 367d5f802bda 18:39:57 Removing intermediate container 367d5f802bda 18:39:57 ---> d59f0e9c7714 18:39:57 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:39:58 ---> Running in a541a64b3e87 18:39:59 Removing intermediate container a541a64b3e87 18:39:59 ---> c8521c62d0a3 18:39:59 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:59 ---> Running in 54222956a4c8 18:40:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:40:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:40:02 OK: 221 MiB in 51 packages 18:40:03 Removing intermediate container 54222956a4c8 18:40:03 ---> 323db8f5920a 18:40:03 Step 10/14 : WORKDIR /device-onvif-camera 18:40:03 ---> Running in 872e52ebf1cd 18:40:03 Removing intermediate container 872e52ebf1cd 18:40:03 ---> dd6cdf48f9d2 18:40:03 Step 11/14 : COPY go.mod vendor* ./ 18:40:04 ---> 64b09eb9572f 18:40:04 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:40:04 ---> Running in e3267a397f1a 18:41:00 Removing intermediate container e3267a397f1a 18:41:00 ---> 6c37537abcfe 18:41:00 Step 13/14 : COPY . . 18:41:00 ---> 4658dcb2ef7b 18:41:00 Step 14/14 : RUN ${MAKE} 18:41:00 ---> Running in 5e3fd9e0a7ed 18:41:00 noop 18:41:00 Removing intermediate container 5e3fd9e0a7ed 18:41:00 ---> 4c84f3b397f9 18:41:00 Successfully built 4c84f3b397f9 18:41:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:00 + docker inspect -f . ci-base-image-arm64 18:41:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:01 prd-ubuntu20.04-docker-arm64-4c-16g-8390 does not seem to be running inside a container 18:41:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 18:41:02 $ docker top 15a03c11f824d84426fe62e80a31e40c6a48b785cce60dd6f9bd8a947b174c73 -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:03 + go version 18:41:03 go version go1.18.7 linux/arm64 [Pipeline] } 18:41:03 $ docker stop --time=1 15a03c11f824d84426fe62e80a31e40c6a48b785cce60dd6f9bd8a947b174c73 18:41:04 $ docker rm -f 15a03c11f824d84426fe62e80a31e40c6a48b785cce60dd6f9bd8a947b174c73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:05 + docker inspect -f . ci-base-image-arm64 18:41:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:05 prd-ubuntu20.04-docker-arm64-4c-16g-8390 does not seem to be running inside a container 18:41:05 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 18:41:06 $ docker top 66057fe37894799da2213a74b98629c501e0d935fce3aebfe85ed9f6304f4064 -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:07 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 18:41:07 + make test 18:41:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:41:09 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:42:45 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:42:45 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.225s coverage: 28.2% of statements 18:42:45 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:43:00 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.908s coverage: 86.5% of statements 18:43:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:43:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:43:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:43:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:43:27 ./bin/test-attribution-txt.sh [Pipeline] echo 18:43:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:43:27 $ docker stop --time=1 66057fe37894799da2213a74b98629c501e0d935fce3aebfe85ed9f6304f4064 18:43:29 $ docker rm -f 66057fe37894799da2213a74b98629c501e0d935fce3aebfe85ed9f6304f4064 [Pipeline] // withDockerContainer [Pipeline] sh 18:43:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:43:30 Warning: overwriting stash ‘coverage-report’ 18:43:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:43:31 + ls -al . 18:43:31 total 232 18:43:31 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 18:41 . 18:43:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:38 .. 18:43:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 18:39 .git 18:43:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 18:39 .github 18:43:31 -rw-rw-r-- 1 jenkins jenkins 496 Oct 17 18:39 .gitignore 18:43:31 -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 18:39 .golangci.yml 18:43:31 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 17 18:39 Attribution.txt 18:43:31 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 17 18:39 CHANGELOG.md 18:43:31 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 17 18:39 Dockerfile 18:43:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 18:39 GOVERNANCE.md 18:43:31 -rw-rw-r-- 1 jenkins jenkins 734 Oct 17 18:39 Jenkinsfile 18:43:31 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 18:39 LICENSE 18:43:31 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 17 18:39 Makefile 18:43:31 -rw-rw-r-- 1 jenkins jenkins 625 Oct 17 18:39 OWNERS.md 18:43:31 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 17 18:39 README.md 18:43:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 18:37 VERSION 18:43:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 18:39 bin 18:43:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 18:39 cmd 18:43:31 -rw-r--r-- 1 jenkins jenkins 78636 Oct 17 18:43 coverage.out 18:43:31 drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 18:39 doc 18:43:31 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 17 18:39 go.mod 18:43:31 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 17 18:39 go.sum 18:43:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:39 internal 18:43:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 18:39 snap 18:43:31 -rw-rw-r-- 1 jenkins jenkins 236 Oct 17 18:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:32 + 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=f7f3e5c563f5f693e8190ce60b25e29b70b46900 --label arch=arm64 --label version=0.0.0 . 18:43:33 Sending build context to Docker daemon 14.92MB 18:43:33 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 18:43:33 Step 2/27 : FROM ${BASE} AS builder 18:43:33 ---> 4c84f3b397f9 18:43:33 Step 3/27 : ARG ADD_BUILD_TAGS="" 18:43:33 ---> Running in 1e23e1bc0da3 18:43:33 Removing intermediate container 1e23e1bc0da3 18:43:33 ---> 454272afb6b9 18:43:33 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:43:33 ---> Running in 95c9dd1bd770 18:43:34 Removing intermediate container 95c9dd1bd770 18:43:34 ---> 032d850a6766 18:43:34 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:43:34 ---> Running in 5e387aa03970 18:43:34 Removing intermediate container 5e387aa03970 18:43:34 ---> 37e45a281989 18:43:34 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 18:43:34 ---> Running in 98cf2f3c2cdd 18:43:34 Removing intermediate container 98cf2f3c2cdd 18:43:34 ---> 539a14cf2371 18:43:34 Step 7/27 : LABEL Name=edgex-device-onvif-camera 18:43:34 ---> Running in 227cd4d10643 18:43:35 Removing intermediate container 227cd4d10643 18:43:35 ---> 9244fe17b9f0 18:43:35 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:43:35 ---> Running in ef552c856d27 18:43:37 Removing intermediate container ef552c856d27 18:43:37 ---> 35cfcc94d7df 18:43:37 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:43:37 ---> Running in 8a03b34ec976 18:43:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:43:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:43:40 OK: 221 MiB in 51 packages 18:43:41 Removing intermediate container 8a03b34ec976 18:43:41 ---> 1b32da169ada 18:43:41 Step 10/27 : WORKDIR /device-onvif-camera 18:43:41 ---> Running in 9a33b144c1d8 18:43:41 Removing intermediate container 9a33b144c1d8 18:43:41 ---> 73eb7bdaadee 18:43:41 Step 11/27 : COPY go.mod vendor* ./ 18:43:42 ---> 577fe57ebce1 18:43:42 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:42 ---> Running in 3a3fb6fb73da 18:43:45 Removing intermediate container 3a3fb6fb73da 18:43:45 ---> bcab3760a489 18:43:45 Step 13/27 : COPY . . 18:43:48 ---> 3f62bed7c85b 18:43:48 Step 14/27 : RUN ${MAKE} 18:43:48 ---> Running in e79f20738d07 18:43:49 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 18:46:11 Removing intermediate container e79f20738d07 18:46:11 ---> f2caaeba875b 18:46:11 Step 15/27 : FROM alpine:3.16 18:46:11 3.16: Pulling from library/alpine 18:46:11 9b18e9b68314: Already exists 18:46:11 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:46:11 Status: Downloaded newer image for alpine:3.16 18:46:11 ---> a6215f271958 18:46:11 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:46:11 ---> Running in fbb67f9bff87 18:46:12 Removing intermediate container fbb67f9bff87 18:46:12 ---> 2ae2e9458173 18:46:12 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 18:46:12 ---> Running in 9e2f35504eb4 18:46:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:46:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:46:14 (1/6) Installing dumb-init (1.2.5-r1) 18:46:14 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:46:14 (3/6) Installing libsodium (1.0.18-r0) 18:46:14 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:46:14 (5/6) Installing libzmq (4.3.4-r0) 18:46:14 (6/6) Installing zeromq (4.3.4-r0) 18:46:14 Executing busybox-1.35.0-r17.trigger 18:46:14 OK: 8 MiB in 20 packages 18:46:15 Removing intermediate container 9e2f35504eb4 18:46:15 ---> 5ba1eaec6603 18:46:15 Step 18/27 : WORKDIR / 18:46:15 ---> Running in 982c0b5d127a 18:46:15 Removing intermediate container 982c0b5d127a 18:46:15 ---> 3657d309d2f9 18:46:15 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 18:46:16 ---> f2614e9b9b24 18:46:16 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 18:46:17 ---> e5b7dc98bd19 18:46:17 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:46:18 ---> 7079e7650c80 18:46:18 Step 22/27 : EXPOSE 59984 18:46:18 ---> Running in fd26249e68d3 18:46:18 Removing intermediate container fd26249e68d3 18:46:18 ---> b2980e949c80 18:46:18 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 18:46:18 ---> Running in cf146d2bdb75 18:46:18 Removing intermediate container cf146d2bdb75 18:46:18 ---> b250a5404fa1 18:46:18 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:46:18 ---> Running in 6411cdf0608a 18:46:18 Removing intermediate container 6411cdf0608a 18:46:18 ---> 762644a8531d 18:46:18 Step 25/27 : LABEL arch=arm64 18:46:19 ---> Running in 5df4d365fb6d 18:46:19 Removing intermediate container 5df4d365fb6d 18:46:19 ---> e9e1fc2031f4 18:46:19 Step 26/27 : LABEL git_sha=f7f3e5c563f5f693e8190ce60b25e29b70b46900 18:46:19 ---> Running in 06d623780224 18:46:19 Removing intermediate container 06d623780224 18:46:19 ---> 2ce48d491f9f 18:46:19 Step 27/27 : LABEL version=0.0.0 18:46:19 ---> Running in f84bdcdea89e 18:46:19 Removing intermediate container f84bdcdea89e 18:46:19 ---> 4269b1e14f60 18:46:19 [Warning] One or more build-args [ARCH] were not consumed 18:46:19 Successfully built 4269b1e14f60 18:46:19 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 18:46:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:46:20 18:46:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:46:20 arm64: Pulling from edgex-lftools-log-publisher 18:46:20 8998bd30e6a1: Pulling fs layer 18:46:20 04944245beec: Pulling fs layer 18:46:20 699f458cf7ca: Pulling fs layer 18:46:20 765212b225bb: Pulling fs layer 18:46:20 f23df028b6ca: Pulling fs layer 18:46:20 d65c8cfc05b1: Pulling fs layer 18:46:20 2437ff75d9bd: Pulling fs layer 18:46:20 765212b225bb: Waiting 18:46:20 f23df028b6ca: Waiting 18:46:20 d65c8cfc05b1: Waiting 18:46:20 2437ff75d9bd: Waiting 18:46:20 04944245beec: Verifying Checksum 18:46:20 04944245beec: Download complete 18:46:20 765212b225bb: Verifying Checksum 18:46:20 765212b225bb: Download complete 18:46:20 f23df028b6ca: Verifying Checksum 18:46:20 f23df028b6ca: Download complete 18:46:20 d65c8cfc05b1: Verifying Checksum 18:46:20 d65c8cfc05b1: Download complete 18:46:20 699f458cf7ca: Verifying Checksum 18:46:20 699f458cf7ca: Download complete 18:46:21 8998bd30e6a1: Download complete 18:46:24 2437ff75d9bd: Download complete 18:46:25 8998bd30e6a1: Pull complete 18:46:25 04944245beec: Pull complete 18:46:27 699f458cf7ca: Pull complete 18:46:27 765212b225bb: Pull complete 18:46:28 f23df028b6ca: Pull complete 18:46:28 d65c8cfc05b1: Pull complete 18:46:43 2437ff75d9bd: Pull complete 18:46:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:46:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:46:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:43 prd-ubuntu20.04-docker-arm64-4c-16g-8390 does not seem to be running inside a container 18:46:43 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 18:46:46 $ docker top e9a586dc5445db9317eff3f6f89a58705465682734a668ce723de36ed1e6320b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:46 ---> job-cost.sh 18:46:46 lf-activate-venv: SKIPPING 18:46:46 INFO: No Stack... 18:46:47 INFO: Retrieving Pricing Info for: v3-standard-4 18:46:48 INFO: Archiving Costs [Pipeline] sh 18:46:48 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 18:46:48 + cut -d, -f6 [Pipeline] lock 18:46:48 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] 18:46:48 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] did not exist. Created. 18:46:48 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:46:49 /w/workspace/device-onvif-camera/3@tmp/durable-1dd81540/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:46:49 + echo total: 0.10999999940395355 [Pipeline] stash 18:46:49 Warning: overwriting stash ‘stack-cost’ 18:46:49 Stashed 1 file(s) [Pipeline] } 18:46:49 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:46:49 $ docker stop --time=1 e9a586dc5445db9317eff3f6f89a58705465682734a668ce723de36ed1e6320b 18:46:51 $ docker rm -f e9a586dc5445db9317eff3f6f89a58705465682734a668ce723de36ed1e6320b [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 18:46:51 provisioning config files... 18:46:51 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config1415577718708668379tmp [Pipeline] { [Pipeline] sh 18:46:52 + set +x 18:46:52 + bash -s -- 18:46:52 + curl -s https://codecov.io/bash 18:46:52 18:46:52 _____ _ 18:46:52 / ____| | | 18:46:52 | | ___ __| | ___ ___ _____ __ 18:46:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:46:52 | |___| (_) | (_| | __/ (_| (_) \ V / 18:46:52 \_____\___/ \__,_|\___|\___\___/ \_/ 18:46:52 Bash-1.0.6 18:46:52 18:46:52 18:46:52 ==> git version 2.25.1 found 18:46:52 ==> 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 18:46:52 Release-Date: 2020-01-08 18:46:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:46:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:46:52 ==> Jenkins CI detected. 18:46:52 current dir:  /w/workspace/undry_device-onvif-camera_PR-177 18:46:52 project root: . 18:46:52 --> token set from env 18:46:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:46:52 ==> Running gcov in . (disable via -X gcov) 18:46:52 ==> Python coveragepy not found 18:46:52 ==> Searching for coverage reports in: 18:46:52 + . 18:46:52 -> Found 1 reports 18:46:52 ==> Detecting git/mercurial file structure 18:46:52 ==> Reading reports 18:46:52 + ./coverage.out bytes=78636 18:46:52 ==> Appending adjustments 18:46:52 https://docs.codecov.io/docs/fixing-reports 18:46:52 + Found adjustments 18:46:52 ==> Gzipping contents 18:46:52 12K /tmp/codecov.6knvGo.gz 18:46:52 ==> Uploading reports 18:46:52 url: https://codecov.io 18:46:52 query: branch=PR-177&commit=61d54e68b491ba9afb2b0be67624d31ec22b7b1f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-177%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=177&job=&cmd_args= 18:46:52 -> Pinging Codecov 18:46:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-177&commit=61d54e68b491ba9afb2b0be67624d31ec22b7b1f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-177%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=177&job=&cmd_args= 18:46:52 -> Uploading to 18:46:52 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/F29A59C45E3A92E06B3E522C9905F8EF/61d54e68b491ba9afb2b0be67624d31ec22b7b1f/0e5cf7ce-9a2e-482a-bf8a-bf97e8be4a7c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T184652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0df93d0bd5e3c04dc4a83ce513a3c2d76b2950ab34d82d5794415b68ed755b99 18:46:52 % Total % Received % Xferd Average Speed Time Time Time Current 18:46:52 Dload Upload Total Spent Left Speed 18:46:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10806 0 0 100 10806 0 42376 --:--:-- --:--:-- --:--:-- 42376 18:46:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/61d54e68b491ba9afb2b0be67624d31ec22b7b1f [Pipeline] } 18:46:52 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 18:46:53 + [ -d /w/workspace/undry_device-onvif-camera_PR-177/archives ] 18:46:53 + ls -al /w/workspace/undry_device-onvif-camera_PR-177/archives 18:46:53 total 16 18:46:53 drwxr-xr-x 3 root root 4096 Oct 17 18:39 . 18:46:53 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 18:39 .. 18:46:53 drwxr-xr-x 2 root root 4096 Oct 17 18:39 cost 18:46:53 -rw-r--r-- 1 root root 91 Oct 17 18:39 cost.csv 18:46:53 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-177/archives 18:46:53 + ls -al /w/workspace/undry_device-onvif-camera_PR-177/archives 18:46:53 total 16 18:46:53 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 18:39 . 18:46:53 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 18:39 .. 18:46:53 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 18:39 cost 18:46:53 -rw-r--r-- 1 jenkins jenkins 91 Oct 17 18:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:46:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:46:54 ---> package-listing.sh 18:46:54 ++ facter osfamily 18:46:54 ++ tr '[:upper:]' '[:lower:]' 18:46:54 + OS_FAMILY=debian 18:46:54 + workspace=/w/workspace/undry_device-onvif-camera_PR-177 18:46:54 + START_PACKAGES=/tmp/packages_start.txt 18:46:54 + END_PACKAGES=/tmp/packages_end.txt 18:46:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:46:54 + PACKAGES=/tmp/packages_start.txt 18:46:54 + '[' /w/workspace/undry_device-onvif-camera_PR-177 ']' 18:46:54 + PACKAGES=/tmp/packages_end.txt 18:46:54 + case "${OS_FAMILY}" in 18:46:54 + dpkg -l 18:46:54 + grep '^ii' 18:46:54 + '[' -f /tmp/packages_start.txt ']' 18:46:54 + '[' -f /tmp/packages_end.txt ']' 18:46:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:46:54 + '[' /w/workspace/undry_device-onvif-camera_PR-177 ']' 18:46:54 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-177/archives/ 18:46:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-177/archives/ [Pipeline] echo 18:46:54 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-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:46:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:55 prd-ubuntu20.04-docker-8c-8g-8389 does not seem to be running inside a container 18:46:55 $ 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-177/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-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:46:56 $ docker top c19f30ab9fbd1a6bb307691fb44e7014994bad5398c09177d8f386778a8af48f -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:56 + touch /tmp/pre-build-complete [Pipeline] sh 18:46:56 + mkdir -p /var/log/sysstat [Pipeline] sh 18:46:57 + ls /var/log/sa-host 18:46:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:57 provisioning config files... 18:46:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config3611908881924206844tmp [Pipeline] { [Pipeline] echo 18:46:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:46:57 ---> create-netrc.sh [Pipeline] } 18:46:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:46:57 ---> python-tools-install.sh [Pipeline] echo 18:46:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:46:58 ---> sudo-logs.sh 18:46:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:46:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:46:58 ---> job-cost.sh 18:46:58 lf-activate-venv: SKIPPING 18:46:58 DEBUG: total: 0.2199999988079071 18:46:58 INFO: Retrieving Stack Cost... 18:46:58 INFO: Retrieving Pricing Info for: v3-standard-8 18:46:59 INFO: Archiving Costs [Pipeline] echo 18:46:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:46:59 ---> logs-deploy.sh 18:46:59 lf-activate-venv: SKIPPING 18:46:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-177/3 18:46:59 INFO: archiving workspace using pattern(s): 18:47:00 Archives upload complete. 18:47:00 INFO: archiving logs to Nexus