Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 61db847f3a653629f088db74e60b4b80a5f1cdc2 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-ssh7650337130048835796.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh17694171852666313194.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh16642135870845412346.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh2650631097755241248.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh12772047299023603231.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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-20737 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 61db847f3a653629f088db74e60b4b80a5f1cdc2 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61db847f3a653629f088db74e60b4b80a5f1cdc2 # timeout=10 Commit message: "fix: retry adding provision watchers if failed (#116)" > git rev-list --no-walk 88753853dd15dc813abf6fe949f278b33fe89c26 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:30:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:30:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:30:48 ========================================================= 00:30:48 EdgeX Global Pipelines Version Info 00:30:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:30:49 ------------------- 00:30:49 stable info: 00:30:49 ------------------- 00:30:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:30:49 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 00:30:49 Message: update stable to v1.0.238 00:30:50 ------------------- 00:30:50 experimental info: 00:30:50 ------------------- 00:30:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:30:50 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 00:30:50 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61db847f3a653629f088db74e60b4b80a5f1cdc2 [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61db847 [Pipeline] echo 00:30:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:30:50 provisioning config files... 00:30:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6104222542899676655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:30:51 ---> docker-login.sh 00:30:51 nexus3.edgexfoundry.org:10001 00:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:51 Configure a credential helper to remove this warning. See 00:30:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:51 00:30:51 Login Succeeded 00:30:51 nexus3.edgexfoundry.org:10002 00:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:51 Configure a credential helper to remove this warning. See 00:30:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:51 00:30:51 Login Succeeded 00:30:51 nexus3.edgexfoundry.org:10003 00:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:51 Configure a credential helper to remove this warning. See 00:30:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:51 00:30:51 Login Succeeded 00:30:51 nexus3.edgexfoundry.org:10004 00:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:52 Configure a credential helper to remove this warning. See 00:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:52 00:30:52 Login Succeeded 00:30:52 docker.io 00:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:52 Configure a credential helper to remove this warning. See 00:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:52 00:30:52 Login Succeeded 00:30:52 ---> docker-login.sh ends [Pipeline] } 00:30:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:30:52 + git rev-list -1 --merges 61db847f3a653629f088db74e60b4b80a5f1cdc2~1..61db847f3a653629f088db74e60b4b80a5f1cdc2 [Pipeline] echo 00:30:52 -----------> git rev-list -1 --merges 61db847f3a653629f088db74e60b4b80a5f1cdc2~1..61db847f3a653629f088db74e60b4b80a5f1cdc2 61db847f3a653629f088db74e60b4b80a5f1cdc2 [false] [Pipeline] sh 00:30:52 + git log --format=format:%s -1 61db847f3a653629f088db74e60b4b80a5f1cdc2 [Pipeline] echo 00:30:52 ========================================================= 00:30:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:30:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:30:53 + git log --format=format:%s -1 61db847f3a653629f088db74e60b4b80a5f1cdc2 [Pipeline] echo 00:30:53 [semverPrep] GIT_COMMIT: 61db847f3a653629f088db74e60b4b80a5f1cdc2, Commit Message: fix: retry adding provision watchers if failed (#116) [Pipeline] echo 00:30:53 [semverPrep] This is not a build commit. [Pipeline] sh 00:30:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:30:53 + grep -v github /etc/ssh/ssh_known_hosts 00:30:53 + [ -e /tmp/ssh_known_hosts ] 00:30:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:30:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:30:53 + sudo tee -a /etc/ssh/ssh_known_hosts 00:30:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:30:54 00:30:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:30:54 0.1.4: Pulling from edgex-devops/py-git-semver 00:30:54 b85a868b505f: Pulling fs layer 00:30:54 e2be974225ed: Pulling fs layer 00:30:54 339a4e72a1f5: Pulling fs layer 00:30:54 988bab9f4d93: Pulling fs layer 00:30:54 1469e6f7b9e6: Pulling fs layer 00:30:54 eaf3925da568: Pulling fs layer 00:30:54 bab4dde63d76: Pulling fs layer 00:30:54 bde34c3a00c8: Pulling fs layer 00:30:54 b352a97aabf1: Pulling fs layer 00:30:54 4872d77fe225: Pulling fs layer 00:30:54 5851b861e8e6: Pulling fs layer 00:30:54 bde34c3a00c8: Waiting 00:30:54 b352a97aabf1: Waiting 00:30:54 5851b861e8e6: Waiting 00:30:54 988bab9f4d93: Waiting 00:30:54 eaf3925da568: Waiting 00:30:54 1469e6f7b9e6: Waiting 00:30:54 bab4dde63d76: Waiting 00:30:54 e2be974225ed: Verifying Checksum 00:30:54 e2be974225ed: Download complete 00:30:54 988bab9f4d93: Verifying Checksum 00:30:54 988bab9f4d93: Download complete 00:30:54 1469e6f7b9e6: Download complete 00:30:54 339a4e72a1f5: Verifying Checksum 00:30:54 339a4e72a1f5: Download complete 00:30:54 eaf3925da568: Verifying Checksum 00:30:54 eaf3925da568: Download complete 00:30:54 bde34c3a00c8: Verifying Checksum 00:30:54 bde34c3a00c8: Download complete 00:30:54 b352a97aabf1: Verifying Checksum 00:30:54 b352a97aabf1: Download complete 00:30:54 4872d77fe225: Verifying Checksum 00:30:54 4872d77fe225: Download complete 00:30:54 5851b861e8e6: Verifying Checksum 00:30:54 5851b861e8e6: Download complete 00:30:54 b85a868b505f: Download complete 00:30:54 bab4dde63d76: Verifying Checksum 00:30:54 bab4dde63d76: Download complete 00:30:55 b85a868b505f: Pull complete 00:30:56 e2be974225ed: Pull complete 00:30:56 339a4e72a1f5: Pull complete 00:30:56 988bab9f4d93: Pull complete 00:30:56 1469e6f7b9e6: Pull complete 00:30:56 eaf3925da568: Pull complete 00:30:58 bab4dde63d76: Pull complete 00:30:58 bde34c3a00c8: Pull complete 00:30:58 b352a97aabf1: Pull complete 00:30:58 4872d77fe225: Pull complete 00:30:58 5851b861e8e6: Pull complete 00:30:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:30:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:30:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:30:58 prd-ubuntu20.04-docker-8c-8g-20737 does not seem to be running inside a container 00:30:58 $ 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 00:31:01 $ docker top ed81ca3e473e57d80204d075d7adbaad39adfed2e9a9aaa35cdc273c05d396c9 -eo pid,comm 00:31:01 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). 00:31:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:31:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:31:01 [ssh-agent] Looking for ssh-agent implementation... 00:31:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:31:01 $ docker exec ed81ca3e473e57d80204d075d7adbaad39adfed2e9a9aaa35cdc273c05d396c9 ssh-agent 00:31:01 SSH_AUTH_SOCK=/tmp/ssh-n556yzwTof67/agent.32 00:31:01 SSH_AGENT_PID=38 00:31:01 Running ssh-add (command line suppressed) 00:31:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8604851892670697030.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8604851892670697030.key) 00:31:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:31:01 + git tag --points-at HEAD [Pipeline] } 00:31:01 $ docker exec --env ******** --env ******** ed81ca3e473e57d80204d075d7adbaad39adfed2e9a9aaa35cdc273c05d396c9 ssh-agent -k 00:31:01 unset SSH_AUTH_SOCK; 00:31:01 unset SSH_AGENT_PID; 00:31:01 echo Agent pid 38 killed; 00:31:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:31:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:31:02 [ssh-agent] Looking for ssh-agent implementation... 00:31:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:31:02 $ docker exec ed81ca3e473e57d80204d075d7adbaad39adfed2e9a9aaa35cdc273c05d396c9 ssh-agent 00:31:02 SSH_AUTH_SOCK=/tmp/ssh-pgw0jdBPwnQv/agent.71 00:31:02 SSH_AGENT_PID=77 00:31:02 Running ssh-add (command line suppressed) 00:31:02 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8970703381972835709.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8970703381972835709.key) 00:31:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:31:02 + git semver init 00:31:03 2022-07-22 00:31:02,944 [run_init] DEBUG init version:0.0.0 force:False 00:31:03 2022-07-22 00:31:02,945 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 00:31:03 2022-07-22 00:31:02,945 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 00:31:03 2022-07-22 00:31:02,946 [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) 00:31:03 2022-07-22 00:31:03,732 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 00:31:03 2022-07-22 00:31:03,733 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 00:31:03 2022-07-22 00:31:03,733 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:31:03 2022-07-22 00:31:03,733 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:31:03 2.2.0-dev.29 [Pipeline] } 00:31:03 $ docker exec --env ******** --env ******** ed81ca3e473e57d80204d075d7adbaad39adfed2e9a9aaa35cdc273c05d396c9 ssh-agent -k 00:31:04 unset SSH_AUTH_SOCK; 00:31:04 unset SSH_AGENT_PID; 00:31:04 echo Agent pid 77 killed; 00:31:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:31:04 + git semver [Pipeline] } 00:31:04 $ docker stop --time=1 ed81ca3e473e57d80204d075d7adbaad39adfed2e9a9aaa35cdc273c05d396c9 00:31:06 $ docker rm -f ed81ca3e473e57d80204d075d7adbaad39adfed2e9a9aaa35cdc273c05d396c9 [Pipeline] // withDockerContainer [Pipeline] sh 00:31:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:31:06 Stashed 1 file(s) [Pipeline] echo 00:31:06 [edgeXSemver]: initialized semver on version 2.2.0-dev.29 [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 00:31:06 provisioning config files... 00:31:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5825295661076271662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:31:07 ---> docker-login.sh 00:31:07 nexus3.edgexfoundry.org:10001 00:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:07 Configure a credential helper to remove this warning. See 00:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:07 00:31:07 Login Succeeded 00:31:07 nexus3.edgexfoundry.org:10002 00:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:07 Configure a credential helper to remove this warning. See 00:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:07 00:31:07 Login Succeeded 00:31:07 nexus3.edgexfoundry.org:10003 00:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:07 Configure a credential helper to remove this warning. See 00:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:07 00:31:07 Login Succeeded 00:31:07 nexus3.edgexfoundry.org:10004 00:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:07 Configure a credential helper to remove this warning. See 00:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:07 00:31:07 Login Succeeded 00:31:07 docker.io 00:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:07 Configure a credential helper to remove this warning. See 00:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:07 00:31:07 Login Succeeded 00:31:07 ---> docker-login.sh ends [Pipeline] } 00:31:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:31:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:31:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:31:07 ========================================================= 00:31:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:31:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:08 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:31:08 Sending build context to Docker daemon 19.94MB 00:31:08 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 00:31:08 Step 2/13 : FROM ${BASE} AS builder 00:31:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:31:08 2408cc74d12b: Pulling fs layer 00:31:08 ea60b727a1ce: Pulling fs layer 00:31:08 30c4a7721957: Pulling fs layer 00:31:08 370296b7ddb6: Pulling fs layer 00:31:08 7c6cee850709: Pulling fs layer 00:31:08 39a5fcdaea64: Pulling fs layer 00:31:08 d94ebbe4e438: Pulling fs layer 00:31:08 bcfd1f05c69d: Pulling fs layer 00:31:08 59ccb84bbe0f: Pulling fs layer 00:31:08 370296b7ddb6: Waiting 00:31:08 7c6cee850709: Waiting 00:31:08 39a5fcdaea64: Waiting 00:31:08 d94ebbe4e438: Waiting 00:31:08 59ccb84bbe0f: Waiting 00:31:08 30c4a7721957: Download complete 00:31:08 ea60b727a1ce: Download complete 00:31:08 7c6cee850709: Verifying Checksum 00:31:08 7c6cee850709: Download complete 00:31:08 39a5fcdaea64: Verifying Checksum 00:31:08 39a5fcdaea64: Download complete 00:31:08 2408cc74d12b: Verifying Checksum 00:31:08 2408cc74d12b: Download complete 00:31:08 d94ebbe4e438: Verifying Checksum 00:31:08 2408cc74d12b: Pull complete 00:31:08 ea60b727a1ce: Pull complete 00:31:08 30c4a7721957: Pull complete 00:31:09 bcfd1f05c69d: Verifying Checksum 00:31:09 bcfd1f05c69d: Download complete 00:31:09 59ccb84bbe0f: Verifying Checksum 00:31:09 59ccb84bbe0f: Download complete 00:31:09 370296b7ddb6: Verifying Checksum 00:31:13 370296b7ddb6: Pull complete 00:31:13 7c6cee850709: Pull complete 00:31:13 39a5fcdaea64: Pull complete 00:31:13 d94ebbe4e438: Pull complete 00:31:15 bcfd1f05c69d: Pull complete 00:31:16 59ccb84bbe0f: Pull complete 00:31:16 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 00:31:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:31:16 ---> a4fb48ad2a94 00:31:16 Step 3/13 : ARG MAKE="make build" 00:31:19 ---> Running in 886cac91a468 00:31:19 Removing intermediate container 886cac91a468 00:31:19 ---> 4de3746b495b 00:31:19 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:31:19 ---> Running in 09655a88fd0f 00:31:19 Removing intermediate container 09655a88fd0f 00:31:19 ---> 190b7aab4a2f 00:31:19 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:31:19 ---> Running in 62de4ab351d9 00:31:19 Removing intermediate container 62de4ab351d9 00:31:19 ---> 54ad6866035d 00:31:19 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:31:19 ---> Running in 706b1f21b068 00:31:19 Removing intermediate container 706b1f21b068 00:31:19 ---> ce366760d659 00:31:19 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:31:19 ---> Running in 54abea52b52d 00:31:19 Removing intermediate container 54abea52b52d 00:31:19 ---> b72b3e04ab0d 00:31:19 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:31:19 ---> Running in 8abc51be6294 00:31:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:31:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:31:21 OK: 211 MiB in 51 packages 00:31:21 Still waiting to schedule task 00:31:21 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:31:21 Removing intermediate container 8abc51be6294 00:31:21 ---> 3f8ad0ea38db 00:31:21 Step 9/13 : WORKDIR /device-onvif-camera 00:31:21 ---> Running in 726d24e939fe 00:31:21 Removing intermediate container 726d24e939fe 00:31:21 ---> d6e11f69fa57 00:31:21 Step 10/13 : COPY go.mod vendor* ./ 00:31:21 ---> 40b086dc99f2 00:31:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:31:22 ---> Running in 14dcdf20f429 00:31:37 Removing intermediate container 14dcdf20f429 00:31:37 ---> b1ba263d1910 00:31:37 Step 12/13 : COPY . . 00:31:38 ---> 8272375a1773 00:31:38 Step 13/13 : RUN ${MAKE} 00:31:38 ---> Running in 173f50420f83 00:31:38 noop 00:31:38 Removing intermediate container 173f50420f83 00:31:38 ---> ddd6ab9b9fca 00:31:38 Successfully built ddd6ab9b9fca 00:31:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:39 + docker inspect -f . ci-base-image-x86_64 00:31:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:31:39 prd-ubuntu20.04-docker-8c-8g-20737 does not seem to be running inside a container 00:31: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 ******** -e ******** ci-base-image-x86_64 cat 00:31:39 $ docker top 52a22967ca1266379ac97159b9c0b8d751ccc4b7a453a0df4db0f3ada49969ed -eo pid,comm [Pipeline] { [Pipeline] sh 00:31:40 + go version 00:31:40 go version go1.18.3 linux/amd64 [Pipeline] } 00:31:40 $ docker stop --time=1 52a22967ca1266379ac97159b9c0b8d751ccc4b7a453a0df4db0f3ada49969ed 00:31:41 $ docker rm -f 52a22967ca1266379ac97159b9c0b8d751ccc4b7a453a0df4db0f3ada49969ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:41 + docker inspect -f . ci-base-image-x86_64 00:31:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:31:42 prd-ubuntu20.04-docker-8c-8g-20737 does not seem to be running inside a container 00:31:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 00:31:42 $ docker top 9c6b8fd3fabc70911553e9b91c82bd8363e3c5df89f184d07d71e7b77c93ac7d -eo pid,comm [Pipeline] { [Pipeline] sh 00:31:42 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 00:31:43 + make test 00:31:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:31:43 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:31:53 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:31:54 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 10.9% of statements 00:31:54 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:31:57 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.409s coverage: 13.8% of statements 00:32:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:32:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:32:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:32:07 ./bin/test-attribution-txt.sh [Pipeline] echo 00:32:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:32:07 $ docker stop --time=1 9c6b8fd3fabc70911553e9b91c82bd8363e3c5df89f184d07d71e7b77c93ac7d 00:32:09 $ docker rm -f 9c6b8fd3fabc70911553e9b91c82bd8363e3c5df89f184d07d71e7b77c93ac7d [Pipeline] // withDockerContainer [Pipeline] sh 00:32:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:32:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:32:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:32:10 + ls -al . 00:32:10 total 236 00:32:10 drwxrwxr-x 10 jenkins jenkins 4096 Jul 22 00:32 . 00:32:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:30 .. 00:32:10 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 00:31 .git 00:32:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 00:30 .github 00:32:10 -rw-rw-r-- 1 jenkins jenkins 418 Jul 22 00:30 .gitignore 00:32:10 -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 00:30 .golangci.yml 00:32:10 drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 00:31 .semver 00:32:10 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 22 00:30 Attribution.txt 00:32:10 -rw-rw-r-- 1 jenkins jenkins 189 Jul 22 00:30 CHANGELOG.md 00:32:10 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 22 00:30 Dockerfile 00:32:10 -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 00:30 GOVERNANCE.md 00:32:10 -rw-rw-r-- 1 jenkins jenkins 660 Jul 22 00:30 Jenkinsfile 00:32:10 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 00:30 LICENSE 00:32:10 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 22 00:30 Makefile 00:32:10 -rw-rw-r-- 1 jenkins jenkins 625 Jul 22 00:30 OWNERS.md 00:32:10 -rw-rw-r-- 1 jenkins jenkins 5796 Jul 22 00:30 README.md 00:32:10 -rw-rw-r-- 1 jenkins jenkins 12 Jul 22 00:31 VERSION 00:32:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 00:30 bin 00:32:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 00:30 cmd 00:32:10 -rw-r--r-- 1 jenkins jenkins 78811 Jul 22 00:31 coverage.out 00:32:10 drwxrwxr-x 5 jenkins jenkins 4096 Jul 22 00:30 doc 00:32:10 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 22 00:30 go.mod 00:32:10 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 22 00:30 go.sum 00:32:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:30 internal 00:32:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:30 snap 00:32:10 -rw-rw-r-- 1 jenkins jenkins 236 Jul 22 00:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:11 + 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=61db847f3a653629f088db74e60b4b80a5f1cdc2 --label arch=amd64 --label version=2.2.0-dev.29 . 00:32:11 Sending build context to Docker daemon 20.02MB 00:32:11 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 00:32:11 Step 2/26 : FROM ${BASE} AS builder 00:32:11 ---> ddd6ab9b9fca 00:32:11 Step 3/26 : ARG MAKE="make build" 00:32:11 ---> Running in ea8bc22c2fa9 00:32:11 Removing intermediate container ea8bc22c2fa9 00:32:11 ---> ecc01ae658ee 00:32:11 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:32:11 ---> Running in 2ec13a6bf083 00:32:11 Removing intermediate container 2ec13a6bf083 00:32:11 ---> b569ddaef9ba 00:32:11 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:32:11 ---> Running in de36fa7d3c06 00:32:11 Removing intermediate container de36fa7d3c06 00:32:11 ---> c2238034462b 00:32:11 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:32:11 ---> Running in 8aa692910926 00:32:11 Removing intermediate container 8aa692910926 00:32:11 ---> e61d9732e6c7 00:32:11 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:32:11 ---> Running in 1d951db9c9a2 00:32:12 Removing intermediate container 1d951db9c9a2 00:32:12 ---> 7be927bd222f 00:32:12 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:32:12 ---> Running in ac9048f7039e 00:32:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:32:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:32:14 OK: 211 MiB in 51 packages 00:32:14 Removing intermediate container ac9048f7039e 00:32:14 ---> f8a6e1b1db71 00:32:14 Step 9/26 : WORKDIR /device-onvif-camera 00:32:14 ---> Running in 205ebbfc2255 00:32:14 Removing intermediate container 205ebbfc2255 00:32:14 ---> 8793f7d75459 00:32:14 Step 10/26 : COPY go.mod vendor* ./ 00:32:14 ---> f1ba995f16b8 00:32:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:32:14 ---> Running in a25445399074 00:32:15 Removing intermediate container a25445399074 00:32:15 ---> 34e6e04025eb 00:32:15 Step 12/26 : COPY . . 00:32:15 ---> fc2da9f159ea 00:32:15 Step 13/26 : RUN ${MAKE} 00:32:15 ---> Running in 61f0d749aecc 00:32:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.2.0-dev.29 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 00:32:37 Removing intermediate container 61f0d749aecc 00:32:37 ---> 3cbe6488f984 00:32:37 Step 14/26 : FROM alpine:3.15 00:32:37 3.15: Pulling from library/alpine 00:32:37 ab6db1bc80d0: Pulling fs layer 00:32:37 ab6db1bc80d0: Download complete 00:32:37 ab6db1bc80d0: Pull complete 00:32:37 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 00:32:37 Status: Downloaded newer image for alpine:3.15 00:32:37 ---> 2720e26172a0 00:32:37 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:32:37 ---> Running in 898caa978784 00:32:37 Removing intermediate container 898caa978784 00:32:37 ---> 3bdb26724cad 00:32:37 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:32:37 ---> Running in ae51116e812f 00:32:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:32:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:32:37 (1/6) Installing dumb-init (1.2.5-r1) 00:32:37 (2/6) Installing libgcc (10.3.1_git20211027-r0) 00:32:37 (3/6) Installing libsodium (1.0.18-r0) 00:32:37 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 00:32:37 (5/6) Installing libzmq (4.3.4-r0) 00:32:37 (6/6) Installing zeromq (4.3.4-r0) 00:32:37 Executing busybox-1.34.1-r7.trigger 00:32:37 OK: 8 MiB in 20 packages 00:32:37 Removing intermediate container ae51116e812f 00:32:37 ---> 252b29150688 00:32:37 Step 17/26 : WORKDIR / 00:32:37 ---> Running in 4a1b81ecc779 00:32:37 Removing intermediate container 4a1b81ecc779 00:32:37 ---> a534f5d51f7f 00:32:37 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:32:38 ---> 54bcdb8d7010 00:32:38 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:32:38 ---> 3d5d9e4ac452 00:32:38 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:32:38 ---> 5b91650c0e3e 00:32:38 Step 21/26 : EXPOSE 59984 00:32:38 ---> Running in 383f4d01517f 00:32:38 Removing intermediate container 383f4d01517f 00:32:38 ---> 932b598337d0 00:32:38 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:32:39 ---> Running in 02cb63a5d875 00:32:39 Removing intermediate container 02cb63a5d875 00:32:39 ---> a4f8e532377f 00:32:39 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:32:39 ---> Running in 312eb93e15b1 00:32:39 Removing intermediate container 312eb93e15b1 00:32:39 ---> eb23a6b81913 00:32:39 Step 24/26 : LABEL arch=amd64 00:32:39 ---> Running in e2e46477fab8 00:32:39 Removing intermediate container e2e46477fab8 00:32:39 ---> 02d102e59898 00:32:39 Step 25/26 : LABEL git_sha=61db847f3a653629f088db74e60b4b80a5f1cdc2 00:32:39 ---> Running in 492ddbdb02f5 00:32:39 Removing intermediate container 492ddbdb02f5 00:32:39 ---> 88db72823834 00:32:39 Step 26/26 : LABEL version=2.2.0-dev.29 00:32:39 ---> Running in 6e9ad9ad473c 00:32:39 Removing intermediate container 6e9ad9ad473c 00:32:39 ---> eb38a39bedc4 00:32:39 [Warning] One or more build-args [ARCH] were not consumed 00:32:39 Successfully built eb38a39bedc4 00:32:39 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 00:32:39 provisioning config files... 00:32:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8236684714527276091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:32:39 ---> docker-login.sh 00:32:39 nexus3.edgexfoundry.org:10001 00:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:39 Configure a credential helper to remove this warning. See 00:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:39 00:32:39 Login Succeeded 00:32:39 nexus3.edgexfoundry.org:10002 00:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:40 Configure a credential helper to remove this warning. See 00:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:40 00:32:40 Login Succeeded 00:32:40 nexus3.edgexfoundry.org:10003 00:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:40 Configure a credential helper to remove this warning. See 00:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:40 00:32:40 Login Succeeded 00:32:40 nexus3.edgexfoundry.org:10004 00:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:40 Configure a credential helper to remove this warning. See 00:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:40 00:32:40 Login Succeeded 00:32:40 docker.io 00:32:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:40 Configure a credential helper to remove this warning. See 00:32:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:40 00:32:40 Login Succeeded 00:32:40 ---> docker-login.sh ends [Pipeline] } 00:32:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:32:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:32:40 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 00:32:40 61db847f3a653629f088db74e60b4b80a5f1cdc2 00:32:40 latest 00:32:40 2.2.0-dev.29 00:32:40 61db847f3a653629f088db74e60b4b80a5f1cdc2-2.2.0-dev.29 00:32:40 main 00:32:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:40 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:61db847f3a653629f088db74e60b4b80a5f1cdc2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:61db847f3a653629f088db74e60b4b80a5f1cdc2 00:32:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:32:41 10fdc84a137e: Preparing 00:32:41 ae3c654d17fc: Preparing 00:32:41 0aee6b4217b8: Preparing 00:32:41 e53510d488d0: Preparing 00:32:41 ad543cd673bd: Preparing 00:32:41 ad543cd673bd: Layer already exists 00:32:41 10fdc84a137e: Pushed 00:32:41 ae3c654d17fc: Pushed 00:32:41 e53510d488d0: Pushed 00:32:44 0aee6b4217b8: Pushed 00:32:44 61db847f3a653629f088db74e60b4b80a5f1cdc2: digest: sha256:d339b66dac3c1017a9c152319f7574ab365dde235aa4a5bcd7e81e869daaea05 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:44 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 00:32:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:32:44 10fdc84a137e: Preparing 00:32:44 ae3c654d17fc: Preparing 00:32:44 0aee6b4217b8: Preparing 00:32:44 e53510d488d0: Preparing 00:32:44 ad543cd673bd: Preparing 00:32:44 0aee6b4217b8: Layer already exists 00:32:44 ad543cd673bd: Layer already exists 00:32:44 ae3c654d17fc: Layer already exists 00:32:44 e53510d488d0: Layer already exists 00:32:44 10fdc84a137e: Layer already exists 00:32:44 latest: digest: sha256:d339b66dac3c1017a9c152319f7574ab365dde235aa4a5bcd7e81e869daaea05 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:45 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.2.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.2.0-dev.29 00:32:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:32:45 10fdc84a137e: Preparing 00:32:45 ae3c654d17fc: Preparing 00:32:45 0aee6b4217b8: Preparing 00:32:45 e53510d488d0: Preparing 00:32:45 ad543cd673bd: Preparing 00:32:45 0aee6b4217b8: Layer already exists 00:32:45 ad543cd673bd: Layer already exists 00:32:45 10fdc84a137e: Layer already exists 00:32:45 ae3c654d17fc: Layer already exists 00:32:45 e53510d488d0: Layer already exists 00:32:45 2.2.0-dev.29: digest: sha256:d339b66dac3c1017a9c152319f7574ab365dde235aa4a5bcd7e81e869daaea05 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:45 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:61db847f3a653629f088db74e60b4b80a5f1cdc2-2.2.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:61db847f3a653629f088db74e60b4b80a5f1cdc2-2.2.0-dev.29 00:32:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:32:46 10fdc84a137e: Preparing 00:32:46 ae3c654d17fc: Preparing 00:32:46 0aee6b4217b8: Preparing 00:32:46 e53510d488d0: Preparing 00:32:46 ad543cd673bd: Preparing 00:32:46 0aee6b4217b8: Layer already exists 00:32:46 e53510d488d0: Layer already exists 00:32:46 ae3c654d17fc: Layer already exists 00:32:46 10fdc84a137e: Layer already exists 00:32:46 ad543cd673bd: Layer already exists 00:32:46 61db847f3a653629f088db74e60b4b80a5f1cdc2-2.2.0-dev.29: digest: sha256:d339b66dac3c1017a9c152319f7574ab365dde235aa4a5bcd7e81e869daaea05 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:46 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 00:32:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:32:46 10fdc84a137e: Preparing 00:32:46 ae3c654d17fc: Preparing 00:32:46 0aee6b4217b8: Preparing 00:32:46 e53510d488d0: Preparing 00:32:46 ad543cd673bd: Preparing 00:32:46 e53510d488d0: Layer already exists 00:32:46 ae3c654d17fc: Layer already exists 00:32:46 10fdc84a137e: Layer already exists 00:32:46 ad543cd673bd: Layer already exists 00:32:46 0aee6b4217b8: Layer already exists 00:32:46 main: digest: sha256:d339b66dac3c1017a9c152319f7574ab365dde235aa4a5bcd7e81e869daaea05 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:32:46 ===================================================== [Pipeline] echo 00:32:46 taggedImages: 00:32:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera:61db847f3a653629f088db74e60b4b80a5f1cdc2 00:32:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 00:32:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.2.0-dev.29 00:32:46 - nexus3.edgexfoundry.org:10004/device-onvif-camera:61db847f3a653629f088db74e60b4b80a5f1cdc2-2.2.0-dev.29 00:32:46 - 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 00:32:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:32:47 00:32:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:32:47 latest: Pulling from edgex-lftools-log-publisher 00:32:47 5eb5b503b376: Pulling fs layer 00:32:47 5c69ac0246d0: Pulling fs layer 00:32:47 ec43610c2a17: Pulling fs layer 00:32:47 3a2ae6a8a46f: Pulling fs layer 00:32:47 33b1e0a273af: Pulling fs layer 00:32:47 5d3b04190fa2: Pulling fs layer 00:32:47 2f39f015ded8: Pulling fs layer 00:32:47 3a2ae6a8a46f: Waiting 00:32:47 33b1e0a273af: Waiting 00:32:47 5d3b04190fa2: Waiting 00:32:47 2f39f015ded8: Waiting 00:32:47 5c69ac0246d0: Verifying Checksum 00:32:47 5c69ac0246d0: Download complete 00:32:47 3a2ae6a8a46f: Verifying Checksum 00:32:47 3a2ae6a8a46f: Download complete 00:32:47 33b1e0a273af: Verifying Checksum 00:32:47 33b1e0a273af: Download complete 00:32:47 ec43610c2a17: Verifying Checksum 00:32:47 ec43610c2a17: Download complete 00:32:47 5d3b04190fa2: Verifying Checksum 00:32:47 5d3b04190fa2: Download complete 00:32:47 5eb5b503b376: Verifying Checksum 00:32:47 5eb5b503b376: Download complete 00:32:48 2f39f015ded8: Download complete 00:32:49 5eb5b503b376: Pull complete 00:32:49 5c69ac0246d0: Pull complete 00:32:49 ec43610c2a17: Pull complete 00:32:49 3a2ae6a8a46f: Pull complete 00:32:50 33b1e0a273af: Pull complete 00:32:50 5d3b04190fa2: Pull complete 00:32:55 2f39f015ded8: Pull complete 00:32:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:32:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:55 prd-ubuntu20.04-docker-8c-8g-20737 does not seem to be running inside a container 00:32:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 00:32:57 $ docker top e313592bcab0e775cbedb9f44af2fd6bcbc99cc1d6fdb33f0e33f37de85fb8f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:32:57 ---> job-cost.sh 00:32:57 lf-activate-venv: SKIPPING 00:32:57 INFO: No Stack... 00:32:58 INFO: Retrieving Pricing Info for: v3-standard-8 00:32:58 INFO: Archiving Costs [Pipeline] sh 00:32:58 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 00:32:58 + cut -d, -f6 [Pipeline] lock 00:32:58 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-32-stack-cost] 00:32:59 Resource [jenkins-edgexfoundry-device-onvif-camera-main-32-stack-cost] did not exist. Created. 00:32:59 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:32:59 + echo total: 0.2199999988079071 [Pipeline] stash 00:32:59 Stashed 1 file(s) [Pipeline] } 00:32:59 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-32-stack-cost] [Pipeline] // lock [Pipeline] } 00:32:59 $ docker stop --time=1 e313592bcab0e775cbedb9f44af2fd6bcbc99cc1d6fdb33f0e33f37de85fb8f6 00:33:00 $ docker rm -f e313592bcab0e775cbedb9f44af2fd6bcbc99cc1d6fdb33f0e33f37de85fb8f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:34:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20740 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 00:34:48 Running in /w/workspace/device-onvif-camera/32 [Pipeline] { [Pipeline] checkout 00:34:48 Selected Git installation does not exist. Using Default 00:34:48 The recommended git tool is: NONE 00:34:57 using credential edgex-jenkins-ssh 00:34:57 Cloning the remote Git repository 00:34:57 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:34:57 > git init /w/workspace/device-onvif-camera/32 # timeout=10 00:34:57 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:34:57 > git --version # timeout=10 00:34:57 > git --version # 'git version 2.25.1' 00:34:57 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:58 Avoid second fetch 00:34:58 Checking out Revision 61db847f3a653629f088db74e60b4b80a5f1cdc2 (main) 00:34:58 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:34:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:58 > git config core.sparsecheckout # timeout=10 00:34:59 > git checkout -f 61db847f3a653629f088db74e60b4b80a5f1cdc2 # timeout=10 00:35:03 Commit message: "fix: retry adding provision watchers if failed (#116)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:35:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:35:04 % Total % Received % Xferd Average Speed Time Time Time Current 00:35:04 Dload Upload Total Spent Left Speed 00:35:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 79561 0 --:--:-- --:--:-- --:--:-- 79561 [Pipeline] sh 00:35:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:35:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 00:35:05 sudo tee /etc/docker/daemon.new 00:35:05 { 00:35:05 "registry-mirrors": [ 00:35:05 "https://nexus3.edgexfoundry.org:10001" 00:35:05 ], 00:35:05 "bip": "10.250.0.254/24", 00:35:05 "hosts": [ 00:35:05 "tcp://0.0.0.0:5555", 00:35:05 "unix:///var/run/docker.sock" 00:35:05 ], 00:35:05 "mtu": 1458, 00:35:05 "selinux-enabled": true, 00:35:05 "seccomp-profile": "/etc/docker/seccomp.json" 00:35:05 } [Pipeline] sh 00:35:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:35:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:35:25 provisioning config files... 00:35:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/32@tmp/config1654814777891521748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:35:25 ---> docker-login.sh 00:35:25 nexus3.edgexfoundry.org:10001 00:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:26 Configure a credential helper to remove this warning. See 00:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:26 00:35:26 Login Succeeded 00:35:26 nexus3.edgexfoundry.org:10002 00:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:26 Configure a credential helper to remove this warning. See 00:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:26 00:35:26 Login Succeeded 00:35:26 nexus3.edgexfoundry.org:10003 00:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:27 Configure a credential helper to remove this warning. See 00:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:27 00:35:27 Login Succeeded 00:35:27 nexus3.edgexfoundry.org:10004 00:35:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:28 Configure a credential helper to remove this warning. See 00:35:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:28 00:35:28 Login Succeeded 00:35:28 docker.io 00:35:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:29 Configure a credential helper to remove this warning. See 00:35:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:29 00:35:29 Login Succeeded 00:35:29 ---> docker-login.sh ends [Pipeline] } 00:35:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:35:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:35:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:35:29 ========================================================= 00:35:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:35:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:35:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:35:30 Sending build context to Docker daemon 13.59MB 00:35:30 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 00:35:30 Step 2/13 : FROM ${BASE} AS builder 00:35:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:35:30 b3c136eddcbf: Pulling fs layer 00:35:30 c0a3192eca97: Pulling fs layer 00:35:30 a050256f5b6f: Pulling fs layer 00:35:30 656be50a0ddc: Pulling fs layer 00:35:30 2bbca73fdf42: Pulling fs layer 00:35:30 46d945488cbd: Pulling fs layer 00:35:30 8a5474983e97: Pulling fs layer 00:35:30 329c88fbcd65: Pulling fs layer 00:35:30 656be50a0ddc: Waiting 00:35:30 2bbca73fdf42: Waiting 00:35:30 46d945488cbd: Waiting 00:35:30 8a5474983e97: Waiting 00:35:30 329c88fbcd65: Waiting 00:35:30 a050256f5b6f: Verifying Checksum 00:35:30 a050256f5b6f: Download complete 00:35:30 c0a3192eca97: Verifying Checksum 00:35:30 c0a3192eca97: Download complete 00:35:30 2bbca73fdf42: Verifying Checksum 00:35:30 2bbca73fdf42: Download complete 00:35:30 46d945488cbd: Verifying Checksum 00:35:30 46d945488cbd: Download complete 00:35:30 b3c136eddcbf: Verifying Checksum 00:35:31 b3c136eddcbf: Pull complete 00:35:31 329c88fbcd65: Verifying Checksum 00:35:31 329c88fbcd65: Download complete 00:35:32 c0a3192eca97: Pull complete 00:35:32 a050256f5b6f: Pull complete 00:35:32 8a5474983e97: Verifying Checksum 00:35:32 8a5474983e97: Download complete 00:35:33 656be50a0ddc: Verifying Checksum 00:35:33 656be50a0ddc: Download complete 00:35:48 656be50a0ddc: Pull complete 00:35:48 2bbca73fdf42: Pull complete 00:35:48 46d945488cbd: Pull complete 00:35:54 8a5474983e97: Pull complete 00:35:55 329c88fbcd65: Pull complete 00:35:55 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:35:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:35:55 ---> ff4287adb874 00:35:55 Step 3/13 : ARG MAKE="make build" 00:35:57 ---> Running in af3e0a8e37ad 00:35:57 Removing intermediate container af3e0a8e37ad 00:35:57 ---> 81d812e05aa2 00:35:57 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:35:57 ---> Running in 586f7f76e6d4 00:35:58 Removing intermediate container 586f7f76e6d4 00:35:58 ---> 3338c2fe8368 00:35:58 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 00:35:58 ---> Running in cfe56002b571 00:35:58 Removing intermediate container cfe56002b571 00:35:58 ---> 8aa1e6926cb0 00:35:58 Step 6/13 : LABEL Name=edgex-device-onvif-camera 00:35:58 ---> Running in 60ef09fccab7 00:35:58 Removing intermediate container 60ef09fccab7 00:35:58 ---> eb689eca67b2 00:35:58 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:35:59 ---> Running in 6414500c40c0 00:36:02 Removing intermediate container 6414500c40c0 00:36:02 ---> 0f0107c97ada 00:36:02 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:36:02 ---> Running in c69c9f60c638 00:36:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:36:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:36:05 OK: 221 MiB in 51 packages 00:36:05 Removing intermediate container c69c9f60c638 00:36:05 ---> 9b467bd85d12 00:36:05 Step 9/13 : WORKDIR /device-onvif-camera 00:36:06 ---> Running in ab5ce686f169 00:36:06 Removing intermediate container ab5ce686f169 00:36:06 ---> db6e58272c3a 00:36:06 Step 10/13 : COPY go.mod vendor* ./ 00:36:06 ---> 71a8c218404c 00:36:06 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:36:06 ---> Running in 5380658f8637 00:36:53 Removing intermediate container 5380658f8637 00:36:53 ---> 46deaa8eec42 00:36:53 Step 12/13 : COPY . . 00:36:54 ---> 8a8a6625d69c 00:36:54 Step 13/13 : RUN ${MAKE} 00:36:54 ---> Running in fd9a750b71bb 00:36:55 noop 00:36:55 Removing intermediate container fd9a750b71bb 00:36:55 ---> 75b843423bf1 00:36:55 Successfully built 75b843423bf1 00:36:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:56 + docker inspect -f . ci-base-image-arm64 00:36:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:56 prd-ubuntu20.04-docker-arm64-4c-16g-20740 does not seem to be running inside a container 00:36:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/32 -v /w/workspace/device-onvif-camera/32:/w/workspace/device-onvif-camera/32:rw,z -v /w/workspace/device-onvif-camera/32@tmp:/w/workspace/device-onvif-camera/32@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 00:36:58 $ docker top 2a98a7bda6a27bf321c09a8fff848df0c9d68a5e7a8864c361d55e5ab6509748 -eo pid,comm [Pipeline] { [Pipeline] sh 00:36:59 + go version 00:36:59 go version go1.18.3 linux/arm64 [Pipeline] } 00:36:59 $ docker stop --time=1 2a98a7bda6a27bf321c09a8fff848df0c9d68a5e7a8864c361d55e5ab6509748 00:37:00 $ docker rm -f 2a98a7bda6a27bf321c09a8fff848df0c9d68a5e7a8864c361d55e5ab6509748 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:01 + docker inspect -f . ci-base-image-arm64 00:37:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:01 prd-ubuntu20.04-docker-arm64-4c-16g-20740 does not seem to be running inside a container 00:37:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/32 -v /w/workspace/device-onvif-camera/32:/w/workspace/device-onvif-camera/32:rw,z -v /w/workspace/device-onvif-camera/32@tmp:/w/workspace/device-onvif-camera/32@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 00:37:03 $ docker top 03148b04d1c47d8336a9f4b12754f24bc7ca36a264db65c496cebaf37b94ad5f -eo pid,comm [Pipeline] { [Pipeline] sh 00:37:04 + git config --global --add safe.directory /w/workspace/device-onvif-camera/32 [Pipeline] fileExists [Pipeline] sh 00:37:04 + make test 00:37:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:37:06 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:38:43 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:38:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.099s coverage: 10.9% of statements 00:38:43 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:39:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.409s coverage: 13.8% of statements 00:39:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:39:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:39:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:39:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:39:28 ./bin/test-attribution-txt.sh [Pipeline] echo 00:39:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:39:28 $ docker stop --time=1 03148b04d1c47d8336a9f4b12754f24bc7ca36a264db65c496cebaf37b94ad5f 00:39:30 $ docker rm -f 03148b04d1c47d8336a9f4b12754f24bc7ca36a264db65c496cebaf37b94ad5f [Pipeline] // withDockerContainer [Pipeline] sh 00:39:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:39:31 Warning: overwriting stash ‘coverage-report’ 00:39:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:39:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:39:33 + ls -al . 00:39:33 total 232 00:39:33 drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 00:39 . 00:39:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:34 .. 00:39:33 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 00:35 .git 00:39:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 00:34 .github 00:39:33 -rw-rw-r-- 1 jenkins jenkins 418 Jul 22 00:34 .gitignore 00:39:33 -rw-rw-r-- 1 jenkins jenkins 42 Jul 22 00:34 .golangci.yml 00:39:33 -rw-rw-r-- 1 jenkins jenkins 9102 Jul 22 00:34 Attribution.txt 00:39:33 -rw-rw-r-- 1 jenkins jenkins 189 Jul 22 00:34 CHANGELOG.md 00:39:33 -rw-rw-r-- 1 jenkins jenkins 1669 Jul 22 00:34 Dockerfile 00:39:33 -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 00:34 GOVERNANCE.md 00:39:33 -rw-rw-r-- 1 jenkins jenkins 660 Jul 22 00:34 Jenkinsfile 00:39:33 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 22 00:34 LICENSE 00:39:33 -rw-rw-r-- 1 jenkins jenkins 2473 Jul 22 00:34 Makefile 00:39:33 -rw-rw-r-- 1 jenkins jenkins 625 Jul 22 00:34 OWNERS.md 00:39:33 -rw-rw-r-- 1 jenkins jenkins 5796 Jul 22 00:34 README.md 00:39:33 -rw-rw-r-- 1 jenkins jenkins 12 Jul 22 00:31 VERSION 00:39:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 00:34 bin 00:39:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 00:34 cmd 00:39:33 -rw-r--r-- 1 jenkins jenkins 78811 Jul 22 00:39 coverage.out 00:39:33 drwxrwxr-x 5 jenkins jenkins 4096 Jul 22 00:34 doc 00:39:33 -rw-rw-r-- 1 jenkins jenkins 3496 Jul 22 00:34 go.mod 00:39:33 -rw-rw-r-- 1 jenkins jenkins 37305 Jul 22 00:34 go.sum 00:39:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:34 internal 00:39:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 00:34 snap 00:39:33 -rw-rw-r-- 1 jenkins jenkins 236 Jul 22 00:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:39:33 + 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=61db847f3a653629f088db74e60b4b80a5f1cdc2 --label arch=arm64 --label version=2.2.0-dev.29 . 00:39:34 Sending build context to Docker daemon 13.67MB 00:39:34 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 00:39:34 Step 2/26 : FROM ${BASE} AS builder 00:39:34 ---> 75b843423bf1 00:39:34 Step 3/26 : ARG MAKE="make build" 00:39:34 ---> Running in e67288eecf69 00:39:35 Removing intermediate container e67288eecf69 00:39:35 ---> 7c2fc649f9fa 00:39:35 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:39:35 ---> Running in 836af3a0107e 00:39:35 Removing intermediate container 836af3a0107e 00:39:35 ---> f74b9b2d76cf 00:39:35 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 00:39:35 ---> Running in e11d0c33ecf9 00:39:36 Removing intermediate container e11d0c33ecf9 00:39:36 ---> 629fea5fb64a 00:39:36 Step 6/26 : LABEL Name=edgex-device-onvif-camera 00:39:36 ---> Running in 74c9315d381d 00:39:36 Removing intermediate container 74c9315d381d 00:39:36 ---> 8164cfce2169 00:39:36 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:39:36 ---> Running in f9c643333f20 00:39:38 Removing intermediate container f9c643333f20 00:39:38 ---> 3e9bac439e55 00:39:38 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:39:38 ---> Running in ec5aa97bef95 00:39:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:39:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:39:41 OK: 221 MiB in 51 packages 00:39:42 Removing intermediate container ec5aa97bef95 00:39:42 ---> bfef1f23ddf6 00:39:42 Step 9/26 : WORKDIR /device-onvif-camera 00:39:42 ---> Running in 270a37690566 00:39:42 Removing intermediate container 270a37690566 00:39:42 ---> 9461c510249f 00:39:42 Step 10/26 : COPY go.mod vendor* ./ 00:39:43 ---> 697321359f1e 00:39:43 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:39:43 ---> Running in 624f9040a263 00:39:45 Removing intermediate container 624f9040a263 00:39:45 ---> e638db177229 00:39:45 Step 12/26 : COPY . . 00:39:47 ---> 849815d49a63 00:39:47 Step 13/26 : RUN ${MAKE} 00:39:47 ---> Running in 1391bd2a7a20 00:39:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.2.0-dev.29 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 00:42:09 Removing intermediate container 1391bd2a7a20 00:42:09 ---> 86764749a5e5 00:42:09 Step 14/26 : FROM alpine:3.15 00:42:09 3.15: Pulling from library/alpine 00:42:09 e0295fd11fe2: Pulling fs layer 00:42:09 e0295fd11fe2: Verifying Checksum 00:42:09 e0295fd11fe2: Download complete 00:42:09 e0295fd11fe2: Pull complete 00:42:09 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 00:42:09 Status: Downloaded newer image for alpine:3.15 00:42:09 ---> 60f2846fe774 00:42:09 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:42:09 ---> Running in 996c58565b9c 00:42:09 Removing intermediate container 996c58565b9c 00:42:09 ---> 472565255420 00:42:09 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:42:09 ---> Running in f6b1d995f582 00:42:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:42:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:42:11 (1/6) Installing dumb-init (1.2.5-r1) 00:42:11 (2/6) Installing libgcc (10.3.1_git20211027-r0) 00:42:11 (3/6) Installing libsodium (1.0.18-r0) 00:42:11 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 00:42:11 (5/6) Installing libzmq (4.3.4-r0) 00:42:11 (6/6) Installing zeromq (4.3.4-r0) 00:42:11 Executing busybox-1.34.1-r7.trigger 00:42:11 OK: 8 MiB in 20 packages 00:42:12 Removing intermediate container f6b1d995f582 00:42:12 ---> cc69fe0e3573 00:42:12 Step 17/26 : WORKDIR / 00:42:12 ---> Running in 4230b92b88db 00:42:12 Removing intermediate container 4230b92b88db 00:42:12 ---> a7beb2cd0708 00:42:12 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:42:14 ---> def0219dd20d 00:42:14 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:42:14 ---> ab0ba14dcaa1 00:42:14 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:42:15 ---> eef61310cbf9 00:42:15 Step 21/26 : EXPOSE 59984 00:42:15 ---> Running in ec48465888a8 00:42:15 Removing intermediate container ec48465888a8 00:42:15 ---> bae969ac2c28 00:42:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:42:15 ---> Running in 84e9bd90841c 00:42:15 Removing intermediate container 84e9bd90841c 00:42:15 ---> 07fa0c2227c4 00:42:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:42:15 ---> Running in 12abc9b3cc68 00:42:16 Removing intermediate container 12abc9b3cc68 00:42:16 ---> b38f9bb4fa98 00:42:16 Step 24/26 : LABEL arch=arm64 00:42:16 ---> Running in f89bd1f3ce9a 00:42:16 Removing intermediate container f89bd1f3ce9a 00:42:16 ---> 52c2385774cb 00:42:16 Step 25/26 : LABEL git_sha=61db847f3a653629f088db74e60b4b80a5f1cdc2 00:42:16 ---> Running in 613f5821308a 00:42:16 Removing intermediate container 613f5821308a 00:42:16 ---> cd27fd0cd6fd 00:42:16 Step 26/26 : LABEL version=2.2.0-dev.29 00:42:17 ---> Running in a7626f9f484e 00:42:17 Removing intermediate container a7626f9f484e 00:42:17 ---> d36cf5062f98 00:42:17 [Warning] One or more build-args [ARCH] were not consumed 00:42:17 Successfully built d36cf5062f98 00:42:17 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 00:42:17 provisioning config files... 00:42:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/32@tmp/config1610506653546613945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:18 ---> docker-login.sh 00:42:18 nexus3.edgexfoundry.org:10001 00:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:18 Configure a credential helper to remove this warning. See 00:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:18 00:42:18 Login Succeeded 00:42:18 nexus3.edgexfoundry.org:10002 00:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:18 Configure a credential helper to remove this warning. See 00:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:18 00:42:18 Login Succeeded 00:42:18 nexus3.edgexfoundry.org:10003 00:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:19 Configure a credential helper to remove this warning. See 00:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:19 00:42:19 Login Succeeded 00:42:19 nexus3.edgexfoundry.org:10004 00:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:20 Configure a credential helper to remove this warning. See 00:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:20 00:42:20 Login Succeeded 00:42:20 docker.io 00:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:20 Configure a credential helper to remove this warning. See 00:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:20 00:42:20 Login Succeeded 00:42:20 ---> docker-login.sh ends [Pipeline] } 00:42:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:42:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:42:20 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 00:42:20 61db847f3a653629f088db74e60b4b80a5f1cdc2 00:42:20 latest 00:42:20 2.2.0-dev.29 00:42:20 61db847f3a653629f088db74e60b4b80a5f1cdc2-2.2.0-dev.29 00:42:20 main 00:42:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:21 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:61db847f3a653629f088db74e60b4b80a5f1cdc2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:61db847f3a653629f088db74e60b4b80a5f1cdc2 00:42:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:42:21 42da20f8574a: Preparing 00:42:21 67676cfb80ae: Preparing 00:42:21 3db4a296b733: Preparing 00:42:21 d6457caf0509: Preparing 00:42:21 eb54b7b7991f: Preparing 00:42:21 eb54b7b7991f: Layer already exists 00:42:21 42da20f8574a: Pushed 00:42:21 67676cfb80ae: Pushed 00:42:22 d6457caf0509: Pushed 00:42:27 3db4a296b733: Pushed 00:42:27 61db847f3a653629f088db74e60b4b80a5f1cdc2: digest: sha256:015303c146e13b1dca85a1c563b60db73e7f8636a0368652eef06f0283cf53b3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:28 + 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 00:42:28 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 00:42:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:42:28 42da20f8574a: Preparing 00:42:28 67676cfb80ae: Preparing 00:42:28 3db4a296b733: Preparing 00:42:28 d6457caf0509: Preparing 00:42:28 eb54b7b7991f: Preparing 00:42:28 d6457caf0509: Layer already exists 00:42:28 eb54b7b7991f: Layer already exists 00:42:28 67676cfb80ae: Layer already exists 00:42:28 3db4a296b733: Layer already exists 00:42:28 42da20f8574a: Layer already exists 00:42:28 latest: digest: sha256:015303c146e13b1dca85a1c563b60db73e7f8636a0368652eef06f0283cf53b3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:29 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.2.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:29 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.2.0-dev.29 00:42:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:42:29 42da20f8574a: Preparing 00:42:29 67676cfb80ae: Preparing 00:42:29 3db4a296b733: Preparing 00:42:29 d6457caf0509: Preparing 00:42:29 eb54b7b7991f: Preparing 00:42:29 eb54b7b7991f: Layer already exists 00:42:29 67676cfb80ae: Layer already exists 00:42:29 d6457caf0509: Layer already exists 00:42:29 3db4a296b733: Layer already exists 00:42:29 42da20f8574a: Layer already exists 00:42:29 2.2.0-dev.29: digest: sha256:015303c146e13b1dca85a1c563b60db73e7f8636a0368652eef06f0283cf53b3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:30 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:61db847f3a653629f088db74e60b4b80a5f1cdc2-2.2.0-dev.29 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:61db847f3a653629f088db74e60b4b80a5f1cdc2-2.2.0-dev.29 00:42:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:42:30 42da20f8574a: Preparing 00:42:30 67676cfb80ae: Preparing 00:42:30 3db4a296b733: Preparing 00:42:30 d6457caf0509: Preparing 00:42:30 eb54b7b7991f: Preparing 00:42:30 eb54b7b7991f: Layer already exists 00:42:30 d6457caf0509: Layer already exists 00:42:30 67676cfb80ae: Layer already exists 00:42:30 3db4a296b733: Layer already exists 00:42:30 42da20f8574a: Layer already exists 00:42:30 61db847f3a653629f088db74e60b4b80a5f1cdc2-2.2.0-dev.29: digest: sha256:015303c146e13b1dca85a1c563b60db73e7f8636a0368652eef06f0283cf53b3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42: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 00:42:31 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 00:42:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:42:31 42da20f8574a: Preparing 00:42:31 67676cfb80ae: Preparing 00:42:31 3db4a296b733: Preparing 00:42:31 d6457caf0509: Preparing 00:42:31 eb54b7b7991f: Preparing 00:42:31 eb54b7b7991f: Layer already exists 00:42:31 d6457caf0509: Layer already exists 00:42:31 3db4a296b733: Layer already exists 00:42:31 67676cfb80ae: Layer already exists 00:42:31 42da20f8574a: Layer already exists 00:42:31 main: digest: sha256:015303c146e13b1dca85a1c563b60db73e7f8636a0368652eef06f0283cf53b3 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:42:31 ===================================================== [Pipeline] echo 00:42:31 taggedImages: 00:42:31 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:61db847f3a653629f088db74e60b4b80a5f1cdc2 00:42:31 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 00:42:31 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.2.0-dev.29 00:42:31 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:61db847f3a653629f088db74e60b4b80a5f1cdc2-2.2.0-dev.29 00:42:31 - 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 00:42:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:42:32 00:42:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:42:32 arm64: Pulling from edgex-lftools-log-publisher 00:42:32 8998bd30e6a1: Pulling fs layer 00:42:32 04944245beec: Pulling fs layer 00:42:32 699f458cf7ca: Pulling fs layer 00:42:32 765212b225bb: Pulling fs layer 00:42:32 f23df028b6ca: Pulling fs layer 00:42:32 d65c8cfc05b1: Pulling fs layer 00:42:32 2437ff75d9bd: Pulling fs layer 00:42:32 765212b225bb: Waiting 00:42:32 f23df028b6ca: Waiting 00:42:32 d65c8cfc05b1: Waiting 00:42:32 2437ff75d9bd: Waiting 00:42:32 04944245beec: Verifying Checksum 00:42:32 04944245beec: Download complete 00:42:32 765212b225bb: Verifying Checksum 00:42:32 765212b225bb: Download complete 00:42:32 f23df028b6ca: Verifying Checksum 00:42:32 f23df028b6ca: Download complete 00:42:32 d65c8cfc05b1: Verifying Checksum 00:42:32 d65c8cfc05b1: Download complete 00:42:33 699f458cf7ca: Verifying Checksum 00:42:33 699f458cf7ca: Download complete 00:42:33 8998bd30e6a1: Verifying Checksum 00:42:33 8998bd30e6a1: Download complete 00:42:35 2437ff75d9bd: Verifying Checksum 00:42:35 2437ff75d9bd: Download complete 00:42:37 8998bd30e6a1: Pull complete 00:42:38 04944245beec: Pull complete 00:42:39 699f458cf7ca: Pull complete 00:42:39 765212b225bb: Pull complete 00:42:40 f23df028b6ca: Pull complete 00:42:41 d65c8cfc05b1: Pull complete 00:42:56 2437ff75d9bd: Pull complete 00:42:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:42:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:42:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:56 prd-ubuntu20.04-docker-arm64-4c-16g-20740 does not seem to be running inside a container 00:42:56 $ 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/32 -v /w/workspace/device-onvif-camera/32:/w/workspace/device-onvif-camera/32:rw,z -v /w/workspace/device-onvif-camera/32@tmp:/w/workspace/device-onvif-camera/32@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 00:42:59 $ docker top 1cbc1c017089050d0e740b0666c1f4f611177b7b10cea3a38e22b3a3633bc6ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:00 ---> job-cost.sh 00:43:00 lf-activate-venv: SKIPPING 00:43:00 INFO: No Stack... 00:43:00 INFO: Retrieving Pricing Info for: v3-standard-4 00:43:01 INFO: Archiving Costs [Pipeline] sh 00:43:01 + cat /w/workspace/device-onvif-camera/32/archives/cost.csv 00:43:01 + cut -d, -f6 [Pipeline] lock 00:43:01 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-32-stack-cost] 00:43:01 Resource [jenkins-edgexfoundry-device-onvif-camera-main-32-stack-cost] did not exist. Created. 00:43:01 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:43:02 /w/workspace/device-onvif-camera/32@tmp/durable-dcf23156/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:43:03 + echo total: 0.10999999940395355 [Pipeline] stash 00:43:03 Warning: overwriting stash ‘stack-cost’ 00:43:03 Stashed 1 file(s) [Pipeline] } 00:43:03 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-32-stack-cost] [Pipeline] // lock [Pipeline] } 00:43:03 $ docker stop --time=1 1cbc1c017089050d0e740b0666c1f4f611177b7b10cea3a38e22b3a3633bc6ea 00:43:04 $ docker rm -f 1cbc1c017089050d0e740b0666c1f4f611177b7b10cea3a38e22b3a3633bc6ea [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 00:43:05 provisioning config files... 00:43:05 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6072213248315146786tmp [Pipeline] { [Pipeline] sh 00:43:05 + set +x 00:43:05 + bash -s -- 00:43:05 + curl -s https://codecov.io/bash 00:43:05 00:43:05 _____ _ 00:43:05 / ____| | | 00:43:05 | | ___ __| | ___ ___ _____ __ 00:43:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:43:05 | |___| (_) | (_| | __/ (_| (_) \ V / 00:43:05 \_____\___/ \__,_|\___|\___\___/ \_/ 00:43:05 Bash-1.0.6 00:43:05 00:43:05 00:43:05 ==> git version 2.25.1 found 00:43:05 ==> 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 00:43:05 Release-Date: 2020-01-08 00:43:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:43:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:43:05 ==> Jenkins CI detected. 00:43:05 current dir:  /w/workspace/foundry_device-onvif-camera_main 00:43:05 project root: . 00:43:05 --> token set from env 00:43:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:43:05 ==> Running gcov in . (disable via -X gcov) 00:43:05 ==> Python coveragepy not found 00:43:05 ==> Searching for coverage reports in: 00:43:05 + . 00:43:05 -> Found 1 reports 00:43:05 ==> Detecting git/mercurial file structure 00:43:05 ==> Reading reports 00:43:05 + ./coverage.out bytes=78811 00:43:05 ==> Appending adjustments 00:43:05 https://docs.codecov.io/docs/fixing-reports 00:43:06 + Found adjustments 00:43:06 ==> Gzipping contents 00:43:06 12K /tmp/codecov.PYVuwq.gz 00:43:06 ==> Uploading reports 00:43:06 url: https://codecov.io 00:43:06 query: branch=main&commit=61db847f3a653629f088db74e60b4b80a5f1cdc2&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:43:06 -> Pinging Codecov 00:43:06 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=61db847f3a653629f088db74e60b4b80a5f1cdc2&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:43:06 -> Uploading to 00:43:06 https://storage.googleapis.com/codecov/v4/raw/2022-07-22/F29A59C45E3A92E06B3E522C9905F8EF/61db847f3a653629f088db74e60b4b80a5f1cdc2/c74badc8-1d90-457a-a568-160b2d0aed75.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220722%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220722T004306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45cdad9daa59da9091c9f6b9bacb0c96d8b0131c8685fb9be8ddadd24d616a2d 00:43:06 % Total % Received % Xferd Average Speed Time Time Time Current 00:43:06 Dload Upload Total Spent Left Speed 00:43:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10574 0 0 100 10574 0 42465 --:--:-- --:--:-- --:--:-- 42465 00:43:06 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/61db847f3a653629f088db74e60b4b80a5f1cdc2 [Pipeline] } 00:43:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:43:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:43:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:43:06 00:43:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:43:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:43:07 df9b9388f04a: Pulling fs layer 00:43:07 52dc419b0ee2: Pulling fs layer 00:43:07 25bc292e5bac: Pulling fs layer 00:43:07 114826534d7a: Pulling fs layer 00:43:07 4657fd5d0bcf: Pulling fs layer 00:43:07 6ad1cebc031e: Pulling fs layer 00:43:07 8a3aa393b2d8: Pulling fs layer 00:43:07 4657fd5d0bcf: Waiting 00:43:07 6ad1cebc031e: Waiting 00:43:07 25bc292e5bac: Verifying Checksum 00:43:07 25bc292e5bac: Download complete 00:43:07 52dc419b0ee2: Verifying Checksum 00:43:07 52dc419b0ee2: Download complete 00:43:07 4657fd5d0bcf: Verifying Checksum 00:43:07 4657fd5d0bcf: Download complete 00:43:07 df9b9388f04a: Verifying Checksum 00:43:07 df9b9388f04a: Download complete 00:43:07 6ad1cebc031e: Verifying Checksum 00:43:07 6ad1cebc031e: Download complete 00:43:07 df9b9388f04a: Pull complete 00:43:07 52dc419b0ee2: Pull complete 00:43:07 25bc292e5bac: Pull complete 00:43:08 114826534d7a: Verifying Checksum 00:43:08 114826534d7a: Download complete 00:43:08 8a3aa393b2d8: Verifying Checksum 00:43:08 8a3aa393b2d8: Download complete 00:43:11 114826534d7a: Pull complete 00:43:11 4657fd5d0bcf: Pull complete 00:43:11 6ad1cebc031e: Pull complete 00:43:14 8a3aa393b2d8: Pull complete 00:43:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:43:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:43:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:14 prd-ubuntu20.04-docker-8c-8g-20737 does not seem to be running inside a container 00:43:14 $ 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 00:43:17 $ docker top 1286421923a46c24b97a162bf8fef78d7dd0947858eb0e22d1e50f33f1cb1a9c -eo pid,comm [Pipeline] { [Pipeline] echo 00:43:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 00:43:17 + set -o pipefail 00:43:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 00:43:21 00:43:21 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 00:43:21 00:43:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/4efda71e-03b9-4b39-a780-62cb388a6558 00:43:21 00:43:21 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:43:21 00:43:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:43:21 00:43:21 [Pipeline] } 00:43:21 $ docker stop --time=1 1286421923a46c24b97a162bf8fef78d7dd0947858eb0e22d1e50f33f1cb1a9c 00:43:24 $ docker rm -f 1286421923a46c24b97a162bf8fef78d7dd0947858eb0e22d1e50f33f1cb1a9c [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:43:25 + git log --format=format:%s -1 61db847f3a653629f088db74e60b4b80a5f1cdc2 [Pipeline] sh 00:43:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:43:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:25 prd-ubuntu20.04-docker-8c-8g-20737 does not seem to be running inside a container 00:43:26 $ 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 00:43:26 $ docker top 81f5e03ddb8edf412b6087f1dfd7f7ab5f26cb574fd628f87809a6b74d134ad0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:43:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:26 [ssh-agent] Looking for ssh-agent implementation... 00:43:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:26 $ docker exec 81f5e03ddb8edf412b6087f1dfd7f7ab5f26cb574fd628f87809a6b74d134ad0 ssh-agent 00:43:26 SSH_AUTH_SOCK=/tmp/ssh-Wxgf7z7IN2LU/agent.34 00:43:26 SSH_AGENT_PID=40 00:43:26 Running ssh-add (command line suppressed) 00:43:26 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3842478615468237534.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3842478615468237534.key) 00:43:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:27 + git semver tag 00:43:27 2022-07-22 00:43:27,365 [run_tag] DEBUG tag force:False 00:43:27 2022-07-22 00:43:27,365 [check_head_tag] DEBUG check head tag 00:43:27 2022-07-22 00:43:27,365 [execute] INFO git cat-file --batch-check 00:43:27 2022-07-22 00:43:27,366 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 00:43:27 2022-07-22 00:43:27,369 [execute] INFO git cat-file --batch 00:43:27 2022-07-22 00:43:27,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 00:43:27 2022-07-22 00:43:27,381 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:43:27 2022-07-22 00:43:27,381 [execute] INFO git tag -a v2.2.0-dev.29 -m v2.2.0-dev.29 00:43:27 2022-07-22 00:43:27,382 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.29', '-m', 'v2.2.0-dev.29'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 00:43:27 2022-07-22 00:43:27,386 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:43:27 2.2.0-dev.29 [Pipeline] } 00:43:27 $ docker exec --env ******** --env ******** 81f5e03ddb8edf412b6087f1dfd7f7ab5f26cb574fd628f87809a6b74d134ad0 ssh-agent -k 00:43:27 unset SSH_AUTH_SOCK; 00:43:27 unset SSH_AGENT_PID; 00:43:27 echo Agent pid 40 killed; 00:43:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:27 + git semver [Pipeline] } 00:43:28 $ docker stop --time=1 81f5e03ddb8edf412b6087f1dfd7f7ab5f26cb574fd628f87809a6b74d134ad0 00:43:29 $ docker rm -f 81f5e03ddb8edf412b6087f1dfd7f7ab5f26cb574fd628f87809a6b74d134ad0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:43:29 00:43:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:43:30 0.23.1-centos7: Pulling from edgex-lftools 00:43:30 ab5ef0e58194: Pulling fs layer 00:43:30 9712f1f96733: Pulling fs layer 00:43:30 63f879dbbcfc: Pulling fs layer 00:43:30 0d9ebad4ef96: Pulling fs layer 00:43:30 e9a5061849ea: Pulling fs layer 00:43:30 d747dcd14b5f: Pulling fs layer 00:43:30 0d9ebad4ef96: Waiting 00:43:30 e9a5061849ea: Waiting 00:43:30 2de7ff778b66: Pulling fs layer 00:43:30 d747dcd14b5f: Waiting 00:43:30 9712f1f96733: Download complete 00:43:30 63f879dbbcfc: Verifying Checksum 00:43:30 63f879dbbcfc: Download complete 00:43:30 0d9ebad4ef96: Verifying Checksum 00:43:30 0d9ebad4ef96: Download complete 00:43:30 ab5ef0e58194: Verifying Checksum 00:43:30 ab5ef0e58194: Download complete 00:43:30 d747dcd14b5f: Download complete 00:43:30 e9a5061849ea: Verifying Checksum 00:43:30 e9a5061849ea: Download complete 00:43:30 2de7ff778b66: Verifying Checksum 00:43:30 2de7ff778b66: Download complete 00:43:33 ab5ef0e58194: Pull complete 00:43:33 9712f1f96733: Pull complete 00:43:34 63f879dbbcfc: Pull complete 00:43:38 0d9ebad4ef96: Pull complete 00:43:38 e9a5061849ea: Pull complete 00:43:38 d747dcd14b5f: Pull complete 00:43:39 2de7ff778b66: Pull complete 00:43:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:43:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:43:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:39 prd-ubuntu20.04-docker-8c-8g-20737 does not seem to be running inside a container 00:43: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 00:43:42 $ docker top 018e1c6abaeb8073c20fa042dadb6b545bd3f47604544efaf61d9791463bf01f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:43:42 provisioning config files... 00:43:42 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4211602906990504009tmp 00:43:42 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config732675611790039657tmp 00:43:42 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3205599625104405999tmp [Pipeline] { [Pipeline] echo 00:43:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:43:42 ---> sigul-configuration.sh 00:43:42 gpg: directory `/root/.gnupg' created 00:43:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:43:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:43:42 gpg: keyring `/root/.gnupg/secring.gpg' created 00:43:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:43:42 gpg: CAST5 encrypted data 00:43:42 gpg: encrypted with 1 passphrase 00:43:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:43:42 + mkdir /home/jenkins 00:43:42 + mkdir /home/jenkins/sigul [Pipeline] sh 00:43:43 + 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 00:43:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:43:43 ---> sigul-install.sh 00:43:43 Sigul already installed; skipping installation. [Pipeline] sh 00:43:43 + git tag --list 00:43:43 v0.0.0 00:43:43 v0.0.1-dev.1 00:43:43 v0.0.1-dev.10 00:43:43 v0.0.1-dev.11 00:43:43 v0.0.1-dev.12 00:43:43 v0.0.1-dev.13 00:43:43 v0.0.1-dev.14 00:43:43 v0.0.1-dev.15 00:43:43 v0.0.1-dev.16 00:43:43 v0.0.1-dev.17 00:43:43 v0.0.1-dev.18 00:43:43 v0.0.1-dev.19 00:43:43 v0.0.1-dev.2 00:43:43 v0.0.1-dev.20 00:43:43 v0.0.1-dev.21 00:43:43 v0.0.1-dev.22 00:43:43 v0.0.1-dev.23 00:43:43 v0.0.1-dev.24 00:43:43 v0.0.1-dev.25 00:43:43 v0.0.1-dev.26 00:43:43 v0.0.1-dev.27 00:43:43 v0.0.1-dev.28 00:43:43 v0.0.1-dev.3 00:43:43 v0.0.1-dev.4 00:43:43 v0.0.1-dev.5 00:43:43 v0.0.1-dev.6 00:43:43 v0.0.1-dev.7 00:43:43 v0.0.1-dev.8 00:43:43 v0.0.1-dev.9 00:43:43 v2.2.0-dev.29 [Pipeline] sh 00:43:43 + lftools sign git-tag v2.2.0-dev.29 00:43:44 Signing Git tag with Sigul... 00:43:44 Signing v2.2.0-dev.29 [Pipeline] echo 00:43:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:43:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:43:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:43:45 $ docker stop --time=1 018e1c6abaeb8073c20fa042dadb6b545bd3f47604544efaf61d9791463bf01f 00:43:46 $ docker rm -f 018e1c6abaeb8073c20fa042dadb6b545bd3f47604544efaf61d9791463bf01f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:43:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:43:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:47 prd-ubuntu20.04-docker-8c-8g-20737 does not seem to be running inside a container 00:43:47 $ 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 00:43:47 $ docker top 349cfbcd1019c7d05c944911f7b2b95e451e1ff6f830f252486bfab6e626a2b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:43:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:48 [ssh-agent] Looking for ssh-agent implementation... 00:43:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:48 $ docker exec 349cfbcd1019c7d05c944911f7b2b95e451e1ff6f830f252486bfab6e626a2b6 ssh-agent 00:43:48 SSH_AUTH_SOCK=/tmp/ssh-1EyyCUgiXCUu/agent.34 00:43:48 SSH_AGENT_PID=41 00:43:48 Running ssh-add (command line suppressed) 00:43:48 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4750782298450426154.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4750782298450426154.key) 00:43:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:48 + git semver bump pre 00:43:48 2022-07-22 00:43:48,902 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:43:48 2022-07-22 00:43:48,902 [bump_version] DEBUG bumping version:2.2.0-dev.29 on axis:pre with prefix:dev 00:43:48 2022-07-22 00:43:48,902 [bump_version] DEBUG bumped version:2.2.0-dev.30 00:43:48 2022-07-22 00:43:48,902 [write_version] DEBUG write version:2.2.0-dev.30 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 00:43:48 2022-07-22 00:43:48,902 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:43:48 2022-07-22 00:43:48,902 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 00:43:48 2022-07-22 00:43:48,904 [execute] INFO git cat-file --batch-check 00:43:48 2022-07-22 00:43:48,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:43:48 2022-07-22 00:43:48,908 [execute] INFO git cat-file --batch 00:43:48 2022-07-22 00:43:48,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:43:48 2022-07-22 00:43:48,912 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:43:48 2.2.0-dev.30 [Pipeline] } 00:43:48 $ docker exec --env ******** --env ******** 349cfbcd1019c7d05c944911f7b2b95e451e1ff6f830f252486bfab6e626a2b6 ssh-agent -k 00:43:49 unset SSH_AUTH_SOCK; 00:43:49 unset SSH_AGENT_PID; 00:43:49 echo Agent pid 41 killed; 00:43:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:49 + git semver [Pipeline] } 00:43:49 $ docker stop --time=1 349cfbcd1019c7d05c944911f7b2b95e451e1ff6f830f252486bfab6e626a2b6 00:43:50 $ docker rm -f 349cfbcd1019c7d05c944911f7b2b95e451e1ff6f830f252486bfab6e626a2b6 [Pipeline] // withDockerContainer [Pipeline] sh 00:43:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:43:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:51 prd-ubuntu20.04-docker-8c-8g-20737 does not seem to be running inside a container 00:43: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 00:43:52 $ docker top 923ef884587896c8852371c1ba82eb0f0dd2762aa775fc03ca276b9f43e46142 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:43:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:52 [ssh-agent] Looking for ssh-agent implementation... 00:43:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:52 $ docker exec 923ef884587896c8852371c1ba82eb0f0dd2762aa775fc03ca276b9f43e46142 ssh-agent 00:43:52 SSH_AUTH_SOCK=/tmp/ssh-v4D99XZWhJov/agent.32 00:43:52 SSH_AGENT_PID=38 00:43:52 Running ssh-add (command line suppressed) 00:43:52 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8425651240370999003.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8425651240370999003.key) 00:43:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:52 + git semver push 00:43:53 2022-07-22 00:43:53,106 [run_push] DEBUG push 00:43:53 2022-07-22 00:43:53,107 [execute] INFO git cat-file --batch-check 00:43:53 2022-07-22 00:43:53,107 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:43:53 2022-07-22 00:43:53,110 [execute] INFO git rev-list 39c64ebc6df6b59d4244caa9ec2a52aa17210947 -- 00:43:53 2022-07-22 00:43:53,110 [execute] DEBUG Popen(['git', 'rev-list', '39c64ebc6df6b59d4244caa9ec2a52aa17210947', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:43:53 2022-07-22 00:43:53,115 [execute] INFO git fetch -v origin 00:43:53 2022-07-22 00:43:53,116 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 00:43:53 2022-07-22 00:43:53,597 [run_push] DEBUG no remote changes detected 00:43:53 2022-07-22 00:43:53,597 [execute] INFO git push origin semver 00:43:53 2022-07-22 00:43:53,598 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:43:54 2022-07-22 00:43:54,256 [run_push] DEBUG push all version tags 00:43:54 2022-07-22 00:43:54,257 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:43:54 2022-07-22 00:43:54,257 [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) 00:43:54 2022-07-22 00:43:54,873 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:43:54 2.2.0-dev.30 [Pipeline] } 00:43:54 $ docker exec --env ******** --env ******** 923ef884587896c8852371c1ba82eb0f0dd2762aa775fc03ca276b9f43e46142 ssh-agent -k 00:43:55 unset SSH_AUTH_SOCK; 00:43:55 unset SSH_AGENT_PID; 00:43:55 echo Agent pid 38 killed; 00:43:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:55 + git semver [Pipeline] } 00:43:55 $ docker stop --time=1 923ef884587896c8852371c1ba82eb0f0dd2762aa775fc03ca276b9f43e46142 00:43:56 $ docker rm -f 923ef884587896c8852371c1ba82eb0f0dd2762aa775fc03ca276b9f43e46142 [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 00:43:57 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 00:43:57 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 00:43:57 total 16 00:43:57 drwxr-xr-x 3 root root 4096 Jul 22 00:32 . 00:43:57 drwxrwxr-x 11 jenkins jenkins 4096 Jul 22 00:43 .. 00:43:57 drwxr-xr-x 2 root root 4096 Jul 22 00:32 cost 00:43:57 -rw-r--r-- 1 root root 89 Jul 22 00:32 cost.csv 00:43:57 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 00:43:57 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 00:43:57 total 16 00:43:57 drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 00:32 . 00:43:57 drwxrwxr-x 11 jenkins jenkins 4096 Jul 22 00:43 .. 00:43:57 drwxr-xr-x 2 jenkins jenkins 4096 Jul 22 00:32 cost 00:43:57 -rw-r--r-- 1 jenkins jenkins 89 Jul 22 00:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:43:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:43:58 ---> package-listing.sh 00:43:58 ++ facter osfamily 00:43:58 ++ tr '[:upper:]' '[:lower:]' 00:43:58 + OS_FAMILY=debian 00:43:58 + workspace=/w/workspace/foundry_device-onvif-camera_main 00:43:58 + START_PACKAGES=/tmp/packages_start.txt 00:43:58 + END_PACKAGES=/tmp/packages_end.txt 00:43:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:43:58 + PACKAGES=/tmp/packages_start.txt 00:43:58 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 00:43:58 + PACKAGES=/tmp/packages_end.txt 00:43:58 + case "${OS_FAMILY}" in 00:43:58 + dpkg -l 00:43:58 + grep '^ii' 00:43:58 + '[' -f /tmp/packages_start.txt ']' 00:43:58 + '[' -f /tmp/packages_end.txt ']' 00:43:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:43:58 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 00:43:58 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 00:43:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 00:43:58 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 00:43:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:43:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:59 prd-ubuntu20.04-docker-8c-8g-20737 does not seem to be running inside a container 00:43:59 $ 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 00:44:00 $ docker top 1189493ec556a4bc217546ea32b2eca722b25ea29336a02579688acaf5288877 -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:00 + touch /tmp/pre-build-complete [Pipeline] sh 00:44:00 + mkdir -p /var/log/sysstat [Pipeline] sh 00:44:00 + ls /var/log/sa-host 00:44:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:44:01 provisioning config files... 00:44:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4149833654560763004tmp [Pipeline] { [Pipeline] echo 00:44:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:44:01 ---> create-netrc.sh [Pipeline] } 00:44:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:44:01 ---> python-tools-install.sh [Pipeline] echo 00:44:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:44:01 ---> sudo-logs.sh 00:44:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:44:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:44:02 ---> job-cost.sh 00:44:02 lf-activate-venv: SKIPPING 00:44:02 DEBUG: total: 0.2199999988079071 00:44:02 INFO: Retrieving Stack Cost... 00:44:02 INFO: Retrieving Pricing Info for: v3-standard-8 00:44:03 INFO: Archiving Costs [Pipeline] echo 00:44:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:44:03 ---> logs-deploy.sh 00:44:03 lf-activate-venv: SKIPPING 00:44:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/32 00:44:03 INFO: archiving workspace using pattern(s): 00:44:04 Archives upload complete. 00:44:04 INFO: archiving logs to Nexus 00:44:04 ---> uname -a: 00:44:04 Linux prd-ubuntu20-04-docker-8c-8g-20737 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 00:44:04 00:44:04