Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 916f6b3a329f57eb75e5307752edff55e76e784f 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-ssh12487303227400878478.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4747514804529123999.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4282743574670318617.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh16169096375893519518.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18214292456417191905.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1916 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 916f6b3a329f57eb75e5307752edff55e76e784f (main) Commit message: "refactor!: Rework code for refactored MessageBus Configuration (#210)" > 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 916f6b3a329f57eb75e5307752edff55e76e784f # timeout=10 > git rev-list --no-walk ac647965ab1b942a087d699135cd6fee27db47f4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:31:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:31:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:31:34 ========================================================= 18:31:34 EdgeX Global Pipelines Version Info 18:31:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:31:34 ------------------- 18:31:34 stable info: 18:31:34 ------------------- 18:31:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:31:34 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:31:34 Message: update stable to v1.0.244 18:31:35 ------------------- 18:31:35 experimental info: 18:31:35 ------------------- 18:31:35 Commited By: **** collab-it+edgex@linuxfoundation.org 18:31:35 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:31:35 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:31:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:31:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 916f6b3a329f57eb75e5307752edff55e76e784f [Pipeline] echo 18:31:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 916f6b3 [Pipeline] echo 18:31:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:31:36 provisioning config files... 18:31:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16208052679420238165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:31:36 ---> docker-login.sh 18:31:36 nexus3.edgexfoundry.org:10001 18:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:36 Configure a credential helper to remove this warning. See 18:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:36 18:31:36 Login Succeeded 18:31:36 nexus3.edgexfoundry.org:10002 18:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:36 Configure a credential helper to remove this warning. See 18:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:36 18:31:36 Login Succeeded 18:31:36 nexus3.edgexfoundry.org:10003 18:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:36 Configure a credential helper to remove this warning. See 18:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:36 18:31:36 Login Succeeded 18:31:36 nexus3.edgexfoundry.org:10004 18:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:36 Configure a credential helper to remove this warning. See 18:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:36 18:31:36 Login Succeeded 18:31:36 docker.io 18:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:37 Configure a credential helper to remove this warning. See 18:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:37 18:31:37 Login Succeeded 18:31:37 ---> docker-login.sh ends [Pipeline] } 18:31:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:31:37 + git rev-list -1 --merges 916f6b3a329f57eb75e5307752edff55e76e784f~1..916f6b3a329f57eb75e5307752edff55e76e784f [Pipeline] echo 18:31:37 -----------> git rev-list -1 --merges 916f6b3a329f57eb75e5307752edff55e76e784f~1..916f6b3a329f57eb75e5307752edff55e76e784f 916f6b3a329f57eb75e5307752edff55e76e784f [false] [Pipeline] sh 18:31:38 + git log --format=format:%s -1 916f6b3a329f57eb75e5307752edff55e76e784f [Pipeline] echo 18:31:38 ========================================================= 18:31:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:31:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:31:38 + git log --format=format:%s -1 916f6b3a329f57eb75e5307752edff55e76e784f [Pipeline] echo 18:31:38 [semverPrep] GIT_COMMIT: 916f6b3a329f57eb75e5307752edff55e76e784f, Commit Message: refactor!: Rework code for refactored MessageBus Configuration (#210) [Pipeline] echo 18:31:38 [semverPrep] This is not a build commit. [Pipeline] sh 18:31:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:31:38 + grep -v github /etc/ssh/ssh_known_hosts 18:31:38 + [ -e /tmp/ssh_known_hosts ] 18:31:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:31:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:31:38 + sudo tee -a /etc/ssh/ssh_known_hosts 18:31:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:31:39 18:31:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:31:39 0.1.4: Pulling from edgex-devops/py-git-semver 18:31:39 b85a868b505f: Pulling fs layer 18:31:39 e2be974225ed: Pulling fs layer 18:31:39 339a4e72a1f5: Pulling fs layer 18:31:39 988bab9f4d93: Pulling fs layer 18:31:39 1469e6f7b9e6: Pulling fs layer 18:31:39 eaf3925da568: Pulling fs layer 18:31:39 bab4dde63d76: Pulling fs layer 18:31:39 bde34c3a00c8: Pulling fs layer 18:31:39 b352a97aabf1: Pulling fs layer 18:31:39 4872d77fe225: Pulling fs layer 18:31:39 5851b861e8e6: Pulling fs layer 18:31:39 b352a97aabf1: Waiting 18:31:39 4872d77fe225: Waiting 18:31:39 5851b861e8e6: Waiting 18:31:39 eaf3925da568: Waiting 18:31:39 bab4dde63d76: Waiting 18:31:39 988bab9f4d93: Waiting 18:31:39 1469e6f7b9e6: Waiting 18:31:39 e2be974225ed: Verifying Checksum 18:31:39 e2be974225ed: Download complete 18:31:39 988bab9f4d93: Verifying Checksum 18:31:39 988bab9f4d93: Download complete 18:31:39 1469e6f7b9e6: Verifying Checksum 18:31:39 1469e6f7b9e6: Download complete 18:31:39 339a4e72a1f5: Verifying Checksum 18:31:39 339a4e72a1f5: Download complete 18:31:39 eaf3925da568: Verifying Checksum 18:31:39 eaf3925da568: Download complete 18:31:39 bde34c3a00c8: Verifying Checksum 18:31:39 bde34c3a00c8: Download complete 18:31:39 b352a97aabf1: Verifying Checksum 18:31:39 b352a97aabf1: Download complete 18:31:39 4872d77fe225: Download complete 18:31:39 5851b861e8e6: Download complete 18:31:39 b85a868b505f: Verifying Checksum 18:31:39 b85a868b505f: Download complete 18:31:40 bab4dde63d76: Verifying Checksum 18:31:40 bab4dde63d76: Download complete 18:31:41 b85a868b505f: Pull complete 18:31:41 e2be974225ed: Pull complete 18:31:41 339a4e72a1f5: Pull complete 18:31:41 988bab9f4d93: Pull complete 18:31:42 1469e6f7b9e6: Pull complete 18:31:42 eaf3925da568: Pull complete 18:31:44 bab4dde63d76: Pull complete 18:31:44 bde34c3a00c8: Pull complete 18:31:44 b352a97aabf1: Pull complete 18:31:44 4872d77fe225: Pull complete 18:31:44 5851b861e8e6: Pull complete 18:31:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:31:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:31:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:44 prd-ubuntu20.04-docker-8c-8g-1916 does not seem to be running inside a container 18:31:44 $ 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 18:31:48 $ docker top 1328fe81d9b55c99993c758fc1653f8af5c02dc094502b9bbcd17c18392f8e7b -eo pid,comm 18:31:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:31:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:31:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:31:48 [ssh-agent] Looking for ssh-agent implementation... 18:31:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:31:48 $ docker exec 1328fe81d9b55c99993c758fc1653f8af5c02dc094502b9bbcd17c18392f8e7b ssh-agent 18:31:48 SSH_AUTH_SOCK=/tmp/ssh-Gs3ZcYmwoWke/agent.32 18:31:48 SSH_AGENT_PID=38 18:31:48 Running ssh-add (command line suppressed) 18:31:48 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16814704689781709191.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16814704689781709191.key) 18:31:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:31:48 + git tag --points-at HEAD [Pipeline] } 18:31:48 $ docker exec --env ******** --env ******** 1328fe81d9b55c99993c758fc1653f8af5c02dc094502b9bbcd17c18392f8e7b ssh-agent -k 18:31:49 unset SSH_AUTH_SOCK; 18:31:49 unset SSH_AGENT_PID; 18:31:49 echo Agent pid 38 killed; 18:31:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:31:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:31:49 [ssh-agent] Looking for ssh-agent implementation... 18:31:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:31:49 $ docker exec 1328fe81d9b55c99993c758fc1653f8af5c02dc094502b9bbcd17c18392f8e7b ssh-agent 18:31:49 SSH_AUTH_SOCK=/tmp/ssh-BdXXL8NCq4QF/agent.70 18:31:49 SSH_AGENT_PID=76 18:31:49 Running ssh-add (command line suppressed) 18:31:49 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15276267573570819788.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15276267573570819788.key) 18:31:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:31:49 + git semver init 18:31:49 2023-01-11 18:31:49,877 [run_init] DEBUG init version:0.0.0 force:False 18:31:49 2023-01-11 18:31:49,878 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 18:31:49 2023-01-11 18:31:49,878 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 18:31:49 2023-01-11 18:31:49,878 [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) 18:31:50 2023-01-11 18:31:50,867 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 18:31:50 2023-01-11 18:31:50,867 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 18:31:50 2023-01-11 18:31:50,867 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:31:50 2023-01-11 18:31:50,867 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:31:50 3.0.0-dev.7 [Pipeline] } 18:31:50 $ docker exec --env ******** --env ******** 1328fe81d9b55c99993c758fc1653f8af5c02dc094502b9bbcd17c18392f8e7b ssh-agent -k 18:31:51 unset SSH_AUTH_SOCK; 18:31:51 unset SSH_AGENT_PID; 18:31:51 echo Agent pid 76 killed; 18:31:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:31:51 + git semver [Pipeline] } 18:31:51 $ docker stop --time=1 1328fe81d9b55c99993c758fc1653f8af5c02dc094502b9bbcd17c18392f8e7b 18:31:52 $ docker rm -f --volumes 1328fe81d9b55c99993c758fc1653f8af5c02dc094502b9bbcd17c18392f8e7b [Pipeline] // withDockerContainer [Pipeline] sh 18:31:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:31:53 Stashed 1 file(s) [Pipeline] echo 18:31:53 [edgeXSemver]: initialized semver on version 3.0.0-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:31:53 provisioning config files... 18:31:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5222067174590393168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:31:53 ---> docker-login.sh 18:31:53 nexus3.edgexfoundry.org:10001 18:31:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:53 Configure a credential helper to remove this warning. See 18:31:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:53 18:31:53 Login Succeeded 18:31:53 nexus3.edgexfoundry.org:10002 18:31:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:53 Configure a credential helper to remove this warning. See 18:31:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:53 18:31:53 Login Succeeded 18:31:53 nexus3.edgexfoundry.org:10003 18:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:54 Configure a credential helper to remove this warning. See 18:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:54 18:31:54 Login Succeeded 18:31:54 nexus3.edgexfoundry.org:10004 18:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:54 Configure a credential helper to remove this warning. See 18:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:54 18:31:54 Login Succeeded 18:31:54 docker.io 18:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:31:54 Configure a credential helper to remove this warning. See 18:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:31:54 18:31:54 Login Succeeded 18:31:54 ---> docker-login.sh ends [Pipeline] } 18:31:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:31:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:31:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:31:54 ========================================================= 18:31:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:31:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:31:55 Sending build context to Docker daemon 27.64MB 18:31:55 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:31:55 Step 2/13 : FROM ${BASE} AS builder 18:31:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:31:55 213ec9aee27d: Pulling fs layer 18:31:55 4583459ba037: Pulling fs layer 18:31:55 93c1e223e6f2: Pulling fs layer 18:31:55 53926ce57604: Pulling fs layer 18:31:55 21b2b0c7a3f4: Pulling fs layer 18:31:55 22ff95d597cd: Pulling fs layer 18:31:55 12d6caf4c0d1: Pulling fs layer 18:31:55 96b7cbca73a9: Pulling fs layer 18:31:55 a7acece74701: Pulling fs layer 18:31:55 96b7cbca73a9: Waiting 18:31:55 12d6caf4c0d1: Waiting 18:31:55 53926ce57604: Waiting 18:31:55 22ff95d597cd: Waiting 18:31:55 a7acece74701: Waiting 18:31:55 21b2b0c7a3f4: Waiting 18:31:55 93c1e223e6f2: Verifying Checksum 18:31:55 93c1e223e6f2: Download complete 18:31:55 4583459ba037: Download complete 18:31:55 21b2b0c7a3f4: Verifying Checksum 18:31:55 21b2b0c7a3f4: Download complete 18:31:55 22ff95d597cd: Verifying Checksum 18:31:55 22ff95d597cd: Download complete 18:31:55 213ec9aee27d: Verifying Checksum 18:31:55 213ec9aee27d: Download complete 18:31:55 12d6caf4c0d1: Verifying Checksum 18:31:55 12d6caf4c0d1: Download complete 18:31:55 213ec9aee27d: Pull complete 18:31:55 4583459ba037: Pull complete 18:31:55 93c1e223e6f2: Pull complete 18:31:56 a7acece74701: Verifying Checksum 18:31:56 a7acece74701: Download complete 18:31:56 53926ce57604: Verifying Checksum 18:31:56 53926ce57604: Download complete 18:31:56 96b7cbca73a9: Verifying Checksum 18:31:56 96b7cbca73a9: Download complete 18:32:00 53926ce57604: Pull complete 18:32:00 21b2b0c7a3f4: Pull complete 18:32:00 22ff95d597cd: Pull complete 18:32:00 12d6caf4c0d1: Pull complete 18:32:02 96b7cbca73a9: Pull complete 18:32:03 a7acece74701: Pull complete 18:32:03 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:32:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:32:03 ---> db6d94c90886 18:32:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:32:08 ---> Running in 3f403969efc7 18:32:08 Removing intermediate container 3f403969efc7 18:32:08 ---> cec7600e02f0 18:32:08 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:32:08 ---> Running in c1e702787c94 18:32:08 Removing intermediate container c1e702787c94 18:32:08 ---> 9e74070e2f81 18:32:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:32:08 ---> Running in 607a0efd4ee9 18:32:08 Removing intermediate container 607a0efd4ee9 18:32:08 ---> 3cecdc645557 18:32:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:32:08 ---> Running in 266acfa87536 18:32:08 Removing intermediate container 266acfa87536 18:32:08 ---> e006440ec868 18:32:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:32:08 ---> Running in 7ba98e7057b1 18:32:08 Removing intermediate container 7ba98e7057b1 18:32:08 ---> 8928291b8349 18:32:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:32:08 ---> Running in 65f6c5a188bd 18:32:08 Still waiting to schedule task 18:32:08 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:32:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:32:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:32:09 OK: 211 MiB in 51 packages 18:32:09 Removing intermediate container 65f6c5a188bd 18:32:09 ---> 6133064a882c 18:32:09 Step 9/13 : WORKDIR /device-onvif-camera 18:32:09 ---> Running in 30d80eceedd2 18:32:09 Removing intermediate container 30d80eceedd2 18:32:09 ---> 4a7b134d0213 18:32:09 Step 10/13 : COPY go.mod vendor* ./ 18:32:09 ---> 50f3f586526e 18:32:09 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:32:09 ---> Running in cf8be1a01bd8 18:32:36 Removing intermediate container cf8be1a01bd8 18:32:36 ---> 0e6e5382decc 18:32:36 Step 12/13 : COPY . . 18:32:36 ---> a3ec3ddb3f5a 18:32:36 Step 13/13 : RUN ${MAKE} 18:32:36 ---> Running in 31c57e3e0225 18:32:36 noop 18:32:36 Removing intermediate container 31c57e3e0225 18:32:36 ---> 28578736c37c 18:32:36 Successfully built 28578736c37c 18:32:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:36 + docker inspect -f . ci-base-image-x86_64 18:32:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:36 prd-ubuntu20.04-docker-8c-8g-1916 does not seem to be running inside a container 18:32:36 $ 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 18:32:36 $ docker top 963266d18df959e28a46e573b1345fcd6c2a2d70daea3f2af3865c3eec95b9b1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:37 + go version 18:32:37 go version go1.18.7 linux/amd64 [Pipeline] } 18:32:37 $ docker stop --time=1 963266d18df959e28a46e573b1345fcd6c2a2d70daea3f2af3865c3eec95b9b1 18:32:38 $ docker rm -f --volumes 963266d18df959e28a46e573b1345fcd6c2a2d70daea3f2af3865c3eec95b9b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:38 + docker inspect -f . ci-base-image-x86_64 18:32:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:39 prd-ubuntu20.04-docker-8c-8g-1916 does not seem to be running inside a container 18:32:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:32:39 $ docker top e89f60921e4110257ebba137d3bf172fd8fa879ae5a82766ffafa1dc2526eea8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:39 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 18:32:40 + make test 18:32:40 go test ./... -coverprofile=coverage.out ./... 18:32:40 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:32:52 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:32:54 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 29.3% of statements 18:32:54 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:32:54 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.388s coverage: 86.5% of statements 18:33:02 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:33:02 go vet ./... 18:33:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:33:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:33:06 ./bin/test-attribution-txt.sh [Pipeline] echo 18:33:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:33:06 $ docker stop --time=1 e89f60921e4110257ebba137d3bf172fd8fa879ae5a82766ffafa1dc2526eea8 18:33:09 $ docker rm -f --volumes e89f60921e4110257ebba137d3bf172fd8fa879ae5a82766ffafa1dc2526eea8 [Pipeline] // withDockerContainer [Pipeline] sh 18:33:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:33:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:33:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:33:10 + ls -al . 18:33:10 total 248 18:33:10 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 18:32 . 18:33:10 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:31 .. 18:33:10 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:32 .git 18:33:10 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:31 .github 18:33:10 -rw-rw-r-- 1 jenkins jenkins 496 Jan 11 18:31 .gitignore 18:33:10 -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 18:31 .golangci.yml 18:33:10 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 18:31 .semver 18:33:10 -rw-rw-r-- 1 jenkins jenkins 9638 Jan 11 18:31 Attribution.txt 18:33:10 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 11 18:31 CHANGELOG.md 18:33:10 -rw-rw-r-- 1 jenkins jenkins 1574 Jan 11 18:31 Dockerfile 18:33:10 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 18:31 GOVERNANCE.md 18:33:10 -rw-rw-r-- 1 jenkins jenkins 734 Jan 11 18:31 Jenkinsfile 18:33:10 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 11 18:31 LICENSE 18:33:10 -rw-rw-r-- 1 jenkins jenkins 2577 Jan 11 18:31 Makefile 18:33:10 -rw-rw-r-- 1 jenkins jenkins 625 Jan 11 18:31 OWNERS.md 18:33:10 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 11 18:31 README.md 18:33:10 -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 18:31 VERSION 18:33:10 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:31 bin 18:33:10 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:31 cmd 18:33:10 -rw-r--r-- 1 jenkins jenkins 79184 Jan 11 18:32 coverage.out 18:33:10 drwxrwxr-x 6 jenkins jenkins 4096 Jan 11 18:31 doc 18:33:10 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 11 18:31 go.mod 18:33:10 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 11 18:31 go.sum 18:33:10 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:31 internal 18:33:10 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:31 snap 18:33:10 -rw-rw-r-- 1 jenkins jenkins 236 Jan 11 18:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33: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=916f6b3a329f57eb75e5307752edff55e76e784f --label arch=amd64 --label version=3.0.0-dev.7 . 18:33:11 Sending build context to Docker daemon 27.72MB 18:33:11 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:33:11 Step 2/26 : FROM ${BASE} AS builder 18:33:11 ---> 28578736c37c 18:33:11 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:33:11 ---> Running in dd56211f695d 18:33:11 Removing intermediate container dd56211f695d 18:33:11 ---> d22a20575360 18:33:11 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:33:11 ---> Running in 6c6d1d5535c5 18:33:11 Removing intermediate container 6c6d1d5535c5 18:33:11 ---> 2cc46e0691fc 18:33:11 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:33:11 ---> Running in 2baa1468760a 18:33:12 Removing intermediate container 2baa1468760a 18:33:12 ---> 3e0f295d169b 18:33:12 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:33:12 ---> Running in 203b0b72df2a 18:33:12 Removing intermediate container 203b0b72df2a 18:33:12 ---> 061a660e5bfe 18:33:12 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:33:12 ---> Running in 1193762789d0 18:33:12 Removing intermediate container 1193762789d0 18:33:12 ---> 02f812a34a01 18:33:12 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:33:12 ---> Running in 59c2ccb3f2cc 18:33:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:33:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:33:12 OK: 211 MiB in 51 packages 18:33:13 Removing intermediate container 59c2ccb3f2cc 18:33:13 ---> e49c3a972018 18:33:13 Step 9/26 : WORKDIR /device-onvif-camera 18:33:13 ---> Running in 84994cfe10b5 18:33:13 Removing intermediate container 84994cfe10b5 18:33:13 ---> 8268d7b66b69 18:33:13 Step 10/26 : COPY go.mod vendor* ./ 18:33:13 ---> 83c348f75f40 18:33:13 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:33:13 ---> Running in 85fddda04340 18:33:14 Removing intermediate container 85fddda04340 18:33:14 ---> 33441ce6bf54 18:33:14 Step 12/26 : COPY . . 18:33:15 ---> a6c4b9f2c89c 18:33:15 Step 13/26 : RUN ${MAKE} 18:33:15 ---> Running in 8a7c5c3ff581 18:33:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:33:42 Removing intermediate container 8a7c5c3ff581 18:33:42 ---> 85b8d0374a6b 18:33:42 Step 14/26 : FROM alpine:3.16 18:33:42 3.16: Pulling from library/alpine 18:33:42 ca7dd9ec2225: Pulling fs layer 18:33:42 ca7dd9ec2225: Verifying Checksum 18:33:42 ca7dd9ec2225: Download complete 18:33:42 ca7dd9ec2225: Pull complete 18:33:42 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:33:42 Status: Downloaded newer image for alpine:3.16 18:33:42 ---> bfe296a52501 18:33:42 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:33:42 ---> Running in 6dce1e50516b 18:33:42 Removing intermediate container 6dce1e50516b 18:33:42 ---> fdea7b9afdc0 18:33:42 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:33:42 ---> Running in ab8d9fc61b84 18:33:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:33:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:33:42 (1/1) Installing dumb-init (1.2.5-r1) 18:33:42 Executing busybox-1.35.0-r17.trigger 18:33:42 OK: 6 MiB in 15 packages 18:33:42 Removing intermediate container ab8d9fc61b84 18:33:42 ---> 58a9b64b7b0a 18:33:42 Step 17/26 : WORKDIR / 18:33:42 ---> Running in b34f6e624624 18:33:42 Removing intermediate container b34f6e624624 18:33:42 ---> 66b781869e7b 18:33:42 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:33:42 ---> 26806722313e 18:33:42 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:33:42 ---> 6aface765859 18:33:42 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:33:42 ---> a8256d4c738f 18:33:42 Step 21/26 : EXPOSE 59984 18:33:42 ---> Running in 039aa8fd7ca0 18:33:42 Removing intermediate container 039aa8fd7ca0 18:33:42 ---> 3dc61be58e9c 18:33:42 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:33:42 ---> Running in c0c60e2d255b 18:33:42 Removing intermediate container c0c60e2d255b 18:33:42 ---> ed130524b371 18:33:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:33:42 ---> Running in 34fb6dadf8ee 18:33:42 Removing intermediate container 34fb6dadf8ee 18:33:42 ---> 8774b79442cf 18:33:42 Step 24/26 : LABEL arch=amd64 18:33:42 ---> Running in 0fcce97c18b3 18:33:42 Removing intermediate container 0fcce97c18b3 18:33:42 ---> 6d20930040a9 18:33:42 Step 25/26 : LABEL git_sha=916f6b3a329f57eb75e5307752edff55e76e784f 18:33:42 ---> Running in ef6a76cd983a 18:33:42 Removing intermediate container ef6a76cd983a 18:33:42 ---> f623bd78850b 18:33:42 Step 26/26 : LABEL version=3.0.0-dev.7 18:33:42 ---> Running in 9247234805a5 18:33:42 Removing intermediate container 9247234805a5 18:33:42 ---> 34fe92ff13c7 18:33:42 [Warning] One or more build-args [ARCH] were not consumed 18:33:42 Successfully built 34fe92ff13c7 18:33:42 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 18:33:42 provisioning config files... 18:33:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1495534260971270317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:33:43 ---> docker-login.sh 18:33:43 nexus3.edgexfoundry.org:10001 18:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:43 Configure a credential helper to remove this warning. See 18:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:43 18:33:43 Login Succeeded 18:33:43 nexus3.edgexfoundry.org:10002 18:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:43 Configure a credential helper to remove this warning. See 18:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:43 18:33:43 Login Succeeded 18:33:43 nexus3.edgexfoundry.org:10003 18:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:43 Configure a credential helper to remove this warning. See 18:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:43 18:33:43 Login Succeeded 18:33:43 nexus3.edgexfoundry.org:10004 18:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:43 Configure a credential helper to remove this warning. See 18:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:43 18:33:43 Login Succeeded 18:33:43 docker.io 18:33:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:43 Configure a credential helper to remove this warning. See 18:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:43 18:33:43 Login Succeeded 18:33:43 ---> docker-login.sh ends [Pipeline] } 18:33:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:33:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:33:43 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 18:33:43 916f6b3a329f57eb75e5307752edff55e76e784f 18:33:43 latest 18:33:43 3.0.0-dev.7 18:33:43 916f6b3a329f57eb75e5307752edff55e76e784f-3.0.0-dev.7 18:33:43 main 18:33:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:43 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:916f6b3a329f57eb75e5307752edff55e76e784f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:916f6b3a329f57eb75e5307752edff55e76e784f 18:33:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:33:44 354f42863467: Preparing 18:33:44 07e9453a9102: Preparing 18:33:44 df6921821a58: Preparing 18:33:44 a166723e778d: Preparing 18:33:44 e5e13b0c77cb: Preparing 18:33:44 e5e13b0c77cb: Layer already exists 18:33:44 a166723e778d: Pushed 18:33:44 07e9453a9102: Pushed 18:33:44 354f42863467: Pushed 18:33:47 df6921821a58: Pushed 18:33:47 916f6b3a329f57eb75e5307752edff55e76e784f: digest: sha256:aaf7a4bc7a6e0b5c55ba5cdf4e712fe29e58964b9f6a1eedf975a45e9a1e5379 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:47 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:33:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:33:48 354f42863467: Preparing 18:33:48 07e9453a9102: Preparing 18:33:48 df6921821a58: Preparing 18:33:48 a166723e778d: Preparing 18:33:48 e5e13b0c77cb: Preparing 18:33:48 07e9453a9102: Layer already exists 18:33:48 a166723e778d: Layer already exists 18:33:48 354f42863467: Layer already exists 18:33:48 e5e13b0c77cb: Layer already exists 18:33:48 df6921821a58: Layer already exists 18:33:48 latest: digest: sha256:aaf7a4bc7a6e0b5c55ba5cdf4e712fe29e58964b9f6a1eedf975a45e9a1e5379 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:48 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.7 18:33:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:33:48 354f42863467: Preparing 18:33:48 07e9453a9102: Preparing 18:33:48 df6921821a58: Preparing 18:33:48 a166723e778d: Preparing 18:33:48 e5e13b0c77cb: Preparing 18:33:48 a166723e778d: Layer already exists 18:33:48 354f42863467: Layer already exists 18:33:48 df6921821a58: Layer already exists 18:33:48 e5e13b0c77cb: Layer already exists 18:33:48 07e9453a9102: Layer already exists 18:33:48 3.0.0-dev.7: digest: sha256:aaf7a4bc7a6e0b5c55ba5cdf4e712fe29e58964b9f6a1eedf975a45e9a1e5379 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:49 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:916f6b3a329f57eb75e5307752edff55e76e784f-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:916f6b3a329f57eb75e5307752edff55e76e784f-3.0.0-dev.7 18:33:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:33:49 354f42863467: Preparing 18:33:49 07e9453a9102: Preparing 18:33:49 df6921821a58: Preparing 18:33:49 a166723e778d: Preparing 18:33:49 e5e13b0c77cb: Preparing 18:33:49 354f42863467: Layer already exists 18:33:49 e5e13b0c77cb: Layer already exists 18:33:49 df6921821a58: Layer already exists 18:33:49 a166723e778d: Layer already exists 18:33:49 07e9453a9102: Layer already exists 18:33:49 916f6b3a329f57eb75e5307752edff55e76e784f-3.0.0-dev.7: digest: sha256:aaf7a4bc7a6e0b5c55ba5cdf4e712fe29e58964b9f6a1eedf975a45e9a1e5379 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:49 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:50 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 18:33:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:33:50 354f42863467: Preparing 18:33:50 07e9453a9102: Preparing 18:33:50 df6921821a58: Preparing 18:33:50 a166723e778d: Preparing 18:33:50 e5e13b0c77cb: Preparing 18:33:50 df6921821a58: Layer already exists 18:33:50 e5e13b0c77cb: Layer already exists 18:33:50 a166723e778d: Layer already exists 18:33:50 354f42863467: Layer already exists 18:33:50 07e9453a9102: Layer already exists 18:33:50 main: digest: sha256:aaf7a4bc7a6e0b5c55ba5cdf4e712fe29e58964b9f6a1eedf975a45e9a1e5379 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:33:50 ===================================================== [Pipeline] echo 18:33:50 taggedImages: 18:33:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera:916f6b3a329f57eb75e5307752edff55e76e784f 18:33:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:33:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.7 18:33:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera:916f6b3a329f57eb75e5307752edff55e76e784f-3.0.0-dev.7 18:33:50 - 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 18:33:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:33:50 18:33:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:33:50 latest: Pulling from edgex-lftools-log-publisher 18:33:50 5eb5b503b376: Pulling fs layer 18:33:50 5c69ac0246d0: Pulling fs layer 18:33:50 ec43610c2a17: Pulling fs layer 18:33:50 3a2ae6a8a46f: Pulling fs layer 18:33:50 33b1e0a273af: Pulling fs layer 18:33:50 5d3b04190fa2: Pulling fs layer 18:33:50 2f39f015ded8: Pulling fs layer 18:33:50 3a2ae6a8a46f: Waiting 18:33:50 33b1e0a273af: Waiting 18:33:50 5d3b04190fa2: Waiting 18:33:50 2f39f015ded8: Waiting 18:33:50 5c69ac0246d0: Verifying Checksum 18:33:50 5c69ac0246d0: Download complete 18:33:50 3a2ae6a8a46f: Verifying Checksum 18:33:50 3a2ae6a8a46f: Download complete 18:33:51 33b1e0a273af: Verifying Checksum 18:33:51 33b1e0a273af: Download complete 18:33:51 5d3b04190fa2: Verifying Checksum 18:33:51 5d3b04190fa2: Download complete 18:33:51 ec43610c2a17: Verifying Checksum 18:33:51 ec43610c2a17: Download complete 18:33:51 5eb5b503b376: Verifying Checksum 18:33:51 5eb5b503b376: Download complete 18:33:51 2f39f015ded8: Download complete 18:33:52 5eb5b503b376: Pull complete 18:33:52 5c69ac0246d0: Pull complete 18:33:53 ec43610c2a17: Pull complete 18:33:53 3a2ae6a8a46f: Pull complete 18:33:53 33b1e0a273af: Pull complete 18:33:53 5d3b04190fa2: Pull complete 18:33:58 2f39f015ded8: Pull complete 18:33:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:33:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:33:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:33:58 prd-ubuntu20.04-docker-8c-8g-1916 does not seem to be running inside a container 18:33:58 $ 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 18:34:02 $ docker top c750d171dc1c7c71218d3f2f7ab06ec3bb91b06c2fdea292deb5e94ff29e9cbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:34:02 ---> job-cost.sh 18:34:02 lf-activate-venv: SKIPPING 18:34:02 INFO: No Stack... 18:34:02 INFO: Retrieving Pricing Info for: v3-standard-8 18:34:02 INFO: Archiving Costs [Pipeline] sh 18:34:03 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 18:34:03 + cut -d, -f6 [Pipeline] lock 18:34:03 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-96-stack-cost] 18:34:03 Resource [jenkins-edgexfoundry-device-onvif-camera-main-96-stack-cost] did not exist. Created. 18:34:03 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:34:03 + echo total: 0.2199999988079071 [Pipeline] stash 18:34:03 Stashed 1 file(s) [Pipeline] } 18:34:03 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-96-stack-cost] [Pipeline] // lock [Pipeline] } 18:34:03 $ docker stop --time=1 c750d171dc1c7c71218d3f2f7ab06ec3bb91b06c2fdea292deb5e94ff29e9cbd 18:34:04 $ docker rm -f --volumes c750d171dc1c7c71218d3f2f7ab06ec3bb91b06c2fdea292deb5e94ff29e9cbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:34:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1918 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 18:34:05 Running in /w/workspace/device-onvif-camera/96 [Pipeline] { [Pipeline] checkout 18:34:05 The recommended git tool is: git 18:34:12 using credential edgex-jenkins-ssh 18:34:12 Cloning the remote Git repository 18:34:12 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:34:12 > git init /w/workspace/device-onvif-camera/96 # timeout=10 18:34:12 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:34:12 > git --version # timeout=10 18:34:12 > git --version # 'git version 2.25.1' 18:34:12 using GIT_SSH to set credentials SSH Credentials for GitHub 18:34:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:34:17 Avoid second fetch 18:34:17 Checking out Revision 916f6b3a329f57eb75e5307752edff55e76e784f (main) 18:34:16 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:34:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:34:17 > git config core.sparsecheckout # timeout=10 18:34:17 > git checkout -f 916f6b3a329f57eb75e5307752edff55e76e784f # timeout=10 18:34:18 Commit message: "refactor!: Rework code for refactored MessageBus Configuration (#210)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:34:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:34:19 % Total % Received % Xferd Average Speed Time Time Time Current 18:34:19 Dload Upload Total Spent Left Speed 18:34:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 18:34:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:34:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:34:20 + sudo tee /etc/docker/daemon.new 18:34:20 { 18:34:20 "registry-mirrors": [ 18:34:20 "https://nexus3.edgexfoundry.org:10001" 18:34:20 ], 18:34:20 "bip": "10.250.0.254/24", 18:34:20 "hosts": [ 18:34:20 "tcp://0.0.0.0:5555", 18:34:20 "unix:///var/run/docker.sock" 18:34:20 ], 18:34:20 "mtu": 1458, 18:34:20 "selinux-enabled": true, 18:34:20 "seccomp-profile": "/etc/docker/seccomp.json" 18:34:20 } [Pipeline] sh 18:34:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:34:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:34:39 provisioning config files... 18:34:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/96@tmp/config4593685872613611279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:34:39 ---> docker-login.sh 18:34:39 nexus3.edgexfoundry.org:10001 18:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:40 Configure a credential helper to remove this warning. See 18:34:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:40 18:34:40 Login Succeeded 18:34:40 nexus3.edgexfoundry.org:10002 18:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:40 Configure a credential helper to remove this warning. See 18:34:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:40 18:34:40 Login Succeeded 18:34:40 nexus3.edgexfoundry.org:10003 18:34:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:41 Configure a credential helper to remove this warning. See 18:34:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:41 18:34:41 Login Succeeded 18:34:41 nexus3.edgexfoundry.org:10004 18:34:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:41 Configure a credential helper to remove this warning. See 18:34:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:41 18:34:41 Login Succeeded 18:34:41 docker.io 18:34:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:42 Configure a credential helper to remove this warning. See 18:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:42 18:34:42 Login Succeeded 18:34:42 ---> docker-login.sh ends [Pipeline] } 18:34:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:34:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:34:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:34:42 ========================================================= 18:34:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:34:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:34:43 Sending build context to Docker daemon 20.51MB 18:34:43 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:34:43 Step 2/13 : FROM ${BASE} AS builder 18:34:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:34:43 9b18e9b68314: Pulling fs layer 18:34:43 35d82f9e3411: Pulling fs layer 18:34:43 e16973657156: Pulling fs layer 18:34:43 fc693d55d65f: Pulling fs layer 18:34:43 7e9fc2657dce: Pulling fs layer 18:34:43 dda99020689f: Pulling fs layer 18:34:43 db1c61fa0a46: Pulling fs layer 18:34:43 891c053d2c06: Pulling fs layer 18:34:43 fc693d55d65f: Waiting 18:34:43 7e9fc2657dce: Waiting 18:34:43 dda99020689f: Waiting 18:34:43 db1c61fa0a46: Waiting 18:34:43 891c053d2c06: Waiting 18:34:43 e16973657156: Download complete 18:34:43 35d82f9e3411: Download complete 18:34:43 7e9fc2657dce: Verifying Checksum 18:34:43 7e9fc2657dce: Download complete 18:34:43 dda99020689f: Verifying Checksum 18:34:43 dda99020689f: Download complete 18:34:43 9b18e9b68314: Download complete 18:34:44 9b18e9b68314: Pull complete 18:34:44 891c053d2c06: Verifying Checksum 18:34:44 891c053d2c06: Download complete 18:34:45 35d82f9e3411: Pull complete 18:34:45 e16973657156: Pull complete 18:34:46 db1c61fa0a46: Verifying Checksum 18:34:46 db1c61fa0a46: Download complete 18:34:47 fc693d55d65f: Verifying Checksum 18:34:47 fc693d55d65f: Download complete 18:34:59 fc693d55d65f: Pull complete 18:34:59 7e9fc2657dce: Pull complete 18:35:00 dda99020689f: Pull complete 18:35:06 db1c61fa0a46: Pull complete 18:35:08 891c053d2c06: Pull complete 18:35:08 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:35:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:35:08 ---> f96f9c87975a 18:35:08 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:35:11 ---> Running in 2ada7640259c 18:35:11 Removing intermediate container 2ada7640259c 18:35:11 ---> 7e8aceeed401 18:35:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:35:11 ---> Running in 9a4d00ed9658 18:35:11 Removing intermediate container 9a4d00ed9658 18:35:11 ---> 4529e392ed99 18:35:11 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:35:11 ---> Running in 6a4a06c78b01 18:35:12 Removing intermediate container 6a4a06c78b01 18:35:12 ---> ee3f0a203c2e 18:35:12 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:35:12 ---> Running in db0e953b297f 18:35:12 Removing intermediate container db0e953b297f 18:35:12 ---> 097c6965943f 18:35:12 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:35:12 ---> Running in f052f11f5fba 18:35:13 Removing intermediate container f052f11f5fba 18:35:13 ---> 605150849aa0 18:35:13 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:35:13 ---> Running in 3e30085c5a96 18:35:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:35:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:35:16 OK: 221 MiB in 51 packages 18:35:17 Removing intermediate container 3e30085c5a96 18:35:17 ---> e7dba19b6c9d 18:35:17 Step 9/13 : WORKDIR /device-onvif-camera 18:35:17 ---> Running in 07a7f2063926 18:35:17 Removing intermediate container 07a7f2063926 18:35:17 ---> d185ba641cf5 18:35:17 Step 10/13 : COPY go.mod vendor* ./ 18:35:18 ---> fe83843057a7 18:35:18 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:35:18 ---> Running in 4bcc58448699 18:36:15 Removing intermediate container 4bcc58448699 18:36:15 ---> d72674690c9e 18:36:15 Step 12/13 : COPY . . 18:36:16 ---> bc9b446ad33e 18:36:16 Step 13/13 : RUN ${MAKE} 18:36:16 ---> Running in fd826ae7d716 18:36:17 noop 18:36:18 Removing intermediate container fd826ae7d716 18:36:18 ---> af01f4e2966a 18:36:18 Successfully built af01f4e2966a 18:36:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:19 + docker inspect -f . ci-base-image-arm64 18:36:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:19 prd-ubuntu20.04-docker-arm64-4c-16g-1918 does not seem to be running inside a container 18:36:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/96 -v /w/workspace/device-onvif-camera/96:/w/workspace/device-onvif-camera/96:rw,z -v /w/workspace/device-onvif-camera/96@tmp:/w/workspace/device-onvif-camera/96@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 18:36:20 $ docker top e88d6226d3a343b31ad8dc8027bd29e9366a42e84d032172e4f09a365462f9c2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:21 + go version 18:36:21 go version go1.18.7 linux/arm64 [Pipeline] } 18:36:21 $ docker stop --time=1 e88d6226d3a343b31ad8dc8027bd29e9366a42e84d032172e4f09a365462f9c2 18:36:23 $ docker rm -f --volumes e88d6226d3a343b31ad8dc8027bd29e9366a42e84d032172e4f09a365462f9c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:24 + docker inspect -f . ci-base-image-arm64 18:36:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:24 prd-ubuntu20.04-docker-arm64-4c-16g-1918 does not seem to be running inside a container 18:36:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/96 -v /w/workspace/device-onvif-camera/96:/w/workspace/device-onvif-camera/96:rw,z -v /w/workspace/device-onvif-camera/96@tmp:/w/workspace/device-onvif-camera/96@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 18:36:25 $ docker top 260ecd7c88bc7c753f0da5ca0d69794c6fff7312a1fde64c7e39e62e61a03c53 -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:26 + git config --global --add safe.directory /w/workspace/device-onvif-camera/96 [Pipeline] fileExists [Pipeline] sh 18:36:27 + make test 18:36:27 go test ./... -coverprofile=coverage.out ./... 18:36:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:38:21 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:38:26 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.218s coverage: 29.3% of statements 18:38:26 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:38:44 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.441s coverage: 86.5% of statements 18:38:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:38:44 go vet ./... 18:39:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:39:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:39:23 ./bin/test-attribution-txt.sh [Pipeline] echo 18:39:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:39:23 $ docker stop --time=1 260ecd7c88bc7c753f0da5ca0d69794c6fff7312a1fde64c7e39e62e61a03c53 18:39:26 $ docker rm -f --volumes 260ecd7c88bc7c753f0da5ca0d69794c6fff7312a1fde64c7e39e62e61a03c53 [Pipeline] // withDockerContainer [Pipeline] sh 18:39:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:39:27 Warning: overwriting stash ‘coverage-report’ 18:39:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:39:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:39:28 + ls -al . 18:39:28 total 244 18:39:28 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 18:36 . 18:39:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:34 .. 18:39:28 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:34 .git 18:39:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:34 .github 18:39:28 -rw-rw-r-- 1 jenkins jenkins 496 Jan 11 18:34 .gitignore 18:39:28 -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 18:34 .golangci.yml 18:39:28 -rw-rw-r-- 1 jenkins jenkins 9638 Jan 11 18:34 Attribution.txt 18:39:28 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 11 18:34 CHANGELOG.md 18:39:28 -rw-rw-r-- 1 jenkins jenkins 1574 Jan 11 18:34 Dockerfile 18:39:28 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 18:34 GOVERNANCE.md 18:39:28 -rw-rw-r-- 1 jenkins jenkins 734 Jan 11 18:34 Jenkinsfile 18:39:28 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 11 18:34 LICENSE 18:39:28 -rw-rw-r-- 1 jenkins jenkins 2577 Jan 11 18:34 Makefile 18:39:28 -rw-rw-r-- 1 jenkins jenkins 625 Jan 11 18:34 OWNERS.md 18:39:28 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 11 18:34 README.md 18:39:28 -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 18:31 VERSION 18:39:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:34 bin 18:39:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:34 cmd 18:39:28 -rw-r--r-- 1 jenkins jenkins 79184 Jan 11 18:38 coverage.out 18:39:28 drwxrwxr-x 6 jenkins jenkins 4096 Jan 11 18:34 doc 18:39:28 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 11 18:34 go.mod 18:39:28 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 11 18:34 go.sum 18:39:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:34 internal 18:39:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:34 snap 18:39:28 -rw-rw-r-- 1 jenkins jenkins 236 Jan 11 18:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:28 + 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=916f6b3a329f57eb75e5307752edff55e76e784f --label arch=arm64 --label version=3.0.0-dev.7 . 18:39:30 Sending build context to Docker daemon 20.59MB 18:39:30 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:39:30 Step 2/26 : FROM ${BASE} AS builder 18:39:30 ---> af01f4e2966a 18:39:30 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:39:30 ---> Running in f2df0fd430cd 18:39:30 Removing intermediate container f2df0fd430cd 18:39:30 ---> 44f0bf17f7fc 18:39:30 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:39:30 ---> Running in dc41ab3b79c3 18:39:31 Removing intermediate container dc41ab3b79c3 18:39:31 ---> e7d0d27fffbf 18:39:31 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:39:31 ---> Running in 2ff143b9f2b8 18:39:32 Removing intermediate container 2ff143b9f2b8 18:39:32 ---> a2ddb4e68d58 18:39:32 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:39:32 ---> Running in 3b2819b182c9 18:39:32 Removing intermediate container 3b2819b182c9 18:39:32 ---> dc704dda1c23 18:39:32 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:39:32 ---> Running in dc3cc1134a27 18:39:32 Removing intermediate container dc3cc1134a27 18:39:32 ---> cfcfd27e3496 18:39:32 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:33 ---> Running in 55559d2279ac 18:39:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:39:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:39:36 OK: 221 MiB in 51 packages 18:39:36 Removing intermediate container 55559d2279ac 18:39:36 ---> b643532bf0f4 18:39:36 Step 9/26 : WORKDIR /device-onvif-camera 18:39:37 ---> Running in d88388c6dadc 18:39:37 Removing intermediate container d88388c6dadc 18:39:37 ---> ac873931d9c0 18:39:37 Step 10/26 : COPY go.mod vendor* ./ 18:39:38 ---> 004986a3e6c8 18:39:38 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:39:38 ---> Running in 5e58103517de 18:39:40 Removing intermediate container 5e58103517de 18:39:40 ---> 071eafe8dc76 18:39:40 Step 12/26 : COPY . . 18:39:42 ---> e3be5db948a7 18:39:42 Step 13/26 : RUN ${MAKE} 18:39:42 ---> Running in 547ea39aa827 18:39:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:42:20 Removing intermediate container 547ea39aa827 18:42:20 ---> c104b6b0b39b 18:42:20 Step 14/26 : FROM alpine:3.16 18:42:20 3.16: Pulling from library/alpine 18:42:20 6875df1f5354: Pulling fs layer 18:42:20 6875df1f5354: Download complete 18:42:20 6875df1f5354: Pull complete 18:42:20 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:42:20 Status: Downloaded newer image for alpine:3.16 18:42:20 ---> 2b4661558fb8 18:42:20 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:42:20 ---> Running in 88172c927c41 18:42:20 Removing intermediate container 88172c927c41 18:42:20 ---> 2ebc473705f9 18:42:20 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:42:20 ---> Running in c012cbbbf393 18:42:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:42:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:42:20 (1/1) Installing dumb-init (1.2.5-r1) 18:42:20 Executing busybox-1.35.0-r17.trigger 18:42:20 OK: 5 MiB in 15 packages 18:42:20 Removing intermediate container c012cbbbf393 18:42:20 ---> 4fb03c34ca49 18:42:20 Step 17/26 : WORKDIR / 18:42:20 ---> Running in e6e3f67220fe 18:42:20 Removing intermediate container e6e3f67220fe 18:42:20 ---> 2202c217bcb5 18:42:20 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:42:20 ---> 01e1f7b32c70 18:42:20 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:42:20 ---> 274c89616de0 18:42:20 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:42:20 ---> 0c3b527b8fa6 18:42:20 Step 21/26 : EXPOSE 59984 18:42:20 ---> Running in bf10953afae0 18:42:20 Removing intermediate container bf10953afae0 18:42:20 ---> b6ed78cb2955 18:42:20 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:42:20 ---> Running in 71e5da69700a 18:42:20 Removing intermediate container 71e5da69700a 18:42:20 ---> 67fd48c91c04 18:42:20 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:42:20 ---> Running in ce90da617842 18:42:20 Removing intermediate container ce90da617842 18:42:20 ---> e5ce6860f905 18:42:20 Step 24/26 : LABEL arch=arm64 18:42:20 ---> Running in bcfe0c39a55e 18:42:20 Removing intermediate container bcfe0c39a55e 18:42:20 ---> 2df0980b4385 18:42:20 Step 25/26 : LABEL git_sha=916f6b3a329f57eb75e5307752edff55e76e784f 18:42:20 ---> Running in 5e51db4beb19 18:42:20 Removing intermediate container 5e51db4beb19 18:42:20 ---> beeac0bcede1 18:42:20 Step 26/26 : LABEL version=3.0.0-dev.7 18:42:20 ---> Running in 7e1618b5a78f 18:42:20 Removing intermediate container 7e1618b5a78f 18:42:20 ---> d1f942558a2d 18:42:20 [Warning] One or more build-args [ARCH] were not consumed 18:42:20 Successfully built d1f942558a2d 18:42:20 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:20 provisioning config files... 18:42:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/96@tmp/config10829179326231685354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:20 ---> docker-login.sh 18:42:20 nexus3.edgexfoundry.org:10001 18:42:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:20 Configure a credential helper to remove this warning. See 18:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:20 18:42:20 Login Succeeded 18:42:20 nexus3.edgexfoundry.org:10002 18:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:21 Configure a credential helper to remove this warning. See 18:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:21 18:42:21 Login Succeeded 18:42:21 nexus3.edgexfoundry.org:10003 18:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:21 Configure a credential helper to remove this warning. See 18:42:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:21 18:42:21 Login Succeeded 18:42:21 nexus3.edgexfoundry.org:10004 18:42:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:22 Configure a credential helper to remove this warning. See 18:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:22 18:42:22 Login Succeeded 18:42:22 docker.io 18:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:22 Configure a credential helper to remove this warning. See 18:42:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:22 18:42:22 Login Succeeded 18:42:22 ---> docker-login.sh ends [Pipeline] } 18:42:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:42:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:22 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 18:42:22 916f6b3a329f57eb75e5307752edff55e76e784f 18:42:22 latest 18:42:22 3.0.0-dev.7 18:42:22 916f6b3a329f57eb75e5307752edff55e76e784f-3.0.0-dev.7 18:42:22 main 18:42:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:23 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:916f6b3a329f57eb75e5307752edff55e76e784f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:916f6b3a329f57eb75e5307752edff55e76e784f 18:42:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:42:23 e41581391e97: Preparing 18:42:23 fc8d22636dcc: Preparing 18:42:23 1d97b488cc78: Preparing 18:42:23 6a2826540400: Preparing 18:42:23 17bec77d7fdc: Preparing 18:42:23 17bec77d7fdc: Layer already exists 18:42:23 e41581391e97: Pushed 18:42:23 fc8d22636dcc: Pushed 18:42:23 6a2826540400: Pushed 18:42:29 1d97b488cc78: Pushed 18:42:29 916f6b3a329f57eb75e5307752edff55e76e784f: digest: sha256:7dad2a6b9d6862ee9f13083d0a2ce30d68f3c67ce00b370b5328a3bca9020bee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:32 + 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 18:42:32 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:42:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:42:32 e41581391e97: Preparing 18:42:32 fc8d22636dcc: Preparing 18:42:32 1d97b488cc78: Preparing 18:42:32 6a2826540400: Preparing 18:42:32 17bec77d7fdc: Preparing 18:42:32 fc8d22636dcc: Layer already exists 18:42:32 17bec77d7fdc: Layer already exists 18:42:32 1d97b488cc78: Layer already exists 18:42:32 e41581391e97: Layer already exists 18:42:32 6a2826540400: Layer already exists 18:42:33 latest: digest: sha256:7dad2a6b9d6862ee9f13083d0a2ce30d68f3c67ce00b370b5328a3bca9020bee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:33 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.7 18:42:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:42:33 e41581391e97: Preparing 18:42:33 fc8d22636dcc: Preparing 18:42:33 1d97b488cc78: Preparing 18:42:33 6a2826540400: Preparing 18:42:33 17bec77d7fdc: Preparing 18:42:33 17bec77d7fdc: Layer already exists 18:42:33 6a2826540400: Layer already exists 18:42:33 fc8d22636dcc: Layer already exists 18:42:33 e41581391e97: Layer already exists 18:42:33 1d97b488cc78: Layer already exists 18:42:34 3.0.0-dev.7: digest: sha256:7dad2a6b9d6862ee9f13083d0a2ce30d68f3c67ce00b370b5328a3bca9020bee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:34 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:916f6b3a329f57eb75e5307752edff55e76e784f-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:916f6b3a329f57eb75e5307752edff55e76e784f-3.0.0-dev.7 18:42:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:42:34 e41581391e97: Preparing 18:42:34 fc8d22636dcc: Preparing 18:42:34 1d97b488cc78: Preparing 18:42:34 6a2826540400: Preparing 18:42:34 17bec77d7fdc: Preparing 18:42:34 e41581391e97: Layer already exists 18:42:34 1d97b488cc78: Layer already exists 18:42:34 fc8d22636dcc: Layer already exists 18:42:34 6a2826540400: Layer already exists 18:42:34 17bec77d7fdc: Layer already exists 18:42:34 916f6b3a329f57eb75e5307752edff55e76e784f-3.0.0-dev.7: digest: sha256:7dad2a6b9d6862ee9f13083d0a2ce30d68f3c67ce00b370b5328a3bca9020bee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:35 + 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 18:42:35 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 18:42:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:42:35 e41581391e97: Preparing 18:42:35 fc8d22636dcc: Preparing 18:42:35 1d97b488cc78: Preparing 18:42:35 6a2826540400: Preparing 18:42:35 17bec77d7fdc: Preparing 18:42:35 e41581391e97: Layer already exists 18:42:35 17bec77d7fdc: Layer already exists 18:42:35 6a2826540400: Layer already exists 18:42:35 1d97b488cc78: Layer already exists 18:42:35 fc8d22636dcc: Layer already exists 18:42:35 main: digest: sha256:7dad2a6b9d6862ee9f13083d0a2ce30d68f3c67ce00b370b5328a3bca9020bee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:42:36 ===================================================== [Pipeline] echo 18:42:36 taggedImages: 18:42:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:916f6b3a329f57eb75e5307752edff55e76e784f 18:42:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:42:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.7 18:42:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:916f6b3a329f57eb75e5307752edff55e76e784f-3.0.0-dev.7 18:42:36 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:42:36 18:42:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:42:36 arm64: Pulling from edgex-lftools-log-publisher 18:42:36 8998bd30e6a1: Pulling fs layer 18:42:36 04944245beec: Pulling fs layer 18:42:36 699f458cf7ca: Pulling fs layer 18:42:36 765212b225bb: Pulling fs layer 18:42:36 f23df028b6ca: Pulling fs layer 18:42:36 d65c8cfc05b1: Pulling fs layer 18:42:36 2437ff75d9bd: Pulling fs layer 18:42:36 f23df028b6ca: Waiting 18:42:36 d65c8cfc05b1: Waiting 18:42:36 765212b225bb: Waiting 18:42:36 2437ff75d9bd: Waiting 18:42:37 04944245beec: Verifying Checksum 18:42:37 04944245beec: Download complete 18:42:37 765212b225bb: Download complete 18:42:37 f23df028b6ca: Verifying Checksum 18:42:37 f23df028b6ca: Download complete 18:42:37 d65c8cfc05b1: Verifying Checksum 18:42:37 d65c8cfc05b1: Download complete 18:42:37 699f458cf7ca: Download complete 18:42:37 8998bd30e6a1: Download complete 18:42:40 2437ff75d9bd: Verifying Checksum 18:42:40 2437ff75d9bd: Download complete 18:42:41 8998bd30e6a1: Pull complete 18:42:42 04944245beec: Pull complete 18:42:43 699f458cf7ca: Pull complete 18:42:44 765212b225bb: Pull complete 18:42:44 f23df028b6ca: Pull complete 18:42:45 d65c8cfc05b1: Pull complete 18:43:00 2437ff75d9bd: Pull complete 18:43:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:43:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:43:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:00 prd-ubuntu20.04-docker-arm64-4c-16g-1918 does not seem to be running inside a container 18:43:00 $ 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/96 -v /w/workspace/device-onvif-camera/96:/w/workspace/device-onvif-camera/96:rw,z -v /w/workspace/device-onvif-camera/96@tmp:/w/workspace/device-onvif-camera/96@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 18:43:03 $ docker top 8b254e6c1426bb14bd6e6ecfb1e284faddb15420e7d4dd6fe758948ab3483820 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:04 ---> job-cost.sh 18:43:04 lf-activate-venv: SKIPPING 18:43:04 INFO: No Stack... 18:43:04 INFO: Retrieving Pricing Info for: v3-standard-4 18:43:05 INFO: Archiving Costs [Pipeline] sh 18:43:06 + cut -d, -f6 18:43:06 + cat /w/workspace/device-onvif-camera/96/archives/cost.csv [Pipeline] lock 18:43:06 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-96-stack-cost] 18:43:06 Resource [jenkins-edgexfoundry-device-onvif-camera-main-96-stack-cost] did not exist. Created. 18:43:06 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:43:06 /w/workspace/device-onvif-camera/96@tmp/durable-f4c0bf1c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:43:07 + echo total: 0.10999999940395355 [Pipeline] stash 18:43:07 Warning: overwriting stash ‘stack-cost’ 18:43:07 Stashed 1 file(s) [Pipeline] } 18:43:07 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-96-stack-cost] [Pipeline] // lock [Pipeline] } 18:43:07 $ docker stop --time=1 8b254e6c1426bb14bd6e6ecfb1e284faddb15420e7d4dd6fe758948ab3483820 18:43:09 $ docker rm -f --volumes 8b254e6c1426bb14bd6e6ecfb1e284faddb15420e7d4dd6fe758948ab3483820 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:43:09 provisioning config files... 18:43:09 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4416533363235660986tmp [Pipeline] { [Pipeline] sh 18:43:10 + set +x 18:43:10 + curl -s https://codecov.io/bash 18:43:10 + bash -s -- 18:43:10 18:43:10 _____ _ 18:43:10 / ____| | | 18:43:10 | | ___ __| | ___ ___ _____ __ 18:43:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:43:10 | |___| (_) | (_| | __/ (_| (_) \ V / 18:43:10 \_____\___/ \__,_|\___|\___\___/ \_/ 18:43:10 Bash-1.0.6 18:43:10 18:43:10 18:43:10 ==> git version 2.25.1 found 18:43:10 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:43:10 Release-Date: 2020-01-08 18:43:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:43:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:43:10 ==> Jenkins CI detected. 18:43:10 current dir:  /w/workspace/foundry_device-onvif-camera_main 18:43:10 project root: . 18:43:10 --> token set from env 18:43:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:43:10 ==> Running gcov in . (disable via -X gcov) 18:43:10 ==> Python coveragepy not found 18:43:10 ==> Searching for coverage reports in: 18:43:10 + . 18:43:10 -> Found 1 reports 18:43:10 ==> Detecting git/mercurial file structure 18:43:10 ==> Reading reports 18:43:10 + ./coverage.out bytes=79184 18:43:10 ==> Appending adjustments 18:43:10 https://docs.codecov.io/docs/fixing-reports 18:43:10 + Found adjustments 18:43:10 ==> Gzipping contents 18:43:10 12K /tmp/codecov.sqUiSn.gz 18:43:10 ==> Uploading reports 18:43:10 url: https://codecov.io 18:43:10 query: branch=main&commit=916f6b3a329f57eb75e5307752edff55e76e784f&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:43:10 -> Pinging Codecov 18:43:10 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=916f6b3a329f57eb75e5307752edff55e76e784f&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:43:10 -> Uploading to 18:43:10 https://storage.googleapis.com/codecov/v4/raw/2023-01-11/F29A59C45E3A92E06B3E522C9905F8EF/916f6b3a329f57eb75e5307752edff55e76e784f/fbe1232c-eeb1-4de5-a997-c6b99834c1ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T184310Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=02080ddc6c659e14308bf6eaef2c6caa1b9d119149c090d1a7a4a2d599440e9e 18:43:10 % Total % Received % Xferd Average Speed Time Time Time Current 18:43:10 Dload Upload Total Spent Left Speed 18:43:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10931 0 0 100 10931 0 44076 --:--:-- --:--:-- --:--:-- 44076 18:43:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/916f6b3a329f57eb75e5307752edff55e76e784f [Pipeline] } 18:43:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:43:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:43:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:43:11 18:43:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:43:11 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:43:11 df9b9388f04a: Pulling fs layer 18:43:11 52dc419b0ee2: Pulling fs layer 18:43:11 25bc292e5bac: Pulling fs layer 18:43:11 114826534d7a: Pulling fs layer 18:43:11 4657fd5d0bcf: Pulling fs layer 18:43:11 6ad1cebc031e: Pulling fs layer 18:43:11 8a3aa393b2d8: Pulling fs layer 18:43:11 114826534d7a: Waiting 18:43:11 4657fd5d0bcf: Waiting 18:43:11 6ad1cebc031e: Waiting 18:43:11 8a3aa393b2d8: Waiting 18:43:11 25bc292e5bac: Verifying Checksum 18:43:11 25bc292e5bac: Download complete 18:43:11 52dc419b0ee2: Verifying Checksum 18:43:11 52dc419b0ee2: Download complete 18:43:11 4657fd5d0bcf: Verifying Checksum 18:43:11 4657fd5d0bcf: Download complete 18:43:11 df9b9388f04a: Verifying Checksum 18:43:11 df9b9388f04a: Download complete 18:43:11 df9b9388f04a: Pull complete 18:43:11 6ad1cebc031e: Verifying Checksum 18:43:11 6ad1cebc031e: Download complete 18:43:11 52dc419b0ee2: Pull complete 18:43:11 25bc292e5bac: Pull complete 18:43:12 114826534d7a: Verifying Checksum 18:43:12 114826534d7a: Download complete 18:43:12 8a3aa393b2d8: Verifying Checksum 18:43:12 8a3aa393b2d8: Download complete 18:43:17 114826534d7a: Pull complete 18:43:17 4657fd5d0bcf: Pull complete 18:43:17 6ad1cebc031e: Pull complete 18:43:20 8a3aa393b2d8: Pull complete 18:43:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:43:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:43:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:20 prd-ubuntu20.04-docker-8c-8g-1916 does not seem to be running inside a container 18:43:20 $ 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 18:43:24 $ docker top f1ebbb17441351661e552a4789494f947c9d1d35985062036a1012b78b5109f0 -eo pid,comm [Pipeline] { [Pipeline] echo 18:43:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 18:43:24 + set -o pipefail 18:43:24 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 18:43:29 18:43:29 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 18:43:29 18:43:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/f0e99610-fd4d-4bf8-898c-5cf38eb56359 18:43:29 18:43:29 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 18:43:29 18:43:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:43:29 18:43:29 18:43:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:43:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:43:29 More details here: https://snyk.co/ue1NS [Pipeline] } 18:43:30 $ docker stop --time=1 f1ebbb17441351661e552a4789494f947c9d1d35985062036a1012b78b5109f0 18:43:33 $ docker rm -f --volumes f1ebbb17441351661e552a4789494f947c9d1d35985062036a1012b78b5109f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 18:43:34 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:43:34 provisioning config files... 18:43:34 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17416153405244964578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:34 --> edgex-publish-swagger.sh 18:43:34 === Publish doc/openapi/v2 API === 18:43:34 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 18:43:34 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 18:43:34 % Total % Received % Xferd Average Speed Time Time Time Current 18:43:34 Dload Upload Total Spent Left Speed 18:43:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 100 38 100 469k 68 849k --:--:-- --:--:-- --:--:-- 849k 18:43:34 {"code":403,"message":"Access Denied"} 18:43:34 [Pipeline] } 18:43:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:43:35 + git log --format=format:%s -1 916f6b3a329f57eb75e5307752edff55e76e784f [Pipeline] sh 18:43:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:43:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:36 prd-ubuntu20.04-docker-8c-8g-1916 does not seem to be running inside a container 18:43:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:43:36 $ docker top 7924c272f338f8fbbee750734e911b587686c79ad0142094abb59f77d757777c -eo pid,comm 18:43:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:43:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:43:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:36 [ssh-agent] Looking for ssh-agent implementation... 18:43:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:36 $ docker exec 7924c272f338f8fbbee750734e911b587686c79ad0142094abb59f77d757777c ssh-agent 18:43:36 SSH_AUTH_SOCK=/tmp/ssh-pf7QcFRE41S8/agent.32 18:43:36 SSH_AGENT_PID=38 18:43:36 Running ssh-add (command line suppressed) 18:43:36 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17865384774085704511.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17865384774085704511.key) 18:43:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:43:37 + git semver tag 18:43:37 2023-01-11 18:43:37,374 [run_tag] DEBUG tag force:False 18:43:37 2023-01-11 18:43:37,374 [check_head_tag] DEBUG check head tag 18:43:37 2023-01-11 18:43:37,375 [execute] INFO git cat-file --batch-check 18:43:37 2023-01-11 18:43:37,375 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:43:37 2023-01-11 18:43:37,380 [execute] INFO git cat-file --batch 18:43:37 2023-01-11 18:43:37,380 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:43:37 2023-01-11 18:43:37,410 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:43:37 2023-01-11 18:43:37,410 [execute] INFO git tag -a v3.0.0-dev.7 -m v3.0.0-dev.7 18:43:37 2023-01-11 18:43:37,411 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.7', '-m', 'v3.0.0-dev.7'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:43:37 2023-01-11 18:43:37,417 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:43:37 3.0.0-dev.7 [Pipeline] } 18:43:37 $ docker exec --env ******** --env ******** 7924c272f338f8fbbee750734e911b587686c79ad0142094abb59f77d757777c ssh-agent -k 18:43:37 unset SSH_AUTH_SOCK; 18:43:37 unset SSH_AGENT_PID; 18:43:37 echo Agent pid 38 killed; 18:43:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:43:37 + git semver [Pipeline] } 18:43:38 $ docker stop --time=1 7924c272f338f8fbbee750734e911b587686c79ad0142094abb59f77d757777c 18:43:39 $ docker rm -f --volumes 7924c272f338f8fbbee750734e911b587686c79ad0142094abb59f77d757777c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:43:39 18:43:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:43:40 0.23.1-centos7: Pulling from edgex-lftools 18:43:40 ab5ef0e58194: Pulling fs layer 18:43:40 9712f1f96733: Pulling fs layer 18:43:40 63f879dbbcfc: Pulling fs layer 18:43:40 0d9ebad4ef96: Pulling fs layer 18:43:40 e9a5061849ea: Pulling fs layer 18:43:40 d747dcd14b5f: Pulling fs layer 18:43:40 2de7ff778b66: Pulling fs layer 18:43:40 2de7ff778b66: Waiting 18:43:40 0d9ebad4ef96: Waiting 18:43:40 d747dcd14b5f: Waiting 18:43:40 e9a5061849ea: Waiting 18:43:40 9712f1f96733: Download complete 18:43:40 63f879dbbcfc: Verifying Checksum 18:43:40 63f879dbbcfc: Download complete 18:43:40 e9a5061849ea: Verifying Checksum 18:43:40 e9a5061849ea: Download complete 18:43:40 d747dcd14b5f: Verifying Checksum 18:43:40 d747dcd14b5f: Download complete 18:43:40 ab5ef0e58194: Verifying Checksum 18:43:40 ab5ef0e58194: Download complete 18:43:40 0d9ebad4ef96: Verifying Checksum 18:43:40 0d9ebad4ef96: Download complete 18:43:41 2de7ff778b66: Verifying Checksum 18:43:41 2de7ff778b66: Download complete 18:43:44 ab5ef0e58194: Pull complete 18:43:44 9712f1f96733: Pull complete 18:43:44 63f879dbbcfc: Pull complete 18:43:50 0d9ebad4ef96: Pull complete 18:43:50 e9a5061849ea: Pull complete 18:43:50 d747dcd14b5f: Pull complete 18:43:50 2de7ff778b66: Pull complete 18:43:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:43:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:43:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:51 prd-ubuntu20.04-docker-8c-8g-1916 does not seem to be running inside a container 18:43:51 $ 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 18:43:55 $ docker top 64841db328544c6f0bceb7e7430c8e748c96fed9d054d4574f4ad6da258e5e9f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:43:55 provisioning config files... 18:43:55 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14536895265276592442tmp 18:43:55 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5756638652971768415tmp 18:43:55 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12538575616805406929tmp [Pipeline] { [Pipeline] echo 18:43:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:43:55 ---> sigul-configuration.sh 18:43:55 gpg: directory `/root/.gnupg' created 18:43:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:43:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:43:55 gpg: keyring `/root/.gnupg/secring.gpg' created 18:43:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:43:55 gpg: CAST5 encrypted data 18:43:55 gpg: encrypted with 1 passphrase 18:43:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:43:56 + mkdir /home/jenkins 18:43:56 + mkdir /home/jenkins/sigul [Pipeline] sh 18:43:56 + 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 18:43:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:43:56 ---> sigul-install.sh 18:43:56 Sigul already installed; skipping installation. [Pipeline] sh 18:43:56 + git tag --list 18:43:56 v0.0.0 18:43:56 v0.0.1-dev.1 18:43:56 v0.0.1-dev.10 18:43:56 v0.0.1-dev.11 18:43:56 v0.0.1-dev.12 18:43:56 v0.0.1-dev.13 18:43:56 v0.0.1-dev.14 18:43:56 v0.0.1-dev.15 18:43:56 v0.0.1-dev.16 18:43:56 v0.0.1-dev.17 18:43:56 v0.0.1-dev.18 18:43:56 v0.0.1-dev.19 18:43:56 v0.0.1-dev.2 18:43:56 v0.0.1-dev.20 18:43:56 v0.0.1-dev.21 18:43:56 v0.0.1-dev.22 18:43:56 v0.0.1-dev.23 18:43:56 v0.0.1-dev.24 18:43:56 v0.0.1-dev.25 18:43:56 v0.0.1-dev.26 18:43:56 v0.0.1-dev.27 18:43:56 v0.0.1-dev.28 18:43:56 v0.0.1-dev.3 18:43:56 v0.0.1-dev.4 18:43:56 v0.0.1-dev.5 18:43:56 v0.0.1-dev.6 18:43:56 v0.0.1-dev.7 18:43:56 v0.0.1-dev.8 18:43:56 v0.0.1-dev.9 18:43:56 v2.2.0 18:43:56 v2.2.0-dev.29 18:43:56 v2.2.0-dev.30 18:43:56 v2.2.0-dev.31 18:43:56 v2.2.0-dev.32 18:43:56 v2.2.0-dev.33 18:43:56 v2.2.0-dev.34 18:43:56 v2.2.0-dev.35 18:43:56 v2.3.0 18:43:56 v2.3.0-dev.1 18:43:56 v2.3.0-dev.10 18:43:56 v2.3.0-dev.11 18:43:56 v2.3.0-dev.12 18:43:56 v2.3.0-dev.13 18:43:56 v2.3.0-dev.14 18:43:56 v2.3.0-dev.15 18:43:56 v2.3.0-dev.16 18:43:56 v2.3.0-dev.17 18:43:56 v2.3.0-dev.18 18:43:56 v2.3.0-dev.19 18:43:56 v2.3.0-dev.2 18:43:56 v2.3.0-dev.20 18:43:56 v2.3.0-dev.21 18:43:56 v2.3.0-dev.22 18:43:56 v2.3.0-dev.23 18:43:56 v2.3.0-dev.24 18:43:56 v2.3.0-dev.25 18:43:56 v2.3.0-dev.26 18:43:56 v2.3.0-dev.27 18:43:56 v2.3.0-dev.28 18:43:56 v2.3.0-dev.29 18:43:56 v2.3.0-dev.3 18:43:56 v2.3.0-dev.30 18:43:56 v2.3.0-dev.31 18:43:56 v2.3.0-dev.32 18:43:56 v2.3.0-dev.33 18:43:56 v2.3.0-dev.34 18:43:56 v2.3.0-dev.35 18:43:56 v2.3.0-dev.36 18:43:56 v2.3.0-dev.37 18:43:56 v2.3.0-dev.38 18:43:56 v2.3.0-dev.39 18:43:56 v2.3.0-dev.4 18:43:56 v2.3.0-dev.40 18:43:56 v2.3.0-dev.41 18:43:56 v2.3.0-dev.42 18:43:56 v2.3.0-dev.43 18:43:56 v2.3.0-dev.44 18:43:56 v2.3.0-dev.45 18:43:56 v2.3.0-dev.5 18:43:56 v2.3.0-dev.6 18:43:56 v2.3.0-dev.7 18:43:56 v2.3.0-dev.8 18:43:56 v2.3.0-dev.9 18:43:56 v2.3.1-dev.1 18:43:56 v3.0.0-dev.1 18:43:56 v3.0.0-dev.2 18:43:56 v3.0.0-dev.3 18:43:56 v3.0.0-dev.4 18:43:56 v3.0.0-dev.5 18:43:56 v3.0.0-dev.6 18:43:56 v3.0.0-dev.7 [Pipeline] sh 18:43:57 + lftools sign git-tag v3.0.0-dev.7 18:43:57 Signing Git tag with Sigul... 18:43:57 Signing v3.0.0-dev.7 [Pipeline] echo 18:43:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:43:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:43:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:43:58 $ docker stop --time=1 64841db328544c6f0bceb7e7430c8e748c96fed9d054d4574f4ad6da258e5e9f 18:44:00 $ docker rm -f --volumes 64841db328544c6f0bceb7e7430c8e748c96fed9d054d4574f4ad6da258e5e9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:44:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:44:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:44:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:00 prd-ubuntu20.04-docker-8c-8g-1916 does not seem to be running inside a container 18:44:00 $ 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 18:44:01 $ docker top 256b5cdb6592bd54548af23b18d83e5279f67791f27ba24aeaaaa956d63eb566 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:44:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:44:01 [ssh-agent] Looking for ssh-agent implementation... 18:44:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:44:01 $ docker exec 256b5cdb6592bd54548af23b18d83e5279f67791f27ba24aeaaaa956d63eb566 ssh-agent 18:44:01 SSH_AUTH_SOCK=/tmp/ssh-1CGGIxG1B9Bj/agent.30 18:44:01 SSH_AGENT_PID=36 18:44:01 Running ssh-add (command line suppressed) 18:44:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17027844605915459457.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17027844605915459457.key) 18:44:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:44:02 + git semver bump pre 18:44:02 2023-01-11 18:44:02,240 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:44:02 2023-01-11 18:44:02,240 [bump_version] DEBUG bumping version:3.0.0-dev.7 on axis:pre with prefix:dev 18:44:02 2023-01-11 18:44:02,240 [bump_version] DEBUG bumped version:3.0.0-dev.8 18:44:02 2023-01-11 18:44:02,240 [write_version] DEBUG write version:3.0.0-dev.8 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 18:44:02 2023-01-11 18:44:02,240 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:44:02 2023-01-11 18:44:02,240 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 18:44:02 2023-01-11 18:44:02,242 [execute] INFO git cat-file --batch-check 18:44:02 2023-01-11 18:44:02,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:44:02 2023-01-11 18:44:02,248 [execute] INFO git cat-file --batch 18:44:02 2023-01-11 18:44:02,248 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:44:02 2023-01-11 18:44:02,253 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:44:02 3.0.0-dev.8 [Pipeline] } 18:44:02 $ docker exec --env ******** --env ******** 256b5cdb6592bd54548af23b18d83e5279f67791f27ba24aeaaaa956d63eb566 ssh-agent -k 18:44:02 unset SSH_AUTH_SOCK; 18:44:02 unset SSH_AGENT_PID; 18:44:02 echo Agent pid 36 killed; 18:44:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:44:02 + git semver [Pipeline] } 18:44:03 $ docker stop --time=1 256b5cdb6592bd54548af23b18d83e5279f67791f27ba24aeaaaa956d63eb566 18:44:04 $ docker rm -f --volumes 256b5cdb6592bd54548af23b18d83e5279f67791f27ba24aeaaaa956d63eb566 [Pipeline] // withDockerContainer [Pipeline] sh 18:44:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:44:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:44:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:05 prd-ubuntu20.04-docker-8c-8g-1916 does not seem to be running inside a container 18:44:05 $ 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 18:44:05 $ docker top d072ee8a4321776a8d0bead4a78066a18f3332d11515e6bd05a8b162badbb47c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:44:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:44:05 [ssh-agent] Looking for ssh-agent implementation... 18:44:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:44:05 $ docker exec d072ee8a4321776a8d0bead4a78066a18f3332d11515e6bd05a8b162badbb47c ssh-agent 18:44:05 SSH_AUTH_SOCK=/tmp/ssh-fsF1GKrDnea4/agent.31 18:44:05 SSH_AGENT_PID=37 18:44:05 Running ssh-add (command line suppressed) 18:44:05 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12752680814438087800.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12752680814438087800.key) 18:44:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:44:06 + git semver push 18:44:06 2023-01-11 18:44:06,336 [run_push] DEBUG push 18:44:06 2023-01-11 18:44:06,336 [execute] INFO git cat-file --batch-check 18:44:06 2023-01-11 18:44:06,337 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:44:06 2023-01-11 18:44:06,340 [execute] INFO git rev-list 31ec9c3d02f7c67345addde70427f95a635fe738 -- 18:44:06 2023-01-11 18:44:06,340 [execute] DEBUG Popen(['git', 'rev-list', '31ec9c3d02f7c67345addde70427f95a635fe738', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:44:06 2023-01-11 18:44:06,347 [execute] INFO git fetch -v origin 18:44:06 2023-01-11 18:44:06,348 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:44:06 2023-01-11 18:44:06,889 [run_push] DEBUG no remote changes detected 18:44:06 2023-01-11 18:44:06,890 [execute] INFO git push origin semver 18:44:06 2023-01-11 18:44:06,890 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:44:07 2023-01-11 18:44:07,869 [run_push] DEBUG push all version tags 18:44:07 2023-01-11 18:44:07,870 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:44:07 2023-01-11 18:44:07,871 [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) 18:44:08 2023-01-11 18:44:08,677 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:44:08 3.0.0-dev.8 [Pipeline] } 18:44:08 $ docker exec --env ******** --env ******** d072ee8a4321776a8d0bead4a78066a18f3332d11515e6bd05a8b162badbb47c ssh-agent -k 18:44:08 unset SSH_AUTH_SOCK; 18:44:08 unset SSH_AGENT_PID; 18:44:08 echo Agent pid 37 killed; 18:44:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:44:09 + git semver [Pipeline] } 18:44:09 $ docker stop --time=1 d072ee8a4321776a8d0bead4a78066a18f3332d11515e6bd05a8b162badbb47c 18:44:10 $ docker rm -f --volumes d072ee8a4321776a8d0bead4a78066a18f3332d11515e6bd05a8b162badbb47c [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 18:44:11 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 18:44:11 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:44:11 total 16 18:44:11 drwxr-xr-x 3 root root 4096 Jan 11 18:34 . 18:44:11 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 18:43 .. 18:44:11 drwxr-xr-x 2 root root 4096 Jan 11 18:34 cost 18:44:11 -rw-r--r-- 1 root root 90 Jan 11 18:34 cost.csv 18:44:11 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 18:44:11 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:44:11 total 16 18:44:11 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 18:34 . 18:44:11 drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 18:43 .. 18:44:11 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 18:34 cost 18:44:11 -rw-r--r-- 1 jenkins jenkins 90 Jan 11 18:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:44:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:44:12 ---> package-listing.sh 18:44:12 ++ facter osfamily 18:44:12 ++ tr '[:upper:]' '[:lower:]' 18:44:12 + OS_FAMILY=debian 18:44:12 + workspace=/w/workspace/foundry_device-onvif-camera_main 18:44:12 + START_PACKAGES=/tmp/packages_start.txt 18:44:12 + END_PACKAGES=/tmp/packages_end.txt 18:44:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:44:12 + PACKAGES=/tmp/packages_start.txt 18:44:12 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:44:12 + PACKAGES=/tmp/packages_end.txt 18:44:12 + case "${OS_FAMILY}" in 18:44:12 + dpkg -l 18:44:12 + grep '^ii' 18:44:12 + '[' -f /tmp/packages_start.txt ']' 18:44:12 + '[' -f /tmp/packages_end.txt ']' 18:44:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:44:12 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:44:12 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 18:44:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 18:44:12 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 18:44:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:13 prd-ubuntu20.04-docker-8c-8g-1916 does not seem to be running inside a container 18:44:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 18:44:14 $ docker top 2cf63f97df5dfdcee502b0fed58143ddc63c19e434c8f3c6593c53eafa97ef3a -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:14 + touch /tmp/pre-build-complete [Pipeline] sh 18:44:14 + mkdir -p /var/log/sysstat [Pipeline] sh 18:44:15 + ls /var/log/sa-host 18:44:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:15 provisioning config files... 18:44:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17859441046309092159tmp [Pipeline] { [Pipeline] echo 18:44:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:44:15 ---> create-netrc.sh [Pipeline] } 18:44:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:44:15 ---> python-tools-install.sh [Pipeline] echo 18:44:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:44:16 ---> sudo-logs.sh 18:44:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:44:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:44:16 ---> job-cost.sh 18:44:16 lf-activate-venv: SKIPPING 18:44:16 DEBUG: total: 0.2199999988079071 18:44:16 INFO: Retrieving Stack Cost... 18:44:16 INFO: Retrieving Pricing Info for: v3-standard-8 18:44:17 INFO: Archiving Costs [Pipeline] echo 18:44:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:44:17 ---> logs-deploy.sh 18:44:17 lf-activate-venv: SKIPPING 18:44:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/96 18:44:17 INFO: archiving workspace using pattern(s): 18:44:18 Archives upload complete. 18:44:18 INFO: archiving logs to Nexus