Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 03e3920523c9ccf0abebb32dc2ec7b89e7815765 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-ssh1128245950582445932.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-ssh12795830980754198259.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-ssh18014055345646686678.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-ssh1984425467328260881.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-ssh7565195013513447834.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6174 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 03e3920523c9ccf0abebb32dc2ec7b89e7815765 (main) Commit message: "refactor!: Replace internal topics from config with new constants (#233)" > 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 03e3920523c9ccf0abebb32dc2ec7b89e7815765 # timeout=10 > git rev-list --no-walk ce7fe079461b7505b319433b3b229be05385591d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:41:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:41:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:41:24 ========================================================= 18:41:24 EdgeX Global Pipelines Version Info 18:41:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:41:25 ------------------- 18:41:25 stable info: 18:41:25 ------------------- 18:41:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:41:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:41:25 Message: update stable to v1.0.244 18:41:25 ------------------- 18:41:25 experimental info: 18:41:25 ------------------- 18:41:25 Commited By: **** collab-it+edgex@linuxfoundation.org 18:41:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:41:25 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:41:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:41:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:41:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:41:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:41:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:41:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:41:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:41:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:41:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:41:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:41:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03e3920523c9ccf0abebb32dc2ec7b89e7815765 [Pipeline] echo 18:41:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03e3920 [Pipeline] echo 18:41:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:26 provisioning config files... 18:41:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13820093255159858006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:26 ---> docker-login.sh 18:41:26 nexus3.edgexfoundry.org:10001 18:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:26 Configure a credential helper to remove this warning. See 18:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:26 18:41:26 Login Succeeded 18:41:26 nexus3.edgexfoundry.org:10002 18:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:26 Configure a credential helper to remove this warning. See 18:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:26 18:41:26 Login Succeeded 18:41:26 nexus3.edgexfoundry.org:10003 18:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:27 Configure a credential helper to remove this warning. See 18:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:27 18:41:27 Login Succeeded 18:41:27 nexus3.edgexfoundry.org:10004 18:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:27 Configure a credential helper to remove this warning. See 18:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:27 18:41:27 Login Succeeded 18:41:27 docker.io 18:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:27 Configure a credential helper to remove this warning. See 18:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:27 18:41:27 Login Succeeded 18:41:27 ---> docker-login.sh ends [Pipeline] } 18:41:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:41:27 + git rev-list -1 --merges 03e3920523c9ccf0abebb32dc2ec7b89e7815765~1..03e3920523c9ccf0abebb32dc2ec7b89e7815765 [Pipeline] echo 18:41:27 -----------> git rev-list -1 --merges 03e3920523c9ccf0abebb32dc2ec7b89e7815765~1..03e3920523c9ccf0abebb32dc2ec7b89e7815765 03e3920523c9ccf0abebb32dc2ec7b89e7815765 [false] [Pipeline] sh 18:41:27 + git log --format=format:%s -1 03e3920523c9ccf0abebb32dc2ec7b89e7815765 [Pipeline] echo 18:41:28 ========================================================= 18:41:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:41:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:28 + git log --format=format:%s -1 03e3920523c9ccf0abebb32dc2ec7b89e7815765 [Pipeline] echo 18:41:28 [semverPrep] GIT_COMMIT: 03e3920523c9ccf0abebb32dc2ec7b89e7815765, Commit Message: refactor!: Replace internal topics from config with new constants (#233) [Pipeline] echo 18:41:28 [semverPrep] This is not a build commit. [Pipeline] sh 18:41:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:41:28 + grep -v github /etc/ssh/ssh_known_hosts 18:41:28 + [ -e /tmp/ssh_known_hosts ] 18:41:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:41:28 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 18:41:28 -a /etc/ssh/ssh_known_hosts 18:41:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:29 18:41:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:29 0.1.4: Pulling from edgex-devops/py-git-semver 18:41:29 b85a868b505f: Pulling fs layer 18:41:29 e2be974225ed: Pulling fs layer 18:41:29 339a4e72a1f5: Pulling fs layer 18:41:29 988bab9f4d93: Pulling fs layer 18:41:29 1469e6f7b9e6: Pulling fs layer 18:41:29 eaf3925da568: Pulling fs layer 18:41:29 bab4dde63d76: Pulling fs layer 18:41:29 bde34c3a00c8: Pulling fs layer 18:41:29 b352a97aabf1: Pulling fs layer 18:41:29 988bab9f4d93: Waiting 18:41:29 4872d77fe225: Pulling fs layer 18:41:29 5851b861e8e6: Pulling fs layer 18:41:29 eaf3925da568: Waiting 18:41:29 b352a97aabf1: Waiting 18:41:29 bab4dde63d76: Waiting 18:41:29 4872d77fe225: Waiting 18:41:29 5851b861e8e6: Waiting 18:41:29 bde34c3a00c8: Waiting 18:41:29 e2be974225ed: Download complete 18:41:29 988bab9f4d93: Verifying Checksum 18:41:29 988bab9f4d93: Download complete 18:41:29 1469e6f7b9e6: Verifying Checksum 18:41:29 1469e6f7b9e6: Download complete 18:41:29 eaf3925da568: Verifying Checksum 18:41:29 eaf3925da568: Download complete 18:41:29 339a4e72a1f5: Verifying Checksum 18:41:29 339a4e72a1f5: Download complete 18:41:29 bde34c3a00c8: Download complete 18:41:29 b352a97aabf1: Download complete 18:41:29 4872d77fe225: Verifying Checksum 18:41:29 4872d77fe225: Download complete 18:41:29 5851b861e8e6: Download complete 18:41:29 b85a868b505f: Verifying Checksum 18:41:29 b85a868b505f: Download complete 18:41:30 bab4dde63d76: Verifying Checksum 18:41:30 bab4dde63d76: Download complete 18:41:31 b85a868b505f: Pull complete 18:41:31 e2be974225ed: Pull complete 18:41:31 339a4e72a1f5: Pull complete 18:41:31 988bab9f4d93: Pull complete 18:41:32 1469e6f7b9e6: Pull complete 18:41:32 eaf3925da568: Pull complete 18:41:34 bab4dde63d76: Pull complete 18:41:34 bde34c3a00c8: Pull complete 18:41:34 b352a97aabf1: Pull complete 18:41:34 4872d77fe225: Pull complete 18:41:34 5851b861e8e6: Pull complete 18:41:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:41:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:34 prd-ubuntu20.04-docker-8c-8g-6174 does not seem to be running inside a container 18:41:34 $ 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:41:36 $ docker top ee45787960d95c0ebe0815ab91b7f236c1444d75050a9773a132d254f5ae55f4 -eo pid,comm 18:41: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:41:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:36 [ssh-agent] Looking for ssh-agent implementation... 18:41:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:36 $ docker exec ee45787960d95c0ebe0815ab91b7f236c1444d75050a9773a132d254f5ae55f4 ssh-agent 18:41:36 SSH_AUTH_SOCK=/tmp/ssh-IzyUb69yb5Up/agent.32 18:41:36 SSH_AGENT_PID=38 18:41:36 Running ssh-add (command line suppressed) 18:41:36 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16892232833548501907.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16892232833548501907.key) 18:41:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:37 + git tag --points-at HEAD [Pipeline] } 18:41:37 $ docker exec --env ******** --env ******** ee45787960d95c0ebe0815ab91b7f236c1444d75050a9773a132d254f5ae55f4 ssh-agent -k 18:41:37 unset SSH_AUTH_SOCK; 18:41:37 unset SSH_AGENT_PID; 18:41:37 echo Agent pid 38 killed; 18:41:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:41:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:37 [ssh-agent] Looking for ssh-agent implementation... 18:41:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:37 $ docker exec ee45787960d95c0ebe0815ab91b7f236c1444d75050a9773a132d254f5ae55f4 ssh-agent 18:41:37 SSH_AUTH_SOCK=/tmp/ssh-Xf9H7SotTrZh/agent.70 18:41:37 SSH_AGENT_PID=77 18:41:37 Running ssh-add (command line suppressed) 18:41:37 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11645273740491765911.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11645273740491765911.key) 18:41:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:37 + git semver init 18:41:38 2023-02-15 18:41:38,043 [run_init] DEBUG init version:0.0.0 force:False 18:41:38 2023-02-15 18:41:38,044 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 18:41:38 2023-02-15 18:41:38,044 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 18:41:38 2023-02-15 18:41:38,045 [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:41:40 2023-02-15 18:41:39,757 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 18:41:40 2023-02-15 18:41:39,757 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 18:41:40 2023-02-15 18:41:39,758 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:41:40 2023-02-15 18:41:39,758 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:41:40 3.0.0-dev.14 [Pipeline] } 18:41:40 $ docker exec --env ******** --env ******** ee45787960d95c0ebe0815ab91b7f236c1444d75050a9773a132d254f5ae55f4 ssh-agent -k 18:41:40 unset SSH_AUTH_SOCK; 18:41:40 unset SSH_AGENT_PID; 18:41:40 echo Agent pid 77 killed; 18:41:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:40 + git semver [Pipeline] } 18:41:40 $ docker stop --time=1 ee45787960d95c0ebe0815ab91b7f236c1444d75050a9773a132d254f5ae55f4 18:41:42 $ docker rm -f --volumes ee45787960d95c0ebe0815ab91b7f236c1444d75050a9773a132d254f5ae55f4 [Pipeline] // withDockerContainer [Pipeline] sh 18:41:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:41:42 Stashed 1 file(s) [Pipeline] echo 18:41:42 [edgeXSemver]: initialized semver on version 3.0.0-dev.14 [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:41:42 provisioning config files... 18:41:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4961983402453617386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:43 ---> docker-login.sh 18:41:43 nexus3.edgexfoundry.org:10001 18:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:43 Configure a credential helper to remove this warning. See 18:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:43 18:41:43 Login Succeeded 18:41:43 nexus3.edgexfoundry.org:10002 18:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:43 Configure a credential helper to remove this warning. See 18:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:43 18:41:43 Login Succeeded 18:41:43 nexus3.edgexfoundry.org:10003 18:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:43 Configure a credential helper to remove this warning. See 18:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:43 18:41:43 Login Succeeded 18:41:43 nexus3.edgexfoundry.org:10004 18:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:43 Configure a credential helper to remove this warning. See 18:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:43 18:41:43 Login Succeeded 18:41:43 docker.io 18:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:44 Configure a credential helper to remove this warning. See 18:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:44 18:41:44 Login Succeeded 18:41:44 ---> docker-login.sh ends [Pipeline] } 18:41:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:41:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:44 ========================================================= 18:41:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:41:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:44 + 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:41:44 Sending build context to Docker daemon 27.7MB 18:41:44 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:41:44 Step 2/13 : FROM ${BASE} AS builder 18:41:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:41:44 213ec9aee27d: Pulling fs layer 18:41:44 4583459ba037: Pulling fs layer 18:41:44 93c1e223e6f2: Pulling fs layer 18:41:44 53926ce57604: Pulling fs layer 18:41:44 21b2b0c7a3f4: Pulling fs layer 18:41:44 22ff95d597cd: Pulling fs layer 18:41:44 12d6caf4c0d1: Pulling fs layer 18:41:44 96b7cbca73a9: Pulling fs layer 18:41:44 a7acece74701: Pulling fs layer 18:41:44 53926ce57604: Waiting 18:41:44 21b2b0c7a3f4: Waiting 18:41:44 a7acece74701: Waiting 18:41:44 12d6caf4c0d1: Waiting 18:41:44 22ff95d597cd: Waiting 18:41:44 93c1e223e6f2: Verifying Checksum 18:41:44 93c1e223e6f2: Download complete 18:41:44 4583459ba037: Download complete 18:41:44 21b2b0c7a3f4: Verifying Checksum 18:41:44 21b2b0c7a3f4: Download complete 18:41:44 22ff95d597cd: Verifying Checksum 18:41:44 22ff95d597cd: Download complete 18:41:44 213ec9aee27d: Verifying Checksum 18:41:44 213ec9aee27d: Download complete 18:41:44 12d6caf4c0d1: Download complete 18:41:44 213ec9aee27d: Pull complete 18:41:44 4583459ba037: Pull complete 18:41:45 93c1e223e6f2: Pull complete 18:41:45 a7acece74701: Verifying Checksum 18:41:45 a7acece74701: Download complete 18:41:46 53926ce57604: Verifying Checksum 18:41:46 53926ce57604: Download complete 18:41:46 96b7cbca73a9: Verifying Checksum 18:41:46 96b7cbca73a9: Download complete 18:41:50 53926ce57604: Pull complete 18:41:50 21b2b0c7a3f4: Pull complete 18:41:50 22ff95d597cd: Pull complete 18:41:50 12d6caf4c0d1: Pull complete 18:41:52 96b7cbca73a9: Pull complete 18:41:53 a7acece74701: Pull complete 18:41:53 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:41:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:41:53 ---> db6d94c90886 18:41:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:41:55 ---> Running in 5cba6b2efc45 18:41:55 Removing intermediate container 5cba6b2efc45 18:41:55 ---> dc9cb207a3a0 18:41:55 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:41:55 ---> Running in 0248150e636f 18:41:55 Removing intermediate container 0248150e636f 18:41:55 ---> be8483ba5a22 18:41:55 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:41:55 ---> Running in 02ad5839725b 18:41:55 Removing intermediate container 02ad5839725b 18:41:55 ---> d994eb5fd178 18:41:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:41:55 ---> Running in cd6d697199e8 18:41:55 Removing intermediate container cd6d697199e8 18:41:55 ---> 87da68c7b775 18:41:55 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:41:55 ---> Running in 4610b2b6a6b2 18:41:56 Removing intermediate container 4610b2b6a6b2 18:41:56 ---> bb706b4a129d 18:41:56 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:41:56 ---> Running in 5c64b39ce033 18:41:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:41:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:41:56 OK: 211 MiB in 51 packages 18:41:57 Removing intermediate container 5c64b39ce033 18:41:57 ---> b4a41fa68096 18:41:57 Step 9/13 : WORKDIR /device-onvif-camera 18:41:57 ---> Running in 0533c9b1f38c 18:41:57 Removing intermediate container 0533c9b1f38c 18:41:57 ---> 15aff7f5ce4a 18:41:57 Step 10/13 : COPY go.mod vendor* ./ 18:41:57 ---> 4e03a154d68c 18:41:57 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:41:57 ---> Running in 975f7504e422 18:41:57 Still waiting to schedule task 18:41:57 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6177’ is offline 18:42:36 Removing intermediate container 975f7504e422 18:42:36 ---> 0c893216a11e 18:42:36 Step 12/13 : COPY . . 18:42:36 ---> 2811e0398635 18:42:36 Step 13/13 : RUN ${MAKE} 18:42:36 ---> Running in 3d56fda4d11b 18:42:36 noop 18:42:36 Removing intermediate container 3d56fda4d11b 18:42:36 ---> ada4e75f193f 18:42:36 Successfully built ada4e75f193f 18:42:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:36 + docker inspect -f . ci-base-image-x86_64 18:42:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:36 prd-ubuntu20.04-docker-8c-8g-6174 does not seem to be running inside a container 18:42: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:42:37 $ docker top 7dbae8af37f872a86cca8d9f32e66e77255c181abe4ae89f256a5aedf8d93deb -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:37 + go version 18:42:37 go version go1.18.7 linux/amd64 [Pipeline] } 18:42:37 $ docker stop --time=1 7dbae8af37f872a86cca8d9f32e66e77255c181abe4ae89f256a5aedf8d93deb 18:42:39 $ docker rm -f --volumes 7dbae8af37f872a86cca8d9f32e66e77255c181abe4ae89f256a5aedf8d93deb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:39 + docker inspect -f . ci-base-image-x86_64 18:42:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:39 prd-ubuntu20.04-docker-8c-8g-6174 does not seem to be running inside a container 18:42: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:42:39 $ docker top b5d29808e3e1a2781c3b8cefe3d0506b4754ef367dba95ece679a5c8feda85a5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:40 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 18:42:40 + make test 18:42:40 go test ./... -coverprofile=coverage.out ./... 18:42:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:42:53 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:42:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.043s coverage: 29.3% of statements 18:42:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:42:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.541s coverage: 86.5% of statements 18:43:03 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:43:03 go vet ./... 18:43:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:43:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:43:07 ./bin/test-attribution-txt.sh [Pipeline] echo 18:43:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:43:07 $ docker stop --time=1 b5d29808e3e1a2781c3b8cefe3d0506b4754ef367dba95ece679a5c8feda85a5 18:43:09 $ docker rm -f --volumes b5d29808e3e1a2781c3b8cefe3d0506b4754ef367dba95ece679a5c8feda85a5 [Pipeline] // withDockerContainer [Pipeline] sh 18:43:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:43:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:43:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:43:10 + ls -al . 18:43:10 total 236 18:43:10 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:42 . 18:43:10 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:41 .. 18:43:10 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:42 .git 18:43:10 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:41 .github 18:43:10 -rw-rw-r-- 1 jenkins jenkins 496 Feb 15 18:41 .gitignore 18:43:10 -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 18:41 .golangci.yml 18:43:10 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:41 .semver 18:43:10 -rw-rw-r-- 1 jenkins jenkins 9857 Feb 15 18:41 Attribution.txt 18:43:10 -rw-rw-r-- 1 jenkins jenkins 6312 Feb 15 18:41 CHANGELOG.md 18:43:10 -rw-rw-r-- 1 jenkins jenkins 1574 Feb 15 18:41 Dockerfile 18:43:10 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:41 GOVERNANCE.md 18:43:10 -rw-rw-r-- 1 jenkins jenkins 734 Feb 15 18:41 Jenkinsfile 18:43:10 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 15 18:41 LICENSE 18:43:10 -rw-rw-r-- 1 jenkins jenkins 2577 Feb 15 18:41 Makefile 18:43:10 -rw-rw-r-- 1 jenkins jenkins 625 Feb 15 18:41 OWNERS.md 18:43:10 -rw-rw-r-- 1 jenkins jenkins 6595 Feb 15 18:41 README.md 18:43:10 -rw-rw-r-- 1 jenkins jenkins 12 Feb 15 18:41 VERSION 18:43:10 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:41 bin 18:43:10 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:41 cmd 18:43:10 -rw-r--r-- 1 jenkins jenkins 79184 Feb 15 18:42 coverage.out 18:43:10 drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 18:41 doc 18:43:10 -rw-rw-r-- 1 jenkins jenkins 3600 Feb 15 18:41 go.mod 18:43:10 -rw-rw-r-- 1 jenkins jenkins 34701 Feb 15 18:41 go.sum 18:43:10 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:41 internal 18:43:10 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:41 snap 18:43:10 -rw-rw-r-- 1 jenkins jenkins 236 Feb 15 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43: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=03e3920523c9ccf0abebb32dc2ec7b89e7815765 --label arch=amd64 --label version=3.0.0-dev.14 . 18:43:11 Sending build context to Docker daemon 27.78MB 18:43:11 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:43:11 Step 2/26 : FROM ${BASE} AS builder 18:43:11 ---> ada4e75f193f 18:43:11 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:43:11 ---> Running in 2950da1fc93f 18:43:11 Removing intermediate container 2950da1fc93f 18:43:11 ---> 696ade31e156 18:43:11 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:43:11 ---> Running in 2d4fae677490 18:43:11 Removing intermediate container 2d4fae677490 18:43:11 ---> eb10a34faad2 18:43:11 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:43:11 ---> Running in 231d916504cc 18:43:12 Removing intermediate container 231d916504cc 18:43:12 ---> ceac8c40e14d 18:43:12 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:43:12 ---> Running in 6a3ce63a09bb 18:43:12 Removing intermediate container 6a3ce63a09bb 18:43:12 ---> 7a9181ace594 18:43:12 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:43:12 ---> Running in da5ad8b9d9c3 18:43:12 Removing intermediate container da5ad8b9d9c3 18:43:12 ---> 450a9a5c5c14 18:43:12 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:43:12 ---> Running in 4a93e1a49567 18:43:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:43:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:43:13 OK: 211 MiB in 51 packages 18:43:13 Removing intermediate container 4a93e1a49567 18:43:13 ---> 6ed6f871aed5 18:43:13 Step 9/26 : WORKDIR /device-onvif-camera 18:43:13 ---> Running in d7358974e055 18:43:13 Removing intermediate container d7358974e055 18:43:13 ---> e52070d2ba96 18:43:13 Step 10/26 : COPY go.mod vendor* ./ 18:43:13 ---> ab837c1b2c5a 18:43:13 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:13 ---> Running in 3bd2a8d5f865 18:43:14 Removing intermediate container 3bd2a8d5f865 18:43:14 ---> 8e0168420431 18:43:14 Step 12/26 : COPY . . 18:43:15 ---> 34f875baa68b 18:43:15 Step 13/26 : RUN ${MAKE} 18:43:15 ---> Running in cddd76dde558 18:43:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.14" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:43:37 Removing intermediate container cddd76dde558 18:43:37 ---> 4fa022a2b31c 18:43:37 Step 14/26 : FROM alpine:3.16 18:43:37 3.16: Pulling from library/alpine 18:43:37 ef5531b6e74e: Pulling fs layer 18:43:37 ef5531b6e74e: Verifying Checksum 18:43:37 ef5531b6e74e: Download complete 18:43:37 ef5531b6e74e: Pull complete 18:43:37 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:43:37 Status: Downloaded newer image for alpine:3.16 18:43:37 ---> dfd21b5a31f5 18:43:37 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:43:37 ---> Running in 6087adf72bb1 18:43:37 Removing intermediate container 6087adf72bb1 18:43:37 ---> 02b0c535902a 18:43:37 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:43:37 ---> Running in 7ad46679eae4 18:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:43:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:43:38 (1/1) Installing dumb-init (1.2.5-r1) 18:43:38 Executing busybox-1.35.0-r17.trigger 18:43:38 OK: 6 MiB in 15 packages 18:43:38 Removing intermediate container 7ad46679eae4 18:43:38 ---> ddc728009572 18:43:38 Step 17/26 : WORKDIR / 18:43:38 ---> Running in 6883d68adac6 18:43:38 Removing intermediate container 6883d68adac6 18:43:38 ---> 62f4dc37041d 18:43:38 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:43:39 ---> faef6826a91f 18:43:39 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:43:39 ---> e77906ad0449 18:43:39 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:43:39 ---> 4e2ebd39c3a7 18:43:39 Step 21/26 : EXPOSE 59984 18:43:39 ---> Running in 5084aaed8ced 18:43:39 Removing intermediate container 5084aaed8ced 18:43:39 ---> 0a673dd0b856 18:43:39 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:43:39 ---> Running in e9bfba620216 18:43:39 Removing intermediate container e9bfba620216 18:43:39 ---> 368dc770d252 18:43:39 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:43:39 ---> Running in 2121e1b8e8cc 18:43:39 Removing intermediate container 2121e1b8e8cc 18:43:39 ---> c23fecd24b03 18:43:39 Step 24/26 : LABEL arch=amd64 18:43:39 ---> Running in 9304c1f45055 18:43:40 Removing intermediate container 9304c1f45055 18:43:40 ---> 7e2fbfc18356 18:43:40 Step 25/26 : LABEL git_sha=03e3920523c9ccf0abebb32dc2ec7b89e7815765 18:43:40 ---> Running in ce133b09cfe7 18:43:40 Removing intermediate container ce133b09cfe7 18:43:40 ---> 71a91052b7b9 18:43:40 Step 26/26 : LABEL version=3.0.0-dev.14 18:43:40 ---> Running in 2e0eda63be9b 18:43:40 Removing intermediate container 2e0eda63be9b 18:43:40 ---> 0e6163b41c85 18:43:40 [Warning] One or more build-args [ARCH] were not consumed 18:43:40 Successfully built 0e6163b41c85 18:43:40 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:43:40 provisioning config files... 18:43:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17248699157125071003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:40 ---> docker-login.sh 18:43:40 nexus3.edgexfoundry.org:10001 18:43:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:40 Configure a credential helper to remove this warning. See 18:43:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:40 18:43:40 Login Succeeded 18:43:40 nexus3.edgexfoundry.org:10002 18:43:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:40 Configure a credential helper to remove this warning. See 18:43:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:40 18:43:40 Login Succeeded 18:43:40 nexus3.edgexfoundry.org:10003 18:43:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:41 Configure a credential helper to remove this warning. See 18:43:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:41 18:43:41 Login Succeeded 18:43:41 nexus3.edgexfoundry.org:10004 18:43:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:41 Configure a credential helper to remove this warning. See 18:43:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:41 18:43:41 Login Succeeded 18:43:41 docker.io 18:43:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:41 Configure a credential helper to remove this warning. See 18:43:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:41 18:43:41 Login Succeeded 18:43:41 ---> docker-login.sh ends [Pipeline] } 18:43:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:43:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:43:41 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 18:43:41 03e3920523c9ccf0abebb32dc2ec7b89e7815765 18:43:41 latest 18:43:41 3.0.0-dev.14 18:43:41 03e3920523c9ccf0abebb32dc2ec7b89e7815765-3.0.0-dev.14 18:43:41 main 18:43:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:03e3920523c9ccf0abebb32dc2ec7b89e7815765 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:03e3920523c9ccf0abebb32dc2ec7b89e7815765 18:43:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:43:42 a250ee8c6796: Preparing 18:43:42 fb263892bfe9: Preparing 18:43:42 28c6d7671a99: Preparing 18:43:42 eb178e810ea7: Preparing 18:43:42 aa5968d388b8: Preparing 18:43:42 aa5968d388b8: Layer already exists 18:43:42 eb178e810ea7: Pushed 18:43:42 fb263892bfe9: Pushed 18:43:42 a250ee8c6796: Pushed 18:43:45 28c6d7671a99: Pushed 18:43:45 03e3920523c9ccf0abebb32dc2ec7b89e7815765: digest: sha256:491912596017aa3fad20bd03c57384b89dfb74d14d09801afcead39c5f1e63b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:45 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:43:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:43:45 a250ee8c6796: Preparing 18:43:45 fb263892bfe9: Preparing 18:43:45 28c6d7671a99: Preparing 18:43:45 eb178e810ea7: Preparing 18:43:45 aa5968d388b8: Preparing 18:43:45 aa5968d388b8: Layer already exists 18:43:45 28c6d7671a99: Layer already exists 18:43:45 a250ee8c6796: Layer already exists 18:43:45 fb263892bfe9: Layer already exists 18:43:45 eb178e810ea7: Layer already exists 18:43:45 latest: digest: sha256:491912596017aa3fad20bd03c57384b89dfb74d14d09801afcead39c5f1e63b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:46 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.14 18:43:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:43:46 a250ee8c6796: Preparing 18:43:46 fb263892bfe9: Preparing 18:43:46 28c6d7671a99: Preparing 18:43:46 eb178e810ea7: Preparing 18:43:46 aa5968d388b8: Preparing 18:43:46 28c6d7671a99: Layer already exists 18:43:46 a250ee8c6796: Layer already exists 18:43:46 eb178e810ea7: Layer already exists 18:43:46 aa5968d388b8: Layer already exists 18:43:46 fb263892bfe9: Layer already exists 18:43:46 3.0.0-dev.14: digest: sha256:491912596017aa3fad20bd03c57384b89dfb74d14d09801afcead39c5f1e63b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:46 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:03e3920523c9ccf0abebb32dc2ec7b89e7815765-3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:03e3920523c9ccf0abebb32dc2ec7b89e7815765-3.0.0-dev.14 18:43:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:43:47 a250ee8c6796: Preparing 18:43:47 fb263892bfe9: Preparing 18:43:47 28c6d7671a99: Preparing 18:43:47 eb178e810ea7: Preparing 18:43:47 aa5968d388b8: Preparing 18:43:47 fb263892bfe9: Layer already exists 18:43:47 aa5968d388b8: Layer already exists 18:43:47 eb178e810ea7: Layer already exists 18:43:47 28c6d7671a99: Layer already exists 18:43:47 a250ee8c6796: Layer already exists 18:43:47 03e3920523c9ccf0abebb32dc2ec7b89e7815765-3.0.0-dev.14: digest: sha256:491912596017aa3fad20bd03c57384b89dfb74d14d09801afcead39c5f1e63b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:47 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 18:43:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:43:47 a250ee8c6796: Preparing 18:43:47 fb263892bfe9: Preparing 18:43:47 28c6d7671a99: Preparing 18:43:47 eb178e810ea7: Preparing 18:43:47 aa5968d388b8: Preparing 18:43:47 eb178e810ea7: Layer already exists 18:43:47 a250ee8c6796: Layer already exists 18:43:47 28c6d7671a99: Layer already exists 18:43:47 fb263892bfe9: Layer already exists 18:43:47 aa5968d388b8: Layer already exists 18:43:47 main: digest: sha256:491912596017aa3fad20bd03c57384b89dfb74d14d09801afcead39c5f1e63b1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:43:47 ===================================================== [Pipeline] echo 18:43:47 taggedImages: 18:43:47 - nexus3.edgexfoundry.org:10004/device-onvif-camera:03e3920523c9ccf0abebb32dc2ec7b89e7815765 18:43:47 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:43:47 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.14 18:43:47 - nexus3.edgexfoundry.org:10004/device-onvif-camera:03e3920523c9ccf0abebb32dc2ec7b89e7815765-3.0.0-dev.14 18:43:47 - 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:43:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:48 18:43:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:48 latest: Pulling from edgex-lftools-log-publisher 18:43:48 5eb5b503b376: Pulling fs layer 18:43:48 5c69ac0246d0: Pulling fs layer 18:43:48 ec43610c2a17: Pulling fs layer 18:43:48 3a2ae6a8a46f: Pulling fs layer 18:43:48 33b1e0a273af: Pulling fs layer 18:43:48 5d3b04190fa2: Pulling fs layer 18:43:48 3a2ae6a8a46f: Waiting 18:43:48 33b1e0a273af: Waiting 18:43:48 2f39f015ded8: Pulling fs layer 18:43:48 2f39f015ded8: Waiting 18:43:48 5c69ac0246d0: Verifying Checksum 18:43:48 5c69ac0246d0: Download complete 18:43:48 33b1e0a273af: Verifying Checksum 18:43:48 33b1e0a273af: Download complete 18:43:48 5d3b04190fa2: Download complete 18:43:48 ec43610c2a17: Verifying Checksum 18:43:48 ec43610c2a17: Download complete 18:43:49 5eb5b503b376: Verifying Checksum 18:43:49 5eb5b503b376: Download complete 18:43:49 2f39f015ded8: Download complete 18:43:50 5eb5b503b376: Pull complete 18:43:50 5c69ac0246d0: Pull complete 18:43:50 ec43610c2a17: Pull complete 18:43:50 3a2ae6a8a46f: Pull complete 18:43:51 33b1e0a273af: Pull complete 18:43:51 5d3b04190fa2: Pull complete 18:43:55 2f39f015ded8: Pull complete 18:43:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:43:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:55 prd-ubuntu20.04-docker-8c-8g-6174 does not seem to be running inside a container 18:43:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:43:57 $ docker top 1b8ad897a2760105ae94b2abbe101c00b507ddaaaddd8aeeff67fd295e1d3e59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:58 ---> job-cost.sh 18:43:58 lf-activate-venv: SKIPPING 18:43:58 INFO: No Stack... 18:43:58 INFO: Retrieving Pricing Info for: v3-standard-8 18:43:59 INFO: Archiving Costs [Pipeline] sh 18:43:59 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 18:43:59 + cut -d, -f6 [Pipeline] lock 18:43:59 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-103-stack-cost] 18:43:59 Resource [jenkins-edgexfoundry-device-onvif-camera-main-103-stack-cost] did not exist. Created. 18:43:59 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-103-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:43:59 + echo total: 0.2199999988079071 [Pipeline] stash 18:43:59 Stashed 1 file(s) [Pipeline] } 18:43:59 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-103-stack-cost] [Pipeline] // lock [Pipeline] } 18:43:59 $ docker stop --time=1 1b8ad897a2760105ae94b2abbe101c00b507ddaaaddd8aeeff67fd295e1d3e59 18:44:00 $ docker rm -f --volumes 1b8ad897a2760105ae94b2abbe101c00b507ddaaaddd8aeeff67fd295e1d3e59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:44:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6185 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 18:44:49 Running in /w/workspace/device-onvif-camera/103 [Pipeline] { [Pipeline] checkout 18:44:49 The recommended git tool is: git 18:44:57 using credential edgex-jenkins-ssh 18:44:57 Cloning the remote Git repository 18:44:57 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:44:57 > git init /w/workspace/device-onvif-camera/103 # timeout=10 18:44:57 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:44:57 > git --version # timeout=10 18:44:57 > git --version # 'git version 2.25.1' 18:44:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:59 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:44:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:45:00 Avoid second fetch 18:45:00 Checking out Revision 03e3920523c9ccf0abebb32dc2ec7b89e7815765 (main) 18:45:00 > git config core.sparsecheckout # timeout=10 18:45:01 > git checkout -f 03e3920523c9ccf0abebb32dc2ec7b89e7815765 # timeout=10 18:45:02 Commit message: "refactor!: Replace internal topics from config with new constants (#233)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:45:03 % Total % Received % Xferd Average Speed Time Time Time Current 18:45:03 Dload Upload Total Spent Left Speed 18:45:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 18:45:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:45:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:45:04 + sudo tee /etc/docker/daemon.new 18:45:04 { 18:45:04 "registry-mirrors": [ 18:45:04 "https://nexus3.edgexfoundry.org:10001" 18:45:04 ], 18:45:04 "bip": "10.250.0.254/24", 18:45:04 "hosts": [ 18:45:04 "tcp://0.0.0.0:5555", 18:45:04 "unix:///var/run/docker.sock" 18:45:04 ], 18:45:04 "mtu": 1458, 18:45:04 "selinux-enabled": true, 18:45:04 "seccomp-profile": "/etc/docker/seccomp.json" 18:45:04 } [Pipeline] sh 18:45:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:45:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:45:23 provisioning config files... 18:45:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/103@tmp/config1759942252763309758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:23 ---> docker-login.sh 18:45:23 nexus3.edgexfoundry.org:10001 18:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:24 Configure a credential helper to remove this warning. See 18:45:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:24 18:45:24 Login Succeeded 18:45:24 nexus3.edgexfoundry.org:10002 18:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:25 Configure a credential helper to remove this warning. See 18:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:25 18:45:25 Login Succeeded 18:45:25 nexus3.edgexfoundry.org:10003 18:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:25 Configure a credential helper to remove this warning. See 18:45:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:25 18:45:25 Login Succeeded 18:45:25 nexus3.edgexfoundry.org:10004 18:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:26 Configure a credential helper to remove this warning. See 18:45:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:26 18:45:26 Login Succeeded 18:45:26 docker.io 18:45:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:26 Configure a credential helper to remove this warning. See 18:45:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:26 18:45:26 Login Succeeded 18:45:26 ---> docker-login.sh ends [Pipeline] } 18:45:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:45:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:45:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:45:27 ========================================================= 18:45:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:45:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:27 + 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:45:28 Sending build context to Docker daemon 20.54MB 18:45:28 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:45:28 Step 2/13 : FROM ${BASE} AS builder 18:45:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:45:28 9b18e9b68314: Pulling fs layer 18:45:28 35d82f9e3411: Pulling fs layer 18:45:28 e16973657156: Pulling fs layer 18:45:28 fc693d55d65f: Pulling fs layer 18:45:28 7e9fc2657dce: Pulling fs layer 18:45:28 dda99020689f: Pulling fs layer 18:45:28 db1c61fa0a46: Pulling fs layer 18:45:28 891c053d2c06: Pulling fs layer 18:45:28 fc693d55d65f: Waiting 18:45:28 7e9fc2657dce: Waiting 18:45:28 dda99020689f: Waiting 18:45:28 db1c61fa0a46: Waiting 18:45:28 e16973657156: Download complete 18:45:28 35d82f9e3411: Verifying Checksum 18:45:28 35d82f9e3411: Download complete 18:45:28 7e9fc2657dce: Verifying Checksum 18:45:28 7e9fc2657dce: Download complete 18:45:28 dda99020689f: Verifying Checksum 18:45:28 dda99020689f: Download complete 18:45:28 9b18e9b68314: Verifying Checksum 18:45:28 9b18e9b68314: Download complete 18:45:31 9b18e9b68314: Pull complete 18:45:31 891c053d2c06: Verifying Checksum 18:45:31 891c053d2c06: Download complete 18:45:31 db1c61fa0a46: Verifying Checksum 18:45:31 db1c61fa0a46: Download complete 18:45:31 35d82f9e3411: Pull complete 18:45:31 e16973657156: Pull complete 18:45:34 fc693d55d65f: Verifying Checksum 18:45:34 fc693d55d65f: Download complete 18:45:46 fc693d55d65f: Pull complete 18:45:46 7e9fc2657dce: Pull complete 18:45:46 dda99020689f: Pull complete 18:45:53 db1c61fa0a46: Pull complete 18:45:56 891c053d2c06: Pull complete 18:45:56 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:45:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:45:56 ---> f96f9c87975a 18:45:56 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:45:59 ---> Running in 6cab9814d057 18:45:59 Removing intermediate container 6cab9814d057 18:45:59 ---> 2aad0f4e384b 18:45:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:46:00 ---> Running in 17a1b7f0b5af 18:46:00 Removing intermediate container 17a1b7f0b5af 18:46:00 ---> 495614a337d4 18:46:00 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:46:00 ---> Running in 7de44258f3d7 18:46:00 Removing intermediate container 7de44258f3d7 18:46:00 ---> 15c770b73735 18:46:00 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:46:00 ---> Running in 621e561fb382 18:46:01 Removing intermediate container 621e561fb382 18:46:01 ---> a62fb398830e 18:46:01 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:46:01 ---> Running in a8be2e505ea7 18:46:01 Removing intermediate container a8be2e505ea7 18:46:01 ---> b6880591624c 18:46:01 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:46:01 ---> Running in 871ac3b4e321 18:46:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:46:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:46:04 OK: 221 MiB in 51 packages 18:46:05 Removing intermediate container 871ac3b4e321 18:46:05 ---> c16c88037129 18:46:05 Step 9/13 : WORKDIR /device-onvif-camera 18:46:05 ---> Running in a055aef7ef57 18:46:06 Removing intermediate container a055aef7ef57 18:46:06 ---> d92a99b77f9f 18:46:06 Step 10/13 : COPY go.mod vendor* ./ 18:46:06 ---> 2e82d4b93742 18:46:06 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:06 ---> Running in 723f57c33a91 18:47:28 Removing intermediate container 723f57c33a91 18:47:28 ---> 10018a842bc9 18:47:28 Step 12/13 : COPY . . 18:47:28 ---> a3750efa5c70 18:47:28 Step 13/13 : RUN ${MAKE} 18:47:28 ---> Running in dd5a134a6380 18:47:28 noop 18:47:29 Removing intermediate container dd5a134a6380 18:47:29 ---> 0a045c61945a 18:47:29 Successfully built 0a045c61945a 18:47:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:29 + docker inspect -f . ci-base-image-arm64 18:47:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:30 prd-ubuntu20.04-docker-arm64-4c-16g-6185 does not seem to be running inside a container 18:47:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/103 -v /w/workspace/device-onvif-camera/103:/w/workspace/device-onvif-camera/103:rw,z -v /w/workspace/device-onvif-camera/103@tmp:/w/workspace/device-onvif-camera/103@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:47:31 $ docker top 7fe000a8c4a46adf8a065d7229a670ce661ade07d3266413990a2ddc74565962 -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:32 + go version 18:47:32 go version go1.18.7 linux/arm64 [Pipeline] } 18:47:32 $ docker stop --time=1 7fe000a8c4a46adf8a065d7229a670ce661ade07d3266413990a2ddc74565962 18:47:34 $ docker rm -f --volumes 7fe000a8c4a46adf8a065d7229a670ce661ade07d3266413990a2ddc74565962 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:34 + docker inspect -f . ci-base-image-arm64 18:47:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:35 prd-ubuntu20.04-docker-arm64-4c-16g-6185 does not seem to be running inside a container 18:47:35 $ 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/103 -v /w/workspace/device-onvif-camera/103:/w/workspace/device-onvif-camera/103:rw,z -v /w/workspace/device-onvif-camera/103@tmp:/w/workspace/device-onvif-camera/103@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:47:36 $ docker top 87f3b2037b2b3d99d5c4cdc451ec50ae5c50d5d608f3d778add74ad9f5ba84f3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:37 + git config --global --add safe.directory /w/workspace/device-onvif-camera/103 [Pipeline] fileExists [Pipeline] sh 18:47:37 + make test 18:47:37 go test ./... -coverprofile=coverage.out ./... 18:47:39 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:49:46 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:49:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.387s coverage: 29.3% of statements 18:49:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:50:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.370s coverage: 86.5% of statements 18:50:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:50:11 go vet ./... 18:50:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:50:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:50:43 ./bin/test-attribution-txt.sh [Pipeline] echo 18:50:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:50:43 $ docker stop --time=1 87f3b2037b2b3d99d5c4cdc451ec50ae5c50d5d608f3d778add74ad9f5ba84f3 18:50:45 $ docker rm -f --volumes 87f3b2037b2b3d99d5c4cdc451ec50ae5c50d5d608f3d778add74ad9f5ba84f3 [Pipeline] // withDockerContainer [Pipeline] sh 18:50:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:50:46 Warning: overwriting stash ‘coverage-report’ 18:50:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:50:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:50:48 + ls -al . 18:50:48 total 232 18:50:48 drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 18:47 . 18:50:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:44 .. 18:50:48 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:45 .git 18:50:48 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:45 .github 18:50:48 -rw-rw-r-- 1 jenkins jenkins 496 Feb 15 18:45 .gitignore 18:50:48 -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 18:45 .golangci.yml 18:50:48 -rw-rw-r-- 1 jenkins jenkins 9857 Feb 15 18:45 Attribution.txt 18:50:48 -rw-rw-r-- 1 jenkins jenkins 6312 Feb 15 18:45 CHANGELOG.md 18:50:48 -rw-rw-r-- 1 jenkins jenkins 1574 Feb 15 18:45 Dockerfile 18:50:48 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:45 GOVERNANCE.md 18:50:48 -rw-rw-r-- 1 jenkins jenkins 734 Feb 15 18:45 Jenkinsfile 18:50:48 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 15 18:45 LICENSE 18:50:48 -rw-rw-r-- 1 jenkins jenkins 2577 Feb 15 18:45 Makefile 18:50:48 -rw-rw-r-- 1 jenkins jenkins 625 Feb 15 18:45 OWNERS.md 18:50:48 -rw-rw-r-- 1 jenkins jenkins 6595 Feb 15 18:45 README.md 18:50:48 -rw-rw-r-- 1 jenkins jenkins 12 Feb 15 18:41 VERSION 18:50:48 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:45 bin 18:50:48 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:45 cmd 18:50:48 -rw-r--r-- 1 jenkins jenkins 79184 Feb 15 18:50 coverage.out 18:50:48 drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 18:45 doc 18:50:48 -rw-rw-r-- 1 jenkins jenkins 3600 Feb 15 18:45 go.mod 18:50:48 -rw-rw-r-- 1 jenkins jenkins 34701 Feb 15 18:45 go.sum 18:50:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:45 internal 18:50:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:45 snap 18:50:48 -rw-rw-r-- 1 jenkins jenkins 236 Feb 15 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:48 + 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=03e3920523c9ccf0abebb32dc2ec7b89e7815765 --label arch=arm64 --label version=3.0.0-dev.14 . 18:50:48 Sending build context to Docker daemon 20.62MB 18:50:48 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:50:48 Step 2/26 : FROM ${BASE} AS builder 18:50:48 ---> 0a045c61945a 18:50:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:50:49 ---> Running in 3dccedb43b2d 18:50:49 Removing intermediate container 3dccedb43b2d 18:50:49 ---> 2e1423bc6578 18:50:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:50:50 ---> Running in bac9407a5ef4 18:50:50 Removing intermediate container bac9407a5ef4 18:50:50 ---> 8f43eb296eb2 18:50:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:50:50 ---> Running in 6c4270138176 18:50:50 Removing intermediate container 6c4270138176 18:50:50 ---> ffac1fedd172 18:50:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:50:50 ---> Running in aa7854257ab2 18:50:51 Removing intermediate container aa7854257ab2 18:50:51 ---> d4b972b6b939 18:50:51 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:50:51 ---> Running in 481d7f8b96be 18:50:51 Removing intermediate container 481d7f8b96be 18:50:51 ---> 9adeaf45fa31 18:50:51 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:50:51 ---> Running in 4c0b872b4c2e 18:50:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:50:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:50:54 OK: 221 MiB in 51 packages 18:50:55 Removing intermediate container 4c0b872b4c2e 18:50:55 ---> b233a5fe8604 18:50:55 Step 9/26 : WORKDIR /device-onvif-camera 18:50:55 ---> Running in a63a5e65dd29 18:50:55 Removing intermediate container a63a5e65dd29 18:50:55 ---> e57dcf421a79 18:50:55 Step 10/26 : COPY go.mod vendor* ./ 18:50:56 ---> d46e9286d50e 18:50:56 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:50:56 ---> Running in bfa8b1f89f70 18:50:59 Removing intermediate container bfa8b1f89f70 18:50:59 ---> 56cb2669b30d 18:50:59 Step 12/26 : COPY . . 18:51:00 ---> 55538c029359 18:51:00 Step 13/26 : RUN ${MAKE} 18:51:01 ---> Running in 2378c8c4fe8f 18:51:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.14" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:53:54 Removing intermediate container 2378c8c4fe8f 18:53:54 ---> 3ca7c1633ba9 18:53:54 Step 14/26 : FROM alpine:3.16 18:53:54 3.16: Pulling from library/alpine 18:53:54 3760b48202b3: Pulling fs layer 18:53:54 3760b48202b3: Verifying Checksum 18:53:54 3760b48202b3: Download complete 18:53:54 3760b48202b3: Pull complete 18:53:54 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:53:54 Status: Downloaded newer image for alpine:3.16 18:53:54 ---> 4c81e5bf8899 18:53:54 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:53:54 ---> Running in 72b41ea0f468 18:53:54 Removing intermediate container 72b41ea0f468 18:53:54 ---> 62781377dad0 18:53:54 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:53:54 ---> Running in d51a8a6f687f 18:53:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:53:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:53:54 (1/1) Installing dumb-init (1.2.5-r1) 18:53:54 Executing busybox-1.35.0-r17.trigger 18:53:54 OK: 5 MiB in 15 packages 18:53:54 Removing intermediate container d51a8a6f687f 18:53:54 ---> dffb0fd83828 18:53:54 Step 17/26 : WORKDIR / 18:53:54 ---> Running in f868da0fe8e0 18:53:54 Removing intermediate container f868da0fe8e0 18:53:54 ---> 779f8dea95ef 18:53:54 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:53:54 ---> 7530fe270a89 18:53:54 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:53:54 ---> 287f3e7dd78c 18:53:54 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:53:54 ---> 865419ce8244 18:53:54 Step 21/26 : EXPOSE 59984 18:53:54 ---> Running in 3d4a289d2ead 18:53:54 Removing intermediate container 3d4a289d2ead 18:53:54 ---> c0919c655470 18:53:54 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:53:54 ---> Running in 24b83ab69903 18:53:54 Removing intermediate container 24b83ab69903 18:53:54 ---> 8f4aa623a651 18:53:54 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:53:54 ---> Running in 6ce1f320e668 18:53:55 Removing intermediate container 6ce1f320e668 18:53:55 ---> ab5c955e3e1c 18:53:55 Step 24/26 : LABEL arch=arm64 18:53:55 ---> Running in 4bc3f1ee32a3 18:53:55 Removing intermediate container 4bc3f1ee32a3 18:53:55 ---> 0ef81310fe71 18:53:55 Step 25/26 : LABEL git_sha=03e3920523c9ccf0abebb32dc2ec7b89e7815765 18:53:55 ---> Running in ec1feac42008 18:53:55 Removing intermediate container ec1feac42008 18:53:55 ---> 8d896e82217b 18:53:55 Step 26/26 : LABEL version=3.0.0-dev.14 18:53:56 ---> Running in eee43185cbc1 18:53:56 Removing intermediate container eee43185cbc1 18:53:56 ---> d9a4a5d9a436 18:53:56 [Warning] One or more build-args [ARCH] were not consumed 18:53:56 Successfully built d9a4a5d9a436 18:53:56 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:53:56 provisioning config files... 18:53:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/103@tmp/config85187893520998460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:57 ---> docker-login.sh 18:53:57 nexus3.edgexfoundry.org:10001 18:53:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:57 Configure a credential helper to remove this warning. See 18:53:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:57 18:53:57 Login Succeeded 18:53:57 nexus3.edgexfoundry.org:10002 18:53:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:57 Configure a credential helper to remove this warning. See 18:53:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:57 18:53:57 Login Succeeded 18:53:57 nexus3.edgexfoundry.org:10003 18:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:58 Configure a credential helper to remove this warning. See 18:53:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:58 18:53:58 Login Succeeded 18:53:58 nexus3.edgexfoundry.org:10004 18:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:58 Configure a credential helper to remove this warning. See 18:53:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:58 18:53:58 Login Succeeded 18:53:58 docker.io 18:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:59 Configure a credential helper to remove this warning. See 18:53:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:59 18:53:59 Login Succeeded 18:53:59 ---> docker-login.sh ends [Pipeline] } 18:53:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:53:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:53:59 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 18:53:59 03e3920523c9ccf0abebb32dc2ec7b89e7815765 18:53:59 latest 18:53:59 3.0.0-dev.14 18:53:59 03e3920523c9ccf0abebb32dc2ec7b89e7815765-3.0.0-dev.14 18:53:59 main 18:53:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:59 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:03e3920523c9ccf0abebb32dc2ec7b89e7815765 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:03e3920523c9ccf0abebb32dc2ec7b89e7815765 18:54:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:54:00 d38edb734a5b: Preparing 18:54:00 746e61caea17: Preparing 18:54:00 23f7d8149049: Preparing 18:54:00 8d4a1d384283: Preparing 18:54:00 f70ee36035b9: Preparing 18:54:00 f70ee36035b9: Layer already exists 18:54:00 8d4a1d384283: Pushed 18:54:00 746e61caea17: Pushed 18:54:00 d38edb734a5b: Pushed 18:54:07 23f7d8149049: Pushed 18:54:07 03e3920523c9ccf0abebb32dc2ec7b89e7815765: digest: sha256:ec72339a885e8992a290f5537582d6e6dbf768e1188ee6d55ab08128a63d2945 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:07 + 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:54:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:54:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:54:07 d38edb734a5b: Preparing 18:54:07 746e61caea17: Preparing 18:54:07 23f7d8149049: Preparing 18:54:07 8d4a1d384283: Preparing 18:54:07 f70ee36035b9: Preparing 18:54:07 746e61caea17: Layer already exists 18:54:07 8d4a1d384283: Layer already exists 18:54:07 f70ee36035b9: Layer already exists 18:54:07 23f7d8149049: Layer already exists 18:54:07 d38edb734a5b: Layer already exists 18:54:08 latest: digest: sha256:ec72339a885e8992a290f5537582d6e6dbf768e1188ee6d55ab08128a63d2945 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:08 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.14 18:54:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:54:08 d38edb734a5b: Preparing 18:54:08 746e61caea17: Preparing 18:54:08 23f7d8149049: Preparing 18:54:08 8d4a1d384283: Preparing 18:54:08 f70ee36035b9: Preparing 18:54:08 746e61caea17: Layer already exists 18:54:08 23f7d8149049: Layer already exists 18:54:08 d38edb734a5b: Layer already exists 18:54:08 8d4a1d384283: Layer already exists 18:54:08 f70ee36035b9: Layer already exists 18:54:08 3.0.0-dev.14: digest: sha256:ec72339a885e8992a290f5537582d6e6dbf768e1188ee6d55ab08128a63d2945 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:09 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:03e3920523c9ccf0abebb32dc2ec7b89e7815765-3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:03e3920523c9ccf0abebb32dc2ec7b89e7815765-3.0.0-dev.14 18:54:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:54:09 d38edb734a5b: Preparing 18:54:09 746e61caea17: Preparing 18:54:09 23f7d8149049: Preparing 18:54:09 8d4a1d384283: Preparing 18:54:09 f70ee36035b9: Preparing 18:54:09 8d4a1d384283: Layer already exists 18:54:09 746e61caea17: Layer already exists 18:54:09 d38edb734a5b: Layer already exists 18:54:09 f70ee36035b9: Layer already exists 18:54:09 23f7d8149049: Layer already exists 18:54:10 03e3920523c9ccf0abebb32dc2ec7b89e7815765-3.0.0-dev.14: digest: sha256:ec72339a885e8992a290f5537582d6e6dbf768e1188ee6d55ab08128a63d2945 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:10 + 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:54:10 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 18:54:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:54:10 d38edb734a5b: Preparing 18:54:10 746e61caea17: Preparing 18:54:10 23f7d8149049: Preparing 18:54:10 8d4a1d384283: Preparing 18:54:10 f70ee36035b9: Preparing 18:54:10 8d4a1d384283: Layer already exists 18:54:10 23f7d8149049: Layer already exists 18:54:10 d38edb734a5b: Layer already exists 18:54:10 f70ee36035b9: Layer already exists 18:54:10 746e61caea17: Layer already exists 18:54:11 main: digest: sha256:ec72339a885e8992a290f5537582d6e6dbf768e1188ee6d55ab08128a63d2945 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:54:11 ===================================================== [Pipeline] echo 18:54:11 taggedImages: 18:54:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:03e3920523c9ccf0abebb32dc2ec7b89e7815765 18:54:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:54:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.14 18:54:11 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:03e3920523c9ccf0abebb32dc2ec7b89e7815765-3.0.0-dev.14 18:54:11 - 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:54:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:11 18:54:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:11 arm64: Pulling from edgex-lftools-log-publisher 18:54:11 8998bd30e6a1: Pulling fs layer 18:54:11 04944245beec: Pulling fs layer 18:54:11 699f458cf7ca: Pulling fs layer 18:54:11 765212b225bb: Pulling fs layer 18:54:11 f23df028b6ca: Pulling fs layer 18:54:11 d65c8cfc05b1: Pulling fs layer 18:54:11 2437ff75d9bd: Pulling fs layer 18:54:11 f23df028b6ca: Waiting 18:54:11 d65c8cfc05b1: Waiting 18:54:11 2437ff75d9bd: Waiting 18:54:12 04944245beec: Download complete 18:54:12 765212b225bb: Verifying Checksum 18:54:12 765212b225bb: Download complete 18:54:12 f23df028b6ca: Verifying Checksum 18:54:12 f23df028b6ca: Download complete 18:54:12 d65c8cfc05b1: Verifying Checksum 18:54:12 d65c8cfc05b1: Download complete 18:54:12 699f458cf7ca: Verifying Checksum 18:54:12 699f458cf7ca: Download complete 18:54:12 8998bd30e6a1: Verifying Checksum 18:54:12 8998bd30e6a1: Download complete 18:54:15 2437ff75d9bd: Verifying Checksum 18:54:15 2437ff75d9bd: Download complete 18:54:16 8998bd30e6a1: Pull complete 18:54:17 04944245beec: Pull complete 18:54:18 699f458cf7ca: Pull complete 18:54:18 765212b225bb: Pull complete 18:54:19 f23df028b6ca: Pull complete 18:54:19 d65c8cfc05b1: Pull complete 18:54:35 2437ff75d9bd: Pull complete 18:54:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:54:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:35 prd-ubuntu20.04-docker-arm64-4c-16g-6185 does not seem to be running inside a container 18:54:35 $ 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/103 -v /w/workspace/device-onvif-camera/103:/w/workspace/device-onvif-camera/103:rw,z -v /w/workspace/device-onvif-camera/103@tmp:/w/workspace/device-onvif-camera/103@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:54:38 $ docker top 66627a2b8073c4c12653d386ce9502538824d9a24fde9ce1c79158ff623bc2d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:54:39 ---> job-cost.sh 18:54:39 lf-activate-venv: SKIPPING 18:54:39 INFO: No Stack... 18:54:40 INFO: Retrieving Pricing Info for: v3-standard-4 18:54:41 INFO: Archiving Costs [Pipeline] sh 18:54:42 + cut -d, -f6 18:54:42 + cat /w/workspace/device-onvif-camera/103/archives/cost.csv [Pipeline] lock 18:54:42 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-103-stack-cost] 18:54:42 Resource [jenkins-edgexfoundry-device-onvif-camera-main-103-stack-cost] did not exist. Created. 18:54:42 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-103-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:54:42 /w/workspace/device-onvif-camera/103@tmp/durable-398d87fd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:54:43 + echo total: 0.10999999940395355 [Pipeline] stash 18:54:43 Warning: overwriting stash ‘stack-cost’ 18:54:43 Stashed 1 file(s) [Pipeline] } 18:54:43 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-103-stack-cost] [Pipeline] // lock [Pipeline] } 18:54:43 $ docker stop --time=1 66627a2b8073c4c12653d386ce9502538824d9a24fde9ce1c79158ff623bc2d5 18:54:45 $ docker rm -f --volumes 66627a2b8073c4c12653d386ce9502538824d9a24fde9ce1c79158ff623bc2d5 [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:54:45 provisioning config files... 18:54:45 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18223346428952041861tmp [Pipeline] { [Pipeline] sh 18:54:45 + set +x 18:54:45 + curl -s https://codecov.io/bash 18:54:45 + bash -s -- 18:54:45 18:54:45 _____ _ 18:54:45 / ____| | | 18:54:45 | | ___ __| | ___ ___ _____ __ 18:54:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:54:45 | |___| (_) | (_| | __/ (_| (_) \ V / 18:54:45 \_____\___/ \__,_|\___|\___\___/ \_/ 18:54:45 Bash-1.0.6 18:54:45 18:54:45 18:54:45 ==> git version 2.25.1 found 18:54:45 ==> 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:54:45 Release-Date: 2020-01-08 18:54:45 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:54:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:54:45 ==> Jenkins CI detected. 18:54:45 current dir:  /w/workspace/foundry_device-onvif-camera_main 18:54:45 project root: . 18:54:45 --> token set from env 18:54:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:54:45 ==> Running gcov in . (disable via -X gcov) 18:54:45 ==> Python coveragepy not found 18:54:45 ==> Searching for coverage reports in: 18:54:45 + . 18:54:45 -> Found 1 reports 18:54:45 ==> Detecting git/mercurial file structure 18:54:45 ==> Reading reports 18:54:45 + ./coverage.out bytes=79184 18:54:45 ==> Appending adjustments 18:54:45 https://docs.codecov.io/docs/fixing-reports 18:54:46 + Found adjustments 18:54:46 ==> Gzipping contents 18:54:46 12K /tmp/codecov.Tha63u.gz 18:54:46 ==> Uploading reports 18:54:46 url: https://codecov.io 18:54:46 query: branch=main&commit=03e3920523c9ccf0abebb32dc2ec7b89e7815765&build=103&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F103%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:54:46 -> Pinging Codecov 18:54:46 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=03e3920523c9ccf0abebb32dc2ec7b89e7815765&build=103&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F103%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:54:46 -> Uploading to 18:54:46 https://storage.googleapis.com/codecov/v4/raw/2023-02-15/F29A59C45E3A92E06B3E522C9905F8EF/03e3920523c9ccf0abebb32dc2ec7b89e7815765/ff87647f-ee80-43d9-a3f1-82faf562acc1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T185446Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10a394aa19e6dc80ff0f38943696427ca0cd6337ecfb7678fca6f28cdfe6f1a6 18:54:46 % Total % Received % Xferd Average Speed Time Time Time Current 18:54:46 Dload Upload Total Spent Left Speed 18:54:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10862 0 0 100 10862 0 41776 --:--:-- --:--:-- --:--:-- 41776 18:54:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/03e3920523c9ccf0abebb32dc2ec7b89e7815765 [Pipeline] } 18:54:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:54:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:54:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:54:47 18:54:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:54:47 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:54:47 df9b9388f04a: Pulling fs layer 18:54:47 52dc419b0ee2: Pulling fs layer 18:54:47 25bc292e5bac: Pulling fs layer 18:54:47 114826534d7a: Pulling fs layer 18:54:47 4657fd5d0bcf: Pulling fs layer 18:54:47 6ad1cebc031e: Pulling fs layer 18:54:47 8a3aa393b2d8: Pulling fs layer 18:54:47 114826534d7a: Waiting 18:54:47 4657fd5d0bcf: Waiting 18:54:47 6ad1cebc031e: Waiting 18:54:47 25bc292e5bac: Download complete 18:54:47 52dc419b0ee2: Verifying Checksum 18:54:47 52dc419b0ee2: Download complete 18:54:47 4657fd5d0bcf: Verifying Checksum 18:54:47 4657fd5d0bcf: Download complete 18:54:47 df9b9388f04a: Download complete 18:54:47 df9b9388f04a: Pull complete 18:54:47 52dc419b0ee2: Pull complete 18:54:48 25bc292e5bac: Pull complete 18:54:48 6ad1cebc031e: Verifying Checksum 18:54:48 6ad1cebc031e: Download complete 18:54:49 114826534d7a: Download complete 18:54:49 8a3aa393b2d8: Verifying Checksum 18:54:52 114826534d7a: Pull complete 18:54:52 4657fd5d0bcf: Pull complete 18:54:52 6ad1cebc031e: Pull complete 18:54:55 8a3aa393b2d8: Pull complete 18:54:55 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:54:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:54:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:55 prd-ubuntu20.04-docker-8c-8g-6174 does not seem to be running inside a container 18:54:55 $ 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:54:57 $ docker top 0c8e7fa8e816bc41a4a15ea0c71b9f60e5d4540212cab34702538d1fd687d19f -eo pid,comm [Pipeline] { [Pipeline] echo 18:54:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 18:54:58 + set -o pipefail 18:54:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 18:55:03 18:55:03 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 18:55:03 18:55:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/3d888125-5dcb-4404-84bc-6810f910f434 18:55:03 18:55:03 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 18:55:03 18:55:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:55:03 18:55:03 18:55:03 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:55:03 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:55:03 More details here: https://snyk.co/ue1NS [Pipeline] } 18:55:03 $ docker stop --time=1 0c8e7fa8e816bc41a4a15ea0c71b9f60e5d4540212cab34702538d1fd687d19f 18:55:05 $ docker rm -f --volumes 0c8e7fa8e816bc41a4a15ea0c71b9f60e5d4540212cab34702538d1fd687d19f [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:55:06 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:06 provisioning config files... 18:55:06 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8533681517284722824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:06 --> edgex-publish-swagger.sh 18:55:06 === Publish doc/openapi/v2 API === 18:55:06 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 18:55:06 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 18:55:06 % Total % Received % Xferd Average Speed Time Time Time Current 18:55:06 Dload Upload Total Spent Left Speed 18:55:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 54 469k 0 0 54 256k 0 1954k --:--:-- --:--:-- --:--:-- 1939k 100 469k 0 0 100 469k 0 619k --:--:-- --:--:-- --:--:-- 619k 18:55:06 18:55:06 [Pipeline] } 18:55:06 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:55:07 + git log --format=format:%s -1 03e3920523c9ccf0abebb32dc2ec7b89e7815765 [Pipeline] sh 18:55:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:55:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:07 prd-ubuntu20.04-docker-8c-8g-6174 does not seem to be running inside a container 18:55:07 $ 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:55:08 $ docker top 88d3dd21d24bf1acb7af01b374ee9c4c3c5ec2d95ed84e5ead97cca07d86ef44 -eo pid,comm 18:55:08 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:55:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:55:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:08 [ssh-agent] Looking for ssh-agent implementation... 18:55:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:55:08 $ docker exec 88d3dd21d24bf1acb7af01b374ee9c4c3c5ec2d95ed84e5ead97cca07d86ef44 ssh-agent 18:55:08 SSH_AUTH_SOCK=/tmp/ssh-s4an9gtX0Nih/agent.33 18:55:08 SSH_AGENT_PID=39 18:55:08 Running ssh-add (command line suppressed) 18:55:08 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13224214632151819724.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13224214632151819724.key) 18:55:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:55:09 + git semver tag 18:55:09 2023-02-15 18:55:09,382 [run_tag] DEBUG tag force:False 18:55:09 2023-02-15 18:55:09,382 [check_head_tag] DEBUG check head tag 18:55:09 2023-02-15 18:55:09,384 [execute] INFO git cat-file --batch-check 18:55:09 2023-02-15 18:55:09,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:55:09 2023-02-15 18:55:09,388 [execute] INFO git cat-file --batch 18:55:09 2023-02-15 18:55:09,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:55:09 2023-02-15 18:55:09,417 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:55:09 2023-02-15 18:55:09,417 [execute] INFO git tag -a v3.0.0-dev.14 -m v3.0.0-dev.14 18:55:09 2023-02-15 18:55:09,417 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.14', '-m', 'v3.0.0-dev.14'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:55:09 2023-02-15 18:55:09,424 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:55:09 3.0.0-dev.14 [Pipeline] } 18:55:09 $ docker exec --env ******** --env ******** 88d3dd21d24bf1acb7af01b374ee9c4c3c5ec2d95ed84e5ead97cca07d86ef44 ssh-agent -k 18:55:09 unset SSH_AUTH_SOCK; 18:55:09 unset SSH_AGENT_PID; 18:55:09 echo Agent pid 39 killed; 18:55:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:55:10 + git semver [Pipeline] } 18:55:10 $ docker stop --time=1 88d3dd21d24bf1acb7af01b374ee9c4c3c5ec2d95ed84e5ead97cca07d86ef44 18:55:11 $ docker rm -f --volumes 88d3dd21d24bf1acb7af01b374ee9c4c3c5ec2d95ed84e5ead97cca07d86ef44 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:55:12 18:55:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:55:12 0.23.1-centos7: Pulling from edgex-lftools 18:55:12 ab5ef0e58194: Pulling fs layer 18:55:12 9712f1f96733: Pulling fs layer 18:55:12 63f879dbbcfc: Pulling fs layer 18:55:12 0d9ebad4ef96: Pulling fs layer 18:55:12 e9a5061849ea: Pulling fs layer 18:55:12 d747dcd14b5f: Pulling fs layer 18:55:12 2de7ff778b66: Pulling fs layer 18:55:12 0d9ebad4ef96: Waiting 18:55:12 e9a5061849ea: Waiting 18:55:12 d747dcd14b5f: Waiting 18:55:12 2de7ff778b66: Waiting 18:55:12 9712f1f96733: Verifying Checksum 18:55:12 9712f1f96733: Download complete 18:55:13 63f879dbbcfc: Verifying Checksum 18:55:13 63f879dbbcfc: Download complete 18:55:13 e9a5061849ea: Verifying Checksum 18:55:13 e9a5061849ea: Download complete 18:55:14 d747dcd14b5f: Download complete 18:55:14 0d9ebad4ef96: Verifying Checksum 18:55:14 0d9ebad4ef96: Download complete 18:55:14 ab5ef0e58194: Verifying Checksum 18:55:14 ab5ef0e58194: Download complete 18:55:14 2de7ff778b66: Verifying Checksum 18:55:14 2de7ff778b66: Download complete 18:55:17 ab5ef0e58194: Pull complete 18:55:17 9712f1f96733: Pull complete 18:55:18 63f879dbbcfc: Pull complete 18:55:22 0d9ebad4ef96: Pull complete 18:55:22 e9a5061849ea: Pull complete 18:55:22 d747dcd14b5f: Pull complete 18:55:23 2de7ff778b66: Pull complete 18:55:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:55:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:55:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:23 prd-ubuntu20.04-docker-8c-8g-6174 does not seem to be running inside a container 18:55:23 $ 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:55:25 $ docker top 83d13f23f13618db9311c631690e08cf74bfd360eb5972622e2ed2b5b0d66c82 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:55:25 provisioning config files... 18:55:25 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3997398820544853772tmp 18:55:25 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13028734113694993733tmp 18:55:25 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1440709867983443442tmp [Pipeline] { [Pipeline] echo 18:55:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:55:26 ---> sigul-configuration.sh 18:55:26 gpg: directory `/root/.gnupg' created 18:55:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:55:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:55:26 gpg: keyring `/root/.gnupg/secring.gpg' created 18:55:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:55:26 gpg: CAST5 encrypted data 18:55:26 gpg: encrypted with 1 passphrase 18:55:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:55:26 + mkdir /home/jenkins 18:55:26 + mkdir /home/jenkins/sigul [Pipeline] sh 18:55:26 + 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:55:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:55:27 ---> sigul-install.sh 18:55:27 Sigul already installed; skipping installation. [Pipeline] sh 18:55:27 + git tag --list 18:55:27 v0.0.0 18:55:27 v0.0.1-dev.1 18:55:27 v0.0.1-dev.10 18:55:27 v0.0.1-dev.11 18:55:27 v0.0.1-dev.12 18:55:27 v0.0.1-dev.13 18:55:27 v0.0.1-dev.14 18:55:27 v0.0.1-dev.15 18:55:27 v0.0.1-dev.16 18:55:27 v0.0.1-dev.17 18:55:27 v0.0.1-dev.18 18:55:27 v0.0.1-dev.19 18:55:27 v0.0.1-dev.2 18:55:27 v0.0.1-dev.20 18:55:27 v0.0.1-dev.21 18:55:27 v0.0.1-dev.22 18:55:27 v0.0.1-dev.23 18:55:27 v0.0.1-dev.24 18:55:27 v0.0.1-dev.25 18:55:27 v0.0.1-dev.26 18:55:27 v0.0.1-dev.27 18:55:27 v0.0.1-dev.28 18:55:27 v0.0.1-dev.3 18:55:27 v0.0.1-dev.4 18:55:27 v0.0.1-dev.5 18:55:27 v0.0.1-dev.6 18:55:27 v0.0.1-dev.7 18:55:27 v0.0.1-dev.8 18:55:27 v0.0.1-dev.9 18:55:27 v2.2.0 18:55:27 v2.2.0-dev.29 18:55:27 v2.2.0-dev.30 18:55:27 v2.2.0-dev.31 18:55:27 v2.2.0-dev.32 18:55:27 v2.2.0-dev.33 18:55:27 v2.2.0-dev.34 18:55:27 v2.2.0-dev.35 18:55:27 v2.3.0 18:55:27 v2.3.0-dev.1 18:55:27 v2.3.0-dev.10 18:55:27 v2.3.0-dev.11 18:55:27 v2.3.0-dev.12 18:55:27 v2.3.0-dev.13 18:55:27 v2.3.0-dev.14 18:55:27 v2.3.0-dev.15 18:55:27 v2.3.0-dev.16 18:55:27 v2.3.0-dev.17 18:55:27 v2.3.0-dev.18 18:55:27 v2.3.0-dev.19 18:55:27 v2.3.0-dev.2 18:55:27 v2.3.0-dev.20 18:55:27 v2.3.0-dev.21 18:55:27 v2.3.0-dev.22 18:55:27 v2.3.0-dev.23 18:55:27 v2.3.0-dev.24 18:55:27 v2.3.0-dev.25 18:55:27 v2.3.0-dev.26 18:55:27 v2.3.0-dev.27 18:55:27 v2.3.0-dev.28 18:55:27 v2.3.0-dev.29 18:55:27 v2.3.0-dev.3 18:55:27 v2.3.0-dev.30 18:55:27 v2.3.0-dev.31 18:55:27 v2.3.0-dev.32 18:55:27 v2.3.0-dev.33 18:55:27 v2.3.0-dev.34 18:55:27 v2.3.0-dev.35 18:55:27 v2.3.0-dev.36 18:55:27 v2.3.0-dev.37 18:55:27 v2.3.0-dev.38 18:55:27 v2.3.0-dev.39 18:55:27 v2.3.0-dev.4 18:55:27 v2.3.0-dev.40 18:55:27 v2.3.0-dev.41 18:55:27 v2.3.0-dev.42 18:55:27 v2.3.0-dev.43 18:55:27 v2.3.0-dev.44 18:55:27 v2.3.0-dev.45 18:55:27 v2.3.0-dev.5 18:55:27 v2.3.0-dev.6 18:55:27 v2.3.0-dev.7 18:55:27 v2.3.0-dev.8 18:55:27 v2.3.0-dev.9 18:55:27 v2.3.1-dev.1 18:55:27 v3.0.0-dev.1 18:55:27 v3.0.0-dev.10 18:55:27 v3.0.0-dev.11 18:55:27 v3.0.0-dev.12 18:55:27 v3.0.0-dev.13 18:55:27 v3.0.0-dev.14 18:55:27 v3.0.0-dev.2 18:55:27 v3.0.0-dev.3 18:55:27 v3.0.0-dev.4 18:55:27 v3.0.0-dev.5 18:55:27 v3.0.0-dev.6 18:55:27 v3.0.0-dev.7 18:55:27 v3.0.0-dev.8 18:55:27 v3.0.0-dev.9 [Pipeline] sh 18:55:27 + lftools sign git-tag v3.0.0-dev.14 18:55:28 Signing Git tag with Sigul... 18:55:28 Signing v3.0.0-dev.14 [Pipeline] echo 18:55:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:55:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:55:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:55:29 $ docker stop --time=1 83d13f23f13618db9311c631690e08cf74bfd360eb5972622e2ed2b5b0d66c82 18:55:30 $ docker rm -f --volumes 83d13f23f13618db9311c631690e08cf74bfd360eb5972622e2ed2b5b0d66c82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:55:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:55:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:31 prd-ubuntu20.04-docker-8c-8g-6174 does not seem to be running inside a container 18:55:31 $ 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:55:31 $ docker top 3b8276e4fff1d5f92f5a9f8a584fb2d907ccb892fc093688651a276b03def38b -eo pid,comm 18:55:31 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:55:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:55:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:31 [ssh-agent] Looking for ssh-agent implementation... 18:55:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:55:31 $ docker exec 3b8276e4fff1d5f92f5a9f8a584fb2d907ccb892fc093688651a276b03def38b ssh-agent 18:55:31 SSH_AUTH_SOCK=/tmp/ssh-HNN192e7MXdw/agent.31 18:55:31 SSH_AGENT_PID=37 18:55:31 Running ssh-add (command line suppressed) 18:55:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2617605492839607767.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2617605492839607767.key) 18:55:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:55:32 + git semver bump pre 18:55:32 2023-02-15 18:55:32,411 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:55:32 2023-02-15 18:55:32,411 [bump_version] DEBUG bumping version:3.0.0-dev.14 on axis:pre with prefix:dev 18:55:32 2023-02-15 18:55:32,411 [bump_version] DEBUG bumped version:3.0.0-dev.15 18:55:32 2023-02-15 18:55:32,412 [write_version] DEBUG write version:3.0.0-dev.15 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 18:55:32 2023-02-15 18:55:32,412 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:55:32 2023-02-15 18:55:32,412 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 18:55:32 2023-02-15 18:55:32,414 [execute] INFO git cat-file --batch-check 18:55:32 2023-02-15 18:55:32,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:55:32 2023-02-15 18:55:32,422 [execute] INFO git cat-file --batch 18:55:32 2023-02-15 18:55:32,422 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:55:32 2023-02-15 18:55:32,428 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:55:32 3.0.0-dev.15 [Pipeline] } 18:55:32 $ docker exec --env ******** --env ******** 3b8276e4fff1d5f92f5a9f8a584fb2d907ccb892fc093688651a276b03def38b ssh-agent -k 18:55:32 unset SSH_AUTH_SOCK; 18:55:32 unset SSH_AGENT_PID; 18:55:32 echo Agent pid 37 killed; 18:55:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:55:32 + git semver [Pipeline] } 18:55:33 $ docker stop --time=1 3b8276e4fff1d5f92f5a9f8a584fb2d907ccb892fc093688651a276b03def38b 18:55:34 $ docker rm -f --volumes 3b8276e4fff1d5f92f5a9f8a584fb2d907ccb892fc093688651a276b03def38b [Pipeline] // withDockerContainer [Pipeline] sh 18:55:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:55:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:35 prd-ubuntu20.04-docker-8c-8g-6174 does not seem to be running inside a container 18:55:35 $ 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:55:35 $ docker top 18f4638c678d7ad111e04c8f70c5534c28f49a919b0774ef5534b10c4f07378b -eo pid,comm 18:55:35 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:55:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:55:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:35 [ssh-agent] Looking for ssh-agent implementation... 18:55:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:55:35 $ docker exec 18f4638c678d7ad111e04c8f70c5534c28f49a919b0774ef5534b10c4f07378b ssh-agent 18:55:35 SSH_AUTH_SOCK=/tmp/ssh-SX38onkL4RWB/agent.32 18:55:35 SSH_AGENT_PID=38 18:55:35 Running ssh-add (command line suppressed) 18:55:36 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3952244002685540784.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3952244002685540784.key) 18:55:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:55:36 + git semver push 18:55:36 2023-02-15 18:55:36,599 [run_push] DEBUG push 18:55:36 2023-02-15 18:55:36,600 [execute] INFO git cat-file --batch-check 18:55:36 2023-02-15 18:55:36,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:55:36 2023-02-15 18:55:36,605 [execute] INFO git rev-list f1e1a7a9de3ca57c80d4d9aac058fdb8b95460b5 -- 18:55:36 2023-02-15 18:55:36,605 [execute] DEBUG Popen(['git', 'rev-list', 'f1e1a7a9de3ca57c80d4d9aac058fdb8b95460b5', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:55:36 2023-02-15 18:55:36,613 [execute] INFO git fetch -v origin 18:55:36 2023-02-15 18:55:36,613 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:55:37 2023-02-15 18:55:37,170 [run_push] DEBUG no remote changes detected 18:55:37 2023-02-15 18:55:37,170 [execute] INFO git push origin semver 18:55:37 2023-02-15 18:55:37,170 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:55:38 2023-02-15 18:55:37,974 [run_push] DEBUG push all version tags 18:55:38 2023-02-15 18:55:37,974 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:55:38 2023-02-15 18:55:37,974 [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:55:39 2023-02-15 18:55:38,770 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:55:39 3.0.0-dev.15 [Pipeline] } 18:55:39 $ docker exec --env ******** --env ******** 18f4638c678d7ad111e04c8f70c5534c28f49a919b0774ef5534b10c4f07378b ssh-agent -k 18:55:39 unset SSH_AUTH_SOCK; 18:55:39 unset SSH_AGENT_PID; 18:55:39 echo Agent pid 38 killed; 18:55:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:55:39 + git semver [Pipeline] } 18:55:39 $ docker stop --time=1 18f4638c678d7ad111e04c8f70c5534c28f49a919b0774ef5534b10c4f07378b 18:55:41 $ docker rm -f --volumes 18f4638c678d7ad111e04c8f70c5534c28f49a919b0774ef5534b10c4f07378b [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:55:41 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 18:55:41 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:55:41 total 16 18:55:41 drwxr-xr-x 3 root root 4096 Feb 15 18:43 . 18:55:41 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 18:55 .. 18:55:41 drwxr-xr-x 2 root root 4096 Feb 15 18:43 cost 18:55:41 -rw-r--r-- 1 root root 91 Feb 15 18:43 cost.csv 18:55:41 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 18:55:41 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:55:41 total 16 18:55:41 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:43 . 18:55:41 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 18:55 .. 18:55:41 drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 18:43 cost 18:55:41 -rw-r--r-- 1 jenkins jenkins 91 Feb 15 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:55:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:55:42 ---> package-listing.sh 18:55:42 ++ facter osfamily 18:55:42 ++ tr '[:upper:]' '[:lower:]' 18:55:43 + OS_FAMILY=debian 18:55:43 + workspace=/w/workspace/foundry_device-onvif-camera_main 18:55:43 + START_PACKAGES=/tmp/packages_start.txt 18:55:43 + END_PACKAGES=/tmp/packages_end.txt 18:55:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:55:43 + PACKAGES=/tmp/packages_start.txt 18:55:43 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:55:43 + PACKAGES=/tmp/packages_end.txt 18:55:43 + case "${OS_FAMILY}" in 18:55:43 + dpkg -l 18:55:43 + grep '^ii' 18:55:43 + '[' -f /tmp/packages_start.txt ']' 18:55:43 + '[' -f /tmp/packages_end.txt ']' 18:55:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:55:43 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:55:43 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 18:55:43 + 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:55:43 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:55:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:43 prd-ubuntu20.04-docker-8c-8g-6174 does not seem to be running inside a container 18:55:43 $ 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:55:44 $ docker top fa44fcb3c4cdc0b9585f146027d771bb17b3816a0ec4be48eabbd59488cb1474 -eo pid,comm [Pipeline] { [Pipeline] sh 18:55:44 + touch /tmp/pre-build-complete [Pipeline] sh 18:55:45 + mkdir -p /var/log/sysstat [Pipeline] sh 18:55:45 + ls /var/log/sa-host 18:55:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:45 provisioning config files... 18:55:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13887504444850918920tmp [Pipeline] { [Pipeline] echo 18:55:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:55:45 ---> create-netrc.sh [Pipeline] } 18:55:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:55:46 ---> python-tools-install.sh [Pipeline] echo 18:55:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:55:46 ---> sudo-logs.sh 18:55:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:55:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:55:46 ---> job-cost.sh 18:55:46 lf-activate-venv: SKIPPING 18:55:46 DEBUG: total: 0.2199999988079071 18:55:46 INFO: Retrieving Stack Cost... 18:55:47 INFO: Retrieving Pricing Info for: v3-standard-8 18:55:47 INFO: Archiving Costs [Pipeline] echo 18:55:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:55:47 ---> logs-deploy.sh 18:55:47 lf-activate-venv: SKIPPING 18:55:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/103 18:55:47 INFO: archiving workspace using pattern(s): 18:55:48 Archives upload complete. 18:55:48 INFO: archiving logs to Nexus 18:55:49 ---> uname -a: 18:55:49 Linux prd-ubuntu20-04-docker-8c-8g-6174 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:55:49 18:55:49