Pull request #180 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 c32d12cb3f3d5bd786ac66f0af1d84994387a230 rather than c44d1cb6a65eeec37ec58c02a279d2b878b9a28f Obtained Jenkinsfile from c32d12cb3f3d5bd786ac66f0af1d84994387a230 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-ssh15540450098304765420.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-ssh2315469738570434333.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-180/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-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16258514954959109426.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-ssh1214786292749171731.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-180/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-180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17502190295839051958.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8700’ Running on prd-ubuntu20.04-docker-8c-8g-8707 in /w/workspace/undry_device-onvif-camera_PR-180 [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-180 # 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 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit c44d1cb6a65eeec37ec58c02a279d2b878b9a28f Merge succeeded, producing c44d1cb6a65eeec37ec58c02a279d2b878b9a28f Checking out Revision c44d1cb6a65eeec37ec58c02a279d2b878b9a28f (PR-180) > 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/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c44d1cb6a65eeec37ec58c02a279d2b878b9a28f # 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 c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c44d1cb6a65eeec37ec58c02a279d2b878b9a28f # timeout=10 Commit message: "docs: cleanup" > git rev-list --no-walk 68169d1bfd71bebd11a366dae991164454c6cc80 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:24:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:24:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:24:21 ========================================================= 18:24:21 EdgeX Global Pipelines Version Info 18:24:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:24:22 ------------------- 18:24:22 stable info: 18:24:22 ------------------- 18:24:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:24:22 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:24:22 Message: update stable to v1.0.243 18:24:22 ------------------- 18:24:22 experimental info: 18:24:22 ------------------- 18:24:22 Commited By: **** collab-it+edgex@linuxfoundation.org 18:24:22 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:24:22 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:24:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:24:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:24:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:24:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:24:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:24:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:24:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:24:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:24:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:24:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:24:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c44d1cb [Pipeline] echo 18:24:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:23 provisioning config files... 18:24:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config14448432642823257936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:23 ---> docker-login.sh 18:24:23 nexus3.edgexfoundry.org:10001 18:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:23 Configure a credential helper to remove this warning. See 18:24:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:23 18:24:23 Login Succeeded 18:24:23 nexus3.edgexfoundry.org:10002 18:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:23 Configure a credential helper to remove this warning. See 18:24:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:23 18:24:23 Login Succeeded 18:24:23 nexus3.edgexfoundry.org:10003 18:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:24 Configure a credential helper to remove this warning. See 18:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:24 18:24:24 Login Succeeded 18:24:24 nexus3.edgexfoundry.org:10004 18:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:24 Configure a credential helper to remove this warning. See 18:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:24 18:24:24 Login Succeeded 18:24:24 docker.io 18:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:24 Configure a credential helper to remove this warning. See 18:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:24 18:24:24 Login Succeeded 18:24:24 ---> docker-login.sh ends [Pipeline] } 18:24:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:24:25 + git rev-list -1 --merges c44d1cb6a65eeec37ec58c02a279d2b878b9a28f~1..c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [Pipeline] echo 18:24:25 -----------> git rev-list -1 --merges c44d1cb6a65eeec37ec58c02a279d2b878b9a28f~1..c44d1cb6a65eeec37ec58c02a279d2b878b9a28f c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [false] [Pipeline] sh 18:24:25 + git log --format=format:%s -1 c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [Pipeline] echo 18:24:25 ========================================================= 18:24:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:24:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:24:25 + git log --format=format:%s -1 c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [Pipeline] echo 18:24:25 [semverPrep] GIT_COMMIT: c44d1cb6a65eeec37ec58c02a279d2b878b9a28f, Commit Message: docs: cleanup [Pipeline] echo 18:24:25 [semverPrep] This is not a build commit. [Pipeline] sh 18:24:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:24:26 + grep -v github /etc/ssh/ssh_known_hosts 18:24:26 + [ -e /tmp/ssh_known_hosts ] 18:24:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:24:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:24:26 + sudo tee -a /etc/ssh/ssh_known_hosts 18:24:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:24:26 18:24:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:24:26 0.1.4: Pulling from edgex-devops/py-git-semver 18:24:26 b85a868b505f: Pulling fs layer 18:24:26 e2be974225ed: Pulling fs layer 18:24:26 339a4e72a1f5: Pulling fs layer 18:24:26 988bab9f4d93: Pulling fs layer 18:24:26 1469e6f7b9e6: Pulling fs layer 18:24:26 eaf3925da568: Pulling fs layer 18:24:26 bab4dde63d76: Pulling fs layer 18:24:26 bde34c3a00c8: Pulling fs layer 18:24:26 b352a97aabf1: Pulling fs layer 18:24:26 4872d77fe225: Pulling fs layer 18:24:26 5851b861e8e6: Pulling fs layer 18:24:26 eaf3925da568: Waiting 18:24:26 988bab9f4d93: Waiting 18:24:26 bde34c3a00c8: Waiting 18:24:26 1469e6f7b9e6: Waiting 18:24:26 b352a97aabf1: Waiting 18:24:26 bab4dde63d76: Waiting 18:24:26 5851b861e8e6: Waiting 18:24:26 e2be974225ed: Verifying Checksum 18:24:26 e2be974225ed: Download complete 18:24:26 988bab9f4d93: Verifying Checksum 18:24:26 988bab9f4d93: Download complete 18:24:26 1469e6f7b9e6: Verifying Checksum 18:24:26 1469e6f7b9e6: Download complete 18:24:26 eaf3925da568: Verifying Checksum 18:24:26 eaf3925da568: Download complete 18:24:26 339a4e72a1f5: Verifying Checksum 18:24:26 339a4e72a1f5: Download complete 18:24:26 bde34c3a00c8: Verifying Checksum 18:24:26 bde34c3a00c8: Download complete 18:24:26 b352a97aabf1: Download complete 18:24:26 b85a868b505f: Verifying Checksum 18:24:26 b85a868b505f: Download complete 18:24:26 4872d77fe225: Download complete 18:24:26 5851b861e8e6: Verifying Checksum 18:24:26 5851b861e8e6: Download complete 18:24:27 bab4dde63d76: Verifying Checksum 18:24:27 bab4dde63d76: Download complete 18:24:28 b85a868b505f: Pull complete 18:24:28 e2be974225ed: Pull complete 18:24:28 339a4e72a1f5: Pull complete 18:24:28 988bab9f4d93: Pull complete 18:24:29 1469e6f7b9e6: Pull complete 18:24:29 eaf3925da568: Pull complete 18:24:30 bab4dde63d76: Pull complete 18:24:31 bde34c3a00c8: Pull complete 18:24:31 b352a97aabf1: Pull complete 18:24:31 4872d77fe225: Pull complete 18:24:31 5851b861e8e6: Pull complete 18:24:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:24:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:24:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:31 prd-ubuntu20.04-docker-8c-8g-8707 does not seem to be running inside a container 18:24:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:24:32 $ docker top 5afdff3fb26c83c6e4ba41c01a70ee4fc348437804b291289b48bc8634ca62a5 -eo pid,comm 18:24:32 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:24:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:24:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:24:32 [ssh-agent] Looking for ssh-agent implementation... 18:24:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:24:33 $ docker exec 5afdff3fb26c83c6e4ba41c01a70ee4fc348437804b291289b48bc8634ca62a5 ssh-agent 18:24:33 SSH_AUTH_SOCK=/tmp/ssh-WCOWpsu8VrPm/agent.32 18:24:33 SSH_AGENT_PID=38 18:24:33 Running ssh-add (command line suppressed) 18:24:33 Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_9300673438404648588.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_9300673438404648588.key) 18:24:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:24:33 + git tag --points-at HEAD [Pipeline] } 18:24:33 $ docker exec --env ******** --env ******** 5afdff3fb26c83c6e4ba41c01a70ee4fc348437804b291289b48bc8634ca62a5 ssh-agent -k 18:24:33 unset SSH_AUTH_SOCK; 18:24:33 unset SSH_AGENT_PID; 18:24:33 echo Agent pid 38 killed; 18:24:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:24:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:24:33 [ssh-agent] Looking for ssh-agent implementation... 18:24:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:24:33 $ docker exec 5afdff3fb26c83c6e4ba41c01a70ee4fc348437804b291289b48bc8634ca62a5 ssh-agent 18:24:33 SSH_AUTH_SOCK=/tmp/ssh-SNefL51nIgoK/agent.70 18:24:33 SSH_AGENT_PID=76 18:24:33 Running ssh-add (command line suppressed) 18:24:34 Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_7883575896211128880.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_7883575896211128880.key) 18:24:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:24:34 + git semver init 18:24:34 2022-10-20 18:24:34,580 [run_init] DEBUG init version:0.0.0 force:False 18:24:34 2022-10-20 18:24:34,582 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-180/.semver 18:24:34 2022-10-20 18:24:34,583 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-180/.semver 18:24:34 2022-10-20 18:24:34,584 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-180/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-180, universal_newlines=False, shell=None, istream=None) 18:24:36 2022-10-20 18:24:35,653 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-180/.git/info/exclude 18:24:36 2022-10-20 18:24:35,654 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 with force:False 18:24:36 2022-10-20 18:24:35,654 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 18:24:36 2022-10-20 18:24:35,658 [execute] INFO git cat-file --batch-check 18:24:36 2022-10-20 18:24:35,659 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) 18:24:36 2022-10-20 18:24:35,665 [execute] INFO git cat-file --batch 18:24:36 2022-10-20 18:24:35,666 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) 18:24:36 2022-10-20 18:24:35,671 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 18:24:36 0.0.0 [Pipeline] } 18:24:36 $ docker exec --env ******** --env ******** 5afdff3fb26c83c6e4ba41c01a70ee4fc348437804b291289b48bc8634ca62a5 ssh-agent -k 18:24:36 unset SSH_AUTH_SOCK; 18:24:36 unset SSH_AGENT_PID; 18:24:36 echo Agent pid 76 killed; 18:24:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:24:36 + git semver [Pipeline] } 18:24:36 $ docker stop --time=1 5afdff3fb26c83c6e4ba41c01a70ee4fc348437804b291289b48bc8634ca62a5 18:24:38 $ docker rm -f 5afdff3fb26c83c6e4ba41c01a70ee4fc348437804b291289b48bc8634ca62a5 [Pipeline] // withDockerContainer [Pipeline] sh 18:24:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:24:38 Stashed 1 file(s) [Pipeline] echo 18:24:38 [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:24:38 provisioning config files... 18:24:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config8172757817326282968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:39 ---> docker-login.sh 18:24:39 nexus3.edgexfoundry.org:10001 18:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:39 Configure a credential helper to remove this warning. See 18:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:39 18:24:39 Login Succeeded 18:24:39 nexus3.edgexfoundry.org:10002 18:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:39 Configure a credential helper to remove this warning. See 18:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:39 18:24:39 Login Succeeded 18:24:39 nexus3.edgexfoundry.org:10003 18:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:39 Configure a credential helper to remove this warning. See 18:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:39 18:24:39 Login Succeeded 18:24:39 nexus3.edgexfoundry.org:10004 18:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:39 Configure a credential helper to remove this warning. See 18:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:39 18:24:39 Login Succeeded 18:24:39 docker.io 18:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:39 Configure a credential helper to remove this warning. See 18:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:39 18:24:39 Login Succeeded 18:24:39 ---> docker-login.sh ends [Pipeline] } 18:24:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:24:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:24:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:24:39 ========================================================= 18:24:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:24:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:40 + 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:24:40 Sending build context to Docker daemon 27.03MB 18:24:40 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 18:24:40 Step 2/14 : FROM ${BASE} AS builder 18:24:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:24:40 213ec9aee27d: Pulling fs layer 18:24:40 4583459ba037: Pulling fs layer 18:24:40 93c1e223e6f2: Pulling fs layer 18:24:40 53926ce57604: Pulling fs layer 18:24:40 21b2b0c7a3f4: Pulling fs layer 18:24:40 30f14e443154: Pulling fs layer 18:24:40 801331c1e519: Pulling fs layer 18:24:40 99cc6dd402b0: Pulling fs layer 18:24:40 7d9ed39f4882: Pulling fs layer 18:24:40 53926ce57604: Waiting 18:24:40 21b2b0c7a3f4: Waiting 18:24:40 99cc6dd402b0: Waiting 18:24:40 30f14e443154: Waiting 18:24:40 801331c1e519: Waiting 18:24:40 93c1e223e6f2: Verifying Checksum 18:24:40 93c1e223e6f2: Download complete 18:24:40 4583459ba037: Download complete 18:24:40 21b2b0c7a3f4: Download complete 18:24:40 30f14e443154: Verifying Checksum 18:24:40 30f14e443154: Download complete 18:24:40 213ec9aee27d: Verifying Checksum 18:24:40 213ec9aee27d: Download complete 18:24:40 801331c1e519: Verifying Checksum 18:24:40 801331c1e519: Download complete 18:24:40 213ec9aee27d: Pull complete 18:24:40 4583459ba037: Pull complete 18:24:40 93c1e223e6f2: Pull complete 18:24:41 99cc6dd402b0: Verifying Checksum 18:24:41 99cc6dd402b0: Download complete 18:24:41 53926ce57604: Verifying Checksum 18:24:41 53926ce57604: Download complete 18:24:41 7d9ed39f4882: Verifying Checksum 18:24:41 7d9ed39f4882: Download complete 18:24:45 53926ce57604: Pull complete 18:24:45 21b2b0c7a3f4: Pull complete 18:24:45 30f14e443154: Pull complete 18:24:45 801331c1e519: Pull complete 18:24:47 99cc6dd402b0: Pull complete 18:24:48 7d9ed39f4882: Pull complete 18:24:48 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 18:24:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:24:48 ---> 1dedd983c030 18:24:48 Step 3/14 : ARG ADD_BUILD_TAGS="" 18:24:49 ---> Running in 3efb886ba608 18:24:49 Removing intermediate container 3efb886ba608 18:24:49 ---> 68135801983b 18:24:49 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:24:49 ---> Running in 62431fe2544b 18:24:49 Removing intermediate container 62431fe2544b 18:24:49 ---> 1cb9929e4d6b 18:24:49 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:24:50 ---> Running in 200742b4567d 18:24:50 Removing intermediate container 200742b4567d 18:24:50 ---> 68cf43dd1a14 18:24:50 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 18:24:50 ---> Running in a4e233dac415 18:24:50 Removing intermediate container a4e233dac415 18:24:50 ---> 07451437b142 18:24:50 Step 7/14 : LABEL Name=edgex-device-onvif-camera 18:24:50 ---> Running in b528591797c9 18:24:50 Removing intermediate container b528591797c9 18:24:50 ---> 521da30434dc 18:24:50 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:24:50 ---> Running in 57e3458ac976 18:24:51 Removing intermediate container 57e3458ac976 18:24:51 ---> 8834c4bcf0d0 18:24:51 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:24:51 ---> Running in 9d3cbfdee5b5 18:24:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:24:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:24:52 OK: 211 MiB in 51 packages 18:24:52 Removing intermediate container 9d3cbfdee5b5 18:24:52 ---> ce00317a489c 18:24:52 Step 10/14 : WORKDIR /device-onvif-camera 18:24:52 ---> Running in 83093b699b62 18:24:52 Removing intermediate container 83093b699b62 18:24:52 ---> 114cee5f23ad 18:24:52 Step 11/14 : COPY go.mod vendor* ./ 18:24:53 ---> ee5e673c3cf3 18:24:53 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:24:53 ---> Running in 77ebb521285c 18:24:53 Still waiting to schedule task 18:24:53 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8703’ 18:25:14 Removing intermediate container 77ebb521285c 18:25:14 ---> 6721ced1e9db 18:25:14 Step 13/14 : COPY . . 18:25:14 ---> dcfc4b61a614 18:25:14 Step 14/14 : RUN ${MAKE} 18:25:14 ---> Running in fb45191c8c22 18:25:14 noop 18:25:14 Removing intermediate container fb45191c8c22 18:25:14 ---> 2a2919448877 18:25:14 Successfully built 2a2919448877 18:25:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:15 + docker inspect -f . ci-base-image-x86_64 18:25:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:15 prd-ubuntu20.04-docker-8c-8g-8707 does not seem to be running inside a container 18:25:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:25:15 $ docker top 3e0c186383cc9a6bdb30c5f4a6653cfea20f2b1fcf02e87b9b1c851ec68cffd3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:25:16 + go version 18:25:16 go version go1.18.7 linux/amd64 [Pipeline] } 18:25:16 $ docker stop --time=1 3e0c186383cc9a6bdb30c5f4a6653cfea20f2b1fcf02e87b9b1c851ec68cffd3 18:25:17 $ docker rm -f 3e0c186383cc9a6bdb30c5f4a6653cfea20f2b1fcf02e87b9b1c851ec68cffd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:17 + docker inspect -f . ci-base-image-x86_64 18:25:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:17 prd-ubuntu20.04-docker-8c-8g-8707 does not seem to be running inside a container 18:25:17 $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:25:18 $ docker top 41505008659ceb811e0c98b6a984d8b9ab41c7c5477f3666157cc585e229f15b -eo pid,comm [Pipeline] { [Pipeline] sh 18:25:18 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] fileExists [Pipeline] sh 18:25:18 + make test 18:25:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:25:19 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:25:31 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:25:31 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.031s coverage: 28.2% of statements 18:25:31 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:25:31 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.411s coverage: 86.5% of statements 18:25:39 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:25:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:25:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:25:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:25:41 ./bin/test-attribution-txt.sh [Pipeline] echo 18:25:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:25:41 $ docker stop --time=1 41505008659ceb811e0c98b6a984d8b9ab41c7c5477f3666157cc585e229f15b 18:25:43 $ docker rm -f 41505008659ceb811e0c98b6a984d8b9ab41c7c5477f3666157cc585e229f15b [Pipeline] // withDockerContainer [Pipeline] sh 18:25:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:25:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:25:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:25:45 + ls -al . 18:25:45 total 236 18:25:45 drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 18:25 . 18:25:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 18:24 .. 18:25:45 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 18:25 .git 18:25:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 18:24 .github 18:25:45 -rw-rw-r-- 1 jenkins jenkins 496 Oct 20 18:24 .gitignore 18:25:45 -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 18:24 .golangci.yml 18:25:45 drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 18:24 .semver 18:25:45 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 20 18:24 Attribution.txt 18:25:45 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 20 18:24 CHANGELOG.md 18:25:45 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 20 18:24 Dockerfile 18:25:45 -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 18:24 GOVERNANCE.md 18:25:45 -rw-rw-r-- 1 jenkins jenkins 734 Oct 20 18:24 Jenkinsfile 18:25:45 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 20 18:24 LICENSE 18:25:45 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 20 18:24 Makefile 18:25:45 -rw-rw-r-- 1 jenkins jenkins 625 Oct 20 18:24 OWNERS.md 18:25:45 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 20 18:24 README.md 18:25:45 -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 18:24 VERSION 18:25:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 18:24 bin 18:25:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 18:24 cmd 18:25:45 -rw-r--r-- 1 jenkins jenkins 78636 Oct 20 18:25 coverage.out 18:25:45 drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 18:24 doc 18:25:45 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 20 18:24 go.mod 18:25:45 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 20 18:24 go.sum 18:25:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 18:24 internal 18:25:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 18:24 snap 18:25:45 -rw-rw-r-- 1 jenkins jenkins 236 Oct 20 18:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:45 + 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=c44d1cb6a65eeec37ec58c02a279d2b878b9a28f --label arch=amd64 --label version=0.0.0 . 18:25:45 Sending build context to Docker daemon 27.11MB 18:25:45 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 18:25:45 Step 2/27 : FROM ${BASE} AS builder 18:25:45 ---> 2a2919448877 18:25:45 Step 3/27 : ARG ADD_BUILD_TAGS="" 18:25:45 ---> Running in ebad289f9e37 18:25:45 Removing intermediate container ebad289f9e37 18:25:45 ---> 3805e9bfd3e7 18:25:45 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:25:45 ---> Running in 54ac51f225a8 18:25:45 Removing intermediate container 54ac51f225a8 18:25:45 ---> ae5de42ce3ef 18:25:45 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:25:45 ---> Running in 4be8ed9ed8e7 18:25:45 Removing intermediate container 4be8ed9ed8e7 18:25:45 ---> 333b76ba5e90 18:25:45 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 18:25:45 ---> Running in f61889b26c23 18:25:46 Removing intermediate container f61889b26c23 18:25:46 ---> 1c097bceff42 18:25:46 Step 7/27 : LABEL Name=edgex-device-onvif-camera 18:25:46 ---> Running in 96ad311e5779 18:25:46 Removing intermediate container 96ad311e5779 18:25:46 ---> 24b5c6c2362a 18:25:46 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:25:46 ---> Running in 7d48265400f3 18:25:46 Removing intermediate container 7d48265400f3 18:25:46 ---> 666da23e4c12 18:25:46 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:25:46 ---> Running in 98f994860a1f 18:25:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:25:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:25:48 OK: 211 MiB in 51 packages 18:25:48 Removing intermediate container 98f994860a1f 18:25:48 ---> 54343ed39b46 18:25:48 Step 10/27 : WORKDIR /device-onvif-camera 18:25:48 ---> Running in 146c0c275028 18:25:48 Removing intermediate container 146c0c275028 18:25:48 ---> ec3a2b75efbc 18:25:48 Step 11/27 : COPY go.mod vendor* ./ 18:25:48 ---> ffd6ae73940f 18:25:48 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:25:48 ---> Running in f2f7ae62d6d8 18:25:49 Removing intermediate container f2f7ae62d6d8 18:25:49 ---> 3cf32ad2a49f 18:25:49 Step 13/27 : COPY . . 18:25:50 ---> 6fee06b86416 18:25:50 Step 14/27 : RUN ${MAKE} 18:25:50 ---> Running in 28f3e33bcebe 18:25:50 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:26:12 Removing intermediate container 28f3e33bcebe 18:26:12 ---> d520c5d221ae 18:26:12 Step 15/27 : FROM alpine:3.16 18:26:12 3.16: Pulling from library/alpine 18:26:12 213ec9aee27d: Already exists 18:26:12 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:26:12 Status: Downloaded newer image for alpine:3.16 18:26:12 ---> 9c6f07244728 18:26:12 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:26:12 ---> Running in 8bc73da2650b 18:26:12 Removing intermediate container 8bc73da2650b 18:26:12 ---> 74f12847a7a5 18:26:12 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 18:26:12 ---> Running in 51a000b7d0bd 18:26:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:26:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:26:12 (1/6) Installing dumb-init (1.2.5-r1) 18:26:12 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:26:12 (3/6) Installing libsodium (1.0.18-r0) 18:26:12 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:26:12 (5/6) Installing libzmq (4.3.4-r0) 18:26:12 (6/6) Installing zeromq (4.3.4-r0) 18:26:12 Executing busybox-1.35.0-r17.trigger 18:26:12 OK: 8 MiB in 20 packages 18:26:12 Removing intermediate container 51a000b7d0bd 18:26:12 ---> 6e4449c9f37d 18:26:12 Step 18/27 : WORKDIR / 18:26:12 ---> Running in 1c0169064136 18:26:12 Removing intermediate container 1c0169064136 18:26:12 ---> b1f013988c07 18:26:12 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 18:26:13 ---> a830f40b970c 18:26:13 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 18:26:13 ---> a036fcd65655 18:26:13 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:26:13 ---> 97b27e8b9e9e 18:26:13 Step 22/27 : EXPOSE 59984 18:26:13 ---> Running in 79c47c9a1e49 18:26:13 Removing intermediate container 79c47c9a1e49 18:26:13 ---> 2956e4877401 18:26:13 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 18:26:13 ---> Running in 9f9e003ce880 18:26:13 Removing intermediate container 9f9e003ce880 18:26:13 ---> a98ac72621ea 18:26:13 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:26:13 ---> Running in d86e6d0e520f 18:26:13 Removing intermediate container d86e6d0e520f 18:26:13 ---> 2ef4d3ea2e50 18:26:13 Step 25/27 : LABEL arch=amd64 18:26:13 ---> Running in 63ea33e1fa6f 18:26:13 Removing intermediate container 63ea33e1fa6f 18:26:13 ---> 9f6faa7df997 18:26:13 Step 26/27 : LABEL git_sha=c44d1cb6a65eeec37ec58c02a279d2b878b9a28f 18:26:13 ---> Running in 4a6e753bc75a 18:26:13 Removing intermediate container 4a6e753bc75a 18:26:13 ---> 43a7c97ebf18 18:26:13 Step 27/27 : LABEL version=0.0.0 18:26:13 ---> Running in 236f73e391aa 18:26:13 Removing intermediate container 236f73e391aa 18:26:13 ---> 15f9d2caa6ad 18:26:13 [Warning] One or more build-args [ARCH] were not consumed 18:26:13 Successfully built 15f9d2caa6ad 18:26:14 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:26:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:26:14 18:26:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:26:14 latest: Pulling from edgex-lftools-log-publisher 18:26:14 5eb5b503b376: Pulling fs layer 18:26:14 5c69ac0246d0: Pulling fs layer 18:26:14 ec43610c2a17: Pulling fs layer 18:26:14 3a2ae6a8a46f: Pulling fs layer 18:26:14 33b1e0a273af: Pulling fs layer 18:26:14 5d3b04190fa2: Pulling fs layer 18:26:14 2f39f015ded8: Pulling fs layer 18:26:14 3a2ae6a8a46f: Waiting 18:26:14 33b1e0a273af: Waiting 18:26:14 5d3b04190fa2: Waiting 18:26:14 2f39f015ded8: Waiting 18:26:14 5c69ac0246d0: Verifying Checksum 18:26:14 5c69ac0246d0: Download complete 18:26:14 3a2ae6a8a46f: Verifying Checksum 18:26:14 3a2ae6a8a46f: Download complete 18:26:14 33b1e0a273af: Verifying Checksum 18:26:14 33b1e0a273af: Download complete 18:26:14 5d3b04190fa2: Verifying Checksum 18:26:14 5d3b04190fa2: Download complete 18:26:15 ec43610c2a17: Verifying Checksum 18:26:15 ec43610c2a17: Download complete 18:26:15 5eb5b503b376: Verifying Checksum 18:26:15 5eb5b503b376: Download complete 18:26:15 2f39f015ded8: Download complete 18:26:16 5eb5b503b376: Pull complete 18:26:16 5c69ac0246d0: Pull complete 18:26:16 ec43610c2a17: Pull complete 18:26:16 3a2ae6a8a46f: Pull complete 18:26:17 33b1e0a273af: Pull complete 18:26:17 5d3b04190fa2: Pull complete 18:26:21 2f39f015ded8: Pull complete 18:26:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:26:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:26:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:21 prd-ubuntu20.04-docker-8c-8g-8707 does not seem to be running inside a container 18:26:21 $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:26:22 $ docker top 454f5c5c1101fc8b8112a96070c3ecfd5a205dcefedc2b4fdd1acd38e9cd1254 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:26:23 ---> job-cost.sh 18:26:23 lf-activate-venv: SKIPPING 18:26:23 INFO: No Stack... 18:26:23 INFO: Retrieving Pricing Info for: v3-standard-8 18:26:23 INFO: Archiving Costs [Pipeline] sh 18:26:24 + cut+ -d, -f6 18:26:24 cat /w/workspace/undry_device-onvif-camera_PR-180/archives/cost.csv [Pipeline] lock 18:26:24 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] 18:26:24 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] did not exist. Created. 18:26:24 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:26:24 + echo total: 0.2199999988079071 [Pipeline] stash 18:26:24 Stashed 1 file(s) [Pipeline] } 18:26:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] [Pipeline] // lock [Pipeline] } 18:26:24 $ docker stop --time=1 454f5c5c1101fc8b8112a96070c3ecfd5a205dcefedc2b4fdd1acd38e9cd1254 18:26:25 $ docker rm -f 454f5c5c1101fc8b8112a96070c3ecfd5a205dcefedc2b4fdd1acd38e9cd1254 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:27:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8710 in /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] { [Pipeline] ws 18:27:27 Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout 18:27:27 The recommended git tool is: git 18:27:33 using credential edgex-jenkins-ssh 18:27:33 Cloning the remote Git repository 18:27:33 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:27:33 > git init /w/workspace/device-onvif-camera/6 # timeout=10 18:27:33 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:27:33 > git --version # timeout=10 18:27:33 > git --version # 'git version 2.25.1' 18:27:33 using GIT_SSH to set credentials SSH Credentials for GitHub 18:27:33 Verifying host key using known hosts file 18:27:33 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:27:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:27:35 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:27:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:27:36 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:27:36 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:27:36 using GIT_SSH to set credentials SSH Credentials for GitHub 18:27:36 Verifying host key using known hosts file 18:27:36 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:27:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:27:37 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit c44d1cb6a65eeec37ec58c02a279d2b878b9a28f 18:27:37 Merge succeeded, producing c44d1cb6a65eeec37ec58c02a279d2b878b9a28f 18:27:37 Checking out Revision c44d1cb6a65eeec37ec58c02a279d2b878b9a28f (PR-180) 18:27:37 > git config core.sparsecheckout # timeout=10 18:27:37 > git checkout -f c44d1cb6a65eeec37ec58c02a279d2b878b9a28f # timeout=10 18:27:37 > git remote # timeout=10 18:27:37 > git config --get remote.origin.url # timeout=10 18:27:37 using GIT_SSH to set credentials SSH Credentials for GitHub 18:27:37 Verifying host key using known hosts file 18:27:37 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:27:37 > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 18:27:37 > git rev-parse HEAD^{commit} # timeout=10 18:27:37 > git config core.sparsecheckout # timeout=10 18:27:37 > git checkout -f c44d1cb6a65eeec37ec58c02a279d2b878b9a28f # timeout=10 18:27:38 Commit message: "docs: cleanup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:27:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:27:39 % Total % Received % Xferd Average Speed Time Time Time Current 18:27:39 Dload Upload Total Spent Left Speed 18:27:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 18:27:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:27:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:27:40 + sudo tee /etc/docker/daemon.new 18:27:40 { 18:27:40 "registry-mirrors": [ 18:27:40 "https://nexus3.edgexfoundry.org:10001" 18:27:40 ], 18:27:40 "bip": "10.250.0.254/24", 18:27:40 "hosts": [ 18:27:40 "tcp://0.0.0.0:5555", 18:27:40 "unix:///var/run/docker.sock" 18:27:40 ], 18:27:40 "mtu": 1458, 18:27:40 "selinux-enabled": true, 18:27:40 "seccomp-profile": "/etc/docker/seccomp.json" 18:27:40 } [Pipeline] sh 18:27:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:27:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:27:59 provisioning config files... 18:27:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config16500741882856552003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:27:59 ---> docker-login.sh 18:27:59 nexus3.edgexfoundry.org:10001 18:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:00 Configure a credential helper to remove this warning. See 18:28:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:00 18:28:00 Login Succeeded 18:28:00 nexus3.edgexfoundry.org:10002 18:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:00 Configure a credential helper to remove this warning. See 18:28:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:00 18:28:00 Login Succeeded 18:28:00 nexus3.edgexfoundry.org:10003 18:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:00 Configure a credential helper to remove this warning. See 18:28:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:00 18:28:00 Login Succeeded 18:28:00 nexus3.edgexfoundry.org:10004 18:28:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:01 Configure a credential helper to remove this warning. See 18:28:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:01 18:28:01 Login Succeeded 18:28:01 docker.io 18:28:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:02 Configure a credential helper to remove this warning. See 18:28:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:02 18:28:02 Login Succeeded 18:28:02 ---> docker-login.sh ends [Pipeline] } 18:28:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:28:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:28:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:28:02 ========================================================= 18:28:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:28:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:02 + 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:28:03 Sending build context to Docker daemon 20.39MB 18:28:03 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 18:28:03 Step 2/14 : FROM ${BASE} AS builder 18:28:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:28:03 9b18e9b68314: Pulling fs layer 18:28:03 d32db5db7311: Pulling fs layer 18:28:03 d0c4b47475fc: Pulling fs layer 18:28:03 5831b945b038: Pulling fs layer 18:28:03 86bbec2aaacd: Pulling fs layer 18:28:03 e10730c5d714: Pulling fs layer 18:28:03 5dd5c2283517: Pulling fs layer 18:28:03 d5ac0230b979: Pulling fs layer 18:28:03 86bbec2aaacd: Waiting 18:28:03 e10730c5d714: Waiting 18:28:03 5dd5c2283517: Waiting 18:28:03 d5ac0230b979: Waiting 18:28:03 5831b945b038: Waiting 18:28:03 d0c4b47475fc: Verifying Checksum 18:28:03 d0c4b47475fc: Download complete 18:28:03 d32db5db7311: Verifying Checksum 18:28:03 d32db5db7311: Download complete 18:28:03 86bbec2aaacd: Verifying Checksum 18:28:03 86bbec2aaacd: Download complete 18:28:03 e10730c5d714: Verifying Checksum 18:28:03 e10730c5d714: Download complete 18:28:03 9b18e9b68314: Verifying Checksum 18:28:03 9b18e9b68314: Download complete 18:28:04 9b18e9b68314: Pull complete 18:28:04 d5ac0230b979: Verifying Checksum 18:28:04 d5ac0230b979: Download complete 18:28:05 5dd5c2283517: Verifying Checksum 18:28:05 5dd5c2283517: Download complete 18:28:05 d32db5db7311: Pull complete 18:28:06 d0c4b47475fc: Pull complete 18:28:06 5831b945b038: Verifying Checksum 18:28:06 5831b945b038: Download complete 18:28:18 5831b945b038: Pull complete 18:28:18 86bbec2aaacd: Pull complete 18:28:19 e10730c5d714: Pull complete 18:28:25 5dd5c2283517: Pull complete 18:28:27 d5ac0230b979: Pull complete 18:28:27 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 18:28:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:28:27 ---> 59b3b1a385d4 18:28:27 Step 3/14 : ARG ADD_BUILD_TAGS="" 18:28:29 ---> Running in da382aea0709 18:28:29 Removing intermediate container da382aea0709 18:28:29 ---> 185ca55b30c2 18:28:29 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:28:29 ---> Running in 2c28409a91ec 18:28:29 Removing intermediate container 2c28409a91ec 18:28:29 ---> 719dde0818a5 18:28:29 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:28:29 ---> Running in dea6d057636f 18:28:30 Removing intermediate container dea6d057636f 18:28:30 ---> efe8b1f7c65d 18:28:30 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 18:28:30 ---> Running in 0cc1eb0f9efa 18:28:30 Removing intermediate container 0cc1eb0f9efa 18:28:30 ---> 7b07605cc973 18:28:30 Step 7/14 : LABEL Name=edgex-device-onvif-camera 18:28:30 ---> Running in e4942a5de485 18:28:30 Removing intermediate container e4942a5de485 18:28:30 ---> c14eaa5f6ea1 18:28:30 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:28:30 ---> Running in 2db68aa95381 18:28:32 Removing intermediate container 2db68aa95381 18:28:32 ---> e916f4c2df0b 18:28:32 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:28:32 ---> Running in bf888967d499 18:28:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:28:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:28:35 OK: 221 MiB in 51 packages 18:28:35 Removing intermediate container bf888967d499 18:28:35 ---> 08cbe42c209c 18:28:35 Step 10/14 : WORKDIR /device-onvif-camera 18:28:36 ---> Running in c4290994e1fd 18:28:36 Removing intermediate container c4290994e1fd 18:28:36 ---> 659b4b5f26dc 18:28:36 Step 11/14 : COPY go.mod vendor* ./ 18:28:36 ---> ced3b39f5dcc 18:28:36 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:28:36 ---> Running in 2024ce4137be 18:29:33 Removing intermediate container 2024ce4137be 18:29:33 ---> fc841dce66c7 18:29:33 Step 13/14 : COPY . . 18:29:33 ---> 245fbd9d5169 18:29:33 Step 14/14 : RUN ${MAKE} 18:29:33 ---> Running in b081ea2d0c63 18:29:33 noop 18:29:33 Removing intermediate container b081ea2d0c63 18:29:33 ---> 00110ca44db2 18:29:33 Successfully built 00110ca44db2 18:29:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:33 + docker inspect -f . ci-base-image-arm64 18:29:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:29:33 prd-ubuntu20.04-docker-arm64-4c-16g-8710 does not seem to be running inside a container 18:29:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:29:35 $ docker top 2b4fbc01b0470f6aae301d0306c8443e3b2e97b9c9fa6d8642e65d9c87716050 -eo pid,comm [Pipeline] { [Pipeline] sh 18:29:35 + go version 18:29:35 go version go1.18.7 linux/arm64 [Pipeline] } 18:29:35 $ docker stop --time=1 2b4fbc01b0470f6aae301d0306c8443e3b2e97b9c9fa6d8642e65d9c87716050 18:29:37 $ docker rm -f 2b4fbc01b0470f6aae301d0306c8443e3b2e97b9c9fa6d8642e65d9c87716050 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:38 + docker inspect -f . ci-base-image-arm64 18:29:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:29:38 prd-ubuntu20.04-docker-arm64-4c-16g-8710 does not seem to be running inside a container 18:29:38 $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:29:39 $ docker top 787ec4ae074f0fd539efd9553f5da773194964113e959eb0f3875a3b872870e5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:29:39 + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh 18:29:40 + make test 18:29:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:29:42 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:31:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:31:20 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.189s coverage: 28.2% of statements 18:31:20 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:31:35 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.881s coverage: 86.5% of statements 18:31:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:31:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:31:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:31:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:31:57 ./bin/test-attribution-txt.sh [Pipeline] echo 18:31:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:31:57 $ docker stop --time=1 787ec4ae074f0fd539efd9553f5da773194964113e959eb0f3875a3b872870e5 18:31:58 $ docker rm -f 787ec4ae074f0fd539efd9553f5da773194964113e959eb0f3875a3b872870e5 [Pipeline] // withDockerContainer [Pipeline] sh 18:31:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:31:59 Warning: overwriting stash ‘coverage-report’ 18:32:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:32:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:32:01 + ls -al . 18:32:01 total 232 18:32:01 drwxrwxr-x 9 jenkins jenkins 4096 Oct 20 18:29 . 18:32:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 18:27 .. 18:32:01 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 18:27 .git 18:32:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 18:27 .github 18:32:01 -rw-rw-r-- 1 jenkins jenkins 496 Oct 20 18:27 .gitignore 18:32:01 -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 18:27 .golangci.yml 18:32:01 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 20 18:27 Attribution.txt 18:32:01 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 20 18:27 CHANGELOG.md 18:32:01 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 20 18:27 Dockerfile 18:32:01 -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 18:27 GOVERNANCE.md 18:32:01 -rw-rw-r-- 1 jenkins jenkins 734 Oct 20 18:27 Jenkinsfile 18:32:01 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 20 18:27 LICENSE 18:32:01 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 20 18:27 Makefile 18:32:01 -rw-rw-r-- 1 jenkins jenkins 625 Oct 20 18:27 OWNERS.md 18:32:01 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 20 18:27 README.md 18:32:01 -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 18:24 VERSION 18:32:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 18:27 bin 18:32:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 18:27 cmd 18:32:01 -rw-r--r-- 1 jenkins jenkins 78636 Oct 20 18:31 coverage.out 18:32:01 drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 18:27 doc 18:32:01 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 20 18:27 go.mod 18:32:01 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 20 18:27 go.sum 18:32:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 18:27 internal 18:32:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 18:27 snap 18:32:01 -rw-rw-r-- 1 jenkins jenkins 236 Oct 20 18:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:01 + 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=c44d1cb6a65eeec37ec58c02a279d2b878b9a28f --label arch=arm64 --label version=0.0.0 . 18:32:01 Sending build context to Docker daemon 20.47MB 18:32:01 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 18:32:01 Step 2/27 : FROM ${BASE} AS builder 18:32:01 ---> 00110ca44db2 18:32:01 Step 3/27 : ARG ADD_BUILD_TAGS="" 18:32:02 ---> Running in 2cf17d4c7a25 18:32:02 Removing intermediate container 2cf17d4c7a25 18:32:02 ---> dc35b20a2ba0 18:32:02 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:32:02 ---> Running in 08ebfeb168f0 18:32:02 Removing intermediate container 08ebfeb168f0 18:32:02 ---> 7d93f9c57f7e 18:32:02 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:32:02 ---> Running in ebac644a0984 18:32:03 Removing intermediate container ebac644a0984 18:32:03 ---> 7190da9fd464 18:32:03 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 18:32:03 ---> Running in ffb273dceb95 18:32:03 Removing intermediate container ffb273dceb95 18:32:03 ---> 6969ed1df845 18:32:03 Step 7/27 : LABEL Name=edgex-device-onvif-camera 18:32:03 ---> Running in a2ee51a0fe0c 18:32:03 Removing intermediate container a2ee51a0fe0c 18:32:03 ---> ad87147cf661 18:32:03 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:32:03 ---> Running in e98dff063574 18:32:05 Removing intermediate container e98dff063574 18:32:05 ---> af60a1ccf82b 18:32:05 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:32:05 ---> Running in 51e9fa4ec4b7 18:32:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:32:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:32:08 OK: 221 MiB in 51 packages 18:32:08 Removing intermediate container 51e9fa4ec4b7 18:32:08 ---> 55068d422d87 18:32:08 Step 10/27 : WORKDIR /device-onvif-camera 18:32:08 ---> Running in e40845fee30b 18:32:09 Removing intermediate container e40845fee30b 18:32:09 ---> 006010ce19e2 18:32:09 Step 11/27 : COPY go.mod vendor* ./ 18:32:09 ---> 3a0ab1fb9775 18:32:09 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:32:09 ---> Running in ef58d79c6517 18:32:11 Removing intermediate container ef58d79c6517 18:32:11 ---> 65f2eaa86c41 18:32:11 Step 13/27 : COPY . . 18:32:13 ---> 3ae659f492a3 18:32:13 Step 14/27 : RUN ${MAKE} 18:32:13 ---> Running in 19c06d57fd48 18:32:14 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:34:35 Removing intermediate container 19c06d57fd48 18:34:35 ---> ae4000add793 18:34:35 Step 15/27 : FROM alpine:3.16 18:34:35 3.16: Pulling from library/alpine 18:34:35 9b18e9b68314: Already exists 18:34:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:34:35 Status: Downloaded newer image for alpine:3.16 18:34:35 ---> a6215f271958 18:34:35 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:34:35 ---> Running in a68606671430 18:34:35 Removing intermediate container a68606671430 18:34:35 ---> 5d990e3e8130 18:34:35 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 18:34:35 ---> Running in c6dd4ebcfc10 18:34:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:34:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:34:35 (1/6) Installing dumb-init (1.2.5-r1) 18:34:35 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:34:35 (3/6) Installing libsodium (1.0.18-r0) 18:34:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:34:35 (5/6) Installing libzmq (4.3.4-r0) 18:34:35 (6/6) Installing zeromq (4.3.4-r0) 18:34:35 Executing busybox-1.35.0-r17.trigger 18:34:35 OK: 8 MiB in 20 packages 18:34:35 Removing intermediate container c6dd4ebcfc10 18:34:35 ---> 9ce5251eb029 18:34:35 Step 18/27 : WORKDIR / 18:34:35 ---> Running in 539b67872a17 18:34:35 Removing intermediate container 539b67872a17 18:34:35 ---> 5f18d1c102a7 18:34:35 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 18:34:35 ---> ea9a2dd5b130 18:34:35 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 18:34:35 ---> af3145c954dd 18:34:35 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:34:35 ---> d142a1209911 18:34:35 Step 22/27 : EXPOSE 59984 18:34:35 ---> Running in 265e812de5ef 18:34:35 Removing intermediate container 265e812de5ef 18:34:35 ---> fab89b106d4a 18:34:35 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 18:34:35 ---> Running in d6bb2de3040b 18:34:36 Removing intermediate container d6bb2de3040b 18:34:36 ---> 56f0d96bf75f 18:34:36 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:34:36 ---> Running in 21e5d780a2e9 18:34:36 Removing intermediate container 21e5d780a2e9 18:34:36 ---> fdd8b4c9cf03 18:34:36 Step 25/27 : LABEL arch=arm64 18:34:36 ---> Running in 518baaeb23c0 18:34:36 Removing intermediate container 518baaeb23c0 18:34:36 ---> d5d6d79c64d2 18:34:36 Step 26/27 : LABEL git_sha=c44d1cb6a65eeec37ec58c02a279d2b878b9a28f 18:34:36 ---> Running in 906e6bcc4c6b 18:34:37 Removing intermediate container 906e6bcc4c6b 18:34:37 ---> f562ee0d116d 18:34:37 Step 27/27 : LABEL version=0.0.0 18:34:37 ---> Running in 7d8596a99b02 18:34:37 Removing intermediate container 7d8596a99b02 18:34:37 ---> ab6230ecbafa 18:34:37 [Warning] One or more build-args [ARCH] were not consumed 18:34:37 Successfully built ab6230ecbafa 18:34:37 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:34:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:34:37 18:34:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:34:38 arm64: Pulling from edgex-lftools-log-publisher 18:34:38 8998bd30e6a1: Pulling fs layer 18:34:38 04944245beec: Pulling fs layer 18:34:38 699f458cf7ca: Pulling fs layer 18:34:38 765212b225bb: Pulling fs layer 18:34:38 f23df028b6ca: Pulling fs layer 18:34:38 d65c8cfc05b1: Pulling fs layer 18:34:38 2437ff75d9bd: Pulling fs layer 18:34:38 765212b225bb: Waiting 18:34:38 f23df028b6ca: Waiting 18:34:38 2437ff75d9bd: Waiting 18:34:38 d65c8cfc05b1: Waiting 18:34:38 04944245beec: Verifying Checksum 18:34:38 04944245beec: Download complete 18:34:38 765212b225bb: Verifying Checksum 18:34:38 765212b225bb: Download complete 18:34:38 f23df028b6ca: Verifying Checksum 18:34:38 f23df028b6ca: Download complete 18:34:38 d65c8cfc05b1: Verifying Checksum 18:34:38 d65c8cfc05b1: Download complete 18:34:38 699f458cf7ca: Verifying Checksum 18:34:38 699f458cf7ca: Download complete 18:34:39 8998bd30e6a1: Verifying Checksum 18:34:39 8998bd30e6a1: Download complete 18:34:41 2437ff75d9bd: Verifying Checksum 18:34:41 2437ff75d9bd: Download complete 18:34:43 8998bd30e6a1: Pull complete 18:34:43 04944245beec: Pull complete 18:34:45 699f458cf7ca: Pull complete 18:34:45 765212b225bb: Pull complete 18:34:45 f23df028b6ca: Pull complete 18:34:45 d65c8cfc05b1: Pull complete 18:35:00 2437ff75d9bd: Pull complete 18:35:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:35:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:35:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:01 prd-ubuntu20.04-docker-arm64-4c-16g-8710 does not seem to be running inside a container 18:35:01 $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:35:03 $ docker top 978c1d1279c100742065bbbf19ff44e9cd965ad2729a921f566bc546c66b51f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:04 ---> job-cost.sh 18:35:04 lf-activate-venv: SKIPPING 18:35:04 INFO: No Stack... 18:35:04 INFO: Retrieving Pricing Info for: v3-standard-4 18:35:05 INFO: Archiving Costs [Pipeline] sh 18:35:06 + cut -d, -f6 18:35:06 + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [Pipeline] lock 18:35:06 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] 18:35:06 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] did not exist. Created. 18:35:06 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:35:06 /w/workspace/device-onvif-camera/6@tmp/durable-fbed57e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:35:07 + echo total: 0.10999999940395355 [Pipeline] stash 18:35:07 Warning: overwriting stash ‘stack-cost’ 18:35:07 Stashed 1 file(s) [Pipeline] } 18:35:07 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-6-stack-cost] [Pipeline] // lock [Pipeline] } 18:35:07 $ docker stop --time=1 978c1d1279c100742065bbbf19ff44e9cd965ad2729a921f566bc546c66b51f4 18:35:08 $ docker rm -f 978c1d1279c100742065bbbf19ff44e9cd965ad2729a921f566bc546c66b51f4 [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:35:09 provisioning config files... 18:35:09 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config9648506178742153766tmp [Pipeline] { [Pipeline] sh 18:35:09 + set +x 18:35:09 + bash -s -- 18:35:09 + curl -s https://codecov.io/bash 18:35:09 18:35:09 _____ _ 18:35:09 / ____| | | 18:35:09 | | ___ __| | ___ ___ _____ __ 18:35:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:35:09 | |___| (_) | (_| | __/ (_| (_) \ V / 18:35:09 \_____\___/ \__,_|\___|\___\___/ \_/ 18:35:09 Bash-1.0.6 18:35:09 18:35:09 18:35:09 ==> git version 2.25.1 found 18:35:09 ==> 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:35:09 Release-Date: 2020-01-08 18:35:09 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:35:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:35:09 ==> Jenkins CI detected. 18:35:09 current dir:  /w/workspace/undry_device-onvif-camera_PR-180 18:35:09 project root: . 18:35:09 --> token set from env 18:35:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:35:09 ==> Running gcov in . (disable via -X gcov) 18:35:09 ==> Python coveragepy not found 18:35:09 ==> Searching for coverage reports in: 18:35:09 + . 18:35:09 -> Found 1 reports 18:35:09 ==> Detecting git/mercurial file structure 18:35:09 ==> Reading reports 18:35:09 + ./coverage.out bytes=78636 18:35:09 ==> Appending adjustments 18:35:09 https://docs.codecov.io/docs/fixing-reports 18:35:09 + Found adjustments 18:35:09 ==> Gzipping contents 18:35:09 12K /tmp/codecov.YLWWgS.gz 18:35:09 ==> Uploading reports 18:35:09 url: https://codecov.io 18:35:09 query: branch=PR-180&commit=c44d1cb6a65eeec37ec58c02a279d2b878b9a28f&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= 18:35:09 -> Pinging Codecov 18:35:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-180&commit=c44d1cb6a65eeec37ec58c02a279d2b878b9a28f&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= 18:35:10 -> Uploading to 18:35:10 https://storage.googleapis.com/codecov/v4/raw/2022-10-20/F29A59C45E3A92E06B3E522C9905F8EF/c44d1cb6a65eeec37ec58c02a279d2b878b9a28f/f7e266bb-40c1-44d8-9635-07c4c0627124.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221020%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221020T183509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ce5cbcf2cdb4ae7f82ce3329fcd29bb98b3b0d60c1b80f3f5da65d7547c26b72 18:35:10 % Total % Received % Xferd Average Speed Time Time Time Current 18:35:10 Dload Upload Total Spent Left Speed 18:35:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10825 0 0 100 10825 0 44364 --:--:-- --:--:-- --:--:-- 44364 18:35:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c44d1cb6a65eeec37ec58c02a279d2b878b9a28f [Pipeline] } 18:35:10 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:35:11 + [ -d /w/workspace/undry_device-onvif-camera_PR-180/archives ] 18:35:11 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 18:35:11 total 16 18:35:11 drwxr-xr-x 3 root root 4096 Oct 20 18:26 . 18:35:11 drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 18:26 .. 18:35:11 drwxr-xr-x 2 root root 4096 Oct 20 18:26 cost 18:35:11 -rw-r--r-- 1 root root 91 Oct 20 18:26 cost.csv 18:35:11 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-180/archives 18:35:11 + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives 18:35:11 total 16 18:35:11 drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 18:26 . 18:35:11 drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 18:26 .. 18:35:11 drwxr-xr-x 2 jenkins jenkins 4096 Oct 20 18:26 cost 18:35:11 -rw-r--r-- 1 jenkins jenkins 91 Oct 20 18:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:35:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:35:12 ---> package-listing.sh 18:35:12 ++ facter osfamily 18:35:12 ++ tr '[:upper:]' '[:lower:]' 18:35:12 + OS_FAMILY=debian 18:35:12 + workspace=/w/workspace/undry_device-onvif-camera_PR-180 18:35:12 + START_PACKAGES=/tmp/packages_start.txt 18:35:12 + END_PACKAGES=/tmp/packages_end.txt 18:35:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:35:12 + PACKAGES=/tmp/packages_start.txt 18:35:12 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 18:35:12 + PACKAGES=/tmp/packages_end.txt 18:35:12 + case "${OS_FAMILY}" in 18:35:12 + dpkg -l 18:35:12 + grep '^ii' 18:35:12 + '[' -f /tmp/packages_start.txt ']' 18:35:12 + '[' -f /tmp/packages_end.txt ']' 18:35:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:35:12 + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' 18:35:12 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-180/archives/ 18:35:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-180/archives/ [Pipeline] echo 18:35:12 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-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:35:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:35:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:13 prd-ubuntu20.04-docker-8c-8g-8707 does not seem to be running inside a container 18:35:13 $ 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-180/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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:35:13 $ docker top 862cdd5784e4251a376e9ac47c9a6dc639622a167c73ee5abc7720767ab7f1d5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:35:13 + touch /tmp/pre-build-complete [Pipeline] sh 18:35:14 + mkdir -p /var/log/sysstat [Pipeline] sh 18:35:14 + ls /var/log/sa-host 18:35:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:35:14 provisioning config files... 18:35:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config15703637522374638344tmp [Pipeline] { [Pipeline] echo 18:35:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:35:14 ---> create-netrc.sh [Pipeline] } 18:35:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:35:15 ---> python-tools-install.sh [Pipeline] echo 18:35:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:35:15 ---> sudo-logs.sh 18:35:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:35:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:35:15 ---> job-cost.sh 18:35:15 lf-activate-venv: SKIPPING 18:35:15 DEBUG: total: 0.2199999988079071 18:35:15 INFO: Retrieving Stack Cost... 18:35:16 INFO: Retrieving Pricing Info for: v3-standard-8 18:35:16 INFO: Archiving Costs [Pipeline] echo 18:35:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:35:16 ---> logs-deploy.sh 18:35:16 lf-activate-venv: SKIPPING 18:35:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-180/6 18:35:16 INFO: archiving workspace using pattern(s): 18:35:17 Archives upload complete. 18:35:17 INFO: archiving logs to Nexus