Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 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-ssh2672581867330056278.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh5790396272684188100.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14718751183239554831.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh988674497404291787.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13565289412335281029.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [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.20 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/v3 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-18459’ Running on prd-ubuntu20.04-docker-8c-8g-18461 in /w/workspace/foundry_device-onvif-camera_main [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/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#371)" > git rev-list --no-walk f8d6efeffbcc72b13ace8b41daac95c88037c92b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:44:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:44:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:44:51 ========================================================= 17:44:51 EdgeX Global Pipelines Version Info 17:44:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:44:52 ------------------- 17:44:52 stable info: 17:44:52 ------------------- 17:44:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:44:52 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:44:52 Message: update stable to v1.0.250 17:44:53 ------------------- 17:44:53 experimental info: 17:44:53 ------------------- 17:44:53 Commited By: **** collab-it+edgex@linuxfoundation.org 17:44:53 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:44:53 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63c25e9 [Pipeline] echo 17:44:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:44:53 provisioning config files... 17:44:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config115595491038583117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:44:54 ---> docker-login.sh 17:44:54 nexus3.edgexfoundry.org:10001 17:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:54 Configure a credential helper to remove this warning. See 17:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:54 17:44:54 Login Succeeded 17:44:54 nexus3.edgexfoundry.org:10002 17:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:54 Configure a credential helper to remove this warning. See 17:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:54 17:44:54 Login Succeeded 17:44:54 nexus3.edgexfoundry.org:10003 17:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:54 Configure a credential helper to remove this warning. See 17:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:54 17:44:54 Login Succeeded 17:44:54 nexus3.edgexfoundry.org:10004 17:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:54 Configure a credential helper to remove this warning. See 17:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:54 17:44:54 Login Succeeded 17:44:54 docker.io 17:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:44:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:44:55 Configure a credential helper to remove this warning. See 17:44:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:44:55 17:44:55 Login Succeeded 17:44:55 ---> docker-login.sh ends [Pipeline] } 17:44:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:44:55 + git rev-list -1 --merges 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2~1..63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] echo 17:44:55 -----------> git rev-list -1 --merges 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2~1..63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [false] [Pipeline] sh 17:44:55 + git log --format=format:%s -1 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] echo 17:44:55 ========================================================= 17:44:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:44:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:44:56 + git log --format=format:%s -1 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] echo 17:44:56 [semverPrep] GIT_COMMIT: 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#371) [Pipeline] echo 17:44:56 [semverPrep] This is not a build commit. [Pipeline] sh 17:44:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:44:56 + grep -v github /etc/ssh/ssh_known_hosts 17:44:56 + [ -e /tmp/ssh_known_hosts ] 17:44:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:44:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:44:56 + sudo tee -a /etc/ssh/ssh_known_hosts 17:44:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:44:56 17:44:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:44:57 0.1.4: Pulling from edgex-devops/py-git-semver 17:44:57 b85a868b505f: Pulling fs layer 17:44:57 e2be974225ed: Pulling fs layer 17:44:57 339a4e72a1f5: Pulling fs layer 17:44:57 988bab9f4d93: Pulling fs layer 17:44:57 1469e6f7b9e6: Pulling fs layer 17:44:57 eaf3925da568: Pulling fs layer 17:44:57 988bab9f4d93: Waiting 17:44:57 1469e6f7b9e6: Waiting 17:44:57 bab4dde63d76: Pulling fs layer 17:44:57 bde34c3a00c8: Pulling fs layer 17:44:57 eaf3925da568: Waiting 17:44:57 bab4dde63d76: Waiting 17:44:57 b352a97aabf1: Pulling fs layer 17:44:57 4872d77fe225: Pulling fs layer 17:44:57 bde34c3a00c8: Waiting 17:44:57 5851b861e8e6: Pulling fs layer 17:44:57 4872d77fe225: Waiting 17:44:57 b352a97aabf1: Waiting 17:44:57 5851b861e8e6: Waiting 17:44:57 e2be974225ed: Verifying Checksum 17:44:57 e2be974225ed: Download complete 17:44:57 988bab9f4d93: Verifying Checksum 17:44:57 988bab9f4d93: Download complete 17:44:57 1469e6f7b9e6: Verifying Checksum 17:44:57 1469e6f7b9e6: Download complete 17:44:57 eaf3925da568: Verifying Checksum 17:44:57 eaf3925da568: Download complete 17:44:57 339a4e72a1f5: Verifying Checksum 17:44:57 339a4e72a1f5: Download complete 17:44:57 bde34c3a00c8: Download complete 17:44:57 b352a97aabf1: Download complete 17:44:57 4872d77fe225: Verifying Checksum 17:44:57 4872d77fe225: Download complete 17:44:57 5851b861e8e6: Verifying Checksum 17:44:57 b85a868b505f: Verifying Checksum 17:44:57 b85a868b505f: Download complete 17:44:57 bab4dde63d76: Verifying Checksum 17:44:57 bab4dde63d76: Download complete 17:44:58 b85a868b505f: Pull complete 17:44:58 e2be974225ed: Pull complete 17:44:59 339a4e72a1f5: Pull complete 17:44:59 988bab9f4d93: Pull complete 17:44:59 1469e6f7b9e6: Pull complete 17:44:59 eaf3925da568: Pull complete 17:45:01 bab4dde63d76: Pull complete 17:45:01 bde34c3a00c8: Pull complete 17:45:01 b352a97aabf1: Pull complete 17:45:01 4872d77fe225: Pull complete 17:45:01 5851b861e8e6: Pull complete 17:45:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:45:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:45:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:01 prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container 17:45:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:45:05 $ docker top 60a32ebfe32433c505023561193e60b91d5036b4eb92407cf4d4960af6647335 -eo pid,comm 17:45:05 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). 17:45:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:45:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:45:05 [ssh-agent] Looking for ssh-agent implementation... 17:45:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:45:05 $ docker exec 60a32ebfe32433c505023561193e60b91d5036b4eb92407cf4d4960af6647335 ssh-agent 17:45:05 SSH_AUTH_SOCK=/tmp/ssh-3Apvu98GWE6d/agent.31 17:45:05 SSH_AGENT_PID=38 17:45:05 Running ssh-add (command line suppressed) 17:45:05 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13303641785436665331.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13303641785436665331.key) 17:45:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:45:06 + git tag --points-at HEAD [Pipeline] } 17:45:06 $ docker exec --env ******** --env ******** 60a32ebfe32433c505023561193e60b91d5036b4eb92407cf4d4960af6647335 ssh-agent -k 17:45:06 unset SSH_AUTH_SOCK; 17:45:06 unset SSH_AGENT_PID; 17:45:06 echo Agent pid 38 killed; 17:45:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:45:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:45:06 [ssh-agent] Looking for ssh-agent implementation... 17:45:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:45:06 $ docker exec 60a32ebfe32433c505023561193e60b91d5036b4eb92407cf4d4960af6647335 ssh-agent 17:45:06 SSH_AUTH_SOCK=/tmp/ssh-RINLxh6PG8qk/agent.71 17:45:06 SSH_AGENT_PID=77 17:45:06 Running ssh-add (command line suppressed) 17:45:06 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13829256969316954252.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13829256969316954252.key) 17:45:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:45:06 + git semver init 17:45:07 2023-06-12 17:45:07,146 [run_init] DEBUG init version:0.0.0 force:False 17:45:07 2023-06-12 17:45:07,147 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:45:07 2023-06-12 17:45:07,147 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:45:07 2023-06-12 17:45:07,147 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:45:08 2023-06-12 17:45:08,171 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:45:08 2023-06-12 17:45:08,172 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:45:08 2023-06-12 17:45:08,172 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:45:08 2023-06-12 17:45:08,173 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:45:08 3.1.0-dev.2 [Pipeline] } 17:45:08 $ docker exec --env ******** --env ******** 60a32ebfe32433c505023561193e60b91d5036b4eb92407cf4d4960af6647335 ssh-agent -k 17:45:08 unset SSH_AUTH_SOCK; 17:45:08 unset SSH_AGENT_PID; 17:45:08 echo Agent pid 77 killed; 17:45:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:45:09 + git semver [Pipeline] } 17:45:09 $ docker stop --time=1 60a32ebfe32433c505023561193e60b91d5036b4eb92407cf4d4960af6647335 17:45:10 $ docker rm -f --volumes 60a32ebfe32433c505023561193e60b91d5036b4eb92407cf4d4960af6647335 [Pipeline] // withDockerContainer [Pipeline] sh 17:45:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:45:11 Stashed 1 file(s) [Pipeline] echo 17:45:11 [edgeXSemver]: initialized semver on version 3.1.0-dev.2 [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 17:45:11 provisioning config files... 17:45:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5657069441359795213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:45:11 ---> docker-login.sh 17:45:11 nexus3.edgexfoundry.org:10001 17:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:11 Configure a credential helper to remove this warning. See 17:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:11 17:45:11 Login Succeeded 17:45:11 nexus3.edgexfoundry.org:10002 17:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:11 Configure a credential helper to remove this warning. See 17:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:11 17:45:11 Login Succeeded 17:45:11 nexus3.edgexfoundry.org:10003 17:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:11 Configure a credential helper to remove this warning. See 17:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:11 17:45:11 Login Succeeded 17:45:11 nexus3.edgexfoundry.org:10004 17:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:11 Configure a credential helper to remove this warning. See 17:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:11 17:45:11 Login Succeeded 17:45:11 docker.io 17:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:45:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:45:12 Configure a credential helper to remove this warning. See 17:45:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:45:12 17:45:12 Login Succeeded 17:45:12 ---> docker-login.sh ends [Pipeline] } 17:45:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:45:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:45:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:45:12 ========================================================= 17:45:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:45:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:12 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:45:12 Sending build context to Docker daemon 21.6MB 17:45:12 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:45:12 Step 2/13 : FROM ${BASE} AS builder 17:45:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:45:12 f56be85fc22e: Pulling fs layer 17:45:12 85791d961cd3: Pulling fs layer 17:45:12 d694b5ae8c79: Pulling fs layer 17:45:12 9f32a84ed3da: Pulling fs layer 17:45:12 4d19c01a9841: Pulling fs layer 17:45:12 9325e15d5711: Pulling fs layer 17:45:12 556b6ee489ea: Pulling fs layer 17:45:12 c5a4b2cf53e6: Pulling fs layer 17:45:12 c5a4b2cf53e6: Waiting 17:45:12 4d19c01a9841: Waiting 17:45:12 9325e15d5711: Waiting 17:45:12 9f32a84ed3da: Waiting 17:45:12 85791d961cd3: Download complete 17:45:12 9f32a84ed3da: Download complete 17:45:12 4d19c01a9841: Download complete 17:45:12 f56be85fc22e: Verifying Checksum 17:45:12 f56be85fc22e: Download complete 17:45:12 9325e15d5711: Verifying Checksum 17:45:12 9325e15d5711: Download complete 17:45:13 f56be85fc22e: Pull complete 17:45:13 85791d961cd3: Pull complete 17:45:13 c5a4b2cf53e6: Verifying Checksum 17:45:13 c5a4b2cf53e6: Download complete 17:45:13 d694b5ae8c79: Verifying Checksum 17:45:13 d694b5ae8c79: Download complete 17:45:13 556b6ee489ea: Verifying Checksum 17:45:13 556b6ee489ea: Download complete 17:45:16 d694b5ae8c79: Pull complete 17:45:17 9f32a84ed3da: Pull complete 17:45:17 4d19c01a9841: Pull complete 17:45:17 9325e15d5711: Pull complete 17:45:19 556b6ee489ea: Pull complete 17:45:20 c5a4b2cf53e6: Pull complete 17:45:20 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 17:45:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:45:20 ---> c4be618373d6 17:45:20 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:45:26 ---> Running in 48ee402d95ae 17:45:26 Removing intermediate container 48ee402d95ae 17:45:26 ---> b566c797f4e9 17:45:26 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:45:26 ---> Running in aa01d678d4bb 17:45:26 Removing intermediate container aa01d678d4bb 17:45:26 ---> db6bea40da5e 17:45:26 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:45:26 ---> Running in 31885d98841f 17:45:26 Removing intermediate container 31885d98841f 17:45:26 ---> 0cb18e6bc078 17:45:26 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:45:26 ---> Running in 0558581a17aa 17:45:26 Removing intermediate container 0558581a17aa 17:45:26 ---> d1b943d76c93 17:45:26 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:45:26 ---> Running in 3fba9b639b8d 17:45:26 Still waiting to schedule task 17:45:26 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-18460’ 17:45:26 Removing intermediate container 3fba9b639b8d 17:45:26 ---> dd62894388ef 17:45:26 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:45:26 ---> Running in 7dd7c07880f0 17:45:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:45:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:45:26 OK: 265 MiB in 53 packages 17:45:27 Removing intermediate container 7dd7c07880f0 17:45:27 ---> 08277972445d 17:45:27 Step 9/13 : WORKDIR /device-onvif-camera 17:45:27 ---> Running in 6b0ab8d70f6e 17:45:27 Removing intermediate container 6b0ab8d70f6e 17:45:27 ---> 829549b22a2c 17:45:27 Step 10/13 : COPY go.mod vendor* ./ 17:45:27 ---> 983a04317b8d 17:45:27 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:45:27 ---> Running in f05cbdf8383d 17:45:59 Removing intermediate container f05cbdf8383d 17:45:59 ---> 8ee35b92fa0b 17:45:59 Step 12/13 : COPY . . 17:45:59 ---> 7938d2eb177d 17:45:59 Step 13/13 : RUN ${MAKE} 17:45:59 ---> Running in 357e708916c3 17:45:59 noop 17:45:59 Removing intermediate container 357e708916c3 17:45:59 ---> 0dfb7e897b91 17:45:59 Successfully built 0dfb7e897b91 17:45:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:59 + docker inspect -f . ci-base-image-x86_64 17:45:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:45:59 prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container 17:45:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat 17:46:00 $ docker top 79e9cf7e7e299e97f5dbe58517b439912c3d567907e7ba30714d41c282bc814e -eo pid,comm [Pipeline] { [Pipeline] sh 17:46:00 + go version 17:46:00 go version go1.20.2 linux/amd64 [Pipeline] } 17:46:00 $ docker stop --time=1 79e9cf7e7e299e97f5dbe58517b439912c3d567907e7ba30714d41c282bc814e 17:46:01 $ docker rm -f --volumes 79e9cf7e7e299e97f5dbe58517b439912c3d567907e7ba30714d41c282bc814e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:02 + docker inspect -f . ci-base-image-x86_64 17:46:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:02 prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container 17:46:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat 17:46:02 $ docker top 3647423820dcd0eaa3c9c06f333d78a6b4c3b10362549455275428b984fdedf6 -eo pid,comm [Pipeline] { [Pipeline] sh 17:46:03 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:46:03 + make test 17:46:03 go test ./... -coverprofile=coverage.out ./... 17:46:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:46:19 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:46:19 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:46:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.4% of statements 17:46:21 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.101s coverage: 86.5% of statements 17:46:27 go vet ./... 17:46:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:46:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:46:30 ./bin/test-attribution-txt.sh [Pipeline] echo 17:46:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:46:30 $ docker stop --time=1 3647423820dcd0eaa3c9c06f333d78a6b4c3b10362549455275428b984fdedf6 17:46:34 $ docker rm -f --volumes 3647423820dcd0eaa3c9c06f333d78a6b4c3b10362549455275428b984fdedf6 [Pipeline] // withDockerContainer [Pipeline] sh 17:46:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:46:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:46:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:46:36 + ls -al . 17:46:36 total 240 17:46:36 drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 17:46 . 17:46:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:44 .. 17:46:36 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:45 .git 17:46:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:44 .github 17:46:36 -rw-rw-r-- 1 jenkins jenkins 496 Jun 12 17:44 .gitignore 17:46:36 -rw-rw-r-- 1 jenkins jenkins 42 Jun 12 17:44 .golangci.yml 17:46:36 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:45 .semver 17:46:36 -rw-rw-r-- 1 jenkins jenkins 10087 Jun 12 17:44 Attribution.txt 17:46:36 -rw-rw-r-- 1 jenkins jenkins 15932 Jun 12 17:44 CHANGELOG.md 17:46:36 -rw-rw-r-- 1 jenkins jenkins 1574 Jun 12 17:44 Dockerfile 17:46:36 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:44 GOVERNANCE.md 17:46:36 -rw-rw-r-- 1 jenkins jenkins 739 Jun 12 17:44 Jenkinsfile 17:46:36 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 12 17:44 LICENSE 17:46:36 -rw-rw-r-- 1 jenkins jenkins 2751 Jun 12 17:44 Makefile 17:46:36 -rw-rw-r-- 1 jenkins jenkins 625 Jun 12 17:44 OWNERS.md 17:46:36 -rw-rw-r-- 1 jenkins jenkins 2620 Jun 12 17:44 README.md 17:46:36 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:45 VERSION 17:46:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:44 bin 17:46:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:44 cmd 17:46:36 -rw-r--r-- 1 jenkins jenkins 78459 Jun 12 17:46 coverage.out 17:46:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:44 doc 17:46:36 -rw-rw-r-- 1 jenkins jenkins 3594 Jun 12 17:44 go.mod 17:46:36 -rw-rw-r-- 1 jenkins jenkins 33485 Jun 12 17:44 go.sum 17:46:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:44 internal 17:46:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:44 snap 17:46:36 -rw-rw-r-- 1 jenkins jenkins 236 Jun 12 17:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:36 + 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=63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 --label arch=amd64 --label version=3.1.0-dev.2 . 17:46:36 Sending build context to Docker daemon 21.68MB 17:46:36 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:46:36 Step 2/26 : FROM ${BASE} AS builder 17:46:36 ---> 0dfb7e897b91 17:46:36 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:46:36 ---> Running in 395a43b4979e 17:46:36 Removing intermediate container 395a43b4979e 17:46:36 ---> 4561d5afc0fe 17:46:36 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:46:36 ---> Running in 781431ca79db 17:46:37 Removing intermediate container 781431ca79db 17:46:37 ---> e1a620fa043e 17:46:37 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:46:37 ---> Running in 5755c57439f6 17:46:37 Removing intermediate container 5755c57439f6 17:46:37 ---> 9d9b7fb26ae6 17:46:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:46:37 ---> Running in 958b736480a4 17:46:37 Removing intermediate container 958b736480a4 17:46:37 ---> dcd8d8da29bd 17:46:37 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:46:37 ---> Running in 89b42c78bf36 17:46:37 Removing intermediate container 89b42c78bf36 17:46:37 ---> 4009455fb074 17:46:37 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:46:37 ---> Running in e77eeac724a2 17:46:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:46:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:46:37 OK: 265 MiB in 53 packages 17:46:38 Removing intermediate container e77eeac724a2 17:46:38 ---> c86a2e3c82fe 17:46:38 Step 9/26 : WORKDIR /device-onvif-camera 17:46:38 ---> Running in 15c570de49bb 17:46:38 Removing intermediate container 15c570de49bb 17:46:38 ---> 254cc4c97371 17:46:38 Step 10/26 : COPY go.mod vendor* ./ 17:46:38 ---> 268ce62c2013 17:46:38 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:46:38 ---> Running in 22d52d0e91d0 17:46:39 Removing intermediate container 22d52d0e91d0 17:46:39 ---> 4edba94e12a5 17:46:39 Step 12/26 : COPY . . 17:46:39 ---> cb815b8f0828 17:46:39 Step 13/26 : RUN ${MAKE} 17:46:39 ---> Running in d1c219e8f3b7 17:46:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.2" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:47:02 Removing intermediate container d1c219e8f3b7 17:47:02 ---> cc83bd764541 17:47:02 Step 14/26 : FROM alpine:3.17 17:47:02 3.17: Pulling from library/alpine 17:47:02 f56be85fc22e: Already exists 17:47:02 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:47:02 Status: Downloaded newer image for alpine:3.17 17:47:02 ---> 9ed4aefc74f6 17:47:02 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:47:02 ---> Running in 7d389fed3a5b 17:47:02 Removing intermediate container 7d389fed3a5b 17:47:02 ---> b7feb7acb7d9 17:47:02 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:47:02 ---> Running in d00dfa98c696 17:47:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:47:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:47:02 (1/1) Installing dumb-init (1.2.5-r2) 17:47:02 Executing busybox-1.35.0-r29.trigger 17:47:02 OK: 7 MiB in 16 packages 17:47:02 Removing intermediate container d00dfa98c696 17:47:02 ---> bcca1ac1be00 17:47:02 Step 17/26 : WORKDIR / 17:47:02 ---> Running in fbf2d1daea41 17:47:02 Removing intermediate container fbf2d1daea41 17:47:02 ---> 6e3f2ce13c0e 17:47:02 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:47:02 ---> e406ef463983 17:47:02 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:47:02 ---> f8340c1e2566 17:47:02 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:47:02 ---> 9310fe12ed41 17:47:02 Step 21/26 : EXPOSE 59984 17:47:02 ---> Running in 36997364a72d 17:47:02 Removing intermediate container 36997364a72d 17:47:02 ---> c884fc92793a 17:47:02 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:47:02 ---> Running in 93667f969d5f 17:47:02 Removing intermediate container 93667f969d5f 17:47:02 ---> 6a0c8b3afc12 17:47:02 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:47:02 ---> Running in 9584eb6948f4 17:47:02 Removing intermediate container 9584eb6948f4 17:47:02 ---> a5f337a397c5 17:47:02 Step 24/26 : LABEL arch=amd64 17:47:02 ---> Running in e8ff8e9022c1 17:47:02 Removing intermediate container e8ff8e9022c1 17:47:02 ---> 5e0579158528 17:47:02 Step 25/26 : LABEL git_sha=63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 17:47:02 ---> Running in d94ff0831da1 17:47:02 Removing intermediate container d94ff0831da1 17:47:02 ---> 2330b4daae28 17:47:02 Step 26/26 : LABEL version=3.1.0-dev.2 17:47:02 ---> Running in 87dcf97f9ade 17:47:02 Removing intermediate container 87dcf97f9ade 17:47:02 ---> 6b9e960ef871 17:47:02 [Warning] One or more build-args [ARCH] were not consumed 17:47:02 Successfully built 6b9e960ef871 17:47:02 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:47:02 provisioning config files... 17:47:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6937523235253457850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:47:02 ---> docker-login.sh 17:47:02 nexus3.edgexfoundry.org:10001 17:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:02 Configure a credential helper to remove this warning. See 17:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:02 17:47:02 Login Succeeded 17:47:02 nexus3.edgexfoundry.org:10002 17:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:02 Configure a credential helper to remove this warning. See 17:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:02 17:47:02 Login Succeeded 17:47:02 nexus3.edgexfoundry.org:10003 17:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:02 Configure a credential helper to remove this warning. See 17:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:02 17:47:02 Login Succeeded 17:47:02 nexus3.edgexfoundry.org:10004 17:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:02 Configure a credential helper to remove this warning. See 17:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:02 17:47:02 Login Succeeded 17:47:02 docker.io 17:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:03 Configure a credential helper to remove this warning. See 17:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:03 17:47:03 Login Succeeded 17:47:03 ---> docker-login.sh ends [Pipeline] } 17:47:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:47:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:47:03 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:47:03 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 17:47:03 latest 17:47:03 3.1.0-dev.2 17:47:03 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 17:47:03 main 17:47:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:03 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 17:47:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:47:03 6b6afdf8c928: Preparing 17:47:03 1f0b9db7cbac: Preparing 17:47:03 f0238d057295: Preparing 17:47:03 890271fb1bc8: Preparing 17:47:03 f1417ff83b31: Preparing 17:47:03 f1417ff83b31: Layer already exists 17:47:03 1f0b9db7cbac: Pushed 17:47:03 890271fb1bc8: Pushed 17:47:03 6b6afdf8c928: Pushed 17:47:06 f0238d057295: Pushed 17:47:06 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2: digest: sha256:f08c565cc38c6b64dbc78985943ba9ef541cb1e5c9b7eb9d2dcc603646185d2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:06 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:47:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:47:07 6b6afdf8c928: Preparing 17:47:07 1f0b9db7cbac: Preparing 17:47:07 f0238d057295: Preparing 17:47:07 890271fb1bc8: Preparing 17:47:07 f1417ff83b31: Preparing 17:47:07 1f0b9db7cbac: Layer already exists 17:47:07 6b6afdf8c928: Layer already exists 17:47:07 f0238d057295: Layer already exists 17:47:07 f1417ff83b31: Layer already exists 17:47:07 890271fb1bc8: Layer already exists 17:47:07 latest: digest: sha256:f08c565cc38c6b64dbc78985943ba9ef541cb1e5c9b7eb9d2dcc603646185d2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:07 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.2 17:47:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:47:07 6b6afdf8c928: Preparing 17:47:07 1f0b9db7cbac: Preparing 17:47:07 f0238d057295: Preparing 17:47:07 890271fb1bc8: Preparing 17:47:07 f1417ff83b31: Preparing 17:47:07 890271fb1bc8: Layer already exists 17:47:07 f1417ff83b31: Layer already exists 17:47:07 f0238d057295: Layer already exists 17:47:07 1f0b9db7cbac: Layer already exists 17:47:07 6b6afdf8c928: Layer already exists 17:47:07 3.1.0-dev.2: digest: sha256:f08c565cc38c6b64dbc78985943ba9ef541cb1e5c9b7eb9d2dcc603646185d2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:08 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 17:47:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:47:08 6b6afdf8c928: Preparing 17:47:08 1f0b9db7cbac: Preparing 17:47:08 f0238d057295: Preparing 17:47:08 890271fb1bc8: Preparing 17:47:08 f1417ff83b31: Preparing 17:47:08 890271fb1bc8: Layer already exists 17:47:08 f0238d057295: Layer already exists 17:47:08 1f0b9db7cbac: Layer already exists 17:47:08 f1417ff83b31: Layer already exists 17:47:08 6b6afdf8c928: Layer already exists 17:47:08 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2: digest: sha256:f08c565cc38c6b64dbc78985943ba9ef541cb1e5c9b7eb9d2dcc603646185d2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:08 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:47:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:47:08 6b6afdf8c928: Preparing 17:47:08 1f0b9db7cbac: Preparing 17:47:08 f0238d057295: Preparing 17:47:08 890271fb1bc8: Preparing 17:47:08 f1417ff83b31: Preparing 17:47:08 f0238d057295: Layer already exists 17:47:08 6b6afdf8c928: Layer already exists 17:47:08 1f0b9db7cbac: Layer already exists 17:47:08 f1417ff83b31: Layer already exists 17:47:08 890271fb1bc8: Layer already exists 17:47:08 main: digest: sha256:f08c565cc38c6b64dbc78985943ba9ef541cb1e5c9b7eb9d2dcc603646185d2d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:47:09 ===================================================== [Pipeline] echo 17:47:09 taggedImages: 17:47:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 17:47:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:47:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.2 17:47:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 17:47:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [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 17:47:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:47:09 17:47:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:47:09 latest: Pulling from edgex-lftools-log-publisher 17:47:09 5eb5b503b376: Pulling fs layer 17:47:09 5c69ac0246d0: Pulling fs layer 17:47:09 ec43610c2a17: Pulling fs layer 17:47:09 3a2ae6a8a46f: Pulling fs layer 17:47:09 33b1e0a273af: Pulling fs layer 17:47:09 5d3b04190fa2: Pulling fs layer 17:47:09 2f39f015ded8: Pulling fs layer 17:47:09 3a2ae6a8a46f: Waiting 17:47:09 33b1e0a273af: Waiting 17:47:09 5d3b04190fa2: Waiting 17:47:09 2f39f015ded8: Waiting 17:47:09 5c69ac0246d0: Download complete 17:47:09 3a2ae6a8a46f: Verifying Checksum 17:47:09 3a2ae6a8a46f: Download complete 17:47:09 33b1e0a273af: Verifying Checksum 17:47:09 33b1e0a273af: Download complete 17:47:09 5d3b04190fa2: Download complete 17:47:10 ec43610c2a17: Verifying Checksum 17:47:10 ec43610c2a17: Download complete 17:47:10 5eb5b503b376: Verifying Checksum 17:47:10 5eb5b503b376: Download complete 17:47:10 2f39f015ded8: Download complete 17:47:11 5eb5b503b376: Pull complete 17:47:11 5c69ac0246d0: Pull complete 17:47:11 ec43610c2a17: Pull complete 17:47:11 3a2ae6a8a46f: Pull complete 17:47:11 33b1e0a273af: Pull complete 17:47:12 5d3b04190fa2: Pull complete 17:47:16 2f39f015ded8: Pull complete 17:47:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:47:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:47:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:16 prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container 17:47:16 $ 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/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:47:19 $ docker top b0673cb6eac7d88d11732aa9511649958f12e4746b6ad4a43ccb34380fe26fbb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:47:20 ---> job-cost.sh 17:47:20 lf-activate-venv: SKIPPING 17:47:20 INFO: No Stack... 17:47:20 INFO: Retrieving Pricing Info for: v3-standard-8 17:47:20 INFO: Archiving Costs [Pipeline] sh 17:47:20 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 17:47:20 + cut -d, -f6 [Pipeline] lock 17:47:20 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] 17:47:20 Resource [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] did not exist. Created. 17:47:20 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:47:21 + echo total: 0.2199999988079071 [Pipeline] stash 17:47:21 Stashed 1 file(s) [Pipeline] } 17:47:21 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] [Pipeline] // lock [Pipeline] } 17:47:21 $ docker stop --time=1 b0673cb6eac7d88d11732aa9511649958f12e4746b6ad4a43ccb34380fe26fbb 17:47:22 $ docker rm -f --volumes b0673cb6eac7d88d11732aa9511649958f12e4746b6ad4a43ccb34380fe26fbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:48:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18464 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:48:04 Running in /w/workspace/device-onvif-camera/158 [Pipeline] { [Pipeline] checkout 17:48:04 The recommended git tool is: git 17:48:10 using credential edgex-jenkins-ssh 17:48:10 Cloning the remote Git repository 17:48:10 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:48:10 > git init /w/workspace/device-onvif-camera/158 # timeout=10 17:48:10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:48:10 > git --version # timeout=10 17:48:10 > git --version # 'git version 2.25.1' 17:48:10 using GIT_SSH to set credentials SSH Credentials for GitHub 17:48:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:48:12 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:48:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:48:13 Avoid second fetch 17:48:13 Checking out Revision 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 (main) 17:48:14 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#371)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:48:13 > git config core.sparsecheckout # timeout=10 17:48:13 > git checkout -f 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 # timeout=10 17:48:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:48:15 % Total % Received % Xferd Average Speed Time Time Time Current 17:48:15 Dload Upload Total Spent Left Speed 17:48:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh 17:48:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:48:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:48:16 + sudo tee /etc/docker/daemon.new 17:48:16 { 17:48:16 "registry-mirrors": [ 17:48:16 "https://nexus3.edgexfoundry.org:10001" 17:48:16 ], 17:48:16 "bip": "10.250.0.254/24", 17:48:16 "hosts": [ 17:48:16 "tcp://0.0.0.0:5555", 17:48:16 "unix:///var/run/docker.sock" 17:48:16 ], 17:48:16 "mtu": 1458, 17:48:16 "selinux-enabled": true, 17:48:16 "seccomp-profile": "/etc/docker/seccomp.json" 17:48:16 } [Pipeline] sh 17:48:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:48:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:48:35 provisioning config files... 17:48:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/158@tmp/config9183092050673456337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:48:35 ---> docker-login.sh 17:48:35 nexus3.edgexfoundry.org:10001 17:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:36 Configure a credential helper to remove this warning. See 17:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:36 17:48:36 Login Succeeded 17:48:36 nexus3.edgexfoundry.org:10002 17:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:36 Configure a credential helper to remove this warning. See 17:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:36 17:48:36 Login Succeeded 17:48:36 nexus3.edgexfoundry.org:10003 17:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:37 Configure a credential helper to remove this warning. See 17:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:37 17:48:37 Login Succeeded 17:48:37 nexus3.edgexfoundry.org:10004 17:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:37 Configure a credential helper to remove this warning. See 17:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:37 17:48:37 Login Succeeded 17:48:37 docker.io 17:48:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:37 Configure a credential helper to remove this warning. See 17:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:37 17:48:37 Login Succeeded 17:48:37 ---> docker-login.sh ends [Pipeline] } 17:48:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:48:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:48:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:48:38 ========================================================= 17:48:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:48:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:48:39 Sending build context to Docker daemon 14.16MB 17:48:39 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:48:39 Step 2/13 : FROM ${BASE} AS builder 17:48:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:48:39 c41833b44d91: Pulling fs layer 17:48:39 ed15518f5707: Pulling fs layer 17:48:39 feae8fd75edb: Pulling fs layer 17:48:39 242c74f7c9fa: Pulling fs layer 17:48:39 3cdef696dda3: Pulling fs layer 17:48:39 2ced38df9373: Pulling fs layer 17:48:39 58f1dce35555: Pulling fs layer 17:48:39 3cdef696dda3: Waiting 17:48:39 58f1dce35555: Waiting 17:48:39 2ced38df9373: Waiting 17:48:39 ed15518f5707: Download complete 17:48:39 242c74f7c9fa: Verifying Checksum 17:48:39 242c74f7c9fa: Download complete 17:48:39 3cdef696dda3: Verifying Checksum 17:48:39 3cdef696dda3: Download complete 17:48:39 c41833b44d91: Verifying Checksum 17:48:39 c41833b44d91: Download complete 17:48:40 c41833b44d91: Pull complete 17:48:41 58f1dce35555: Verifying Checksum 17:48:41 58f1dce35555: Download complete 17:48:41 ed15518f5707: Pull complete 17:48:42 2ced38df9373: Verifying Checksum 17:48:42 2ced38df9373: Download complete 17:48:42 feae8fd75edb: Verifying Checksum 17:48:42 feae8fd75edb: Download complete 17:48:54 feae8fd75edb: Pull complete 17:48:54 242c74f7c9fa: Pull complete 17:48:54 3cdef696dda3: Pull complete 17:48:59 2ced38df9373: Pull complete 17:49:03 58f1dce35555: Pull complete 17:49:03 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 17:49:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:49:03 ---> fadd8f120f05 17:49:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:49:04 ---> Running in be10f6191591 17:49:04 Removing intermediate container be10f6191591 17:49:04 ---> 0b188a8a124c 17:49:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:49:05 ---> Running in ac7b82d03d13 17:49:05 Removing intermediate container ac7b82d03d13 17:49:05 ---> c1e6ad77321d 17:49:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:49:05 ---> Running in 1005c915ffbf 17:49:05 Removing intermediate container 1005c915ffbf 17:49:05 ---> 1c7ef9fb5a56 17:49:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:49:05 ---> Running in 2a3ae8dc23c1 17:49:06 Removing intermediate container 2a3ae8dc23c1 17:49:06 ---> 5ff0d065827b 17:49:06 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:49:06 ---> Running in 8832d8b5dfab 17:49:06 Removing intermediate container 8832d8b5dfab 17:49:06 ---> 248e89ab1f2b 17:49:06 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:49:06 ---> Running in 229e1ff63266 17:49:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:49:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:49:09 OK: 263 MiB in 53 packages 17:49:10 Removing intermediate container 229e1ff63266 17:49:10 ---> 8f521d7d789d 17:49:10 Step 9/13 : WORKDIR /device-onvif-camera 17:49:10 ---> Running in 65cc05866843 17:49:10 Removing intermediate container 65cc05866843 17:49:10 ---> 01887822060c 17:49:10 Step 10/13 : COPY go.mod vendor* ./ 17:49:14 ---> 912c6611d3c5 17:49:14 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:49:14 ---> Running in 54e85a55f0cf 17:50:22 Removing intermediate container 54e85a55f0cf 17:50:22 ---> a142514d1969 17:50:22 Step 12/13 : COPY . . 17:50:22 ---> f16394a1ed6a 17:50:22 Step 13/13 : RUN ${MAKE} 17:50:22 ---> Running in 5a4666ee2f97 17:50:22 noop 17:50:22 Removing intermediate container 5a4666ee2f97 17:50:22 ---> 78d8f99c13b8 17:50:22 Successfully built 78d8f99c13b8 17:50:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:22 + docker inspect -f . ci-base-image-arm64 17:50:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:22 prd-ubuntu20.04-docker-arm64-4c-16g-18464 does not seem to be running inside a container 17:50:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/158 -v /w/workspace/device-onvif-camera/158:/w/workspace/device-onvif-camera/158:rw,z -v /w/workspace/device-onvif-camera/158@tmp:/w/workspace/device-onvif-camera/158@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 ******** ci-base-image-arm64 cat 17:50:23 $ docker top 56a66c2c649e45073eb107653806612b1ceb60aa892d4764e6a46ddb61d804b4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:24 + go version 17:50:24 go version go1.20.2 linux/arm64 [Pipeline] } 17:50:24 $ docker stop --time=1 56a66c2c649e45073eb107653806612b1ceb60aa892d4764e6a46ddb61d804b4 17:50:26 $ docker rm -f --volumes 56a66c2c649e45073eb107653806612b1ceb60aa892d4764e6a46ddb61d804b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:26 + docker inspect -f . ci-base-image-arm64 17:50:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:27 prd-ubuntu20.04-docker-arm64-4c-16g-18464 does not seem to be running inside a container 17:50:27 $ 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/158 -v /w/workspace/device-onvif-camera/158:/w/workspace/device-onvif-camera/158:rw,z -v /w/workspace/device-onvif-camera/158@tmp:/w/workspace/device-onvif-camera/158@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 ******** ci-base-image-arm64 cat 17:50:28 $ docker top 9a760adac6d9c3613f63695386c62407f9bd754bfac7be8dec0a583c0b253c6e -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:28 + git config --global --add safe.directory /w/workspace/device-onvif-camera/158 [Pipeline] fileExists [Pipeline] sh 17:50:28 + make test 17:50:29 go test ./... -coverprofile=coverage.out ./... 17:51:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:53:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:53:23 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:53:23 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.205s coverage: 31.4% of statements 17:53:41 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.294s coverage: 86.5% of statements 17:53:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:53:41 go vet ./... 17:54:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:54:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:54:08 ./bin/test-attribution-txt.sh [Pipeline] echo 17:54:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:54:08 $ docker stop --time=1 9a760adac6d9c3613f63695386c62407f9bd754bfac7be8dec0a583c0b253c6e 17:54:10 $ docker rm -f --volumes 9a760adac6d9c3613f63695386c62407f9bd754bfac7be8dec0a583c0b253c6e [Pipeline] // withDockerContainer [Pipeline] sh 17:54:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:54:11 Warning: overwriting stash ‘coverage-report’ 17:54:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:54:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:54:13 + ls -al . 17:54:13 total 236 17:54:13 drwxrwxr-x 9 jenkins jenkins 4096 Jun 12 17:50 . 17:54:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:48 .. 17:54:13 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:48 .git 17:54:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:48 .github 17:54:13 -rw-rw-r-- 1 jenkins jenkins 496 Jun 12 17:48 .gitignore 17:54:13 -rw-rw-r-- 1 jenkins jenkins 42 Jun 12 17:48 .golangci.yml 17:54:13 -rw-rw-r-- 1 jenkins jenkins 10087 Jun 12 17:48 Attribution.txt 17:54:13 -rw-rw-r-- 1 jenkins jenkins 15932 Jun 12 17:48 CHANGELOG.md 17:54:13 -rw-rw-r-- 1 jenkins jenkins 1574 Jun 12 17:48 Dockerfile 17:54:13 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:48 GOVERNANCE.md 17:54:13 -rw-rw-r-- 1 jenkins jenkins 739 Jun 12 17:48 Jenkinsfile 17:54:13 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 12 17:48 LICENSE 17:54:13 -rw-rw-r-- 1 jenkins jenkins 2751 Jun 12 17:48 Makefile 17:54:13 -rw-rw-r-- 1 jenkins jenkins 625 Jun 12 17:48 OWNERS.md 17:54:13 -rw-rw-r-- 1 jenkins jenkins 2620 Jun 12 17:48 README.md 17:54:13 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 17:45 VERSION 17:54:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:48 bin 17:54:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:48 cmd 17:54:13 -rw-r--r-- 1 jenkins jenkins 78459 Jun 12 17:53 coverage.out 17:54:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:48 doc 17:54:13 -rw-rw-r-- 1 jenkins jenkins 3594 Jun 12 17:48 go.mod 17:54:13 -rw-rw-r-- 1 jenkins jenkins 33485 Jun 12 17:48 go.sum 17:54:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:48 internal 17:54:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:48 snap 17:54:13 -rw-rw-r-- 1 jenkins jenkins 236 Jun 12 17:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:13 + 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=63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 --label arch=arm64 --label version=3.1.0-dev.2 . 17:54:13 Sending build context to Docker daemon 14.24MB 17:54:14 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:54:14 Step 2/26 : FROM ${BASE} AS builder 17:54:14 ---> 78d8f99c13b8 17:54:14 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:54:14 ---> Running in 50b04c268085 17:54:14 Removing intermediate container 50b04c268085 17:54:14 ---> 8f10c80cacb5 17:54:14 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:54:14 ---> Running in 916ed90f2886 17:54:14 Removing intermediate container 916ed90f2886 17:54:14 ---> 78897974d6c9 17:54:14 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:54:14 ---> Running in b1dfeb5132ca 17:54:15 Removing intermediate container b1dfeb5132ca 17:54:15 ---> 708917bc14eb 17:54:15 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:54:15 ---> Running in 59a3ebda74ac 17:54:15 Removing intermediate container 59a3ebda74ac 17:54:15 ---> 68f936975f3f 17:54:15 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:54:15 ---> Running in e95413b707b5 17:54:16 Removing intermediate container e95413b707b5 17:54:16 ---> 0085e581ef23 17:54:16 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:16 ---> Running in f79b10996ebf 17:54:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:54:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:54:19 OK: 263 MiB in 53 packages 17:54:19 Removing intermediate container f79b10996ebf 17:54:19 ---> 86f66f5101f2 17:54:19 Step 9/26 : WORKDIR /device-onvif-camera 17:54:19 ---> Running in c4bd878333ca 17:54:20 Removing intermediate container c4bd878333ca 17:54:20 ---> a0133c343cf7 17:54:20 Step 10/26 : COPY go.mod vendor* ./ 17:54:20 ---> 753c48b0086d 17:54:20 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:20 ---> Running in 3954595ccf30 17:54:24 Removing intermediate container 3954595ccf30 17:54:24 ---> 2234a326e0d6 17:54:24 Step 12/26 : COPY . . 17:54:25 ---> ee310d1a91d1 17:54:25 Step 13/26 : RUN ${MAKE} 17:54:25 ---> Running in dad5040a22b8 17:54:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.2" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:57:17 Removing intermediate container dad5040a22b8 17:57:17 ---> 7786fd6e27d4 17:57:17 Step 14/26 : FROM alpine:3.17 17:57:17 3.17: Pulling from library/alpine 17:57:17 c41833b44d91: Already exists 17:57:17 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:57:17 Status: Downloaded newer image for alpine:3.17 17:57:17 ---> 51e60588ff2c 17:57:17 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:57:17 ---> Running in 5b6d3107dc5b 17:57:17 Removing intermediate container 5b6d3107dc5b 17:57:17 ---> 9ada50a947fe 17:57:17 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:57:17 ---> Running in 4eba64be0efb 17:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:57:17 (1/1) Installing dumb-init (1.2.5-r2) 17:57:17 Executing busybox-1.35.0-r29.trigger 17:57:17 OK: 8 MiB in 16 packages 17:57:17 Removing intermediate container 4eba64be0efb 17:57:17 ---> 09d43e770a83 17:57:17 Step 17/26 : WORKDIR / 17:57:17 ---> Running in 64398eb43198 17:57:17 Removing intermediate container 64398eb43198 17:57:17 ---> d9b1fc741db5 17:57:17 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:57:17 ---> f220fd8b62f2 17:57:17 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:57:17 ---> 4ba479b702d3 17:57:17 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:57:17 ---> c0f7f882df54 17:57:17 Step 21/26 : EXPOSE 59984 17:57:17 ---> Running in 7bfb0f91dffd 17:57:17 Removing intermediate container 7bfb0f91dffd 17:57:17 ---> 066699d61a40 17:57:17 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:57:17 ---> Running in 56a15e2d6c48 17:57:17 Removing intermediate container 56a15e2d6c48 17:57:17 ---> 643e9a817b73 17:57:17 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:57:17 ---> Running in 213bdc9b86cb 17:57:17 Removing intermediate container 213bdc9b86cb 17:57:17 ---> 691f57fe5828 17:57:17 Step 24/26 : LABEL arch=arm64 17:57:17 ---> Running in 975e874419ac 17:57:18 Removing intermediate container 975e874419ac 17:57:18 ---> 51e171846264 17:57:18 Step 25/26 : LABEL git_sha=63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 17:57:18 ---> Running in 9b1cf6d30161 17:57:18 Removing intermediate container 9b1cf6d30161 17:57:18 ---> 571f8f731211 17:57:18 Step 26/26 : LABEL version=3.1.0-dev.2 17:57:18 ---> Running in 2e87a563866e 17:57:19 Removing intermediate container 2e87a563866e 17:57:19 ---> 2e22aa37e177 17:57:19 [Warning] One or more build-args [ARCH] were not consumed 17:57:19 Successfully built 2e22aa37e177 17:57:19 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:19 provisioning config files... 17:57:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/158@tmp/config981739030744181840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:19 ---> docker-login.sh 17:57:19 nexus3.edgexfoundry.org:10001 17:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:20 Configure a credential helper to remove this warning. See 17:57:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:20 17:57:20 Login Succeeded 17:57:20 nexus3.edgexfoundry.org:10002 17:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:20 Configure a credential helper to remove this warning. See 17:57:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:20 17:57:20 Login Succeeded 17:57:20 nexus3.edgexfoundry.org:10003 17:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:21 Configure a credential helper to remove this warning. See 17:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:21 17:57:21 Login Succeeded 17:57:21 nexus3.edgexfoundry.org:10004 17:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:21 Configure a credential helper to remove this warning. See 17:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:21 17:57:21 Login Succeeded 17:57:21 docker.io 17:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:22 Configure a credential helper to remove this warning. See 17:57:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:22 17:57:22 Login Succeeded 17:57:22 ---> docker-login.sh ends [Pipeline] } 17:57:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:57:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:57:22 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 17:57:22 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 17:57:22 latest 17:57:22 3.1.0-dev.2 17:57:22 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 17:57:22 main 17:57:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:23 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 17:57:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:57:23 dd8063bbead5: Preparing 17:57:23 a33cc0e0f61b: Preparing 17:57:23 442b27b27cbe: Preparing 17:57:23 e9996c1d9da0: Preparing 17:57:23 26cbea5cba74: Preparing 17:57:23 26cbea5cba74: Layer already exists 17:57:23 dd8063bbead5: Pushed 17:57:23 a33cc0e0f61b: Pushed 17:57:23 e9996c1d9da0: Pushed 17:57:30 442b27b27cbe: Pushed 17:57:32 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2: digest: sha256:e55cadf26db1fef53015196e7fa346bc18fa2b49916b0b3bf6372f3822a7ac16 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:33 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:57:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:57:33 dd8063bbead5: Preparing 17:57:33 a33cc0e0f61b: Preparing 17:57:33 442b27b27cbe: Preparing 17:57:33 e9996c1d9da0: Preparing 17:57:33 26cbea5cba74: Preparing 17:57:33 a33cc0e0f61b: Layer already exists 17:57:33 26cbea5cba74: Layer already exists 17:57:33 442b27b27cbe: Layer already exists 17:57:33 dd8063bbead5: Layer already exists 17:57:33 e9996c1d9da0: Layer already exists 17:57:33 latest: digest: sha256:e55cadf26db1fef53015196e7fa346bc18fa2b49916b0b3bf6372f3822a7ac16 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:34 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.2 17:57:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:57:34 dd8063bbead5: Preparing 17:57:34 a33cc0e0f61b: Preparing 17:57:34 442b27b27cbe: Preparing 17:57:34 e9996c1d9da0: Preparing 17:57:34 26cbea5cba74: Preparing 17:57:34 442b27b27cbe: Layer already exists 17:57:34 dd8063bbead5: Layer already exists 17:57:34 e9996c1d9da0: Layer already exists 17:57:34 26cbea5cba74: Layer already exists 17:57:34 a33cc0e0f61b: Layer already exists 17:57:34 3.1.0-dev.2: digest: sha256:e55cadf26db1fef53015196e7fa346bc18fa2b49916b0b3bf6372f3822a7ac16 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:35 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:35 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 17:57:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:57:35 dd8063bbead5: Preparing 17:57:35 a33cc0e0f61b: Preparing 17:57:35 442b27b27cbe: Preparing 17:57:35 e9996c1d9da0: Preparing 17:57:35 26cbea5cba74: Preparing 17:57:35 dd8063bbead5: Layer already exists 17:57:35 a33cc0e0f61b: Layer already exists 17:57:35 e9996c1d9da0: Layer already exists 17:57:35 26cbea5cba74: Layer already exists 17:57:35 442b27b27cbe: Layer already exists 17:57:35 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2: digest: sha256:e55cadf26db1fef53015196e7fa346bc18fa2b49916b0b3bf6372f3822a7ac16 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:36 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:36 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 17:57:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:57:36 dd8063bbead5: Preparing 17:57:36 a33cc0e0f61b: Preparing 17:57:36 442b27b27cbe: Preparing 17:57:36 e9996c1d9da0: Preparing 17:57:36 26cbea5cba74: Preparing 17:57:36 442b27b27cbe: Layer already exists 17:57:36 dd8063bbead5: Layer already exists 17:57:36 e9996c1d9da0: Layer already exists 17:57:36 a33cc0e0f61b: Layer already exists 17:57:36 26cbea5cba74: Layer already exists 17:57:36 main: digest: sha256:e55cadf26db1fef53015196e7fa346bc18fa2b49916b0b3bf6372f3822a7ac16 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:57:36 ===================================================== [Pipeline] echo 17:57:36 taggedImages: 17:57:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 17:57:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:57:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.2 17:57:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2-3.1.0-dev.2 17:57:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:57:37 17:57:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:57:37 arm64: Pulling from edgex-lftools-log-publisher 17:57:37 8998bd30e6a1: Pulling fs layer 17:57:37 04944245beec: Pulling fs layer 17:57:37 699f458cf7ca: Pulling fs layer 17:57:37 765212b225bb: Pulling fs layer 17:57:37 f23df028b6ca: Pulling fs layer 17:57:37 d65c8cfc05b1: Pulling fs layer 17:57:37 2437ff75d9bd: Pulling fs layer 17:57:37 f23df028b6ca: Waiting 17:57:37 d65c8cfc05b1: Waiting 17:57:37 2437ff75d9bd: Waiting 17:57:37 765212b225bb: Waiting 17:57:37 04944245beec: Verifying Checksum 17:57:37 04944245beec: Download complete 17:57:37 765212b225bb: Download complete 17:57:37 f23df028b6ca: Download complete 17:57:37 d65c8cfc05b1: Download complete 17:57:38 699f458cf7ca: Verifying Checksum 17:57:38 699f458cf7ca: Download complete 17:57:38 8998bd30e6a1: Verifying Checksum 17:57:38 8998bd30e6a1: Download complete 17:57:40 2437ff75d9bd: Download complete 17:57:42 8998bd30e6a1: Pull complete 17:57:43 04944245beec: Pull complete 17:57:44 699f458cf7ca: Pull complete 17:57:44 765212b225bb: Pull complete 17:57:45 f23df028b6ca: Pull complete 17:57:45 d65c8cfc05b1: Pull complete 17:58:00 2437ff75d9bd: Pull complete 17:58:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:58:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:58:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:01 prd-ubuntu20.04-docker-arm64-4c-16g-18464 does not seem to be running inside a container 17:58: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/158 -v /w/workspace/device-onvif-camera/158:/w/workspace/device-onvif-camera/158:rw,z -v /w/workspace/device-onvif-camera/158@tmp:/w/workspace/device-onvif-camera/158@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:58:04 $ docker top adcad67b1bcd6850c92ce243807da1c362f6bebcf34d1fa59e5cefad4a8061dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:58:05 ---> job-cost.sh 17:58:05 lf-activate-venv: SKIPPING 17:58:05 INFO: No Stack... 17:58:05 INFO: Retrieving Pricing Info for: v3-standard-4 17:58:06 INFO: Archiving Costs [Pipeline] sh 17:58:07 + cat+ /w/workspace/device-onvif-camera/158/archives/cost.csvcut -d, -f6 17:58:07 [Pipeline] lock 17:58:07 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] 17:58:07 Resource [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] did not exist. Created. 17:58:07 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:58:08 /w/workspace/device-onvif-camera/158@tmp/durable-b8d7ffc1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:58:08 + echo total: 0.10999999940395355 [Pipeline] stash 17:58:08 Warning: overwriting stash ‘stack-cost’ 17:58:08 Stashed 1 file(s) [Pipeline] } 17:58:08 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-158-stack-cost] [Pipeline] // lock [Pipeline] } 17:58:08 $ docker stop --time=1 adcad67b1bcd6850c92ce243807da1c362f6bebcf34d1fa59e5cefad4a8061dd 17:58:10 $ docker rm -f --volumes adcad67b1bcd6850c92ce243807da1c362f6bebcf34d1fa59e5cefad4a8061dd [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 17:58:10 provisioning config files... 17:58:10 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1386997382504302091tmp [Pipeline] { [Pipeline] sh 17:58:11 + set +x 17:58:11 + curl -s https://codecov.io/bash 17:58:11 + bash -s -- 17:58:11 17:58:11 _____ _ 17:58:11 / ____| | | 17:58:11 | | ___ __| | ___ ___ _____ __ 17:58:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:58:11 | |___| (_) | (_| | __/ (_| (_) \ V / 17:58:11 \_____\___/ \__,_|\___|\___\___/ \_/ 17:58:11 Bash-1.0.6 17:58:11 17:58:11 17:58:11 ==> git version 2.25.1 found 17:58:11 ==> 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 17:58:11 Release-Date: 2020-01-08 17:58:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:58:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:58:11 ==> Jenkins CI detected. 17:58:11 current dir:  /w/workspace/foundry_device-onvif-camera_main 17:58:11 project root: . 17:58:11 --> token set from env 17:58:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:58:11 ==> Running gcov in . (disable via -X gcov) 17:58:11 ==> Python coveragepy not found 17:58:11 ==> Searching for coverage reports in: 17:58:11 + . 17:58:11 -> Found 1 reports 17:58:11 ==> Detecting git/mercurial file structure 17:58:11 ==> Reading reports 17:58:11 + ./coverage.out bytes=78459 17:58:11 ==> Appending adjustments 17:58:11 https://docs.codecov.io/docs/fixing-reports 17:58:11 + Found adjustments 17:58:11 ==> Gzipping contents 17:58:11 12K /tmp/codecov.1q0G6g.gz 17:58:11 ==> Uploading reports 17:58:11 url: https://codecov.io 17:58:11 query: branch=main&commit=63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:58:11 -> Pinging Codecov 17:58:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:58:11 -> Uploading to 17:58:11 https://storage.googleapis.com/codecov/v4/raw/2023-06-12/F29A59C45E3A92E06B3E522C9905F8EF/63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2/93f6796e-f53a-4dbe-b4af-cc5aba6d837f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230612%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230612T175811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=586b6124848279507d0b0f3e84d9371ba0816cbc44d91b9ecf738725a1b7cd00 17:58:11 % Total % Received % Xferd Average Speed Time Time Time Current 17:58:11 Dload Upload Total Spent Left Speed 17:58:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 54984 --:--:-- --:--:-- --:--:-- 54984 17:58:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] } 17:58:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:58:12 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:58:12 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:58:12 17:58:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:58:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:58:12 df9b9388f04a: Pulling fs layer 17:58:12 52dc419b0ee2: Pulling fs layer 17:58:12 25bc292e5bac: Pulling fs layer 17:58:12 114826534d7a: Pulling fs layer 17:58:12 4657fd5d0bcf: Pulling fs layer 17:58:12 6ad1cebc031e: Pulling fs layer 17:58:12 8a3aa393b2d8: Pulling fs layer 17:58:12 114826534d7a: Waiting 17:58:12 4657fd5d0bcf: Waiting 17:58:12 6ad1cebc031e: Waiting 17:58:12 8a3aa393b2d8: Waiting 17:58:12 25bc292e5bac: Verifying Checksum 17:58:12 25bc292e5bac: Download complete 17:58:12 52dc419b0ee2: Verifying Checksum 17:58:12 52dc419b0ee2: Download complete 17:58:12 4657fd5d0bcf: Verifying Checksum 17:58:12 4657fd5d0bcf: Download complete 17:58:12 df9b9388f04a: Download complete 17:58:12 6ad1cebc031e: Verifying Checksum 17:58:12 6ad1cebc031e: Download complete 17:58:12 df9b9388f04a: Pull complete 17:58:12 52dc419b0ee2: Pull complete 17:58:12 25bc292e5bac: Pull complete 17:58:13 114826534d7a: Verifying Checksum 17:58:13 114826534d7a: Download complete 17:58:13 8a3aa393b2d8: Verifying Checksum 17:58:13 8a3aa393b2d8: Download complete 17:58:16 114826534d7a: Pull complete 17:58:16 4657fd5d0bcf: Pull complete 17:58:16 6ad1cebc031e: Pull complete 17:58:19 8a3aa393b2d8: Pull complete 17:58:19 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:58:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:58:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:19 prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container 17:58:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:58:23 $ docker top 5f88260ec1d1389099a03d0e547ec6ed687a2088b60348407ee2f469f378903e -eo pid,comm [Pipeline] { [Pipeline] echo 17:58:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 17:58:23 + set -o pipefail 17:58:23 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 17:58:30 17:58:30 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 17:58:30 17:58:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/c69631d8-17f2-47b9-a8c1-629b9b19d4fe 17:58:30 17:58:30 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 17:58:30 17:58:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:58:30 17:58:30 17:58:30 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:58:30 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:58:30 More details here: https://snyk.co/ue1NS 17:58:30 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 17:58:30 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 17:58:30 $ docker stop --time=1 5f88260ec1d1389099a03d0e547ec6ed687a2088b60348407ee2f469f378903e 17:58:34 $ docker rm -f --volumes 5f88260ec1d1389099a03d0e547ec6ed687a2088b60348407ee2f469f378903e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 17:58:34 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:58:34 provisioning config files... 17:58:34 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9878876773957256000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:58:34 --> edgex-publish-swagger.sh 17:58:34 === Publish doc/openapi/v3 API === 17:58:34 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 17:58:34 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 17:58:34 % Total % Received % Xferd Average Speed Time Time Time Current 17:58:34 Dload Upload Total Spent Left Speed 17:58:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 649k --:--:-- --:--:-- --:--:-- 649k 17:58:35 17:58:35 [Pipeline] } 17:58:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:58:35 + git log --format=format:%s -1 63c25e960a4a49ee9941f7dbcc0ced227ceaa7b2 [Pipeline] sh 17:58:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:58:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:58:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:36 prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container 17:58:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:58:36 $ docker top 762c9bd583f2f30d83f713278cf88dca9a1d67b1e5d1c9d803a6535867180120 -eo pid,comm 17:58:36 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). 17:58:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:58:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:58:36 [ssh-agent] Looking for ssh-agent implementation... 17:58:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:58:37 $ docker exec 762c9bd583f2f30d83f713278cf88dca9a1d67b1e5d1c9d803a6535867180120 ssh-agent 17:58:37 SSH_AUTH_SOCK=/tmp/ssh-Zf1PBJyrRXX8/agent.31 17:58:37 SSH_AGENT_PID=37 17:58:37 Running ssh-add (command line suppressed) 17:58:37 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_53205684494443474.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_53205684494443474.key) 17:58:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:58:37 + git semver tag 17:58:37 2023-06-12 17:58:37,696 [run_tag] DEBUG tag force:False 17:58:37 2023-06-12 17:58:37,697 [check_head_tag] DEBUG check head tag 17:58:37 2023-06-12 17:58:37,697 [execute] INFO git cat-file --batch-check 17:58:37 2023-06-12 17:58:37,697 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:58:37 2023-06-12 17:58:37,700 [execute] INFO git cat-file --batch 17:58:37 2023-06-12 17:58:37,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:58:37 2023-06-12 17:58:37,706 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:58:37 2023-06-12 17:58:37,706 [execute] INFO git tag -a v3.1.0-dev.2 -m v3.1.0-dev.2 17:58:37 2023-06-12 17:58:37,706 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.2', '-m', 'v3.1.0-dev.2'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:58:37 2023-06-12 17:58:37,711 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:58:37 3.1.0-dev.2 [Pipeline] } 17:58:37 $ docker exec --env ******** --env ******** 762c9bd583f2f30d83f713278cf88dca9a1d67b1e5d1c9d803a6535867180120 ssh-agent -k 17:58:37 unset SSH_AUTH_SOCK; 17:58:37 unset SSH_AGENT_PID; 17:58:37 echo Agent pid 37 killed; 17:58:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:58:38 + git semver [Pipeline] } 17:58:38 $ docker stop --time=1 762c9bd583f2f30d83f713278cf88dca9a1d67b1e5d1c9d803a6535867180120 17:58:39 $ docker rm -f --volumes 762c9bd583f2f30d83f713278cf88dca9a1d67b1e5d1c9d803a6535867180120 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:58:40 17:58:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:58:40 0.23.1-centos7: Pulling from edgex-lftools 17:58:40 ab5ef0e58194: Pulling fs layer 17:58:40 9712f1f96733: Pulling fs layer 17:58:40 63f879dbbcfc: Pulling fs layer 17:58:40 0d9ebad4ef96: Pulling fs layer 17:58:40 e9a5061849ea: Pulling fs layer 17:58:40 d747dcd14b5f: Pulling fs layer 17:58:40 2de7ff778b66: Pulling fs layer 17:58:40 0d9ebad4ef96: Waiting 17:58:40 d747dcd14b5f: Waiting 17:58:40 2de7ff778b66: Waiting 17:58:40 9712f1f96733: Verifying Checksum 17:58:40 9712f1f96733: Download complete 17:58:40 63f879dbbcfc: Verifying Checksum 17:58:40 63f879dbbcfc: Download complete 17:58:40 0d9ebad4ef96: Download complete 17:58:40 d747dcd14b5f: Verifying Checksum 17:58:40 d747dcd14b5f: Download complete 17:58:40 e9a5061849ea: Verifying Checksum 17:58:40 e9a5061849ea: Download complete 17:58:40 ab5ef0e58194: Download complete 17:58:40 2de7ff778b66: Download complete 17:58:43 ab5ef0e58194: Pull complete 17:58:43 9712f1f96733: Pull complete 17:58:44 63f879dbbcfc: Pull complete 17:58:48 0d9ebad4ef96: Pull complete 17:58:48 e9a5061849ea: Pull complete 17:58:48 d747dcd14b5f: Pull complete 17:58:50 2de7ff778b66: Pull complete 17:58:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:58:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:58:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:50 prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container 17:58:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:58:59 $ docker top 519658987e1012b885fa1e8407dc0fb4d6b59fffab13544d78ec3d2c4e93ed36 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:58:59 provisioning config files... 17:58:59 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17323350818110448073tmp 17:58:59 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18131722095800226979tmp 17:58:59 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15422866567880940742tmp [Pipeline] { [Pipeline] echo 17:58:59 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:58:59 ---> sigul-configuration.sh 17:58:59 gpg: directory `/root/.gnupg' created 17:58:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:58:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:58:59 gpg: keyring `/root/.gnupg/secring.gpg' created 17:58:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:58:59 gpg: CAST5 encrypted data 17:58:59 gpg: encrypted with 1 passphrase 17:58:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:58:59 + mkdir /home/jenkins 17:58:59 + mkdir /home/jenkins/sigul [Pipeline] sh 17:59:00 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 17:59:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:59:00 ---> sigul-install.sh 17:59:00 Sigul already installed; skipping installation. [Pipeline] sh 17:59:00 + git tag --list 17:59:00 v0.0.0 17:59:00 v2.2.0 17:59:00 v2.3.0 17:59:00 v2.3.1 17:59:00 v3.0 17:59:00 v3.0.0 17:59:00 v3.1.0-dev.1 17:59:00 v3.1.0-dev.2 [Pipeline] sh 17:59:00 + lftools sign git-tag v3.1.0-dev.2 17:59:01 Signing Git tag with Sigul... 17:59:01 Signing v3.1.0-dev.2 [Pipeline] echo 17:59:01 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:59:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:59:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:59:02 $ docker stop --time=1 519658987e1012b885fa1e8407dc0fb4d6b59fffab13544d78ec3d2c4e93ed36 17:59:03 $ docker rm -f --volumes 519658987e1012b885fa1e8407dc0fb4d6b59fffab13544d78ec3d2c4e93ed36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:59:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:59:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:59:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:04 prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container 17:59:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:59:04 $ docker top f81e8f3dc9eb7cd93a74ba14ab1207ebf2b30eebe9b2f3b6e75b1230e12582af -eo pid,comm 17:59:04 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). 17:59:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:59:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:59:04 [ssh-agent] Looking for ssh-agent implementation... 17:59:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:59:04 $ docker exec f81e8f3dc9eb7cd93a74ba14ab1207ebf2b30eebe9b2f3b6e75b1230e12582af ssh-agent 17:59:04 SSH_AUTH_SOCK=/tmp/ssh-z2pTnCjkpxN4/agent.31 17:59:04 SSH_AGENT_PID=37 17:59:04 Running ssh-add (command line suppressed) 17:59:05 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5831490613292408484.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5831490613292408484.key) 17:59:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:59:05 + git semver bump pre 17:59:05 2023-06-12 17:59:05,498 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:59:05 2023-06-12 17:59:05,498 [bump_version] DEBUG bumping version:3.1.0-dev.2 on axis:pre with prefix:dev 17:59:05 2023-06-12 17:59:05,498 [bump_version] DEBUG bumped version:3.1.0-dev.3 17:59:05 2023-06-12 17:59:05,498 [write_version] DEBUG write version:3.1.0-dev.3 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 17:59:05 2023-06-12 17:59:05,498 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:59:05 2023-06-12 17:59:05,499 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 17:59:05 2023-06-12 17:59:05,501 [execute] INFO git cat-file --batch-check 17:59:05 2023-06-12 17:59:05,501 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:59:05 2023-06-12 17:59:05,507 [execute] INFO git cat-file --batch 17:59:05 2023-06-12 17:59:05,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:59:05 2023-06-12 17:59:05,512 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:59:05 3.1.0-dev.3 [Pipeline] } 17:59:05 $ docker exec --env ******** --env ******** f81e8f3dc9eb7cd93a74ba14ab1207ebf2b30eebe9b2f3b6e75b1230e12582af ssh-agent -k 17:59:05 unset SSH_AUTH_SOCK; 17:59:05 unset SSH_AGENT_PID; 17:59:05 echo Agent pid 37 killed; 17:59:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:59:05 + git semver [Pipeline] } 17:59:06 $ docker stop --time=1 f81e8f3dc9eb7cd93a74ba14ab1207ebf2b30eebe9b2f3b6e75b1230e12582af 17:59:07 $ docker rm -f --volumes f81e8f3dc9eb7cd93a74ba14ab1207ebf2b30eebe9b2f3b6e75b1230e12582af [Pipeline] // withDockerContainer [Pipeline] sh 17:59:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:59:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:59:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:08 prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container 17:59:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:59:08 $ docker top 84474ad0280dd2a9c4d2f9ebff98aad61d10c0b1a15b4c121a60663d53719a43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:59:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:59:08 [ssh-agent] Looking for ssh-agent implementation... 17:59:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:59:08 $ docker exec 84474ad0280dd2a9c4d2f9ebff98aad61d10c0b1a15b4c121a60663d53719a43 ssh-agent 17:59:08 SSH_AUTH_SOCK=/tmp/ssh-D5rPv1z1ntHY/agent.32 17:59:08 SSH_AGENT_PID=38 17:59:08 Running ssh-add (command line suppressed) 17:59:09 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12365616282950511843.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12365616282950511843.key) 17:59:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:59:09 + git semver push 17:59:09 2023-06-12 17:59:09,548 [run_push] DEBUG push 17:59:09 2023-06-12 17:59:09,549 [execute] INFO git cat-file --batch-check 17:59:09 2023-06-12 17:59:09,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:59:09 2023-06-12 17:59:09,553 [execute] INFO git rev-list 49c00181c0e5a7aa7b02237c0add803a25cdc6dd -- 17:59:09 2023-06-12 17:59:09,553 [execute] DEBUG Popen(['git', 'rev-list', '49c00181c0e5a7aa7b02237c0add803a25cdc6dd', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:59:09 2023-06-12 17:59:09,561 [execute] INFO git fetch -v origin 17:59:09 2023-06-12 17:59:09,561 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:59:10 2023-06-12 17:59:10,019 [run_push] DEBUG no remote changes detected 17:59:10 2023-06-12 17:59:10,019 [execute] INFO git push origin semver 17:59:10 2023-06-12 17:59:10,020 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:59:11 2023-06-12 17:59:10,803 [run_push] DEBUG push all version tags 17:59:11 2023-06-12 17:59:10,804 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:59:11 2023-06-12 17:59:10,804 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:59:11 2023-06-12 17:59:11,566 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:59:11 3.1.0-dev.3 [Pipeline] } 17:59:11 $ docker exec --env ******** --env ******** 84474ad0280dd2a9c4d2f9ebff98aad61d10c0b1a15b4c121a60663d53719a43 ssh-agent -k 17:59:11 unset SSH_AUTH_SOCK; 17:59:11 unset SSH_AGENT_PID; 17:59:11 echo Agent pid 38 killed; 17:59:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:59:12 + git semver [Pipeline] } 17:59:12 $ docker stop --time=1 84474ad0280dd2a9c4d2f9ebff98aad61d10c0b1a15b4c121a60663d53719a43 17:59:13 $ docker rm -f --volumes 84474ad0280dd2a9c4d2f9ebff98aad61d10c0b1a15b4c121a60663d53719a43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 17:59:14 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 17:59:14 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:59:14 total 16 17:59:14 drwxr-xr-x 3 root root 4096 Jun 12 17:47 . 17:59:14 drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 17:59 .. 17:59:14 drwxr-xr-x 2 root root 4096 Jun 12 17:47 cost 17:59:14 -rw-r--r-- 1 root root 91 Jun 12 17:47 cost.csv 17:59:14 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 17:59:14 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:59:14 total 16 17:59:14 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:47 . 17:59:14 drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 17:59 .. 17:59:14 drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 17:47 cost 17:59:14 -rw-r--r-- 1 jenkins jenkins 91 Jun 12 17:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:59:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:59:15 ---> package-listing.sh 17:59:15 ++ tr '[:upper:]' '[:lower:]' 17:59:15 ++ facter osfamily 17:59:15 + OS_FAMILY=debian 17:59:15 + workspace=/w/workspace/foundry_device-onvif-camera_main 17:59:15 + START_PACKAGES=/tmp/packages_start.txt 17:59:15 + END_PACKAGES=/tmp/packages_end.txt 17:59:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:59:15 + PACKAGES=/tmp/packages_start.txt 17:59:15 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:59:15 + PACKAGES=/tmp/packages_end.txt 17:59:15 + case "${OS_FAMILY}" in 17:59:15 + dpkg -l 17:59:15 + grep '^ii' 17:59:15 + '[' -f /tmp/packages_start.txt ']' 17:59:15 + '[' -f /tmp/packages_end.txt ']' 17:59:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:59:15 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:59:15 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 17:59:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 17:59:15 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:59:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:16 prd-ubuntu20.04-docker-8c-8g-18461 does not seem to be running inside a container 17:59:16 $ 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:59:16 $ docker top c5493b816ec805682cd822ea7150c7f66a8e7a88081e04eb1b19013ee2e568a4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:59:17 + touch /tmp/pre-build-complete [Pipeline] sh 17:59:17 + mkdir -p /var/log/sysstat [Pipeline] sh 17:59:17 + ls /var/log/sa-host 17:59:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:59:17 provisioning config files... 17:59:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1359208566933464931tmp [Pipeline] { [Pipeline] echo 17:59:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:59:18 ---> create-netrc.sh [Pipeline] } 17:59:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:59:18 ---> python-tools-install.sh [Pipeline] echo 17:59:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:59:18 ---> sudo-logs.sh 17:59:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:59:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:59:19 ---> job-cost.sh 17:59:19 lf-activate-venv: SKIPPING 17:59:19 DEBUG: total: 0.2199999988079071 17:59:19 INFO: Retrieving Stack Cost... 17:59:19 INFO: Retrieving Pricing Info for: v3-standard-8 17:59:19 INFO: Archiving Costs [Pipeline] echo 17:59:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:59:20 ---> logs-deploy.sh 17:59:20 lf-activate-venv: SKIPPING 17:59:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/158 17:59:20 INFO: archiving workspace using pattern(s): 17:59:21 Archives upload complete. 17:59:21 INFO: archiving logs to Nexus