Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e03c6e991c633265ca57616196638541aa716f8b 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-ssh17238492964647845044.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh5118708546830377325.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3349045452776190983.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh13263443730982682801.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-ssh12763134494121099075.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5222 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 > 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 Avoid second fetch Checking out Revision e03c6e991c633265ca57616196638541aa716f8b (main) Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory (#279)" > git config core.sparsecheckout # timeout=10 > git checkout -f e03c6e991c633265ca57616196638541aa716f8b # timeout=10 > git rev-list --no-walk 30f142b3199bb88c04d4c4f9cf7ab115e72bb90a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:10:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:10:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:10:32 ========================================================= 17:10:32 EdgeX Global Pipelines Version Info 17:10:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:10:33 ------------------- 17:10:33 stable info: 17:10:33 ------------------- 17:10:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:10:33 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 17:10:33 Message: update stable to v1.0.245 17:10:33 ------------------- 17:10:33 experimental info: 17:10:33 ------------------- 17:10:33 Commited By: **** collab-it+edgex@linuxfoundation.org 17:10:33 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 17:10:33 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e03c6e991c633265ca57616196638541aa716f8b [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e03c6e9 [Pipeline] echo 17:10:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:10:34 provisioning config files... 17:10:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9931840096248346050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:10:34 ---> docker-login.sh 17:10:34 nexus3.edgexfoundry.org:10001 17:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:35 Configure a credential helper to remove this warning. See 17:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:35 17:10:35 Login Succeeded 17:10:35 nexus3.edgexfoundry.org:10002 17:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:35 Configure a credential helper to remove this warning. See 17:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:35 17:10:35 Login Succeeded 17:10:35 nexus3.edgexfoundry.org:10003 17:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:35 Configure a credential helper to remove this warning. See 17:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:35 17:10:35 Login Succeeded 17:10:35 nexus3.edgexfoundry.org:10004 17:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:35 Configure a credential helper to remove this warning. See 17:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:35 17:10:35 Login Succeeded 17:10:35 docker.io 17:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:35 Configure a credential helper to remove this warning. See 17:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:35 17:10:35 Login Succeeded 17:10:35 ---> docker-login.sh ends [Pipeline] } 17:10:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:10:36 + git rev-list -1 --merges e03c6e991c633265ca57616196638541aa716f8b~1..e03c6e991c633265ca57616196638541aa716f8b [Pipeline] echo 17:10:36 -----------> git rev-list -1 --merges e03c6e991c633265ca57616196638541aa716f8b~1..e03c6e991c633265ca57616196638541aa716f8b e03c6e991c633265ca57616196638541aa716f8b [false] [Pipeline] sh 17:10:36 + git log --format=format:%s -1 e03c6e991c633265ca57616196638541aa716f8b [Pipeline] echo 17:10:36 ========================================================= 17:10:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:10:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:10:36 + git log --format=format:%s -1 e03c6e991c633265ca57616196638541aa716f8b [Pipeline] echo 17:10:36 [semverPrep] GIT_COMMIT: e03c6e991c633265ca57616196638541aa716f8b, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory (#279) [Pipeline] echo 17:10:36 [semverPrep] This is not a build commit. [Pipeline] sh 17:10:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:10:37 + grep -v github /etc/ssh/ssh_known_hosts 17:10:37 + [ -e /tmp/ssh_known_hosts ] 17:10:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:10:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:10:37 + sudo tee -a /etc/ssh/ssh_known_hosts 17:10:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:10:37 17:10:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:10:37 0.1.4: Pulling from edgex-devops/py-git-semver 17:10:37 b85a868b505f: Pulling fs layer 17:10:37 e2be974225ed: Pulling fs layer 17:10:37 339a4e72a1f5: Pulling fs layer 17:10:37 988bab9f4d93: Pulling fs layer 17:10:37 1469e6f7b9e6: Pulling fs layer 17:10:37 eaf3925da568: Pulling fs layer 17:10:37 bab4dde63d76: Pulling fs layer 17:10:37 bde34c3a00c8: Pulling fs layer 17:10:37 b352a97aabf1: Pulling fs layer 17:10:37 4872d77fe225: Pulling fs layer 17:10:37 5851b861e8e6: Pulling fs layer 17:10:37 1469e6f7b9e6: Waiting 17:10:37 eaf3925da568: Waiting 17:10:37 bab4dde63d76: Waiting 17:10:37 4872d77fe225: Waiting 17:10:37 b352a97aabf1: Waiting 17:10:37 5851b861e8e6: Waiting 17:10:37 bde34c3a00c8: Waiting 17:10:37 988bab9f4d93: Waiting 17:10:37 e2be974225ed: Verifying Checksum 17:10:37 e2be974225ed: Download complete 17:10:37 988bab9f4d93: Verifying Checksum 17:10:37 988bab9f4d93: Download complete 17:10:38 1469e6f7b9e6: Verifying Checksum 17:10:38 1469e6f7b9e6: Download complete 17:10:38 eaf3925da568: Download complete 17:10:38 339a4e72a1f5: Verifying Checksum 17:10:38 339a4e72a1f5: Download complete 17:10:38 bde34c3a00c8: Download complete 17:10:38 b352a97aabf1: Download complete 17:10:38 4872d77fe225: Download complete 17:10:38 5851b861e8e6: Download complete 17:10:38 b85a868b505f: Verifying Checksum 17:10:38 b85a868b505f: Download complete 17:10:38 bab4dde63d76: Verifying Checksum 17:10:38 bab4dde63d76: Download complete 17:10:39 b85a868b505f: Pull complete 17:10:39 e2be974225ed: Pull complete 17:10:39 339a4e72a1f5: Pull complete 17:10:40 988bab9f4d93: Pull complete 17:10:40 1469e6f7b9e6: Pull complete 17:10:40 eaf3925da568: Pull complete 17:10:42 bab4dde63d76: Pull complete 17:10:42 bde34c3a00c8: Pull complete 17:10:42 b352a97aabf1: Pull complete 17:10:42 4872d77fe225: Pull complete 17:10:42 5851b861e8e6: Pull complete 17:10:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:10:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:10:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:42 prd-ubuntu20.04-docker-8c-8g-5222 does not seem to be running inside a container 17:10:42 $ 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:10:46 $ docker top 5ba0d4f0296d62c4a283998aa8b0428cf652653e7510ffc7888cb1d9c10c9080 -eo pid,comm 17:10:46 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:10:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:10:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:10:46 [ssh-agent] Looking for ssh-agent implementation... 17:10:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:10:46 $ docker exec 5ba0d4f0296d62c4a283998aa8b0428cf652653e7510ffc7888cb1d9c10c9080 ssh-agent 17:10:46 SSH_AUTH_SOCK=/tmp/ssh-m4Kei45jV1UH/agent.33 17:10:46 SSH_AGENT_PID=39 17:10:46 Running ssh-add (command line suppressed) 17:10:46 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11324883041280335328.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11324883041280335328.key) 17:10:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:10:46 + git tag --points-at HEAD [Pipeline] } 17:10:46 $ docker exec --env ******** --env ******** 5ba0d4f0296d62c4a283998aa8b0428cf652653e7510ffc7888cb1d9c10c9080 ssh-agent -k 17:10:47 unset SSH_AUTH_SOCK; 17:10:47 unset SSH_AGENT_PID; 17:10:47 echo Agent pid 39 killed; 17:10:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:10:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:10:47 [ssh-agent] Looking for ssh-agent implementation... 17:10:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:10:47 $ docker exec 5ba0d4f0296d62c4a283998aa8b0428cf652653e7510ffc7888cb1d9c10c9080 ssh-agent 17:10:47 SSH_AUTH_SOCK=/tmp/ssh-fOA015o6zO7z/agent.71 17:10:47 SSH_AGENT_PID=77 17:10:47 Running ssh-add (command line suppressed) 17:10:47 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1186236082260701326.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1186236082260701326.key) 17:10:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:10:47 + git semver init 17:10:47 2023-03-22 17:10:47,864 [run_init] DEBUG init version:0.0.0 force:False 17:10:47 2023-03-22 17:10:47,864 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:10:47 2023-03-22 17:10:47,865 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:10:47 2023-03-22 17:10:47,865 [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:10:48 2023-03-22 17:10:48,855 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:10:48 2023-03-22 17:10:48,856 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:10:48 2023-03-22 17:10:48,856 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:10:48 2023-03-22 17:10:48,856 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:10:48 3.0.0-dev.24 [Pipeline] } 17:10:48 $ docker exec --env ******** --env ******** 5ba0d4f0296d62c4a283998aa8b0428cf652653e7510ffc7888cb1d9c10c9080 ssh-agent -k 17:10:48 unset SSH_AUTH_SOCK; 17:10:48 unset SSH_AGENT_PID; 17:10:48 echo Agent pid 77 killed; 17:10:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:10:49 + git semver [Pipeline] } 17:10:49 $ docker stop --time=1 5ba0d4f0296d62c4a283998aa8b0428cf652653e7510ffc7888cb1d9c10c9080 17:10:50 $ docker rm -f --volumes 5ba0d4f0296d62c4a283998aa8b0428cf652653e7510ffc7888cb1d9c10c9080 [Pipeline] // withDockerContainer [Pipeline] sh 17:10:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:10:51 Stashed 1 file(s) [Pipeline] echo 17:10:51 [edgeXSemver]: initialized semver on version 3.0.0-dev.24 [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:10:51 provisioning config files... 17:10:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11228715253939541886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:10:51 ---> docker-login.sh 17:10:51 nexus3.edgexfoundry.org:10001 17:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:51 Configure a credential helper to remove this warning. See 17:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:51 17:10:51 Login Succeeded 17:10:51 nexus3.edgexfoundry.org:10002 17:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:51 Configure a credential helper to remove this warning. See 17:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:51 17:10:51 Login Succeeded 17:10:51 nexus3.edgexfoundry.org:10003 17:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:52 Configure a credential helper to remove this warning. See 17:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:52 17:10:52 Login Succeeded 17:10:52 nexus3.edgexfoundry.org:10004 17:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:52 Configure a credential helper to remove this warning. See 17:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:52 17:10:52 Login Succeeded 17:10:52 docker.io 17:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:52 Configure a credential helper to remove this warning. See 17:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:52 17:10:52 Login Succeeded 17:10:52 ---> docker-login.sh ends [Pipeline] } 17:10:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:10:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:10:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:10:52 ========================================================= 17:10:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:10:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:52 + 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:10:52 Sending build context to Docker daemon 26.98MB 17:10:52 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:10:52 Step 2/13 : FROM ${BASE} AS builder 17:10:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:10:52 63b65145d645: Pulling fs layer 17:10:52 a2d21d5440eb: Pulling fs layer 17:10:52 935e6c44a52c: Pulling fs layer 17:10:52 94cc34f8dd06: Pulling fs layer 17:10:52 30dea6a524f1: Pulling fs layer 17:10:52 a2aff8979fd8: Pulling fs layer 17:10:52 6808be2612f2: Pulling fs layer 17:10:52 f25807f1079a: Pulling fs layer 17:10:52 30dea6a524f1: Waiting 17:10:52 a2aff8979fd8: Waiting 17:10:52 6808be2612f2: Waiting 17:10:52 f25807f1079a: Waiting 17:10:52 94cc34f8dd06: Waiting 17:10:52 a2d21d5440eb: Verifying Checksum 17:10:52 a2d21d5440eb: Download complete 17:10:52 94cc34f8dd06: Verifying Checksum 17:10:52 94cc34f8dd06: Download complete 17:10:52 30dea6a524f1: Download complete 17:10:52 63b65145d645: Verifying Checksum 17:10:52 63b65145d645: Download complete 17:10:52 a2aff8979fd8: Verifying Checksum 17:10:52 a2aff8979fd8: Download complete 17:10:53 63b65145d645: Pull complete 17:10:53 a2d21d5440eb: Pull complete 17:10:53 f25807f1079a: Verifying Checksum 17:10:53 f25807f1079a: Download complete 17:10:53 935e6c44a52c: Download complete 17:10:53 6808be2612f2: Verifying Checksum 17:10:53 6808be2612f2: Download complete 17:10:57 935e6c44a52c: Pull complete 17:10:57 94cc34f8dd06: Pull complete 17:10:57 30dea6a524f1: Pull complete 17:10:57 a2aff8979fd8: Pull complete 17:10:58 6808be2612f2: Pull complete 17:10:59 f25807f1079a: Pull complete 17:10:59 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 17:10:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:10:59 ---> 3b553350e43f 17:10:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:11:04 ---> Running in c4f66fb2247a 17:11:04 Removing intermediate container c4f66fb2247a 17:11:04 ---> 7adff764cb3a 17:11:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:11:04 ---> Running in 1ac39e86b7e5 17:11:04 Removing intermediate container 1ac39e86b7e5 17:11:04 ---> 781a8f32196a 17:11:04 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:11:04 ---> Running in bf41969aa6b4 17:11:04 Removing intermediate container bf41969aa6b4 17:11:04 ---> d93712d827fd 17:11:04 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:11:04 ---> Running in 15cb2e4671c1 17:11:04 Removing intermediate container 15cb2e4671c1 17:11:04 ---> c6bcff394850 17:11:04 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:11:04 ---> Running in 33ef9babb675 17:11:04 Removing intermediate container 33ef9babb675 17:11:04 ---> 35d2e00d8dd6 17:11:04 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:11:04 ---> Running in 88de0c8a2551 17:11:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:11:05 OK: 265 MiB in 53 packages 17:11:05 Removing intermediate container 88de0c8a2551 17:11:05 ---> cb4ec64dc1e1 17:11:05 Step 9/13 : WORKDIR /device-onvif-camera 17:11:05 ---> Running in c72c4b391120 17:11:05 Removing intermediate container c72c4b391120 17:11:05 ---> 27de1d60db0a 17:11:05 Step 10/13 : COPY go.mod vendor* ./ 17:11:05 ---> a6d89ff81e2c 17:11:05 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:11:05 ---> Running in 8e678f5d7629 17:11:06 Still waiting to schedule task 17:11:06 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5221’ 17:11:37 Removing intermediate container 8e678f5d7629 17:11:37 ---> f9643a8ff142 17:11:37 Step 12/13 : COPY . . 17:11:37 ---> 7253f513d1b1 17:11:37 Step 13/13 : RUN ${MAKE} 17:11:37 ---> Running in 84e7749a2a27 17:11:38 noop 17:11:38 Removing intermediate container 84e7749a2a27 17:11:38 ---> c6047eafc187 17:11:38 Successfully built c6047eafc187 17:11:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:38 + docker inspect -f . ci-base-image-x86_64 17:11:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:38 prd-ubuntu20.04-docker-8c-8g-5222 does not seem to be running inside a container 17:11:38 $ 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:11:39 $ docker top e72bfe2d6f434438eb5d47db459caeba78745c8aff5c1eaf628b47a72156604b -eo pid,comm [Pipeline] { [Pipeline] sh 17:11:39 + go version 17:11:39 go version go1.20.2 linux/amd64 [Pipeline] } 17:11:39 $ docker stop --time=1 e72bfe2d6f434438eb5d47db459caeba78745c8aff5c1eaf628b47a72156604b 17:11:40 $ docker rm -f --volumes e72bfe2d6f434438eb5d47db459caeba78745c8aff5c1eaf628b47a72156604b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:41 + docker inspect -f . ci-base-image-x86_64 17:11:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:41 prd-ubuntu20.04-docker-8c-8g-5222 does not seem to be running inside a container 17:11:41 $ 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:11:41 $ docker top 83c09ff5560b36b3c67e7cee3ebb77358b78eb6a19cfd7c52198241e0c484a3a -eo pid,comm [Pipeline] { [Pipeline] sh 17:11:42 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:11:42 + make test 17:11:42 go test ./... -coverprofile=coverage.out ./... 17:11:47 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:11:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:11:57 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:11:59 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.7% of statements 17:11:59 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.130s coverage: 86.5% of statements 17:12:06 go vet ./... 17:12:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:12:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:12:10 ./bin/test-attribution-txt.sh [Pipeline] echo 17:12:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:12:10 $ docker stop --time=1 83c09ff5560b36b3c67e7cee3ebb77358b78eb6a19cfd7c52198241e0c484a3a 17:12:14 $ docker rm -f --volumes 83c09ff5560b36b3c67e7cee3ebb77358b78eb6a19cfd7c52198241e0c484a3a [Pipeline] // withDockerContainer [Pipeline] sh 17:12:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:12:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:12:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:12:15 + ls -al . 17:12:15 total 236 17:12:15 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 17:11 . 17:12:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:10 .. 17:12:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 17:10 .git 17:12:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:10 .github 17:12:15 -rw-rw-r-- 1 jenkins jenkins 496 Mar 22 17:10 .gitignore 17:12:15 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 17:10 .golangci.yml 17:12:15 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 17:10 .semver 17:12:15 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 22 17:10 Attribution.txt 17:12:15 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 22 17:10 CHANGELOG.md 17:12:15 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 22 17:10 Dockerfile 17:12:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 17:10 GOVERNANCE.md 17:12:15 -rw-rw-r-- 1 jenkins jenkins 734 Mar 22 17:10 Jenkinsfile 17:12:15 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 17:10 LICENSE 17:12:15 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 22 17:10 Makefile 17:12:15 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 17:10 OWNERS.md 17:12:15 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 22 17:10 README.md 17:12:15 -rw-rw-r-- 1 jenkins jenkins 12 Mar 22 17:10 VERSION 17:12:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:10 bin 17:12:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:10 cmd 17:12:15 -rw-r--r-- 1 jenkins jenkins 78487 Mar 22 17:11 coverage.out 17:12:15 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 17:10 doc 17:12:15 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 22 17:10 go.mod 17:12:15 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 22 17:10 go.sum 17:12:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:10 internal 17:12:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:10 snap 17:12:15 -rw-rw-r-- 1 jenkins jenkins 236 Mar 22 17:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:16 + 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=e03c6e991c633265ca57616196638541aa716f8b --label arch=amd64 --label version=3.0.0-dev.24 . 17:12:16 Sending build context to Docker daemon 27.06MB 17:12:16 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:12:16 Step 2/26 : FROM ${BASE} AS builder 17:12:16 ---> c6047eafc187 17:12:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:12:16 ---> Running in e56dc99f1a3c 17:12:16 Removing intermediate container e56dc99f1a3c 17:12:16 ---> bcd0cde2fccb 17:12:16 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:12:16 ---> Running in 525408c2fd6b 17:12:16 Removing intermediate container 525408c2fd6b 17:12:16 ---> 8c1be1124577 17:12:16 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:12:16 ---> Running in 2b2cb8dfc98c 17:12:16 Removing intermediate container 2b2cb8dfc98c 17:12:16 ---> 4d18dff8f9a1 17:12:16 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:12:16 ---> Running in 51f15d82dfd0 17:12:16 Removing intermediate container 51f15d82dfd0 17:12:16 ---> 3f37fcde52be 17:12:16 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:12:16 ---> Running in e407b237dca8 17:12:16 Removing intermediate container e407b237dca8 17:12:16 ---> a58745b394b1 17:12:16 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:12:16 ---> Running in a9837d4f434c 17:12:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:12:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:12:17 OK: 265 MiB in 53 packages 17:12:17 Removing intermediate container a9837d4f434c 17:12:17 ---> 5c6373bbffba 17:12:17 Step 9/26 : WORKDIR /device-onvif-camera 17:12:17 ---> Running in 30b56e162272 17:12:17 Removing intermediate container 30b56e162272 17:12:17 ---> 41ae88d965ca 17:12:17 Step 10/26 : COPY go.mod vendor* ./ 17:12:17 ---> 10b881e3ad8f 17:12:17 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:12:17 ---> Running in 6fbcb6e92341 17:12:18 Removing intermediate container 6fbcb6e92341 17:12:18 ---> d1efc42caec0 17:12:18 Step 12/26 : COPY . . 17:12:19 ---> 67175d34c6bd 17:12:19 Step 13/26 : RUN ${MAKE} 17:12:19 ---> Running in b9f0a2de1bb1 17:12:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.24" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:12:41 Removing intermediate container b9f0a2de1bb1 17:12:41 ---> bbadf7a090b4 17:12:41 Step 14/26 : FROM alpine:3.17 17:12:41 3.17: Pulling from library/alpine 17:12:41 63b65145d645: Already exists 17:12:41 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 17:12:41 Status: Downloaded newer image for alpine:3.17 17:12:41 ---> b2aa39c304c2 17:12:41 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:12:41 ---> Running in eae56a5dfd04 17:12:41 Removing intermediate container eae56a5dfd04 17:12:41 ---> 33c076cfcb87 17:12:41 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:12:41 ---> Running in 8a655bbbed22 17:12:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:12:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:12:41 (1/1) Installing dumb-init (1.2.5-r2) 17:12:41 Executing busybox-1.35.0-r29.trigger 17:12:41 OK: 7 MiB in 16 packages 17:12:41 Removing intermediate container 8a655bbbed22 17:12:41 ---> 1ee209cf1521 17:12:41 Step 17/26 : WORKDIR / 17:12:41 ---> Running in 2c42ea32560d 17:12:41 Removing intermediate container 2c42ea32560d 17:12:41 ---> 08e2c697eebe 17:12:41 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:12:42 ---> f11547164bbf 17:12:42 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:12:42 ---> 927435aaaf14 17:12:42 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:12:42 ---> 61342bd4173d 17:12:42 Step 21/26 : EXPOSE 59984 17:12:42 ---> Running in af7d8661b279 17:12:42 Removing intermediate container af7d8661b279 17:12:42 ---> f92d78793814 17:12:42 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:12:42 ---> Running in 29623d800234 17:12:42 Removing intermediate container 29623d800234 17:12:42 ---> 4c73e050d8c6 17:12:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:12:42 ---> Running in 4b397b9012c6 17:12:42 Removing intermediate container 4b397b9012c6 17:12:42 ---> d3c9790f394b 17:12:42 Step 24/26 : LABEL arch=amd64 17:12:43 ---> Running in 2a90ed2a93f2 17:12:43 Removing intermediate container 2a90ed2a93f2 17:12:43 ---> ef5571f7f7c6 17:12:43 Step 25/26 : LABEL git_sha=e03c6e991c633265ca57616196638541aa716f8b 17:12:43 ---> Running in face9c751b25 17:12:43 Removing intermediate container face9c751b25 17:12:43 ---> 16dad8f14e1c 17:12:43 Step 26/26 : LABEL version=3.0.0-dev.24 17:12:43 ---> Running in 35ed4d750555 17:12:43 Removing intermediate container 35ed4d750555 17:12:43 ---> 9285d827b3c6 17:12:43 [Warning] One or more build-args [ARCH] were not consumed 17:12:43 Successfully built 9285d827b3c6 17:12:43 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:12:43 provisioning config files... 17:12:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17418088064434317849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:12:43 ---> docker-login.sh 17:12:43 nexus3.edgexfoundry.org:10001 17:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:43 Configure a credential helper to remove this warning. See 17:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:43 17:12:43 Login Succeeded 17:12:43 nexus3.edgexfoundry.org:10002 17:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:43 Configure a credential helper to remove this warning. See 17:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:43 17:12:43 Login Succeeded 17:12:43 nexus3.edgexfoundry.org:10003 17:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:43 Configure a credential helper to remove this warning. See 17:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:43 17:12:43 Login Succeeded 17:12:43 nexus3.edgexfoundry.org:10004 17:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:43 Configure a credential helper to remove this warning. See 17:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:43 17:12:43 Login Succeeded 17:12:43 docker.io 17:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:43 Configure a credential helper to remove this warning. See 17:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:43 17:12:43 Login Succeeded 17:12:43 ---> docker-login.sh ends [Pipeline] } 17:12:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:12:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:12:44 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:12:44 e03c6e991c633265ca57616196638541aa716f8b 17:12:44 latest 17:12:44 3.0.0-dev.24 17:12:44 e03c6e991c633265ca57616196638541aa716f8b-3.0.0-dev.24 17:12:44 main 17:12:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:44 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:e03c6e991c633265ca57616196638541aa716f8b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:e03c6e991c633265ca57616196638541aa716f8b 17:12:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:12:44 f193b935fb32: Preparing 17:12:44 e05c98802d6a: Preparing 17:12:44 df3d9473103b: Preparing 17:12:44 0936456ebd48: Preparing 17:12:44 7cd52847ad77: Preparing 17:12:44 7cd52847ad77: Layer already exists 17:12:44 f193b935fb32: Pushed 17:12:44 0936456ebd48: Pushed 17:12:44 e05c98802d6a: Pushed 17:12:47 df3d9473103b: Pushed 17:12:47 e03c6e991c633265ca57616196638541aa716f8b: digest: sha256:b7a0756ef8e4198e58d60416cf3ea72466bc6d3a8514cdee28b02e66cc49dde0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:47 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:12:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:12:48 f193b935fb32: Preparing 17:12:48 e05c98802d6a: Preparing 17:12:48 df3d9473103b: Preparing 17:12:48 0936456ebd48: Preparing 17:12:48 7cd52847ad77: Preparing 17:12:48 e05c98802d6a: Layer already exists 17:12:48 7cd52847ad77: Layer already exists 17:12:48 0936456ebd48: Layer already exists 17:12:48 df3d9473103b: Layer already exists 17:12:48 f193b935fb32: Layer already exists 17:12:48 latest: digest: sha256:b7a0756ef8e4198e58d60416cf3ea72466bc6d3a8514cdee28b02e66cc49dde0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:48 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.24 17:12:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:12:48 f193b935fb32: Preparing 17:12:48 e05c98802d6a: Preparing 17:12:48 df3d9473103b: Preparing 17:12:48 0936456ebd48: Preparing 17:12:48 7cd52847ad77: Preparing 17:12:48 f193b935fb32: Layer already exists 17:12:48 0936456ebd48: Layer already exists 17:12:48 df3d9473103b: Layer already exists 17:12:48 7cd52847ad77: Layer already exists 17:12:48 e05c98802d6a: Layer already exists 17:12:48 3.0.0-dev.24: digest: sha256:b7a0756ef8e4198e58d60416cf3ea72466bc6d3a8514cdee28b02e66cc49dde0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:48 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:e03c6e991c633265ca57616196638541aa716f8b-3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:e03c6e991c633265ca57616196638541aa716f8b-3.0.0-dev.24 17:12:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:12:49 f193b935fb32: Preparing 17:12:49 e05c98802d6a: Preparing 17:12:49 df3d9473103b: Preparing 17:12:49 0936456ebd48: Preparing 17:12:49 7cd52847ad77: Preparing 17:12:49 e05c98802d6a: Layer already exists 17:12:49 f193b935fb32: Layer already exists 17:12:49 df3d9473103b: Layer already exists 17:12:49 7cd52847ad77: Layer already exists 17:12:49 0936456ebd48: Layer already exists 17:12:49 e03c6e991c633265ca57616196638541aa716f8b-3.0.0-dev.24: digest: sha256:b7a0756ef8e4198e58d60416cf3ea72466bc6d3a8514cdee28b02e66cc49dde0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:49 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:12:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:12:49 f193b935fb32: Preparing 17:12:49 e05c98802d6a: Preparing 17:12:49 df3d9473103b: Preparing 17:12:49 0936456ebd48: Preparing 17:12:49 7cd52847ad77: Preparing 17:12:49 7cd52847ad77: Layer already exists 17:12:49 f193b935fb32: Layer already exists 17:12:49 df3d9473103b: Layer already exists 17:12:49 e05c98802d6a: Layer already exists 17:12:49 0936456ebd48: Layer already exists 17:12:49 main: digest: sha256:b7a0756ef8e4198e58d60416cf3ea72466bc6d3a8514cdee28b02e66cc49dde0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:12:49 ===================================================== [Pipeline] echo 17:12:49 taggedImages: 17:12:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera:e03c6e991c633265ca57616196638541aa716f8b 17:12:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:12:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.24 17:12:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera:e03c6e991c633265ca57616196638541aa716f8b-3.0.0-dev.24 17:12:49 - 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:12:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:12:50 17:12:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:12:50 latest: Pulling from edgex-lftools-log-publisher 17:12:50 5eb5b503b376: Pulling fs layer 17:12:50 5c69ac0246d0: Pulling fs layer 17:12:50 ec43610c2a17: Pulling fs layer 17:12:50 3a2ae6a8a46f: Pulling fs layer 17:12:50 33b1e0a273af: Pulling fs layer 17:12:50 5d3b04190fa2: Pulling fs layer 17:12:50 2f39f015ded8: Pulling fs layer 17:12:50 3a2ae6a8a46f: Waiting 17:12:50 33b1e0a273af: Waiting 17:12:50 5d3b04190fa2: Waiting 17:12:50 5c69ac0246d0: Download complete 17:12:50 3a2ae6a8a46f: Verifying Checksum 17:12:50 3a2ae6a8a46f: Download complete 17:12:50 33b1e0a273af: Verifying Checksum 17:12:50 33b1e0a273af: Download complete 17:12:50 5d3b04190fa2: Verifying Checksum 17:12:50 5d3b04190fa2: Download complete 17:12:50 ec43610c2a17: Verifying Checksum 17:12:50 ec43610c2a17: Download complete 17:12:50 5eb5b503b376: Verifying Checksum 17:12:50 5eb5b503b376: Download complete 17:12:51 2f39f015ded8: Download complete 17:12:52 5eb5b503b376: Pull complete 17:12:52 5c69ac0246d0: Pull complete 17:12:52 ec43610c2a17: Pull complete 17:12:52 3a2ae6a8a46f: Pull complete 17:12:52 33b1e0a273af: Pull complete 17:12:53 5d3b04190fa2: Pull complete 17:12:57 2f39f015ded8: Pull complete 17:12:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:12:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:12:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:12:57 prd-ubuntu20.04-docker-8c-8g-5222 does not seem to be running inside a container 17:12:57 $ 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:13:00 $ docker top 1f1c0411b40630f4339fe2f8d24ba6790a94317f0c0913056c409c2f14b643ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:13:01 ---> job-cost.sh 17:13:01 lf-activate-venv: SKIPPING 17:13:01 INFO: No Stack... 17:13:01 INFO: Retrieving Pricing Info for: v3-standard-8 17:13:02 INFO: Archiving Costs [Pipeline] sh 17:13:02 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 17:13:02 + cut -d, -f6 [Pipeline] lock 17:13:02 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-118-stack-cost] 17:13:02 Resource [jenkins-edgexfoundry-device-onvif-camera-main-118-stack-cost] did not exist. Created. 17:13:02 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-118-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:13:02 + echo total: 0.2199999988079071 [Pipeline] stash 17:13:02 Stashed 1 file(s) [Pipeline] } 17:13:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-118-stack-cost] [Pipeline] // lock [Pipeline] } 17:13:02 $ docker stop --time=1 1f1c0411b40630f4339fe2f8d24ba6790a94317f0c0913056c409c2f14b643ec 17:13:03 $ docker rm -f --volumes 1f1c0411b40630f4339fe2f8d24ba6790a94317f0c0913056c409c2f14b643ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:13:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5223 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:13:38 Running in /w/workspace/device-onvif-camera/118 [Pipeline] { [Pipeline] checkout 17:13:38 The recommended git tool is: git 17:13:44 using credential edgex-jenkins-ssh 17:13:44 Cloning the remote Git repository 17:13:44 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:13:44 > git init /w/workspace/device-onvif-camera/118 # timeout=10 17:13:44 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:13:44 > git --version # timeout=10 17:13:44 > git --version # 'git version 2.25.1' 17:13:44 using GIT_SSH to set credentials SSH Credentials for GitHub 17:13:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:13:47 Avoid second fetch 17:13:47 Checking out Revision e03c6e991c633265ca57616196638541aa716f8b (main) 17:13:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:13:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:13:47 > git config core.sparsecheckout # timeout=10 17:13:47 > git checkout -f e03c6e991c633265ca57616196638541aa716f8b # timeout=10 17:13:47 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory (#279)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:13:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:13:49 % Total % Received % Xferd Average Speed Time Time Time Current 17:13:49 Dload Upload Total Spent Left Speed 17:13:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh 17:13:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:13:49 + sudo tee /etc/docker/daemon.new 17:13:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:13:49 { 17:13:49 "registry-mirrors": [ 17:13:49 "https://nexus3.edgexfoundry.org:10001" 17:13:49 ], 17:13:49 "bip": "10.250.0.254/24", 17:13:49 "hosts": [ 17:13:49 "tcp://0.0.0.0:5555", 17:13:49 "unix:///var/run/docker.sock" 17:13:49 ], 17:13:49 "mtu": 1458, 17:13:49 "selinux-enabled": true, 17:13:49 "seccomp-profile": "/etc/docker/seccomp.json" 17:13:49 } [Pipeline] sh 17:13:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:13:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:14:12 provisioning config files... 17:14:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/118@tmp/config13625229818271137763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:14:13 ---> docker-login.sh 17:14:13 nexus3.edgexfoundry.org:10001 17:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:14 Configure a credential helper to remove this warning. See 17:14:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:14 17:14:14 Login Succeeded 17:14:14 nexus3.edgexfoundry.org:10002 17:14:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:14 Configure a credential helper to remove this warning. See 17:14:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:14 17:14:14 Login Succeeded 17:14:14 nexus3.edgexfoundry.org:10003 17:14:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:14 Configure a credential helper to remove this warning. See 17:14:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:14 17:14:14 Login Succeeded 17:14:14 nexus3.edgexfoundry.org:10004 17:14:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:15 Configure a credential helper to remove this warning. See 17:14:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:15 17:14:15 Login Succeeded 17:14:15 docker.io 17:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:14:15 Configure a credential helper to remove this warning. See 17:14:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:14:15 17:14:15 Login Succeeded 17:14:15 ---> docker-login.sh ends [Pipeline] } 17:14:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:14:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:14:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:14:15 ========================================================= 17:14:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:14:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:16 + 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:14:16 Sending build context to Docker daemon 19.68MB 17:14:16 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:14:16 Step 2/13 : FROM ${BASE} AS builder 17:14:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:14:16 af6eaf76a39c: Pulling fs layer 17:14:16 55522c791124: Pulling fs layer 17:14:16 ce5c4a1c91eb: Pulling fs layer 17:14:16 169dfbe0d373: Pulling fs layer 17:14:16 e1ff8fa3b103: Pulling fs layer 17:14:16 52ebb69f0ebf: Pulling fs layer 17:14:16 5abe8eddf0d5: Pulling fs layer 17:14:16 169dfbe0d373: Waiting 17:14:16 e1ff8fa3b103: Waiting 17:14:16 52ebb69f0ebf: Waiting 17:14:16 5abe8eddf0d5: Waiting 17:14:16 55522c791124: Verifying Checksum 17:14:16 55522c791124: Download complete 17:14:16 169dfbe0d373: Verifying Checksum 17:14:16 169dfbe0d373: Download complete 17:14:16 e1ff8fa3b103: Verifying Checksum 17:14:16 e1ff8fa3b103: Download complete 17:14:16 af6eaf76a39c: Verifying Checksum 17:14:16 af6eaf76a39c: Download complete 17:14:17 af6eaf76a39c: Pull complete 17:14:17 5abe8eddf0d5: Verifying Checksum 17:14:17 5abe8eddf0d5: Download complete 17:14:18 55522c791124: Pull complete 17:14:19 ce5c4a1c91eb: Verifying Checksum 17:14:19 ce5c4a1c91eb: Download complete 17:14:19 52ebb69f0ebf: Verifying Checksum 17:14:19 52ebb69f0ebf: Download complete 17:14:29 ce5c4a1c91eb: Pull complete 17:14:29 169dfbe0d373: Pull complete 17:14:30 e1ff8fa3b103: Pull complete 17:14:36 52ebb69f0ebf: Pull complete 17:14:38 5abe8eddf0d5: Pull complete 17:14:38 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 17:14:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:14:38 ---> 6cb57ee374ae 17:14:38 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:14:40 ---> Running in 6165d70b3eb2 17:14:40 Removing intermediate container 6165d70b3eb2 17:14:40 ---> e073bf5b74c8 17:14:40 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:14:40 ---> Running in 7493a6661cb7 17:14:40 Removing intermediate container 7493a6661cb7 17:14:40 ---> c95a44e9de6f 17:14:40 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:14:40 ---> Running in bae319c8b5c5 17:14:41 Removing intermediate container bae319c8b5c5 17:14:41 ---> 8339ed2f2c20 17:14:41 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:14:41 ---> Running in a52ba0086273 17:14:41 Removing intermediate container a52ba0086273 17:14:41 ---> 00ce064a345d 17:14:41 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:14:41 ---> Running in 8e9132040855 17:14:42 Removing intermediate container 8e9132040855 17:14:42 ---> 17cfdb4bec0b 17:14:42 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:14:42 ---> Running in 939dd0296a16 17:14:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:14:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:14:44 OK: 263 MiB in 53 packages 17:14:45 Removing intermediate container 939dd0296a16 17:14:45 ---> 2afd3510e073 17:14:45 Step 9/13 : WORKDIR /device-onvif-camera 17:14:45 ---> Running in b63ce49317a3 17:14:46 Removing intermediate container b63ce49317a3 17:14:46 ---> 43449100cb89 17:14:46 Step 10/13 : COPY go.mod vendor* ./ 17:14:48 ---> 6d2b54f08028 17:14:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:14:48 ---> Running in 167d909ae6a7 17:15:56 Removing intermediate container 167d909ae6a7 17:15:56 ---> ede118bbfd6a 17:15:56 Step 12/13 : COPY . . 17:15:56 ---> e518d5845fad 17:15:56 Step 13/13 : RUN ${MAKE} 17:15:56 ---> Running in 01de0ad66913 17:15:56 noop 17:15:57 Removing intermediate container 01de0ad66913 17:15:57 ---> 7344696cfac5 17:15:57 Successfully built 7344696cfac5 17:15:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:57 + docker inspect -f . ci-base-image-arm64 17:15:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:58 prd-ubuntu20.04-docker-arm64-4c-16g-5223 does not seem to be running inside a container 17:15:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/118 -v /w/workspace/device-onvif-camera/118:/w/workspace/device-onvif-camera/118:rw,z -v /w/workspace/device-onvif-camera/118@tmp:/w/workspace/device-onvif-camera/118@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:15:59 $ docker top 412319ab1d262b84912f06203d225faadb37a724367a29a89a481d8e057b6afa -eo pid,comm [Pipeline] { [Pipeline] sh 17:16:00 + go version 17:16:00 go version go1.20.2 linux/arm64 [Pipeline] } 17:16:00 $ docker stop --time=1 412319ab1d262b84912f06203d225faadb37a724367a29a89a481d8e057b6afa 17:16:01 $ docker rm -f --volumes 412319ab1d262b84912f06203d225faadb37a724367a29a89a481d8e057b6afa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:02 + docker inspect -f . ci-base-image-arm64 17:16:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:02 prd-ubuntu20.04-docker-arm64-4c-16g-5223 does not seem to be running inside a container 17:16:02 $ 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/118 -v /w/workspace/device-onvif-camera/118:/w/workspace/device-onvif-camera/118:rw,z -v /w/workspace/device-onvif-camera/118@tmp:/w/workspace/device-onvif-camera/118@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:16:03 $ docker top f262a3964b69b94f454c2a95bd366e66a9e5e193a3d2334f0cc08e2d77217699 -eo pid,comm [Pipeline] { [Pipeline] sh 17:16:04 + git config --global --add safe.directory /w/workspace/device-onvif-camera/118 [Pipeline] fileExists [Pipeline] sh 17:16:04 + make test 17:16:05 go test ./... -coverprofile=coverage.out ./... 17:16:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:18:43 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:18:43 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:18:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.221s coverage: 31.7% of statements 17:19:06 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.496s coverage: 86.5% of statements 17:19:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:19:06 go vet ./... 17:19:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:19:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:19:38 ./bin/test-attribution-txt.sh [Pipeline] echo 17:19:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:19:38 $ docker stop --time=1 f262a3964b69b94f454c2a95bd366e66a9e5e193a3d2334f0cc08e2d77217699 17:19:40 $ docker rm -f --volumes f262a3964b69b94f454c2a95bd366e66a9e5e193a3d2334f0cc08e2d77217699 [Pipeline] // withDockerContainer [Pipeline] sh 17:19:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:19:41 Warning: overwriting stash ‘coverage-report’ 17:19:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:19:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:19:42 + ls -al . 17:19:42 total 232 17:19:42 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 17:16 . 17:19:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:13 .. 17:19:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 17:13 .git 17:19:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:13 .github 17:19:42 -rw-rw-r-- 1 jenkins jenkins 496 Mar 22 17:13 .gitignore 17:19:42 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 17:13 .golangci.yml 17:19:42 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 22 17:13 Attribution.txt 17:19:42 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 22 17:13 CHANGELOG.md 17:19:42 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 22 17:13 Dockerfile 17:19:42 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 17:13 GOVERNANCE.md 17:19:42 -rw-rw-r-- 1 jenkins jenkins 734 Mar 22 17:13 Jenkinsfile 17:19:42 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 17:13 LICENSE 17:19:42 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 22 17:13 Makefile 17:19:42 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 17:13 OWNERS.md 17:19:42 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 22 17:13 README.md 17:19:42 -rw-rw-r-- 1 jenkins jenkins 12 Mar 22 17:10 VERSION 17:19:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 17:13 bin 17:19:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 17:13 cmd 17:19:42 -rw-r--r-- 1 jenkins jenkins 78487 Mar 22 17:19 coverage.out 17:19:42 drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 17:13 doc 17:19:42 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 22 17:13 go.mod 17:19:42 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 22 17:13 go.sum 17:19:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:13 internal 17:19:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 17:13 snap 17:19:42 -rw-rw-r-- 1 jenkins jenkins 236 Mar 22 17:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:42 + 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=e03c6e991c633265ca57616196638541aa716f8b --label arch=arm64 --label version=3.0.0-dev.24 . 17:19:43 Sending build context to Docker daemon 19.76MB 17:19:43 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:19:43 Step 2/26 : FROM ${BASE} AS builder 17:19:43 ---> 7344696cfac5 17:19:43 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:19:43 ---> Running in ca2cf002b4d1 17:19:43 Removing intermediate container ca2cf002b4d1 17:19:43 ---> 4b39a52a3397 17:19:43 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:19:43 ---> Running in 75aae9d975d2 17:19:44 Removing intermediate container 75aae9d975d2 17:19:44 ---> 27b5fdf68277 17:19:44 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:19:44 ---> Running in 20d92d01ca5e 17:19:44 Removing intermediate container 20d92d01ca5e 17:19:44 ---> 02282b6c75fd 17:19:44 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:19:44 ---> Running in a1d7243176ff 17:19:44 Removing intermediate container a1d7243176ff 17:19:44 ---> 7ea2b30cd985 17:19:44 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:19:45 ---> Running in 0271befd6523 17:19:45 Removing intermediate container 0271befd6523 17:19:45 ---> 43e3d8c289de 17:19:45 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:19:45 ---> Running in 8d8bf279d43b 17:19:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:19:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:19:48 OK: 263 MiB in 53 packages 17:19:49 Removing intermediate container 8d8bf279d43b 17:19:49 ---> 48b129536046 17:19:49 Step 9/26 : WORKDIR /device-onvif-camera 17:19:49 ---> Running in 9e53e6407c7b 17:19:49 Removing intermediate container 9e53e6407c7b 17:19:49 ---> d27c8ff667ea 17:19:49 Step 10/26 : COPY go.mod vendor* ./ 17:19:49 ---> 27e0061db00a 17:19:49 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:19:49 ---> Running in 140774ccf6a1 17:19:52 Removing intermediate container 140774ccf6a1 17:19:52 ---> 5b9784b65501 17:19:52 Step 12/26 : COPY . . 17:19:54 ---> d9161a6c86dc 17:19:54 Step 13/26 : RUN ${MAKE} 17:19:54 ---> Running in 0a1c938c860b 17:19:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.24" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:22:17 Removing intermediate container 0a1c938c860b 17:22:17 ---> 93748a265994 17:22:17 Step 14/26 : FROM alpine:3.17 17:22:17 3.17: Pulling from library/alpine 17:22:17 af6eaf76a39c: Already exists 17:22:17 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 17:22:17 Status: Downloaded newer image for alpine:3.17 17:22:17 ---> d74e625d9115 17:22:17 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:22:17 ---> Running in e1b0bab7bae4 17:22:17 Removing intermediate container e1b0bab7bae4 17:22:17 ---> 26e6ce825c22 17:22:17 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:22:17 ---> Running in 3580d305b786 17:22:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:22:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:22:17 (1/1) Installing dumb-init (1.2.5-r2) 17:22:17 Executing busybox-1.35.0-r29.trigger 17:22:17 OK: 8 MiB in 16 packages 17:22:17 Removing intermediate container 3580d305b786 17:22:17 ---> 479df8a55262 17:22:17 Step 17/26 : WORKDIR / 17:22:17 ---> Running in 67f82a02f258 17:22:17 Removing intermediate container 67f82a02f258 17:22:17 ---> 8695493a38b6 17:22:17 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:22:17 ---> 2bf794bddfb0 17:22:17 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:22:17 ---> 728daf642140 17:22:17 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:22:18 ---> e9c294d1432e 17:22:18 Step 21/26 : EXPOSE 59984 17:22:18 ---> Running in e5ff78daa71e 17:22:18 Removing intermediate container e5ff78daa71e 17:22:18 ---> a37c2ec45749 17:22:18 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:22:18 ---> Running in 757350ea810a 17:22:19 Removing intermediate container 757350ea810a 17:22:19 ---> fb1d59385eee 17:22:19 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:22:19 ---> Running in bc0db5c1e9c7 17:22:19 Removing intermediate container bc0db5c1e9c7 17:22:19 ---> b63056dd5b48 17:22:19 Step 24/26 : LABEL arch=arm64 17:22:19 ---> Running in 841790a12a20 17:22:19 Removing intermediate container 841790a12a20 17:22:19 ---> ced7b2e28f86 17:22:19 Step 25/26 : LABEL git_sha=e03c6e991c633265ca57616196638541aa716f8b 17:22:19 ---> Running in d2f4b1aceb2c 17:22:20 Removing intermediate container d2f4b1aceb2c 17:22:20 ---> 836a3065f6ef 17:22:20 Step 26/26 : LABEL version=3.0.0-dev.24 17:22:20 ---> Running in b031980c3b43 17:22:20 Removing intermediate container b031980c3b43 17:22:20 ---> 64f6edcc6701 17:22:20 [Warning] One or more build-args [ARCH] were not consumed 17:22:20 Successfully built 64f6edcc6701 17:22:20 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:22:20 provisioning config files... 17:22:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/118@tmp/config4097028364882071463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:20 ---> docker-login.sh 17:22:20 nexus3.edgexfoundry.org:10001 17:22:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:21 Configure a credential helper to remove this warning. See 17:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:21 17:22:21 Login Succeeded 17:22:21 nexus3.edgexfoundry.org:10002 17:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:21 Configure a credential helper to remove this warning. See 17:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:21 17:22:21 Login Succeeded 17:22:21 nexus3.edgexfoundry.org:10003 17:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:22 Configure a credential helper to remove this warning. See 17:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:22 17:22:22 Login Succeeded 17:22:22 nexus3.edgexfoundry.org:10004 17:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:22 Configure a credential helper to remove this warning. See 17:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:22 17:22:22 Login Succeeded 17:22:22 docker.io 17:22:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:22 Configure a credential helper to remove this warning. See 17:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:22 17:22:22 Login Succeeded 17:22:22 ---> docker-login.sh ends [Pipeline] } 17:22:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:22:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:22 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 17:22:22 e03c6e991c633265ca57616196638541aa716f8b 17:22:22 latest 17:22:22 3.0.0-dev.24 17:22:22 e03c6e991c633265ca57616196638541aa716f8b-3.0.0-dev.24 17:22:22 main 17:22:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:23 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e03c6e991c633265ca57616196638541aa716f8b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e03c6e991c633265ca57616196638541aa716f8b 17:22:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:22:23 13bb2e57b832: Preparing 17:22:23 6817f464ec06: Preparing 17:22:23 b1cce72d6269: Preparing 17:22:23 fd4ba258eab8: Preparing 17:22:23 edf70074bd40: Preparing 17:22:23 edf70074bd40: Layer already exists 17:22:23 fd4ba258eab8: Pushed 17:22:23 13bb2e57b832: Pushed 17:22:23 6817f464ec06: Pushed 17:22:29 b1cce72d6269: Pushed 17:22:29 e03c6e991c633265ca57616196638541aa716f8b: digest: sha256:ed3e9c821d905c54e2ddf279c3329ee88f053f53d78fd663a4cb7cf1d12bb147 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:29 + 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:22:29 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:22:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:22:29 13bb2e57b832: Preparing 17:22:29 6817f464ec06: Preparing 17:22:29 b1cce72d6269: Preparing 17:22:29 fd4ba258eab8: Preparing 17:22:29 edf70074bd40: Preparing 17:22:29 6817f464ec06: Layer already exists 17:22:29 13bb2e57b832: Layer already exists 17:22:29 fd4ba258eab8: Layer already exists 17:22:29 edf70074bd40: Layer already exists 17:22:29 b1cce72d6269: Layer already exists 17:22:29 latest: digest: sha256:ed3e9c821d905c54e2ddf279c3329ee88f053f53d78fd663a4cb7cf1d12bb147 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:30 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.24 17:22:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:22:30 13bb2e57b832: Preparing 17:22:30 6817f464ec06: Preparing 17:22:30 b1cce72d6269: Preparing 17:22:30 fd4ba258eab8: Preparing 17:22:30 edf70074bd40: Preparing 17:22:30 edf70074bd40: Layer already exists 17:22:30 13bb2e57b832: Layer already exists 17:22:30 fd4ba258eab8: Layer already exists 17:22:30 6817f464ec06: Layer already exists 17:22:30 b1cce72d6269: Layer already exists 17:22:30 3.0.0-dev.24: digest: sha256:ed3e9c821d905c54e2ddf279c3329ee88f053f53d78fd663a4cb7cf1d12bb147 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:30 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e03c6e991c633265ca57616196638541aa716f8b-3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:31 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e03c6e991c633265ca57616196638541aa716f8b-3.0.0-dev.24 17:22:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:22:31 13bb2e57b832: Preparing 17:22:31 6817f464ec06: Preparing 17:22:31 b1cce72d6269: Preparing 17:22:31 fd4ba258eab8: Preparing 17:22:31 edf70074bd40: Preparing 17:22:31 13bb2e57b832: Layer already exists 17:22:31 6817f464ec06: Layer already exists 17:22:31 edf70074bd40: Layer already exists 17:22:31 fd4ba258eab8: Layer already exists 17:22:31 b1cce72d6269: Layer already exists 17:22:31 e03c6e991c633265ca57616196638541aa716f8b-3.0.0-dev.24: digest: sha256:ed3e9c821d905c54e2ddf279c3329ee88f053f53d78fd663a4cb7cf1d12bb147 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:31 + 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:22:31 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 17:22:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:22:31 13bb2e57b832: Preparing 17:22:31 6817f464ec06: Preparing 17:22:31 b1cce72d6269: Preparing 17:22:31 fd4ba258eab8: Preparing 17:22:31 edf70074bd40: Preparing 17:22:31 b1cce72d6269: Layer already exists 17:22:31 edf70074bd40: Layer already exists 17:22:31 6817f464ec06: Layer already exists 17:22:31 13bb2e57b832: Layer already exists 17:22:31 fd4ba258eab8: Layer already exists 17:22:31 main: digest: sha256:ed3e9c821d905c54e2ddf279c3329ee88f053f53d78fd663a4cb7cf1d12bb147 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:22:32 ===================================================== [Pipeline] echo 17:22:32 taggedImages: 17:22:32 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e03c6e991c633265ca57616196638541aa716f8b 17:22:32 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:22:32 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.24 17:22:32 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:e03c6e991c633265ca57616196638541aa716f8b-3.0.0-dev.24 17:22:32 - 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:22:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:22:32 17:22:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:22:32 arm64: Pulling from edgex-lftools-log-publisher 17:22:32 8998bd30e6a1: Pulling fs layer 17:22:32 04944245beec: Pulling fs layer 17:22:32 699f458cf7ca: Pulling fs layer 17:22:32 765212b225bb: Pulling fs layer 17:22:32 f23df028b6ca: Pulling fs layer 17:22:32 d65c8cfc05b1: Pulling fs layer 17:22:32 2437ff75d9bd: Pulling fs layer 17:22:32 f23df028b6ca: Waiting 17:22:32 d65c8cfc05b1: Waiting 17:22:32 2437ff75d9bd: Waiting 17:22:32 765212b225bb: Waiting 17:22:33 04944245beec: Verifying Checksum 17:22:33 04944245beec: Download complete 17:22:33 765212b225bb: Verifying Checksum 17:22:33 765212b225bb: Download complete 17:22:33 f23df028b6ca: Verifying Checksum 17:22:33 f23df028b6ca: Download complete 17:22:33 d65c8cfc05b1: Verifying Checksum 17:22:33 d65c8cfc05b1: Download complete 17:22:33 699f458cf7ca: Verifying Checksum 17:22:33 699f458cf7ca: Download complete 17:22:33 8998bd30e6a1: Verifying Checksum 17:22:33 8998bd30e6a1: Download complete 17:22:35 2437ff75d9bd: Verifying Checksum 17:22:35 2437ff75d9bd: Download complete 17:22:37 8998bd30e6a1: Pull complete 17:22:37 04944245beec: Pull complete 17:22:39 699f458cf7ca: Pull complete 17:22:39 765212b225bb: Pull complete 17:22:39 f23df028b6ca: Pull complete 17:22:39 d65c8cfc05b1: Pull complete 17:22:52 2437ff75d9bd: Pull complete 17:22:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:22:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:22:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:52 prd-ubuntu20.04-docker-arm64-4c-16g-5223 does not seem to be running inside a container 17:22:52 $ 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/118 -v /w/workspace/device-onvif-camera/118:/w/workspace/device-onvif-camera/118:rw,z -v /w/workspace/device-onvif-camera/118@tmp:/w/workspace/device-onvif-camera/118@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:22:55 $ docker top faf64418271beccab569090cf6fc2160c8685fc39e97f7639d8e01fb547cd83f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:55 ---> job-cost.sh 17:22:55 lf-activate-venv: SKIPPING 17:22:55 INFO: No Stack... 17:22:56 INFO: Retrieving Pricing Info for: v3-standard-4 17:22:57 INFO: Archiving Costs [Pipeline] sh 17:22:57 + + cat /w/workspace/device-onvif-camera/118/archives/cost.csvcut 17:22:57 -d, -f6 [Pipeline] lock 17:22:57 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-118-stack-cost] 17:22:57 Resource [jenkins-edgexfoundry-device-onvif-camera-main-118-stack-cost] did not exist. Created. 17:22:57 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-118-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:22:58 /w/workspace/device-onvif-camera/118@tmp/durable-aa39f3b4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:22:58 + echo total: 0.10999999940395355 [Pipeline] stash 17:22:58 Warning: overwriting stash ‘stack-cost’ 17:22:58 Stashed 1 file(s) [Pipeline] } 17:22:58 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-118-stack-cost] [Pipeline] // lock [Pipeline] } 17:22:58 $ docker stop --time=1 faf64418271beccab569090cf6fc2160c8685fc39e97f7639d8e01fb547cd83f 17:23:00 $ docker rm -f --volumes faf64418271beccab569090cf6fc2160c8685fc39e97f7639d8e01fb547cd83f [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:23:00 provisioning config files... 17:23:00 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16092226683734457179tmp [Pipeline] { [Pipeline] sh 17:23:00 + set +x 17:23:00 + curl -s https://codecov.io/bash 17:23:00 + bash -s -- 17:23:00 17:23:00 _____ _ 17:23:00 / ____| | | 17:23:00 | | ___ __| | ___ ___ _____ __ 17:23:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:23:00 | |___| (_) | (_| | __/ (_| (_) \ V / 17:23:00 \_____\___/ \__,_|\___|\___\___/ \_/ 17:23:00 Bash-1.0.6 17:23:00 17:23:00 17:23:00 ==> git version 2.25.1 found 17:23:00 ==> 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:23:00 Release-Date: 2020-01-08 17:23:00 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:23:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:23:00 ==> Jenkins CI detected. 17:23:00 current dir:  /w/workspace/foundry_device-onvif-camera_main 17:23:00 project root: . 17:23:00 --> token set from env 17:23:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:23:00 ==> Running gcov in . (disable via -X gcov) 17:23:00 ==> Python coveragepy not found 17:23:00 ==> Searching for coverage reports in: 17:23:00 + . 17:23:00 -> Found 1 reports 17:23:00 ==> Detecting git/mercurial file structure 17:23:01 ==> Reading reports 17:23:01 + ./coverage.out bytes=78487 17:23:01 ==> Appending adjustments 17:23:01 https://docs.codecov.io/docs/fixing-reports 17:23:01 + Found adjustments 17:23:01 ==> Gzipping contents 17:23:01 12K /tmp/codecov.TNcpCX.gz 17:23:01 ==> Uploading reports 17:23:01 url: https://codecov.io 17:23:01 query: branch=main&commit=e03c6e991c633265ca57616196638541aa716f8b&build=118&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F118%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:23:01 -> Pinging Codecov 17:23:01 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=e03c6e991c633265ca57616196638541aa716f8b&build=118&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F118%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:23:01 -> Uploading to 17:23:01 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/F29A59C45E3A92E06B3E522C9905F8EF/e03c6e991c633265ca57616196638541aa716f8b/be70d92e-f187-4b2b-b783-f6cc3c6bc1f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T172301Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=88e9648c9565c827ac90f86d3caeabaa41951e5aff03611b7d19ad65d861c1b5 17:23:01 % Total % Received % Xferd Average Speed Time Time Time Current 17:23:01 Dload Upload Total Spent Left Speed 17:23:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10527 0 0 100 10527 0 33208 --:--:-- --:--:-- --:--:-- 33313 17:23:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e03c6e991c633265ca57616196638541aa716f8b [Pipeline] } 17:23:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:23:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:23:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:23:02 17:23:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:23:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:23:02 df9b9388f04a: Pulling fs layer 17:23:02 52dc419b0ee2: Pulling fs layer 17:23:02 25bc292e5bac: Pulling fs layer 17:23:02 114826534d7a: Pulling fs layer 17:23:02 4657fd5d0bcf: Pulling fs layer 17:23:02 114826534d7a: Waiting 17:23:02 6ad1cebc031e: Pulling fs layer 17:23:02 8a3aa393b2d8: Pulling fs layer 17:23:02 6ad1cebc031e: Waiting 17:23:02 8a3aa393b2d8: Waiting 17:23:02 25bc292e5bac: Verifying Checksum 17:23:02 25bc292e5bac: Download complete 17:23:02 52dc419b0ee2: Verifying Checksum 17:23:02 52dc419b0ee2: Download complete 17:23:02 4657fd5d0bcf: Verifying Checksum 17:23:02 4657fd5d0bcf: Download complete 17:23:02 df9b9388f04a: Verifying Checksum 17:23:02 df9b9388f04a: Download complete 17:23:02 df9b9388f04a: Pull complete 17:23:02 6ad1cebc031e: Verifying Checksum 17:23:02 6ad1cebc031e: Download complete 17:23:02 52dc419b0ee2: Pull complete 17:23:02 25bc292e5bac: Pull complete 17:23:03 114826534d7a: Verifying Checksum 17:23:03 114826534d7a: Download complete 17:23:03 8a3aa393b2d8: Verifying Checksum 17:23:03 8a3aa393b2d8: Download complete 17:23:06 114826534d7a: Pull complete 17:23:06 4657fd5d0bcf: Pull complete 17:23:07 6ad1cebc031e: Pull complete 17:23:09 8a3aa393b2d8: Pull complete 17:23:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:23:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:23:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:09 prd-ubuntu20.04-docker-8c-8g-5222 does not seem to be running inside a container 17:23:09 $ 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:23:14 $ docker top c753160b0954c613d35a406a7b4d74048accc6a994ba4991c8e97e651f1c8dff -eo pid,comm [Pipeline] { [Pipeline] echo 17:23:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 17:23:15 + set -o pipefail 17:23:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 17:23:20 17:23:20 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 17:23:20 17:23:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/3c259f7f-1683-441c-9e81-db00843a0d4e 17:23:20 17:23:20 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 17:23:20 17:23:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:23:20 17:23:21 17:23:21 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:23:21 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:23:21 More details here: https://snyk.co/ue1NS [Pipeline] } 17:23:21 $ docker stop --time=1 c753160b0954c613d35a406a7b4d74048accc6a994ba4991c8e97e651f1c8dff 17:23:24 $ docker rm -f --volumes c753160b0954c613d35a406a7b4d74048accc6a994ba4991c8e97e651f1c8dff [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:23:25 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:23:25 provisioning config files... 17:23:25 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16243643314501775751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:25 --> edgex-publish-swagger.sh 17:23:25 === Publish doc/openapi/v2 API === 17:23:25 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 17:23:25 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 17:23:25 % Total % Received % Xferd Average Speed Time Time Time Current 17:23:25 Dload Upload Total Spent Left Speed 17:23:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 642k --:--:-- --:--:-- --:--:-- 641k 100 469k 0 0 100 469k 0 642k --:--:-- --:--:-- --:--:-- 641k 17:23:26 17:23:26 [Pipeline] } 17:23:26 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:23:26 + git log --format=format:%s -1 e03c6e991c633265ca57616196638541aa716f8b [Pipeline] sh 17:23:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:23:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:23:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:27 prd-ubuntu20.04-docker-8c-8g-5222 does not seem to be running inside a container 17:23:27 $ 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:23:27 $ docker top ab3e936334f2d734bd2a99c60594eff9ebccf59e3c9c7b7c9b8bf3e45cb543ab -eo pid,comm 17:23:27 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:23:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:23:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:27 [ssh-agent] Looking for ssh-agent implementation... 17:23:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:27 $ docker exec ab3e936334f2d734bd2a99c60594eff9ebccf59e3c9c7b7c9b8bf3e45cb543ab ssh-agent 17:23:27 SSH_AUTH_SOCK=/tmp/ssh-gqgtxmDa2vB4/agent.32 17:23:27 SSH_AGENT_PID=38 17:23:27 Running ssh-add (command line suppressed) 17:23:28 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4969249751532031026.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4969249751532031026.key) 17:23:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:28 + git semver tag 17:23:28 2023-03-22 17:23:28,512 [run_tag] DEBUG tag force:False 17:23:28 2023-03-22 17:23:28,512 [check_head_tag] DEBUG check head tag 17:23:28 2023-03-22 17:23:28,514 [execute] INFO git cat-file --batch-check 17:23:28 2023-03-22 17:23:28,514 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:23:28 2023-03-22 17:23:28,516 [execute] INFO git cat-file --batch 17:23:28 2023-03-22 17:23:28,517 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:23:28 2023-03-22 17:23:28,546 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:23:28 2023-03-22 17:23:28,546 [execute] INFO git tag -a v3.0.0-dev.24 -m v3.0.0-dev.24 17:23:28 2023-03-22 17:23:28,546 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.24', '-m', 'v3.0.0-dev.24'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:23:28 2023-03-22 17:23:28,551 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:23:28 3.0.0-dev.24 [Pipeline] } 17:23:28 $ docker exec --env ******** --env ******** ab3e936334f2d734bd2a99c60594eff9ebccf59e3c9c7b7c9b8bf3e45cb543ab ssh-agent -k 17:23:28 unset SSH_AUTH_SOCK; 17:23:28 unset SSH_AGENT_PID; 17:23:28 echo Agent pid 38 killed; 17:23:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:23:29 + git semver [Pipeline] } 17:23:29 $ docker stop --time=1 ab3e936334f2d734bd2a99c60594eff9ebccf59e3c9c7b7c9b8bf3e45cb543ab 17:23:30 $ docker rm -f --volumes ab3e936334f2d734bd2a99c60594eff9ebccf59e3c9c7b7c9b8bf3e45cb543ab [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:23:30 17:23:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:23:31 0.23.1-centos7: Pulling from edgex-lftools 17:23:31 ab5ef0e58194: Pulling fs layer 17:23:31 9712f1f96733: Pulling fs layer 17:23:31 63f879dbbcfc: Pulling fs layer 17:23:31 0d9ebad4ef96: Pulling fs layer 17:23:31 e9a5061849ea: Pulling fs layer 17:23:31 d747dcd14b5f: Pulling fs layer 17:23:31 2de7ff778b66: Pulling fs layer 17:23:31 0d9ebad4ef96: Waiting 17:23:31 e9a5061849ea: Waiting 17:23:31 d747dcd14b5f: Waiting 17:23:31 2de7ff778b66: Waiting 17:23:31 9712f1f96733: Download complete 17:23:31 63f879dbbcfc: Verifying Checksum 17:23:31 63f879dbbcfc: Download complete 17:23:31 ab5ef0e58194: Verifying Checksum 17:23:31 ab5ef0e58194: Download complete 17:23:31 d747dcd14b5f: Verifying Checksum 17:23:31 d747dcd14b5f: Download complete 17:23:31 e9a5061849ea: Verifying Checksum 17:23:31 e9a5061849ea: Download complete 17:23:32 0d9ebad4ef96: Verifying Checksum 17:23:32 0d9ebad4ef96: Download complete 17:23:32 2de7ff778b66: Verifying Checksum 17:23:32 2de7ff778b66: Download complete 17:23:34 ab5ef0e58194: Pull complete 17:23:34 9712f1f96733: Pull complete 17:23:34 63f879dbbcfc: Pull complete 17:23:39 0d9ebad4ef96: Pull complete 17:23:39 e9a5061849ea: Pull complete 17:23:39 d747dcd14b5f: Pull complete 17:23:39 2de7ff778b66: Pull complete 17:23:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:23:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:23:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:39 prd-ubuntu20.04-docker-8c-8g-5222 does not seem to be running inside a container 17:23:39 $ 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:23:45 $ docker top 3f9deb5a46852a5c7b07882178958a1a007e433dc4d63f8984bf69703712288e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:23:46 provisioning config files... 17:23:46 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16494233101939954872tmp 17:23:46 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3497900459954805911tmp 17:23:46 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config255334004086143920tmp [Pipeline] { [Pipeline] echo 17:23:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:23:46 ---> sigul-configuration.sh 17:23:46 gpg: directory `/root/.gnupg' created 17:23:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:23:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:23:46 gpg: keyring `/root/.gnupg/secring.gpg' created 17:23:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:23:46 gpg: CAST5 encrypted data 17:23:46 gpg: encrypted with 1 passphrase 17:23:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:23:46 + mkdir /home/jenkins 17:23:46 + mkdir /home/jenkins/sigul [Pipeline] sh 17:23:46 + 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:23:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:23:47 ---> sigul-install.sh 17:23:47 Sigul already installed; skipping installation. [Pipeline] sh 17:23:47 + git tag --list 17:23:47 v0.0.0 17:23:47 v0.0.1-dev.1 17:23:47 v0.0.1-dev.10 17:23:47 v0.0.1-dev.11 17:23:47 v0.0.1-dev.12 17:23:47 v0.0.1-dev.13 17:23:47 v0.0.1-dev.14 17:23:47 v0.0.1-dev.15 17:23:47 v0.0.1-dev.16 17:23:47 v0.0.1-dev.17 17:23:47 v0.0.1-dev.18 17:23:47 v0.0.1-dev.19 17:23:47 v0.0.1-dev.2 17:23:47 v0.0.1-dev.20 17:23:47 v0.0.1-dev.21 17:23:47 v0.0.1-dev.22 17:23:47 v0.0.1-dev.23 17:23:47 v0.0.1-dev.24 17:23:47 v0.0.1-dev.25 17:23:47 v0.0.1-dev.26 17:23:47 v0.0.1-dev.27 17:23:47 v0.0.1-dev.28 17:23:47 v0.0.1-dev.3 17:23:47 v0.0.1-dev.4 17:23:47 v0.0.1-dev.5 17:23:47 v0.0.1-dev.6 17:23:47 v0.0.1-dev.7 17:23:47 v0.0.1-dev.8 17:23:47 v0.0.1-dev.9 17:23:47 v2.2.0 17:23:47 v2.2.0-dev.29 17:23:47 v2.2.0-dev.30 17:23:47 v2.2.0-dev.31 17:23:47 v2.2.0-dev.32 17:23:47 v2.2.0-dev.33 17:23:47 v2.2.0-dev.34 17:23:47 v2.2.0-dev.35 17:23:47 v2.3.0 17:23:47 v2.3.0-dev.1 17:23:47 v2.3.0-dev.10 17:23:47 v2.3.0-dev.11 17:23:47 v2.3.0-dev.12 17:23:47 v2.3.0-dev.13 17:23:47 v2.3.0-dev.14 17:23:47 v2.3.0-dev.15 17:23:47 v2.3.0-dev.16 17:23:47 v2.3.0-dev.17 17:23:47 v2.3.0-dev.18 17:23:47 v2.3.0-dev.19 17:23:47 v2.3.0-dev.2 17:23:47 v2.3.0-dev.20 17:23:47 v2.3.0-dev.21 17:23:47 v2.3.0-dev.22 17:23:47 v2.3.0-dev.23 17:23:47 v2.3.0-dev.24 17:23:47 v2.3.0-dev.25 17:23:47 v2.3.0-dev.26 17:23:47 v2.3.0-dev.27 17:23:47 v2.3.0-dev.28 17:23:47 v2.3.0-dev.29 17:23:47 v2.3.0-dev.3 17:23:47 v2.3.0-dev.30 17:23:47 v2.3.0-dev.31 17:23:47 v2.3.0-dev.32 17:23:47 v2.3.0-dev.33 17:23:47 v2.3.0-dev.34 17:23:47 v2.3.0-dev.35 17:23:47 v2.3.0-dev.36 17:23:47 v2.3.0-dev.37 17:23:47 v2.3.0-dev.38 17:23:47 v2.3.0-dev.39 17:23:47 v2.3.0-dev.4 17:23:47 v2.3.0-dev.40 17:23:47 v2.3.0-dev.41 17:23:47 v2.3.0-dev.42 17:23:47 v2.3.0-dev.43 17:23:47 v2.3.0-dev.44 17:23:47 v2.3.0-dev.45 17:23:47 v2.3.0-dev.5 17:23:47 v2.3.0-dev.6 17:23:47 v2.3.0-dev.7 17:23:47 v2.3.0-dev.8 17:23:47 v2.3.0-dev.9 17:23:47 v2.3.1 17:23:47 v2.3.1-dev.1 17:23:47 v2.3.1-dev.4 17:23:47 v2.3.1-dev.5 17:23:47 v3.0.0-dev.1 17:23:47 v3.0.0-dev.10 17:23:47 v3.0.0-dev.11 17:23:47 v3.0.0-dev.12 17:23:47 v3.0.0-dev.13 17:23:47 v3.0.0-dev.14 17:23:47 v3.0.0-dev.15 17:23:47 v3.0.0-dev.16 17:23:47 v3.0.0-dev.17 17:23:47 v3.0.0-dev.18 17:23:47 v3.0.0-dev.19 17:23:47 v3.0.0-dev.2 17:23:47 v3.0.0-dev.20 17:23:47 v3.0.0-dev.21 17:23:47 v3.0.0-dev.22 17:23:47 v3.0.0-dev.23 17:23:47 v3.0.0-dev.24 17:23:47 v3.0.0-dev.3 17:23:47 v3.0.0-dev.4 17:23:47 v3.0.0-dev.5 17:23:47 v3.0.0-dev.6 17:23:47 v3.0.0-dev.7 17:23:47 v3.0.0-dev.8 17:23:47 v3.0.0-dev.9 [Pipeline] sh 17:23:47 + lftools sign git-tag v3.0.0-dev.24 17:23:48 Signing Git tag with Sigul... 17:23:48 Signing v3.0.0-dev.24 [Pipeline] echo 17:23:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:23:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:23:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:23:48 $ docker stop --time=1 3f9deb5a46852a5c7b07882178958a1a007e433dc4d63f8984bf69703712288e 17:23:50 $ docker rm -f --volumes 3f9deb5a46852a5c7b07882178958a1a007e433dc4d63f8984bf69703712288e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:23:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:23:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:23:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:50 prd-ubuntu20.04-docker-8c-8g-5222 does not seem to be running inside a container 17:23:51 $ 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:23:51 $ docker top 489ebfd761346395fd300cbe951acbfce3514572a55d9d8d6aaa2017ea21b2c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:23:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:51 [ssh-agent] Looking for ssh-agent implementation... 17:23:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:51 $ docker exec 489ebfd761346395fd300cbe951acbfce3514572a55d9d8d6aaa2017ea21b2c5 ssh-agent 17:23:51 SSH_AUTH_SOCK=/tmp/ssh-LS0yyjtINW58/agent.33 17:23:51 SSH_AGENT_PID=39 17:23:51 Running ssh-add (command line suppressed) 17:23:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8965277215745119353.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8965277215745119353.key) 17:23:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:52 + git semver bump pre 17:23:52 2023-03-22 17:23:52,324 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:23:52 2023-03-22 17:23:52,324 [bump_version] DEBUG bumping version:3.0.0-dev.24 on axis:pre with prefix:dev 17:23:52 2023-03-22 17:23:52,325 [bump_version] DEBUG bumped version:3.0.0-dev.25 17:23:52 2023-03-22 17:23:52,325 [write_version] DEBUG write version:3.0.0-dev.25 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 17:23:52 2023-03-22 17:23:52,325 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:23:52 2023-03-22 17:23:52,325 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 17:23:52 2023-03-22 17:23:52,328 [execute] INFO git cat-file --batch-check 17:23:52 2023-03-22 17:23:52,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:23:52 2023-03-22 17:23:52,333 [execute] INFO git cat-file --batch 17:23:52 2023-03-22 17:23:52,333 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:23:52 2023-03-22 17:23:52,338 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:23:52 3.0.0-dev.25 [Pipeline] } 17:23:52 $ docker exec --env ******** --env ******** 489ebfd761346395fd300cbe951acbfce3514572a55d9d8d6aaa2017ea21b2c5 ssh-agent -k 17:23:52 unset SSH_AUTH_SOCK; 17:23:52 unset SSH_AGENT_PID; 17:23:52 echo Agent pid 39 killed; 17:23:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:23:52 + git semver [Pipeline] } 17:23:53 $ docker stop --time=1 489ebfd761346395fd300cbe951acbfce3514572a55d9d8d6aaa2017ea21b2c5 17:23:54 $ docker rm -f --volumes 489ebfd761346395fd300cbe951acbfce3514572a55d9d8d6aaa2017ea21b2c5 [Pipeline] // withDockerContainer [Pipeline] sh 17:23:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:23:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:23:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:55 prd-ubuntu20.04-docker-8c-8g-5222 does not seem to be running inside a container 17:23:55 $ 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:23:55 $ docker top 080bb8c0b2f76a08c5d2ce4071486e1c6b9a2de8ef8d9eb76c0aed20cd19a196 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:23:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:55 [ssh-agent] Looking for ssh-agent implementation... 17:23:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:55 $ docker exec 080bb8c0b2f76a08c5d2ce4071486e1c6b9a2de8ef8d9eb76c0aed20cd19a196 ssh-agent 17:23:55 SSH_AUTH_SOCK=/tmp/ssh-0dmVHayZtnBu/agent.32 17:23:55 SSH_AGENT_PID=38 17:23:55 Running ssh-add (command line suppressed) 17:23:55 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8221381375292119018.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8221381375292119018.key) 17:23:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:56 + git semver push 17:23:56 2023-03-22 17:23:56,340 [run_push] DEBUG push 17:23:56 2023-03-22 17:23:56,341 [execute] INFO git cat-file --batch-check 17:23:56 2023-03-22 17:23:56,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:23:56 2023-03-22 17:23:56,345 [execute] INFO git rev-list a53eebcf4636169cb04fbb86138702508ac928b4 -- 17:23:56 2023-03-22 17:23:56,346 [execute] DEBUG Popen(['git', 'rev-list', 'a53eebcf4636169cb04fbb86138702508ac928b4', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:23:56 2023-03-22 17:23:56,354 [execute] INFO git fetch -v origin 17:23:56 2023-03-22 17:23:56,355 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:23:56 2023-03-22 17:23:56,876 [run_push] DEBUG no remote changes detected 17:23:56 2023-03-22 17:23:56,876 [execute] INFO git push origin semver 17:23:56 2023-03-22 17:23:56,877 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:23:57 2023-03-22 17:23:57,676 [run_push] DEBUG push all version tags 17:23:57 2023-03-22 17:23:57,677 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:23:57 2023-03-22 17:23:57,677 [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:23:58 2023-03-22 17:23:58,407 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:23:58 3.0.0-dev.25 [Pipeline] } 17:23:58 $ docker exec --env ******** --env ******** 080bb8c0b2f76a08c5d2ce4071486e1c6b9a2de8ef8d9eb76c0aed20cd19a196 ssh-agent -k 17:23:58 unset SSH_AUTH_SOCK; 17:23:58 unset SSH_AGENT_PID; 17:23:58 echo Agent pid 38 killed; 17:23:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:23:58 + git semver [Pipeline] } 17:23:59 $ docker stop --time=1 080bb8c0b2f76a08c5d2ce4071486e1c6b9a2de8ef8d9eb76c0aed20cd19a196 17:24:00 $ docker rm -f --volumes 080bb8c0b2f76a08c5d2ce4071486e1c6b9a2de8ef8d9eb76c0aed20cd19a196 [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:24:01 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 17:24:01 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:24:01 total 16 17:24:01 drwxr-xr-x 3 root root 4096 Mar 22 17:13 . 17:24:01 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 17:23 .. 17:24:01 drwxr-xr-x 2 root root 4096 Mar 22 17:13 cost 17:24:01 -rw-r--r-- 1 root root 91 Mar 22 17:13 cost.csv 17:24:01 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 17:24:01 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:24:01 total 16 17:24:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 17:13 . 17:24:01 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 17:23 .. 17:24:01 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 17:13 cost 17:24:01 -rw-r--r-- 1 jenkins jenkins 91 Mar 22 17:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:24:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:24:02 ---> package-listing.sh 17:24:02 ++ tr '[:upper:]' '[:lower:]' 17:24:02 ++ facter osfamily 17:24:02 + OS_FAMILY=debian 17:24:02 + workspace=/w/workspace/foundry_device-onvif-camera_main 17:24:02 + START_PACKAGES=/tmp/packages_start.txt 17:24:02 + END_PACKAGES=/tmp/packages_end.txt 17:24:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:24:02 + PACKAGES=/tmp/packages_start.txt 17:24:02 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:24:02 + PACKAGES=/tmp/packages_end.txt 17:24:02 + case "${OS_FAMILY}" in 17:24:02 + dpkg -l 17:24:02 + grep '^ii' 17:24:02 + '[' -f /tmp/packages_start.txt ']' 17:24:02 + '[' -f /tmp/packages_end.txt ']' 17:24:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:24:02 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:24:02 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 17:24:02 + 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:24:02 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:24:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:03 prd-ubuntu20.04-docker-8c-8g-5222 does not seem to be running inside a container 17:24:03 $ 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:24:03 $ docker top cb482401f4b52199627f9648445011ba357b74f47ac94f71a566be1117a2b8e8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:03 + touch /tmp/pre-build-complete [Pipeline] sh 17:24:04 + mkdir -p /var/log/sysstat [Pipeline] sh 17:24:04 + ls /var/log/sa-host 17:24:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:24:04 provisioning config files... 17:24:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15209495094586006966tmp [Pipeline] { [Pipeline] echo 17:24:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:24:04 ---> create-netrc.sh [Pipeline] } 17:24:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:24:05 ---> python-tools-install.sh [Pipeline] echo 17:24:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:24:05 ---> sudo-logs.sh 17:24:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:24:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:24:05 ---> job-cost.sh 17:24:05 lf-activate-venv: SKIPPING 17:24:05 DEBUG: total: 0.2199999988079071 17:24:05 INFO: Retrieving Stack Cost... 17:24:06 INFO: Retrieving Pricing Info for: v3-standard-8 17:24:06 INFO: Archiving Costs [Pipeline] echo 17:24:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:24:06 ---> logs-deploy.sh 17:24:06 lf-activate-venv: SKIPPING 17:24:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/118 17:24:06 INFO: archiving workspace using pattern(s): 17:24:07 Archives upload complete. 17:24:07 INFO: archiving logs to Nexus