Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ce7fe079461b7505b319433b3b229be05385591d 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-ssh4295188173123984320.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-ssh11440877430105892376.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-ssh9359858406607871246.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-ssh14729291897018335655.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-ssh11100782638589061730.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 ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5949’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5950’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5951’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5955 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 ce7fe079461b7505b319433b3b229be05385591d (main) Commit message: "feat!: updates for common config (#230)" > 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 ce7fe079461b7505b319433b3b229be05385591d # timeout=10 > git rev-list --no-walk 4452f94286ccb50ed2d81f13c9c71fcde235ba34 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:43:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:43:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:43:35 ========================================================= 00:43:35 EdgeX Global Pipelines Version Info 00:43:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:43:36 ------------------- 00:43:36 stable info: 00:43:36 ------------------- 00:43:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:43:36 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:43:36 Message: update stable to v1.0.244 00:43:37 ------------------- 00:43:37 experimental info: 00:43:37 ------------------- 00:43:37 Commited By: **** collab-it+edgex@linuxfoundation.org 00:43:37 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:43:37 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce7fe079461b7505b319433b3b229be05385591d [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce7fe07 [Pipeline] echo 00:43:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:37 provisioning config files... 00:43:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11091181918135402553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:38 ---> docker-login.sh 00:43:38 nexus3.edgexfoundry.org:10001 00:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:38 Configure a credential helper to remove this warning. See 00:43:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:38 00:43:38 Login Succeeded 00:43:38 nexus3.edgexfoundry.org:10002 00:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:38 Configure a credential helper to remove this warning. See 00:43:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:38 00:43:38 Login Succeeded 00:43:38 nexus3.edgexfoundry.org:10003 00:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:38 Configure a credential helper to remove this warning. See 00:43:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:38 00:43:38 Login Succeeded 00:43:38 nexus3.edgexfoundry.org:10004 00:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:38 Configure a credential helper to remove this warning. See 00:43:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:38 00:43:38 Login Succeeded 00:43:38 docker.io 00:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:39 Configure a credential helper to remove this warning. See 00:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:39 00:43:39 Login Succeeded 00:43:39 ---> docker-login.sh ends [Pipeline] } 00:43:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:43:39 + git rev-list -1 --merges ce7fe079461b7505b319433b3b229be05385591d~1..ce7fe079461b7505b319433b3b229be05385591d [Pipeline] echo 00:43:39 -----------> git rev-list -1 --merges ce7fe079461b7505b319433b3b229be05385591d~1..ce7fe079461b7505b319433b3b229be05385591d ce7fe079461b7505b319433b3b229be05385591d [false] [Pipeline] sh 00:43:39 + git log --format=format:%s -1 ce7fe079461b7505b319433b3b229be05385591d [Pipeline] echo 00:43:39 ========================================================= 00:43:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:43:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:43:40 + git log --format=format:%s -1 ce7fe079461b7505b319433b3b229be05385591d [Pipeline] echo 00:43:40 [semverPrep] GIT_COMMIT: ce7fe079461b7505b319433b3b229be05385591d, Commit Message: feat!: updates for common config (#230) [Pipeline] echo 00:43:40 [semverPrep] This is not a build commit. [Pipeline] sh 00:43:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:43:40 + grep -v github /etc/ssh/ssh_known_hosts 00:43:40 + [ -e /tmp/ssh_known_hosts ] 00:43:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:43:40 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:43:40 sudo tee -a /etc/ssh/ssh_known_hosts 00:43:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:40 00:43:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:41 0.1.4: Pulling from edgex-devops/py-git-semver 00:43:41 b85a868b505f: Pulling fs layer 00:43:41 e2be974225ed: Pulling fs layer 00:43:41 339a4e72a1f5: Pulling fs layer 00:43:41 988bab9f4d93: Pulling fs layer 00:43:41 1469e6f7b9e6: Pulling fs layer 00:43:41 eaf3925da568: Pulling fs layer 00:43:41 bab4dde63d76: Pulling fs layer 00:43:41 bde34c3a00c8: Pulling fs layer 00:43:41 b352a97aabf1: Pulling fs layer 00:43:41 4872d77fe225: Pulling fs layer 00:43:41 5851b861e8e6: Pulling fs layer 00:43:41 bab4dde63d76: Waiting 00:43:41 bde34c3a00c8: Waiting 00:43:41 b352a97aabf1: Waiting 00:43:41 eaf3925da568: Waiting 00:43:41 988bab9f4d93: Waiting 00:43:41 1469e6f7b9e6: Waiting 00:43:41 4872d77fe225: Waiting 00:43:41 e2be974225ed: Verifying Checksum 00:43:41 e2be974225ed: Download complete 00:43:41 988bab9f4d93: Verifying Checksum 00:43:41 988bab9f4d93: Download complete 00:43:41 1469e6f7b9e6: Verifying Checksum 00:43:41 1469e6f7b9e6: Download complete 00:43:41 339a4e72a1f5: Verifying Checksum 00:43:41 339a4e72a1f5: Download complete 00:43:41 eaf3925da568: Verifying Checksum 00:43:41 eaf3925da568: Download complete 00:43:41 bde34c3a00c8: Verifying Checksum 00:43:41 bde34c3a00c8: Download complete 00:43:41 b352a97aabf1: Verifying Checksum 00:43:41 b352a97aabf1: Download complete 00:43:41 4872d77fe225: Verifying Checksum 00:43:41 4872d77fe225: Download complete 00:43:41 5851b861e8e6: Verifying Checksum 00:43:41 5851b861e8e6: Download complete 00:43:41 b85a868b505f: Verifying Checksum 00:43:41 b85a868b505f: Download complete 00:43:41 bab4dde63d76: Verifying Checksum 00:43:41 bab4dde63d76: Download complete 00:43:42 b85a868b505f: Pull complete 00:43:43 e2be974225ed: Pull complete 00:43:43 339a4e72a1f5: Pull complete 00:43:43 988bab9f4d93: Pull complete 00:43:43 1469e6f7b9e6: Pull complete 00:43:43 eaf3925da568: Pull complete 00:43:45 bab4dde63d76: Pull complete 00:43:45 bde34c3a00c8: Pull complete 00:43:45 b352a97aabf1: Pull complete 00:43:45 4872d77fe225: Pull complete 00:43:45 5851b861e8e6: Pull complete 00:43:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:43:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:46 prd-ubuntu20.04-docker-8c-8g-5955 does not seem to be running inside a container 00:43:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:43:47 $ docker top b4bc4fea315158f7fee1f56acec3221b0834638fc4a4543695950f70a29f0d4a -eo pid,comm 00:43:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:43:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:43:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:47 [ssh-agent] Looking for ssh-agent implementation... 00:43:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:47 $ docker exec b4bc4fea315158f7fee1f56acec3221b0834638fc4a4543695950f70a29f0d4a ssh-agent 00:43:48 SSH_AUTH_SOCK=/tmp/ssh-AvayerjuGM2N/agent.31 00:43:48 SSH_AGENT_PID=37 00:43:48 Running ssh-add (command line suppressed) 00:43:48 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6076968785395105637.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6076968785395105637.key) 00:43:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:48 + git tag --points-at HEAD [Pipeline] } 00:43:48 $ docker exec --env ******** --env ******** b4bc4fea315158f7fee1f56acec3221b0834638fc4a4543695950f70a29f0d4a ssh-agent -k 00:43:48 unset SSH_AUTH_SOCK; 00:43:48 unset SSH_AGENT_PID; 00:43:48 echo Agent pid 37 killed; 00:43:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:43:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:48 [ssh-agent] Looking for ssh-agent implementation... 00:43:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:49 $ docker exec b4bc4fea315158f7fee1f56acec3221b0834638fc4a4543695950f70a29f0d4a ssh-agent 00:43:49 SSH_AUTH_SOCK=/tmp/ssh-FVhQlLBI4z9j/agent.69 00:43:49 SSH_AGENT_PID=75 00:43:49 Running ssh-add (command line suppressed) 00:43:49 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4050560681903151094.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4050560681903151094.key) 00:43:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:49 + git semver init 00:43:49 2023-02-15 00:43:49,779 [run_init] DEBUG init version:0.0.0 force:False 00:43:49 2023-02-15 00:43:49,780 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 00:43:49 2023-02-15 00:43:49,781 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 00:43:49 2023-02-15 00:43:49,781 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 00:43:51 2023-02-15 00:43:51,118 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 00:43:51 2023-02-15 00:43:51,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 00:43:51 2023-02-15 00:43:51,119 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:43:51 2023-02-15 00:43:51,119 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:43:51 3.0.0-dev.13 [Pipeline] } 00:43:51 $ docker exec --env ******** --env ******** b4bc4fea315158f7fee1f56acec3221b0834638fc4a4543695950f70a29f0d4a ssh-agent -k 00:43:51 unset SSH_AUTH_SOCK; 00:43:51 unset SSH_AGENT_PID; 00:43:51 echo Agent pid 75 killed; 00:43:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:51 + git semver [Pipeline] } 00:43:51 $ docker stop --time=1 b4bc4fea315158f7fee1f56acec3221b0834638fc4a4543695950f70a29f0d4a 00:43:53 $ docker rm -f --volumes b4bc4fea315158f7fee1f56acec3221b0834638fc4a4543695950f70a29f0d4a [Pipeline] // withDockerContainer [Pipeline] sh 00:43:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:43:53 Stashed 1 file(s) [Pipeline] echo 00:43:53 [edgeXSemver]: initialized semver on version 3.0.0-dev.13 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:53 provisioning config files... 00:43:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11144427264655496629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:54 ---> docker-login.sh 00:43:54 nexus3.edgexfoundry.org:10001 00:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:54 Configure a credential helper to remove this warning. See 00:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:54 00:43:54 Login Succeeded 00:43:54 nexus3.edgexfoundry.org:10002 00:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:54 Configure a credential helper to remove this warning. See 00:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:54 00:43:54 Login Succeeded 00:43:54 nexus3.edgexfoundry.org:10003 00:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:54 Configure a credential helper to remove this warning. See 00:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:54 00:43:54 Login Succeeded 00:43:54 nexus3.edgexfoundry.org:10004 00:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:54 Configure a credential helper to remove this warning. See 00:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:54 00:43:54 Login Succeeded 00:43:54 docker.io 00:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:54 Configure a credential helper to remove this warning. See 00:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:54 00:43:54 Login Succeeded 00:43:54 ---> docker-login.sh ends [Pipeline] } 00:43:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:43:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:54 ========================================================= 00:43:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:43:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:43:55 Sending build context to Docker daemon 27.69MB 00:43:55 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:43:55 Step 2/13 : FROM ${BASE} AS builder 00:43:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:43:55 213ec9aee27d: Pulling fs layer 00:43:55 4583459ba037: Pulling fs layer 00:43:55 93c1e223e6f2: Pulling fs layer 00:43:55 53926ce57604: Pulling fs layer 00:43:55 21b2b0c7a3f4: Pulling fs layer 00:43:55 22ff95d597cd: Pulling fs layer 00:43:55 53926ce57604: Waiting 00:43:55 21b2b0c7a3f4: Waiting 00:43:55 12d6caf4c0d1: Pulling fs layer 00:43:55 96b7cbca73a9: Pulling fs layer 00:43:55 22ff95d597cd: Waiting 00:43:55 12d6caf4c0d1: Waiting 00:43:55 a7acece74701: Pulling fs layer 00:43:55 a7acece74701: Waiting 00:43:55 96b7cbca73a9: Waiting 00:43:55 93c1e223e6f2: Verifying Checksum 00:43:55 93c1e223e6f2: Download complete 00:43:55 4583459ba037: Verifying Checksum 00:43:55 4583459ba037: Download complete 00:43:55 21b2b0c7a3f4: Download complete 00:43:55 22ff95d597cd: Verifying Checksum 00:43:55 22ff95d597cd: Download complete 00:43:55 213ec9aee27d: Download complete 00:43:55 213ec9aee27d: Pull complete 00:43:56 12d6caf4c0d1: Download complete 00:43:56 4583459ba037: Pull complete 00:43:56 93c1e223e6f2: Pull complete 00:43:58 53926ce57604: Verifying Checksum 00:43:58 53926ce57604: Download complete 00:43:58 a7acece74701: Verifying Checksum 00:43:58 a7acece74701: Download complete 00:43:58 96b7cbca73a9: Verifying Checksum 00:43:58 96b7cbca73a9: Download complete 00:44:02 53926ce57604: Pull complete 00:44:02 21b2b0c7a3f4: Pull complete 00:44:02 22ff95d597cd: Pull complete 00:44:02 12d6caf4c0d1: Pull complete 00:44:04 96b7cbca73a9: Pull complete 00:44:05 a7acece74701: Pull complete 00:44:05 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:44:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:44:05 ---> db6d94c90886 00:44:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:44:06 ---> Running in dbe8f12b8b45 00:44:06 Removing intermediate container dbe8f12b8b45 00:44:06 ---> 793a0f5b70b1 00:44:06 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:44:06 ---> Running in 4a1ba2b643ea 00:44:06 Removing intermediate container 4a1ba2b643ea 00:44:06 ---> 43d8a2478bce 00:44:06 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:44:06 ---> Running in e48e4b3bcc77 00:44:06 Removing intermediate container e48e4b3bcc77 00:44:06 ---> add33773e64b 00:44:06 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:44:06 ---> Running in 504870f4f894 00:44:06 Removing intermediate container 504870f4f894 00:44:06 ---> 16d71da57832 00:44:06 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:44:06 ---> Running in b54ec1c2ce2f 00:44:06 Removing intermediate container b54ec1c2ce2f 00:44:06 ---> 994cc9efc51b 00:44:06 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:44:06 ---> Running in 7aaad08f7ed4 00:44:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:44:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:44:07 OK: 211 MiB in 51 packages 00:44:07 Removing intermediate container 7aaad08f7ed4 00:44:07 ---> 77f37c283bc5 00:44:07 Step 9/13 : WORKDIR /device-onvif-camera 00:44:07 ---> Running in fbe9887aa221 00:44:07 Removing intermediate container fbe9887aa221 00:44:07 ---> f09e3c219f53 00:44:07 Step 10/13 : COPY go.mod vendor* ./ 00:44:08 ---> f8116d9e2e51 00:44:08 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:44:08 ---> Running in 90ce4de8c35b 00:44:08 Still waiting to schedule task 00:44:08 ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:44:08 ‘prd-ubuntu20.04-docker-8c-8g-5948’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:44:08 ‘prd-ubuntu20.04-docker-8c-8g-5959’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:44:08 ‘prd-ubuntu20.04-docker-8c-8g-5960’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:44:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5954’ is offline 00:44:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5957’ is offline 00:45:04 Removing intermediate container 90ce4de8c35b 00:45:04 ---> acbee1425f32 00:45:04 Step 12/13 : COPY . . 00:45:04 ---> e4c1479acd1e 00:45:04 Step 13/13 : RUN ${MAKE} 00:45:04 ---> Running in f7332ac7143d 00:45:04 noop 00:45:05 Removing intermediate container f7332ac7143d 00:45:05 ---> ce11e9d1a7c3 00:45:05 Successfully built ce11e9d1a7c3 00:45:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:05 + docker inspect -f . ci-base-image-x86_64 00:45:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:05 prd-ubuntu20.04-docker-8c-8g-5955 does not seem to be running inside a container 00:45:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:45:06 $ docker top cf729b16d78bb1eecfbfa2a74679270a586333dc3fd212c8dfae34479609ab13 -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:06 + go version 00:45:06 go version go1.18.7 linux/amd64 [Pipeline] } 00:45:06 $ docker stop --time=1 cf729b16d78bb1eecfbfa2a74679270a586333dc3fd212c8dfae34479609ab13 00:45:08 $ docker rm -f --volumes cf729b16d78bb1eecfbfa2a74679270a586333dc3fd212c8dfae34479609ab13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:08 + docker inspect -f . ci-base-image-x86_64 00:45:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:08 prd-ubuntu20.04-docker-8c-8g-5955 does not seem to be running inside a container 00:45:08 $ 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 00:45:09 $ docker top 2c8a07585c72239f3c187bc5867d492b22a089da523d35b24c8afa834360959c -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:09 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 00:45:09 + make test 00:45:09 go test ./... -coverprofile=coverage.out ./... 00:45:10 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:45:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:45:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.028s coverage: 29.3% of statements 00:45:21 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:45:21 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.349s coverage: 86.5% of statements 00:45:30 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." 00:45:30 go vet ./... 00:45:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:45:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:45:31 ./bin/test-attribution-txt.sh 00:45:32 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:45:32 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:45:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:45:32 $ docker stop --time=1 2c8a07585c72239f3c187bc5867d492b22a089da523d35b24c8afa834360959c 00:45:35 $ docker rm -f --volumes 2c8a07585c72239f3c187bc5867d492b22a089da523d35b24c8afa834360959c [Pipeline] // withDockerContainer [Pipeline] sh 00:45:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:45:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:45:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:45:36 + ls -al . 00:45:36 total 236 00:45:36 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 00:45 . 00:45:36 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:43 .. 00:45:36 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:45 .git 00:45:36 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:43 .github 00:45:36 -rw-rw-r-- 1 jenkins jenkins 496 Feb 15 00:43 .gitignore 00:45:36 -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 00:43 .golangci.yml 00:45:36 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:43 .semver 00:45:36 -rw-rw-r-- 1 jenkins jenkins 9638 Feb 15 00:43 Attribution.txt 00:45:36 -rw-rw-r-- 1 jenkins jenkins 6312 Feb 15 00:43 CHANGELOG.md 00:45:36 -rw-rw-r-- 1 jenkins jenkins 1574 Feb 15 00:43 Dockerfile 00:45:36 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:43 GOVERNANCE.md 00:45:36 -rw-rw-r-- 1 jenkins jenkins 734 Feb 15 00:43 Jenkinsfile 00:45:36 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 15 00:43 LICENSE 00:45:36 -rw-rw-r-- 1 jenkins jenkins 2577 Feb 15 00:43 Makefile 00:45:36 -rw-rw-r-- 1 jenkins jenkins 625 Feb 15 00:43 OWNERS.md 00:45:36 -rw-rw-r-- 1 jenkins jenkins 6595 Feb 15 00:43 README.md 00:45:36 -rw-rw-r-- 1 jenkins jenkins 12 Feb 15 00:43 VERSION 00:45:36 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:43 bin 00:45:36 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:43 cmd 00:45:36 -rw-r--r-- 1 jenkins jenkins 79184 Feb 15 00:45 coverage.out 00:45:36 drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 00:43 doc 00:45:36 -rw-rw-r-- 1 jenkins jenkins 3600 Feb 15 00:43 go.mod 00:45:36 -rw-rw-r-- 1 jenkins jenkins 34701 Feb 15 00:43 go.sum 00:45:36 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:43 internal 00:45:36 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:43 snap 00:45:36 -rw-rw-r-- 1 jenkins jenkins 236 Feb 15 00:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:37 + 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=ce7fe079461b7505b319433b3b229be05385591d --label arch=amd64 --label version=3.0.0-dev.13 . 00:45:37 Sending build context to Docker daemon 27.77MB 00:45:37 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 00:45:37 Step 2/26 : FROM ${BASE} AS builder 00:45:37 ---> ce11e9d1a7c3 00:45:37 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:45:38 ---> Running in 5f372c4a9f58 00:45:38 Removing intermediate container 5f372c4a9f58 00:45:38 ---> 1200bfab32f0 00:45:38 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:45:38 ---> Running in 6e30bad21732 00:45:38 Removing intermediate container 6e30bad21732 00:45:38 ---> faa455267466 00:45:38 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 00:45:38 ---> Running in 97cc0e688549 00:45:38 Removing intermediate container 97cc0e688549 00:45:38 ---> 52c1d34915fc 00:45:38 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:45:38 ---> Running in 9af47a3bce3a 00:45:38 Removing intermediate container 9af47a3bce3a 00:45:38 ---> 9a0394f7d693 00:45:38 Step 7/26 : LABEL Name=edgex-device-onvif-camera 00:45:38 ---> Running in 06863e3c7daa 00:45:38 Removing intermediate container 06863e3c7daa 00:45:38 ---> d07f214a0e5e 00:45:38 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:45:38 ---> Running in 0226e366d0d7 00:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:45:39 OK: 211 MiB in 51 packages 00:45:39 Removing intermediate container 0226e366d0d7 00:45:39 ---> e5627d1e175e 00:45:39 Step 9/26 : WORKDIR /device-onvif-camera 00:45:39 ---> Running in 91e433a5c0af 00:45:39 Removing intermediate container 91e433a5c0af 00:45:39 ---> d1378a017112 00:45:39 Step 10/26 : COPY go.mod vendor* ./ 00:45:39 ---> f77a44276779 00:45:39 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:45:39 ---> Running in fa1cced862a5 00:45:41 Removing intermediate container fa1cced862a5 00:45:41 ---> 73807d8d4512 00:45:41 Step 12/26 : COPY . . 00:45:42 ---> d7ad0a92aac4 00:45:42 Step 13/26 : RUN ${MAKE} 00:45:42 ---> Running in a5d88d349102 00:45:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.13" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 00:46:04 Removing intermediate container a5d88d349102 00:46:04 ---> f3e01f70ae60 00:46:04 Step 14/26 : FROM alpine:3.16 00:46:04 3.16: Pulling from library/alpine 00:46:04 ef5531b6e74e: Pulling fs layer 00:46:05 ef5531b6e74e: Download complete 00:46:05 ef5531b6e74e: Pull complete 00:46:05 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 00:46:05 Status: Downloaded newer image for alpine:3.16 00:46:05 ---> dfd21b5a31f5 00:46:05 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:46:05 ---> Running in da7775e16c49 00:46:05 Removing intermediate container da7775e16c49 00:46:05 ---> 5e4b9ad4975a 00:46:05 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:46:05 ---> Running in baa6259b43ed 00:46:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:46:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:46:06 (1/1) Installing dumb-init (1.2.5-r1) 00:46:06 Executing busybox-1.35.0-r17.trigger 00:46:06 OK: 6 MiB in 15 packages 00:46:06 Removing intermediate container baa6259b43ed 00:46:06 ---> c03820e172c2 00:46:06 Step 17/26 : WORKDIR / 00:46:06 ---> Running in e928a1b2a090 00:46:06 Removing intermediate container e928a1b2a090 00:46:06 ---> 5e132f80fce2 00:46:06 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:46:07 ---> 01369369be2a 00:46:07 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:46:08 ---> e05a3d52e1ae 00:46:08 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:46:09 ---> 5eeeb2a4dbae 00:46:09 Step 21/26 : EXPOSE 59984 00:46:10 ---> Running in ba810881291f 00:46:11 Removing intermediate container ba810881291f 00:46:11 ---> 858a6eb5def5 00:46:11 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:46:11 ---> Running in b0e23f01ffef 00:46:11 Removing intermediate container b0e23f01ffef 00:46:11 ---> c846143d51fe 00:46:11 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:46:11 ---> Running in 8a753993c15a 00:46:12 Removing intermediate container 8a753993c15a 00:46:12 ---> 50d01b93aa2e 00:46:12 Step 24/26 : LABEL arch=amd64 00:46:12 ---> Running in c2ee4834e1fd 00:46:13 Removing intermediate container c2ee4834e1fd 00:46:13 ---> c0befedbe4be 00:46:13 Step 25/26 : LABEL git_sha=ce7fe079461b7505b319433b3b229be05385591d 00:46:13 ---> Running in 0d8cbed15c67 00:46:13 Removing intermediate container 0d8cbed15c67 00:46:13 ---> adc782f144bd 00:46:13 Step 26/26 : LABEL version=3.0.0-dev.13 00:46:13 ---> Running in 76ef0b0d20d2 00:46:13 Removing intermediate container 76ef0b0d20d2 00:46:13 ---> 2052be3debd7 00:46:13 [Warning] One or more build-args [ARCH] were not consumed 00:46:13 Successfully built 2052be3debd7 00:46:13 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:46:13 provisioning config files... 00:46:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8690652229548269890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:13 ---> docker-login.sh 00:46:13 nexus3.edgexfoundry.org:10001 00:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:13 Configure a credential helper to remove this warning. See 00:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:13 00:46:13 Login Succeeded 00:46:13 nexus3.edgexfoundry.org:10002 00:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:13 Configure a credential helper to remove this warning. See 00:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:13 00:46:13 Login Succeeded 00:46:13 nexus3.edgexfoundry.org:10003 00:46:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:14 Configure a credential helper to remove this warning. See 00:46:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:14 00:46:14 Login Succeeded 00:46:14 nexus3.edgexfoundry.org:10004 00:46:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:14 Configure a credential helper to remove this warning. See 00:46:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:14 00:46:14 Login Succeeded 00:46:14 docker.io 00:46:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:14 Configure a credential helper to remove this warning. See 00:46:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:14 00:46:14 Login Succeeded 00:46:14 ---> docker-login.sh ends [Pipeline] } 00:46:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:46:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:14 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 00:46:14 ce7fe079461b7505b319433b3b229be05385591d 00:46:14 latest 00:46:14 3.0.0-dev.13 00:46:14 ce7fe079461b7505b319433b3b229be05385591d-3.0.0-dev.13 00:46:14 main 00:46:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:15 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ce7fe079461b7505b319433b3b229be05385591d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ce7fe079461b7505b319433b3b229be05385591d 00:46:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:46:15 f94e0b785a07: Preparing 00:46:15 44971f68a8dc: Preparing 00:46:15 ae489d7eb8d9: Preparing 00:46:15 0ab820c5d2a6: Preparing 00:46:15 aa5968d388b8: Preparing 00:46:15 aa5968d388b8: Layer already exists 00:46:16 44971f68a8dc: Pushed 00:46:16 f94e0b785a07: Pushed 00:46:16 0ab820c5d2a6: Pushed 00:46:19 ae489d7eb8d9: Pushed 00:46:19 ce7fe079461b7505b319433b3b229be05385591d: digest: sha256:1ede8049da728923573e77f7223fbccdb238b2b828e6417a85ec99ecdb5a8e88 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:19 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 00:46:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:46:19 f94e0b785a07: Preparing 00:46:19 44971f68a8dc: Preparing 00:46:19 ae489d7eb8d9: Preparing 00:46:19 0ab820c5d2a6: Preparing 00:46:19 aa5968d388b8: Preparing 00:46:19 ae489d7eb8d9: Layer already exists 00:46:19 f94e0b785a07: Layer already exists 00:46:19 aa5968d388b8: Layer already exists 00:46:19 0ab820c5d2a6: Layer already exists 00:46:19 44971f68a8dc: Layer already exists 00:46:19 latest: digest: sha256:1ede8049da728923573e77f7223fbccdb238b2b828e6417a85ec99ecdb5a8e88 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:19 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.13 00:46:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:46:20 f94e0b785a07: Preparing 00:46:20 44971f68a8dc: Preparing 00:46:20 ae489d7eb8d9: Preparing 00:46:20 0ab820c5d2a6: Preparing 00:46:20 aa5968d388b8: Preparing 00:46:20 44971f68a8dc: Layer already exists 00:46:20 f94e0b785a07: Layer already exists 00:46:20 ae489d7eb8d9: Layer already exists 00:46:20 aa5968d388b8: Layer already exists 00:46:20 0ab820c5d2a6: Layer already exists 00:46:20 3.0.0-dev.13: digest: sha256:1ede8049da728923573e77f7223fbccdb238b2b828e6417a85ec99ecdb5a8e88 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:20 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:ce7fe079461b7505b319433b3b229be05385591d-3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:ce7fe079461b7505b319433b3b229be05385591d-3.0.0-dev.13 00:46:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:46:20 f94e0b785a07: Preparing 00:46:20 44971f68a8dc: Preparing 00:46:20 ae489d7eb8d9: Preparing 00:46:20 0ab820c5d2a6: Preparing 00:46:20 aa5968d388b8: Preparing 00:46:20 aa5968d388b8: Layer already exists 00:46:20 f94e0b785a07: Layer already exists 00:46:20 0ab820c5d2a6: Layer already exists 00:46:20 ae489d7eb8d9: Layer already exists 00:46:20 44971f68a8dc: Layer already exists 00:46:20 ce7fe079461b7505b319433b3b229be05385591d-3.0.0-dev.13: digest: sha256:1ede8049da728923573e77f7223fbccdb238b2b828e6417a85ec99ecdb5a8e88 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:21 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 00:46:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:46:21 f94e0b785a07: Preparing 00:46:21 44971f68a8dc: Preparing 00:46:21 ae489d7eb8d9: Preparing 00:46:21 0ab820c5d2a6: Preparing 00:46:21 aa5968d388b8: Preparing 00:46:21 f94e0b785a07: Layer already exists 00:46:21 ae489d7eb8d9: Layer already exists 00:46:21 0ab820c5d2a6: Layer already exists 00:46:21 44971f68a8dc: Layer already exists 00:46:21 aa5968d388b8: Layer already exists 00:46:21 main: digest: sha256:1ede8049da728923573e77f7223fbccdb238b2b828e6417a85ec99ecdb5a8e88 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:46:21 ===================================================== [Pipeline] echo 00:46:21 taggedImages: 00:46:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera:ce7fe079461b7505b319433b3b229be05385591d 00:46:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 00:46:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.13 00:46:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera:ce7fe079461b7505b319433b3b229be05385591d-3.0.0-dev.13 00:46:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:46:21 00:46:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:46:22 latest: Pulling from edgex-lftools-log-publisher 00:46:22 5eb5b503b376: Pulling fs layer 00:46:22 5c69ac0246d0: Pulling fs layer 00:46:22 ec43610c2a17: Pulling fs layer 00:46:22 3a2ae6a8a46f: Pulling fs layer 00:46:22 33b1e0a273af: Pulling fs layer 00:46:22 5d3b04190fa2: Pulling fs layer 00:46:22 2f39f015ded8: Pulling fs layer 00:46:22 5d3b04190fa2: Waiting 00:46:22 3a2ae6a8a46f: Waiting 00:46:22 2f39f015ded8: Waiting 00:46:22 33b1e0a273af: Waiting 00:46:22 5c69ac0246d0: Download complete 00:46:22 3a2ae6a8a46f: Download complete 00:46:22 33b1e0a273af: Verifying Checksum 00:46:22 33b1e0a273af: Download complete 00:46:22 5d3b04190fa2: Verifying Checksum 00:46:22 5d3b04190fa2: Download complete 00:46:23 ec43610c2a17: Download complete 00:46:23 5eb5b503b376: Verifying Checksum 00:46:23 5eb5b503b376: Download complete 00:46:24 2f39f015ded8: Download complete 00:46:24 5eb5b503b376: Pull complete 00:46:24 5c69ac0246d0: Pull complete 00:46:25 ec43610c2a17: Pull complete 00:46:25 3a2ae6a8a46f: Pull complete 00:46:25 33b1e0a273af: Pull complete 00:46:25 5d3b04190fa2: Pull complete 00:46:31 2f39f015ded8: Pull complete 00:46:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:46:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:46:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:46:31 prd-ubuntu20.04-docker-8c-8g-5955 does not seem to be running inside a container 00:46:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:46:36 $ docker top d9919c7a73d20728783f44d25fed9fdc2f89c421049ebe130ea85a23e1098d15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:36 ---> job-cost.sh 00:46:36 lf-activate-venv: SKIPPING 00:46:36 INFO: No Stack... 00:46:41 INFO: Retrieving Pricing Info for: v3-standard-8 00:46:41 INFO: Archiving Costs [Pipeline] sh 00:46:42 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 00:46:42 + cut -d, -f6 [Pipeline] lock 00:46:42 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-102-stack-cost] 00:46:42 Resource [jenkins-edgexfoundry-device-onvif-camera-main-102-stack-cost] did not exist. Created. 00:46:42 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-102-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:46:42 + echo total: 0.2199999988079071 [Pipeline] stash 00:46:42 Stashed 1 file(s) [Pipeline] } 00:46:42 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-102-stack-cost] [Pipeline] // lock [Pipeline] } 00:46:42 $ docker stop --time=1 d9919c7a73d20728783f44d25fed9fdc2f89c421049ebe130ea85a23e1098d15 00:46:43 $ docker rm -f --volumes d9919c7a73d20728783f44d25fed9fdc2f89c421049ebe130ea85a23e1098d15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:46:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5965 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 00:46:56 Running in /w/workspace/device-onvif-camera/102 [Pipeline] { [Pipeline] checkout 00:46:56 The recommended git tool is: git 00:47:04 using credential edgex-jenkins-ssh 00:47:04 Cloning the remote Git repository 00:47:04 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:47:04 > git init /w/workspace/device-onvif-camera/102 # timeout=10 00:47:04 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:47:04 > git --version # timeout=10 00:47:04 > git --version # 'git version 2.25.1' 00:47:04 using GIT_SSH to set credentials SSH Credentials for GitHub 00:47:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:47:06 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:47:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:47:07 Avoid second fetch 00:47:07 Checking out Revision ce7fe079461b7505b319433b3b229be05385591d (main) 00:47:07 > git config core.sparsecheckout # timeout=10 00:47:08 > git checkout -f ce7fe079461b7505b319433b3b229be05385591d # timeout=10 00:47:08 Commit message: "feat!: updates for common config (#230)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:47:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:47:09 % Total % Received % Xferd Average Speed Time Time Time Current 00:47:09 Dload Upload Total Spent Left Speed 00:47:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 146k 0 --:--:-- --:--:-- --:--:-- 144k [Pipeline] sh 00:47:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:47:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:47:10 + sudo tee /etc/docker/daemon.new 00:47:10 { 00:47:10 "registry-mirrors": [ 00:47:10 "https://nexus3.edgexfoundry.org:10001" 00:47:10 ], 00:47:10 "bip": "10.250.0.254/24", 00:47:10 "hosts": [ 00:47:10 "tcp://0.0.0.0:5555", 00:47:10 "unix:///var/run/docker.sock" 00:47:10 ], 00:47:10 "mtu": 1458, 00:47:10 "selinux-enabled": true, 00:47:10 "seccomp-profile": "/etc/docker/seccomp.json" 00:47:10 } [Pipeline] sh 00:47:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:47:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:47:30 provisioning config files... 00:47:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/102@tmp/config7375957309316976697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:47:30 ---> docker-login.sh 00:47:30 nexus3.edgexfoundry.org:10001 00:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:31 Configure a credential helper to remove this warning. See 00:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:31 00:47:31 Login Succeeded 00:47:31 nexus3.edgexfoundry.org:10002 00:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:31 Configure a credential helper to remove this warning. See 00:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:31 00:47:31 Login Succeeded 00:47:31 nexus3.edgexfoundry.org:10003 00:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:32 Configure a credential helper to remove this warning. See 00:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:32 00:47:32 Login Succeeded 00:47:32 nexus3.edgexfoundry.org:10004 00:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:32 Configure a credential helper to remove this warning. See 00:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:32 00:47:32 Login Succeeded 00:47:32 docker.io 00:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:33 Configure a credential helper to remove this warning. See 00:47:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:33 00:47:33 Login Succeeded 00:47:33 ---> docker-login.sh ends [Pipeline] } 00:47:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:47:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:47:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:47:33 ========================================================= 00:47:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:47:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:47:34 Sending build context to Docker daemon 20.53MB 00:47:35 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:47:35 Step 2/13 : FROM ${BASE} AS builder 00:47:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:47:35 9b18e9b68314: Pulling fs layer 00:47:35 35d82f9e3411: Pulling fs layer 00:47:35 e16973657156: Pulling fs layer 00:47:35 fc693d55d65f: Pulling fs layer 00:47:35 7e9fc2657dce: Pulling fs layer 00:47:35 dda99020689f: Pulling fs layer 00:47:35 db1c61fa0a46: Pulling fs layer 00:47:35 891c053d2c06: Pulling fs layer 00:47:35 7e9fc2657dce: Waiting 00:47:35 dda99020689f: Waiting 00:47:35 fc693d55d65f: Waiting 00:47:35 db1c61fa0a46: Waiting 00:47:35 891c053d2c06: Waiting 00:47:35 e16973657156: Verifying Checksum 00:47:35 e16973657156: Download complete 00:47:35 35d82f9e3411: Verifying Checksum 00:47:35 35d82f9e3411: Download complete 00:47:35 7e9fc2657dce: Verifying Checksum 00:47:35 7e9fc2657dce: Download complete 00:47:35 dda99020689f: Verifying Checksum 00:47:35 dda99020689f: Download complete 00:47:35 9b18e9b68314: Download complete 00:47:36 9b18e9b68314: Pull complete 00:47:36 891c053d2c06: Verifying Checksum 00:47:36 891c053d2c06: Download complete 00:47:36 35d82f9e3411: Pull complete 00:47:37 e16973657156: Pull complete 00:47:37 db1c61fa0a46: Download complete 00:47:38 fc693d55d65f: Verifying Checksum 00:47:38 fc693d55d65f: Download complete 00:47:53 fc693d55d65f: Pull complete 00:47:53 7e9fc2657dce: Pull complete 00:47:53 dda99020689f: Pull complete 00:47:59 db1c61fa0a46: Pull complete 00:48:01 891c053d2c06: Pull complete 00:48:01 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:48:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:48:01 ---> f96f9c87975a 00:48:01 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:48:03 ---> Running in 682d97927731 00:48:04 Removing intermediate container 682d97927731 00:48:04 ---> 579fb76194de 00:48:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:48:04 ---> Running in 1501122492e1 00:48:04 Removing intermediate container 1501122492e1 00:48:04 ---> ace5e5fb5c3a 00:48:04 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:48:05 ---> Running in 92bb5365c1b6 00:48:05 Removing intermediate container 92bb5365c1b6 00:48:05 ---> 8fcbca4db1f1 00:48:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:48:05 ---> Running in b3405230eef9 00:48:05 Removing intermediate container b3405230eef9 00:48:05 ---> a06c35251fd0 00:48:05 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:48:05 ---> Running in 77a7e5e78154 00:48:06 Removing intermediate container 77a7e5e78154 00:48:06 ---> 55bf55fcdd69 00:48:06 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:48:06 ---> Running in 04772e0f5bbc 00:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:48:09 OK: 221 MiB in 51 packages 00:48:10 Removing intermediate container 04772e0f5bbc 00:48:10 ---> 3ccd27a8f1c9 00:48:10 Step 9/13 : WORKDIR /device-onvif-camera 00:48:10 ---> Running in 4d75f5b8459c 00:48:10 Removing intermediate container 4d75f5b8459c 00:48:10 ---> 718624b25b01 00:48:10 Step 10/13 : COPY go.mod vendor* ./ 00:48:11 ---> fdae860d7a2b 00:48:11 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:48:11 ---> Running in 893adbc26a79 00:49:33 Removing intermediate container 893adbc26a79 00:49:33 ---> fc7208b1c69d 00:49:33 Step 12/13 : COPY . . 00:49:33 ---> 70945c54f6a0 00:49:33 Step 13/13 : RUN ${MAKE} 00:49:33 ---> Running in d218b945d3d7 00:49:33 noop 00:49:33 Removing intermediate container d218b945d3d7 00:49:33 ---> ddb6e09cda8d 00:49:33 Successfully built ddb6e09cda8d 00:49:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:33 + docker inspect -f . ci-base-image-arm64 00:49:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:33 prd-ubuntu20.04-docker-arm64-4c-16g-5965 does not seem to be running inside a container 00:49:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/102 -v /w/workspace/device-onvif-camera/102:/w/workspace/device-onvif-camera/102:rw,z -v /w/workspace/device-onvif-camera/102@tmp:/w/workspace/device-onvif-camera/102@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:49:37 $ docker top 614af0b1814053ec50a0ce41bd1e2ac8d37d0955cff8f78b5486fe38267e14c8 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:38 + go version 00:49:38 go version go1.18.7 linux/arm64 [Pipeline] } 00:49:38 $ docker stop --time=1 614af0b1814053ec50a0ce41bd1e2ac8d37d0955cff8f78b5486fe38267e14c8 00:49:40 $ docker rm -f --volumes 614af0b1814053ec50a0ce41bd1e2ac8d37d0955cff8f78b5486fe38267e14c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:40 + docker inspect -f . ci-base-image-arm64 00:49:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:41 prd-ubuntu20.04-docker-arm64-4c-16g-5965 does not seem to be running inside a container 00:49:41 $ 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/102 -v /w/workspace/device-onvif-camera/102:/w/workspace/device-onvif-camera/102:rw,z -v /w/workspace/device-onvif-camera/102@tmp:/w/workspace/device-onvif-camera/102@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:49:42 $ docker top 3f95961dddcb6aed4677c61d5d0d1bba58127f2daf10f3afde0e521067fdbe20 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:43 + git config --global --add safe.directory /w/workspace/device-onvif-camera/102 [Pipeline] fileExists [Pipeline] sh 00:49:44 + make test 00:49:44 go test ./... -coverprofile=coverage.out ./... 00:49:46 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:51:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:52:02 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.206s coverage: 29.3% of statements 00:52:02 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:52:14 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.483s coverage: 86.5% of statements 00:52:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:52:14 go vet ./... 00:52:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:52:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:52:47 ./bin/test-attribution-txt.sh 00:52:47 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:52:47 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:52:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:52:47 $ docker stop --time=1 3f95961dddcb6aed4677c61d5d0d1bba58127f2daf10f3afde0e521067fdbe20 00:52:49 $ docker rm -f --volumes 3f95961dddcb6aed4677c61d5d0d1bba58127f2daf10f3afde0e521067fdbe20 [Pipeline] // withDockerContainer [Pipeline] sh 00:52:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:52:50 Warning: overwriting stash ‘coverage-report’ 00:52:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:52:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:52:52 + ls -al . 00:52:52 total 232 00:52:52 drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 00:49 . 00:52:52 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:47 .. 00:52:52 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:47 .git 00:52:52 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:47 .github 00:52:52 -rw-rw-r-- 1 jenkins jenkins 496 Feb 15 00:47 .gitignore 00:52:52 -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 00:47 .golangci.yml 00:52:52 -rw-rw-r-- 1 jenkins jenkins 9638 Feb 15 00:47 Attribution.txt 00:52:52 -rw-rw-r-- 1 jenkins jenkins 6312 Feb 15 00:47 CHANGELOG.md 00:52:52 -rw-rw-r-- 1 jenkins jenkins 1574 Feb 15 00:47 Dockerfile 00:52:52 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:47 GOVERNANCE.md 00:52:52 -rw-rw-r-- 1 jenkins jenkins 734 Feb 15 00:47 Jenkinsfile 00:52:52 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 15 00:47 LICENSE 00:52:52 -rw-rw-r-- 1 jenkins jenkins 2577 Feb 15 00:47 Makefile 00:52:52 -rw-rw-r-- 1 jenkins jenkins 625 Feb 15 00:47 OWNERS.md 00:52:52 -rw-rw-r-- 1 jenkins jenkins 6595 Feb 15 00:47 README.md 00:52:52 -rw-rw-r-- 1 jenkins jenkins 12 Feb 15 00:43 VERSION 00:52:52 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:47 bin 00:52:52 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:47 cmd 00:52:52 -rw-r--r-- 1 jenkins jenkins 79184 Feb 15 00:52 coverage.out 00:52:52 drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 00:47 doc 00:52:52 -rw-rw-r-- 1 jenkins jenkins 3600 Feb 15 00:47 go.mod 00:52:52 -rw-rw-r-- 1 jenkins jenkins 34701 Feb 15 00:47 go.sum 00:52:52 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:47 internal 00:52:52 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:47 snap 00:52:52 -rw-rw-r-- 1 jenkins jenkins 236 Feb 15 00:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:52 + 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=ce7fe079461b7505b319433b3b229be05385591d --label arch=arm64 --label version=3.0.0-dev.13 . 00:52:53 Sending build context to Docker daemon 20.61MB 00:52:53 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 00:52:53 Step 2/26 : FROM ${BASE} AS builder 00:52:53 ---> ddb6e09cda8d 00:52:53 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:52:53 ---> Running in 9d20692c0ba9 00:52:53 Removing intermediate container 9d20692c0ba9 00:52:53 ---> 2d11947949e9 00:52:53 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:52:53 ---> Running in 750df3e1e905 00:52:54 Removing intermediate container 750df3e1e905 00:52:54 ---> 2f73d7255c02 00:52:54 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 00:52:54 ---> Running in 5888e318e512 00:52:54 Removing intermediate container 5888e318e512 00:52:54 ---> e80755c59b15 00:52:54 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:52:54 ---> Running in 1fb111fe0195 00:52:54 Removing intermediate container 1fb111fe0195 00:52:54 ---> ecf72ee6f1e2 00:52:54 Step 7/26 : LABEL Name=edgex-device-onvif-camera 00:52:55 ---> Running in 4ffae3cfbac1 00:52:55 Removing intermediate container 4ffae3cfbac1 00:52:55 ---> a8c0d85fdfc8 00:52:55 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:52:55 ---> Running in 0763303dad79 00:52:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:52:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:52:58 OK: 221 MiB in 51 packages 00:52:59 Removing intermediate container 0763303dad79 00:52:59 ---> 95e40ea2d389 00:52:59 Step 9/26 : WORKDIR /device-onvif-camera 00:52:59 ---> Running in 4bafbecf095f 00:53:00 Removing intermediate container 4bafbecf095f 00:53:00 ---> 2559764ed8e6 00:53:00 Step 10/26 : COPY go.mod vendor* ./ 00:53:00 ---> 8808ba729708 00:53:00 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:53:00 ---> Running in dc1046d0d0d1 00:53:06 Removing intermediate container dc1046d0d0d1 00:53:06 ---> 7d28261faf9b 00:53:06 Step 12/26 : COPY . . 00:53:07 ---> 95ff39646877 00:53:07 Step 13/26 : RUN ${MAKE} 00:53:07 ---> Running in dcc1200e8b5b 00:53:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.13" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 00:56:00 Removing intermediate container dcc1200e8b5b 00:56:00 ---> 0b6c05046361 00:56:00 Step 14/26 : FROM alpine:3.16 00:56:00 3.16: Pulling from library/alpine 00:56:00 3760b48202b3: Pulling fs layer 00:56:00 3760b48202b3: Verifying Checksum 00:56:00 3760b48202b3: Download complete 00:56:00 3760b48202b3: Pull complete 00:56:00 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 00:56:00 Status: Downloaded newer image for alpine:3.16 00:56:00 ---> 4c81e5bf8899 00:56:00 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:56:00 ---> Running in 290f94a21684 00:56:00 Removing intermediate container 290f94a21684 00:56:00 ---> f4e2cd40ff0d 00:56:00 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:56:00 ---> Running in 6f0197a69095 00:56:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:56:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:56:00 (1/1) Installing dumb-init (1.2.5-r1) 00:56:00 Executing busybox-1.35.0-r17.trigger 00:56:00 OK: 5 MiB in 15 packages 00:56:00 Removing intermediate container 6f0197a69095 00:56:00 ---> 607abb240609 00:56:00 Step 17/26 : WORKDIR / 00:56:00 ---> Running in 7abb03f81e55 00:56:00 Removing intermediate container 7abb03f81e55 00:56:00 ---> f1b450e06f54 00:56:00 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:56:00 ---> 67fa4de9eae7 00:56:00 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:56:00 ---> 1466360f1f0c 00:56:00 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:56:00 ---> baa9c7ef3c79 00:56:00 Step 21/26 : EXPOSE 59984 00:56:00 ---> Running in 2c52d05ece49 00:56:00 Removing intermediate container 2c52d05ece49 00:56:00 ---> 78bc52c9ff80 00:56:00 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:56:00 ---> Running in 83c26a8eaac1 00:56:00 Removing intermediate container 83c26a8eaac1 00:56:00 ---> 2c63ab6ce7f5 00:56:00 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:56:00 ---> Running in d48cf093ad02 00:56:00 Removing intermediate container d48cf093ad02 00:56:00 ---> 9a66612d10ce 00:56:00 Step 24/26 : LABEL arch=arm64 00:56:00 ---> Running in c5c111757edb 00:56:01 Removing intermediate container c5c111757edb 00:56:01 ---> 69daf6bbccfd 00:56:01 Step 25/26 : LABEL git_sha=ce7fe079461b7505b319433b3b229be05385591d 00:56:01 ---> Running in 42d5af13b1ce 00:56:01 Removing intermediate container 42d5af13b1ce 00:56:01 ---> 29e05ae69e84 00:56:01 Step 26/26 : LABEL version=3.0.0-dev.13 00:56:01 ---> Running in 770fe68e640d 00:56:01 Removing intermediate container 770fe68e640d 00:56:01 ---> c29819b6525b 00:56:01 [Warning] One or more build-args [ARCH] were not consumed 00:56:01 Successfully built c29819b6525b 00:56:01 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:56:02 provisioning config files... 00:56:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/102@tmp/config12914367546748196457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:56:02 ---> docker-login.sh 00:56:02 nexus3.edgexfoundry.org:10001 00:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:02 Configure a credential helper to remove this warning. See 00:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:02 00:56:02 Login Succeeded 00:56:02 nexus3.edgexfoundry.org:10002 00:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:03 Configure a credential helper to remove this warning. See 00:56:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:03 00:56:03 Login Succeeded 00:56:03 nexus3.edgexfoundry.org:10003 00:56:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:03 Configure a credential helper to remove this warning. See 00:56:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:03 00:56:03 Login Succeeded 00:56:03 nexus3.edgexfoundry.org:10004 00:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:04 Configure a credential helper to remove this warning. See 00:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:04 00:56:04 Login Succeeded 00:56:04 docker.io 00:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:56:04 Configure a credential helper to remove this warning. See 00:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:56:04 00:56:04 Login Succeeded 00:56:04 ---> docker-login.sh ends [Pipeline] } 00:56:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:56:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:56:04 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 00:56:04 ce7fe079461b7505b319433b3b229be05385591d 00:56:04 latest 00:56:04 3.0.0-dev.13 00:56:04 ce7fe079461b7505b319433b3b229be05385591d-3.0.0-dev.13 00:56:04 main 00:56:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:05 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ce7fe079461b7505b319433b3b229be05385591d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ce7fe079461b7505b319433b3b229be05385591d 00:56:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:56:05 63d3b1d0f8b1: Preparing 00:56:05 6f8834397c13: Preparing 00:56:05 3f064b5cf589: Preparing 00:56:05 eeb0d659e287: Preparing 00:56:05 f70ee36035b9: Preparing 00:56:05 f70ee36035b9: Layer already exists 00:56:05 6f8834397c13: Pushed 00:56:05 63d3b1d0f8b1: Pushed 00:56:05 eeb0d659e287: Pushed 00:56:12 3f064b5cf589: Pushed 00:56:12 ce7fe079461b7505b319433b3b229be05385591d: digest: sha256:429a4cb8e13e046a621fd83acbfdf366fed94720b4fabed343a0e8ed83c4533a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:12 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 00:56:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:56:13 63d3b1d0f8b1: Preparing 00:56:13 6f8834397c13: Preparing 00:56:13 3f064b5cf589: Preparing 00:56:13 eeb0d659e287: Preparing 00:56:13 f70ee36035b9: Preparing 00:56:13 f70ee36035b9: Layer already exists 00:56:13 3f064b5cf589: Layer already exists 00:56:13 6f8834397c13: Layer already exists 00:56:13 63d3b1d0f8b1: Layer already exists 00:56:13 eeb0d659e287: Layer already exists 00:56:13 latest: digest: sha256:429a4cb8e13e046a621fd83acbfdf366fed94720b4fabed343a0e8ed83c4533a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:13 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.13 00:56:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:56:14 63d3b1d0f8b1: Preparing 00:56:14 6f8834397c13: Preparing 00:56:14 3f064b5cf589: Preparing 00:56:14 eeb0d659e287: Preparing 00:56:14 f70ee36035b9: Preparing 00:56:14 63d3b1d0f8b1: Layer already exists 00:56:14 3f064b5cf589: Layer already exists 00:56:14 f70ee36035b9: Layer already exists 00:56:14 eeb0d659e287: Layer already exists 00:56:14 6f8834397c13: Layer already exists 00:56:14 3.0.0-dev.13: digest: sha256:429a4cb8e13e046a621fd83acbfdf366fed94720b4fabed343a0e8ed83c4533a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:14 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ce7fe079461b7505b319433b3b229be05385591d-3.0.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ce7fe079461b7505b319433b3b229be05385591d-3.0.0-dev.13 00:56:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:56:15 63d3b1d0f8b1: Preparing 00:56:15 6f8834397c13: Preparing 00:56:15 3f064b5cf589: Preparing 00:56:15 eeb0d659e287: Preparing 00:56:15 f70ee36035b9: Preparing 00:56:15 f70ee36035b9: Layer already exists 00:56:15 63d3b1d0f8b1: Layer already exists 00:56:15 eeb0d659e287: Layer already exists 00:56:15 3f064b5cf589: Layer already exists 00:56:15 6f8834397c13: Layer already exists 00:56:15 ce7fe079461b7505b319433b3b229be05385591d-3.0.0-dev.13: digest: sha256:429a4cb8e13e046a621fd83acbfdf366fed94720b4fabed343a0e8ed83c4533a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:15 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 00:56:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:56:15 63d3b1d0f8b1: Preparing 00:56:15 6f8834397c13: Preparing 00:56:15 3f064b5cf589: Preparing 00:56:15 eeb0d659e287: Preparing 00:56:15 f70ee36035b9: Preparing 00:56:15 eeb0d659e287: Layer already exists 00:56:15 3f064b5cf589: Layer already exists 00:56:15 6f8834397c13: Layer already exists 00:56:15 63d3b1d0f8b1: Layer already exists 00:56:15 f70ee36035b9: Layer already exists 00:56:16 main: digest: sha256:429a4cb8e13e046a621fd83acbfdf366fed94720b4fabed343a0e8ed83c4533a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:56:16 ===================================================== [Pipeline] echo 00:56:16 taggedImages: 00:56:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ce7fe079461b7505b319433b3b229be05385591d 00:56:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 00:56:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.13 00:56:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:ce7fe079461b7505b319433b3b229be05385591d-3.0.0-dev.13 00:56:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:56:16 00:56:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:56:17 arm64: Pulling from edgex-lftools-log-publisher 00:56:17 8998bd30e6a1: Pulling fs layer 00:56:17 04944245beec: Pulling fs layer 00:56:17 699f458cf7ca: Pulling fs layer 00:56:17 765212b225bb: Pulling fs layer 00:56:17 f23df028b6ca: Pulling fs layer 00:56:17 d65c8cfc05b1: Pulling fs layer 00:56:17 2437ff75d9bd: Pulling fs layer 00:56:17 f23df028b6ca: Waiting 00:56:17 d65c8cfc05b1: Waiting 00:56:17 2437ff75d9bd: Waiting 00:56:17 765212b225bb: Waiting 00:56:17 04944245beec: Verifying Checksum 00:56:17 04944245beec: Download complete 00:56:17 765212b225bb: Verifying Checksum 00:56:17 765212b225bb: Download complete 00:56:17 f23df028b6ca: Download complete 00:56:17 d65c8cfc05b1: Verifying Checksum 00:56:17 d65c8cfc05b1: Download complete 00:56:17 699f458cf7ca: Verifying Checksum 00:56:18 8998bd30e6a1: Verifying Checksum 00:56:18 8998bd30e6a1: Download complete 00:56:20 2437ff75d9bd: Download complete 00:56:22 8998bd30e6a1: Pull complete 00:56:22 04944245beec: Pull complete 00:56:24 699f458cf7ca: Pull complete 00:56:24 765212b225bb: Pull complete 00:56:25 f23df028b6ca: Pull complete 00:56:25 d65c8cfc05b1: Pull complete 00:56:40 2437ff75d9bd: Pull complete 00:56:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:56:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:56:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:41 prd-ubuntu20.04-docker-arm64-4c-16g-5965 does not seem to be running inside a container 00:56:41 $ 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/102 -v /w/workspace/device-onvif-camera/102:/w/workspace/device-onvif-camera/102:rw,z -v /w/workspace/device-onvif-camera/102@tmp:/w/workspace/device-onvif-camera/102@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:56:43 $ docker top 1289c78fef45bea1c716f7f22760a9bb4d2ae101319eb47ecb33af41e25d16ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:56:44 ---> job-cost.sh 00:56:44 lf-activate-venv: SKIPPING 00:56:44 INFO: No Stack... 00:56:45 INFO: Retrieving Pricing Info for: v3-standard-4 00:56:46 INFO: Archiving Costs [Pipeline] sh 00:56:46 + cat /w/workspace/device-onvif-camera/102/archives/cost.csv 00:56:46 + cut -d, -f6 [Pipeline] lock 00:56:47 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-102-stack-cost] 00:56:47 Resource [jenkins-edgexfoundry-device-onvif-camera-main-102-stack-cost] did not exist. Created. 00:56:47 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-102-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:56:47 /w/workspace/device-onvif-camera/102@tmp/durable-b2272706/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:56:48 + echo total: 0.10999999940395355 [Pipeline] stash 00:56:48 Warning: overwriting stash ‘stack-cost’ 00:56:48 Stashed 1 file(s) [Pipeline] } 00:56:48 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-102-stack-cost] [Pipeline] // lock [Pipeline] } 00:56:48 $ docker stop --time=1 1289c78fef45bea1c716f7f22760a9bb4d2ae101319eb47ecb33af41e25d16ae 00:56:49 $ docker rm -f --volumes 1289c78fef45bea1c716f7f22760a9bb4d2ae101319eb47ecb33af41e25d16ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:56:50 provisioning config files... 00:56:50 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18402009408227705180tmp [Pipeline] { [Pipeline] sh 00:56:50 + set +x 00:56:50 + curl -s https://codecov.io/bash 00:56:50 + bash -s -- 00:56:50 00:56:50 _____ _ 00:56:50 / ____| | | 00:56:50 | | ___ __| | ___ ___ _____ __ 00:56:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:56:50 | |___| (_) | (_| | __/ (_| (_) \ V / 00:56:50 \_____\___/ \__,_|\___|\___\___/ \_/ 00:56:50 Bash-1.0.6 00:56:50 00:56:50 00:56:50 ==> git version 2.25.1 found 00:56:50 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:56:50 Release-Date: 2020-01-08 00:56:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:56:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:56:50 ==> Jenkins CI detected. 00:56:50 current dir:  /w/workspace/foundry_device-onvif-camera_main 00:56:50 project root: . 00:56:50 --> token set from env 00:56:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:56:50 ==> Running gcov in . (disable via -X gcov) 00:56:50 ==> Python coveragepy not found 00:56:50 ==> Searching for coverage reports in: 00:56:50 + . 00:56:50 -> Found 1 reports 00:56:50 ==> Detecting git/mercurial file structure 00:56:50 ==> Reading reports 00:56:50 + ./coverage.out bytes=79184 00:56:50 ==> Appending adjustments 00:56:50 https://docs.codecov.io/docs/fixing-reports 00:56:50 + Found adjustments 00:56:50 ==> Gzipping contents 00:56:50 12K /tmp/codecov.momeIV.gz 00:56:50 ==> Uploading reports 00:56:50 url: https://codecov.io 00:56:50 query: branch=main&commit=ce7fe079461b7505b319433b3b229be05385591d&build=102&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F102%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:56:50 -> Pinging Codecov 00:56:50 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=ce7fe079461b7505b319433b3b229be05385591d&build=102&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F102%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:56:51 -> Uploading to 00:56:51 https://storage.googleapis.com/codecov/v4/raw/2023-02-15/F29A59C45E3A92E06B3E522C9905F8EF/ce7fe079461b7505b319433b3b229be05385591d/9982925e-ba07-4e4b-8579-ac9ca4acc48f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T005650Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c03019e16a4c33548c351ea431ee1674053e94a3babfd8d099284d98fe051e61 00:56:51 % Total % Received % Xferd Average Speed Time Time Time Current 00:56:51 Dload Upload Total Spent Left Speed 00:56:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10830 0 0 100 10830 0 42470 --:--:-- --:--:-- --:--:-- 42470 00:56:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ce7fe079461b7505b319433b3b229be05385591d [Pipeline] } 00:56:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:56:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:56:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:56:51 00:56:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:56:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:56:52 df9b9388f04a: Pulling fs layer 00:56:52 52dc419b0ee2: Pulling fs layer 00:56:52 25bc292e5bac: Pulling fs layer 00:56:52 114826534d7a: Pulling fs layer 00:56:52 4657fd5d0bcf: Pulling fs layer 00:56:52 6ad1cebc031e: Pulling fs layer 00:56:52 8a3aa393b2d8: Pulling fs layer 00:56:52 114826534d7a: Waiting 00:56:52 4657fd5d0bcf: Waiting 00:56:52 8a3aa393b2d8: Waiting 00:56:52 6ad1cebc031e: Waiting 00:56:52 25bc292e5bac: Download complete 00:56:52 52dc419b0ee2: Verifying Checksum 00:56:52 52dc419b0ee2: Download complete 00:56:52 4657fd5d0bcf: Verifying Checksum 00:56:52 4657fd5d0bcf: Download complete 00:56:52 df9b9388f04a: Download complete 00:56:52 df9b9388f04a: Pull complete 00:56:52 52dc419b0ee2: Pull complete 00:56:52 25bc292e5bac: Pull complete 00:56:53 6ad1cebc031e: Verifying Checksum 00:56:53 6ad1cebc031e: Download complete 00:56:54 114826534d7a: Verifying Checksum 00:56:54 114826534d7a: Download complete 00:56:54 8a3aa393b2d8: Verifying Checksum 00:56:54 8a3aa393b2d8: Download complete 00:56:57 114826534d7a: Pull complete 00:56:57 4657fd5d0bcf: Pull complete 00:56:58 6ad1cebc031e: Pull complete 00:57:01 8a3aa393b2d8: Pull complete 00:57:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:57:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:57:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:01 prd-ubuntu20.04-docker-8c-8g-5955 does not seem to be running inside a container 00:57:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:57:05 $ docker top 39132e76ff33fad8a614d307eeab9038ec329a440b505693595e1dc24b92ce2f -eo pid,comm [Pipeline] { [Pipeline] echo 00:57:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 00:57:05 + set -o pipefail 00:57:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 00:57:12 00:57:12 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 00:57:12 00:57:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/8854cafa-9404-4fd9-a279-9fe1fdd1c2b1 00:57:12 00:57:12 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 00:57:12 00:57:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:57:12 00:57:13 00:57:13 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:57:13 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:57:13 More details here: https://snyk.co/ue1NS [Pipeline] } 00:57:13 $ docker stop --time=1 39132e76ff33fad8a614d307eeab9038ec329a440b505693595e1dc24b92ce2f 00:57:15 $ docker rm -f --volumes 39132e76ff33fad8a614d307eeab9038ec329a440b505693595e1dc24b92ce2f [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 00:57:15 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:57:15 provisioning config files... 00:57:15 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5946415270798944740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:16 --> edgex-publish-swagger.sh 00:57:16 === Publish doc/openapi/v2 API === 00:57:16 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 00:57:16 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 00:57:16 % Total % Received % Xferd Average Speed Time Time Time Current 00:57:16 Dload Upload Total Spent Left Speed 00:57:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 646k --:--:-- --:--:-- --:--:-- 645k 100 469k 0 0 100 469k 0 646k --:--:-- --:--:-- --:--:-- 645k 00:57:16 00:57:16 [Pipeline] } 00:57:16 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 00:57:17 + git log --format=format:%s -1 ce7fe079461b7505b319433b3b229be05385591d [Pipeline] sh 00:57:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:57:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:57:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:17 prd-ubuntu20.04-docker-8c-8g-5955 does not seem to be running inside a container 00:57:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:57:18 $ docker top a12a4dff1cf97cd96e903a04e2aa385be4ebcd8b7bd96dd2d64158699a9a1581 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:57:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:57:18 [ssh-agent] Looking for ssh-agent implementation... 00:57:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:57:18 $ docker exec a12a4dff1cf97cd96e903a04e2aa385be4ebcd8b7bd96dd2d64158699a9a1581 ssh-agent 00:57:18 SSH_AUTH_SOCK=/tmp/ssh-x6XOYO7myb1E/agent.32 00:57:18 SSH_AGENT_PID=38 00:57:18 Running ssh-add (command line suppressed) 00:57:18 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15008969852522121784.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15008969852522121784.key) 00:57:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:57:18 + git semver tag 00:57:19 2023-02-15 00:57:19,168 [run_tag] DEBUG tag force:False 00:57:19 2023-02-15 00:57:19,168 [check_head_tag] DEBUG check head tag 00:57:19 2023-02-15 00:57:19,170 [execute] INFO git cat-file --batch-check 00:57:19 2023-02-15 00:57:19,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 00:57:19 2023-02-15 00:57:19,174 [execute] INFO git cat-file --batch 00:57:19 2023-02-15 00:57:19,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 00:57:19 2023-02-15 00:57:19,202 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:57:19 2023-02-15 00:57:19,202 [execute] INFO git tag -a v3.0.0-dev.13 -m v3.0.0-dev.13 00:57:19 2023-02-15 00:57:19,203 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.13', '-m', 'v3.0.0-dev.13'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 00:57:19 2023-02-15 00:57:19,208 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:57:19 3.0.0-dev.13 [Pipeline] } 00:57:19 $ docker exec --env ******** --env ******** a12a4dff1cf97cd96e903a04e2aa385be4ebcd8b7bd96dd2d64158699a9a1581 ssh-agent -k 00:57:19 unset SSH_AUTH_SOCK; 00:57:19 unset SSH_AGENT_PID; 00:57:19 echo Agent pid 38 killed; 00:57:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:57:19 + git semver [Pipeline] } 00:57:19 $ docker stop --time=1 a12a4dff1cf97cd96e903a04e2aa385be4ebcd8b7bd96dd2d64158699a9a1581 00:57:21 $ docker rm -f --volumes a12a4dff1cf97cd96e903a04e2aa385be4ebcd8b7bd96dd2d64158699a9a1581 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:57:21 00:57:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:57:21 0.23.1-centos7: Pulling from edgex-lftools 00:57:21 ab5ef0e58194: Pulling fs layer 00:57:21 9712f1f96733: Pulling fs layer 00:57:21 63f879dbbcfc: Pulling fs layer 00:57:21 0d9ebad4ef96: Pulling fs layer 00:57:21 e9a5061849ea: Pulling fs layer 00:57:21 d747dcd14b5f: Pulling fs layer 00:57:21 2de7ff778b66: Pulling fs layer 00:57:21 d747dcd14b5f: Waiting 00:57:21 e9a5061849ea: Waiting 00:57:21 0d9ebad4ef96: Waiting 00:57:21 2de7ff778b66: Waiting 00:57:21 9712f1f96733: Verifying Checksum 00:57:21 9712f1f96733: Download complete 00:57:22 63f879dbbcfc: Verifying Checksum 00:57:22 63f879dbbcfc: Download complete 00:57:22 e9a5061849ea: Verifying Checksum 00:57:22 e9a5061849ea: Download complete 00:57:22 d747dcd14b5f: Verifying Checksum 00:57:22 d747dcd14b5f: Download complete 00:57:23 2de7ff778b66: Verifying Checksum 00:57:23 2de7ff778b66: Download complete 00:57:23 0d9ebad4ef96: Verifying Checksum 00:57:23 0d9ebad4ef96: Download complete 00:57:23 ab5ef0e58194: Download complete 00:57:26 ab5ef0e58194: Pull complete 00:57:26 9712f1f96733: Pull complete 00:57:27 63f879dbbcfc: Pull complete 00:57:31 0d9ebad4ef96: Pull complete 00:57:31 e9a5061849ea: Pull complete 00:57:31 d747dcd14b5f: Pull complete 00:57:32 2de7ff778b66: Pull complete 00:57:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:57:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:57:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:32 prd-ubuntu20.04-docker-8c-8g-5955 does not seem to be running inside a container 00:57:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:57:36 $ docker top 99a42604e48a5eea1684f80a33d6d79214882055c9a3645c19d764cb9a2342b6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:57:37 provisioning config files... 00:57:37 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3035045447282923260tmp 00:57:37 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12740641816446327913tmp 00:57:37 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3152685169476323949tmp [Pipeline] { [Pipeline] echo 00:57:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:57:37 ---> sigul-configuration.sh 00:57:37 gpg: directory `/root/.gnupg' created 00:57:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:57:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:57:37 gpg: keyring `/root/.gnupg/secring.gpg' created 00:57:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:57:37 gpg: CAST5 encrypted data 00:57:37 gpg: encrypted with 1 passphrase 00:57:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:57:37 + mkdir /home/jenkins 00:57:37 + mkdir /home/jenkins/sigul [Pipeline] sh 00:57:37 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:57:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:57:38 ---> sigul-install.sh 00:57:38 Sigul already installed; skipping installation. [Pipeline] sh 00:57:38 + git tag --list 00:57:38 v0.0.0 00:57:38 v0.0.1-dev.1 00:57:38 v0.0.1-dev.10 00:57:38 v0.0.1-dev.11 00:57:38 v0.0.1-dev.12 00:57:38 v0.0.1-dev.13 00:57:38 v0.0.1-dev.14 00:57:38 v0.0.1-dev.15 00:57:38 v0.0.1-dev.16 00:57:38 v0.0.1-dev.17 00:57:38 v0.0.1-dev.18 00:57:38 v0.0.1-dev.19 00:57:38 v0.0.1-dev.2 00:57:38 v0.0.1-dev.20 00:57:38 v0.0.1-dev.21 00:57:38 v0.0.1-dev.22 00:57:38 v0.0.1-dev.23 00:57:38 v0.0.1-dev.24 00:57:38 v0.0.1-dev.25 00:57:38 v0.0.1-dev.26 00:57:38 v0.0.1-dev.27 00:57:38 v0.0.1-dev.28 00:57:38 v0.0.1-dev.3 00:57:38 v0.0.1-dev.4 00:57:38 v0.0.1-dev.5 00:57:38 v0.0.1-dev.6 00:57:38 v0.0.1-dev.7 00:57:38 v0.0.1-dev.8 00:57:38 v0.0.1-dev.9 00:57:38 v2.2.0 00:57:38 v2.2.0-dev.29 00:57:38 v2.2.0-dev.30 00:57:38 v2.2.0-dev.31 00:57:38 v2.2.0-dev.32 00:57:38 v2.2.0-dev.33 00:57:38 v2.2.0-dev.34 00:57:38 v2.2.0-dev.35 00:57:38 v2.3.0 00:57:38 v2.3.0-dev.1 00:57:38 v2.3.0-dev.10 00:57:38 v2.3.0-dev.11 00:57:38 v2.3.0-dev.12 00:57:38 v2.3.0-dev.13 00:57:38 v2.3.0-dev.14 00:57:38 v2.3.0-dev.15 00:57:38 v2.3.0-dev.16 00:57:38 v2.3.0-dev.17 00:57:38 v2.3.0-dev.18 00:57:38 v2.3.0-dev.19 00:57:38 v2.3.0-dev.2 00:57:38 v2.3.0-dev.20 00:57:38 v2.3.0-dev.21 00:57:38 v2.3.0-dev.22 00:57:38 v2.3.0-dev.23 00:57:38 v2.3.0-dev.24 00:57:38 v2.3.0-dev.25 00:57:38 v2.3.0-dev.26 00:57:38 v2.3.0-dev.27 00:57:38 v2.3.0-dev.28 00:57:38 v2.3.0-dev.29 00:57:38 v2.3.0-dev.3 00:57:38 v2.3.0-dev.30 00:57:38 v2.3.0-dev.31 00:57:38 v2.3.0-dev.32 00:57:38 v2.3.0-dev.33 00:57:38 v2.3.0-dev.34 00:57:38 v2.3.0-dev.35 00:57:38 v2.3.0-dev.36 00:57:38 v2.3.0-dev.37 00:57:38 v2.3.0-dev.38 00:57:38 v2.3.0-dev.39 00:57:38 v2.3.0-dev.4 00:57:38 v2.3.0-dev.40 00:57:38 v2.3.0-dev.41 00:57:38 v2.3.0-dev.42 00:57:38 v2.3.0-dev.43 00:57:38 v2.3.0-dev.44 00:57:38 v2.3.0-dev.45 00:57:38 v2.3.0-dev.5 00:57:38 v2.3.0-dev.6 00:57:38 v2.3.0-dev.7 00:57:38 v2.3.0-dev.8 00:57:38 v2.3.0-dev.9 00:57:38 v2.3.1-dev.1 00:57:38 v3.0.0-dev.1 00:57:38 v3.0.0-dev.10 00:57:38 v3.0.0-dev.11 00:57:38 v3.0.0-dev.12 00:57:38 v3.0.0-dev.13 00:57:38 v3.0.0-dev.2 00:57:38 v3.0.0-dev.3 00:57:38 v3.0.0-dev.4 00:57:38 v3.0.0-dev.5 00:57:38 v3.0.0-dev.6 00:57:38 v3.0.0-dev.7 00:57:38 v3.0.0-dev.8 00:57:38 v3.0.0-dev.9 [Pipeline] sh 00:57:38 + lftools sign git-tag v3.0.0-dev.13 00:57:39 Signing Git tag with Sigul... 00:57:39 Signing v3.0.0-dev.13 [Pipeline] echo 00:57:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:57:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:57:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:57:39 $ docker stop --time=1 99a42604e48a5eea1684f80a33d6d79214882055c9a3645c19d764cb9a2342b6 00:57:41 $ docker rm -f --volumes 99a42604e48a5eea1684f80a33d6d79214882055c9a3645c19d764cb9a2342b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:57:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:57:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:57:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:41 prd-ubuntu20.04-docker-8c-8g-5955 does not seem to be running inside a container 00:57:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:57:42 $ docker top 57004e0e0b97253a37732c298e311188499436a88d8154e3218a21fe921e48f7 -eo pid,comm 00:57:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:57:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:57:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:57:42 [ssh-agent] Looking for ssh-agent implementation... 00:57:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:57:42 $ docker exec 57004e0e0b97253a37732c298e311188499436a88d8154e3218a21fe921e48f7 ssh-agent 00:57:42 SSH_AUTH_SOCK=/tmp/ssh-YnIHA9ox4U8c/agent.32 00:57:42 SSH_AGENT_PID=38 00:57:42 Running ssh-add (command line suppressed) 00:57:42 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9210208514306726324.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9210208514306726324.key) 00:57:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:57:43 + git semver bump pre 00:57:43 2023-02-15 00:57:43,216 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:57:43 2023-02-15 00:57:43,217 [bump_version] DEBUG bumping version:3.0.0-dev.13 on axis:pre with prefix:dev 00:57:43 2023-02-15 00:57:43,217 [bump_version] DEBUG bumped version:3.0.0-dev.14 00:57:43 2023-02-15 00:57:43,217 [write_version] DEBUG write version:3.0.0-dev.14 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 00:57:43 2023-02-15 00:57:43,217 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:57:43 2023-02-15 00:57:43,217 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 00:57:43 2023-02-15 00:57:43,218 [execute] INFO git cat-file --batch-check 00:57:43 2023-02-15 00:57:43,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:57:43 2023-02-15 00:57:43,223 [execute] INFO git cat-file --batch 00:57:43 2023-02-15 00:57:43,224 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:57:43 2023-02-15 00:57:43,228 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:57:43 3.0.0-dev.14 [Pipeline] } 00:57:43 $ docker exec --env ******** --env ******** 57004e0e0b97253a37732c298e311188499436a88d8154e3218a21fe921e48f7 ssh-agent -k 00:57:43 unset SSH_AUTH_SOCK; 00:57:43 unset SSH_AGENT_PID; 00:57:43 echo Agent pid 38 killed; 00:57:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:57:43 + git semver [Pipeline] } 00:57:44 $ docker stop --time=1 57004e0e0b97253a37732c298e311188499436a88d8154e3218a21fe921e48f7 00:57:45 $ docker rm -f --volumes 57004e0e0b97253a37732c298e311188499436a88d8154e3218a21fe921e48f7 [Pipeline] // withDockerContainer [Pipeline] sh 00:57:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:57:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:57:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:45 prd-ubuntu20.04-docker-8c-8g-5955 does not seem to be running inside a container 00:57:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:57:46 $ docker top 11c41a84b9dcbcec78b6ad9120578938c243f135be466b0c461033a4301a11f4 -eo pid,comm 00:57:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:57:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:57:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:57:46 [ssh-agent] Looking for ssh-agent implementation... 00:57:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:57:46 $ docker exec 11c41a84b9dcbcec78b6ad9120578938c243f135be466b0c461033a4301a11f4 ssh-agent 00:57:46 SSH_AUTH_SOCK=/tmp/ssh-U3WBQX5tW5IX/agent.31 00:57:46 SSH_AGENT_PID=37 00:57:46 Running ssh-add (command line suppressed) 00:57:46 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12334525503319925410.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12334525503319925410.key) 00:57:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:57:47 + git semver push 00:57:47 2023-02-15 00:57:47,317 [run_push] DEBUG push 00:57:47 2023-02-15 00:57:47,318 [execute] INFO git cat-file --batch-check 00:57:47 2023-02-15 00:57:47,318 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:57:47 2023-02-15 00:57:47,322 [execute] INFO git rev-list 3dda90cae96110eafeb7d4db92f6f4390e7554b4 -- 00:57:47 2023-02-15 00:57:47,323 [execute] DEBUG Popen(['git', 'rev-list', '3dda90cae96110eafeb7d4db92f6f4390e7554b4', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:57:47 2023-02-15 00:57:47,331 [execute] INFO git fetch -v origin 00:57:47 2023-02-15 00:57:47,331 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 00:57:47 2023-02-15 00:57:47,934 [run_push] DEBUG no remote changes detected 00:57:47 2023-02-15 00:57:47,934 [execute] INFO git push origin semver 00:57:47 2023-02-15 00:57:47,934 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:57:48 2023-02-15 00:57:48,776 [run_push] DEBUG push all version tags 00:57:48 2023-02-15 00:57:48,777 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:57:48 2023-02-15 00:57:48,777 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 00:57:49 2023-02-15 00:57:49,626 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:57:49 3.0.0-dev.14 [Pipeline] } 00:57:49 $ docker exec --env ******** --env ******** 11c41a84b9dcbcec78b6ad9120578938c243f135be466b0c461033a4301a11f4 ssh-agent -k 00:57:49 unset SSH_AUTH_SOCK; 00:57:49 unset SSH_AGENT_PID; 00:57:49 echo Agent pid 37 killed; 00:57:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:57:50 + git semver [Pipeline] } 00:57:50 $ docker stop --time=1 11c41a84b9dcbcec78b6ad9120578938c243f135be466b0c461033a4301a11f4 00:57:51 $ docker rm -f --volumes 11c41a84b9dcbcec78b6ad9120578938c243f135be466b0c461033a4301a11f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:57:52 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 00:57:52 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 00:57:52 total 16 00:57:52 drwxr-xr-x 3 root root 4096 Feb 15 00:46 . 00:57:52 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 00:57 .. 00:57:52 drwxr-xr-x 2 root root 4096 Feb 15 00:46 cost 00:57:52 -rw-r--r-- 1 root root 91 Feb 15 00:46 cost.csv 00:57:52 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 00:57:52 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 00:57:52 total 16 00:57:52 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:46 . 00:57:52 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 00:57 .. 00:57:52 drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 00:46 cost 00:57:52 -rw-r--r-- 1 jenkins jenkins 91 Feb 15 00:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:57:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:57:53 ---> package-listing.sh 00:57:53 ++ facter osfamily 00:57:53 ++ tr '[:upper:]' '[:lower:]' 00:57:53 + OS_FAMILY=debian 00:57:53 + workspace=/w/workspace/foundry_device-onvif-camera_main 00:57:53 + START_PACKAGES=/tmp/packages_start.txt 00:57:53 + END_PACKAGES=/tmp/packages_end.txt 00:57:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:57:53 + PACKAGES=/tmp/packages_start.txt 00:57:53 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 00:57:53 + PACKAGES=/tmp/packages_end.txt 00:57:53 + case "${OS_FAMILY}" in 00:57:53 + dpkg -l 00:57:53 + grep '^ii' 00:57:53 + '[' -f /tmp/packages_start.txt ']' 00:57:53 + '[' -f /tmp/packages_end.txt ']' 00:57:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:57:53 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 00:57:53 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 00:57:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 00:57:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:57:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:54 prd-ubuntu20.04-docker-8c-8g-5955 does not seem to be running inside a container 00:57:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:57:54 $ docker top 442fbd6cd0e0dffe827fc5067e9de3bc0b8ff68c512ab75230da366d4f9aed4b -eo pid,comm [Pipeline] { [Pipeline] sh 00:57:55 + touch /tmp/pre-build-complete [Pipeline] sh 00:57:55 + mkdir -p /var/log/sysstat [Pipeline] sh 00:57:55 + ls /var/log/sa-host 00:57:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:57:55 provisioning config files... 00:57:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14544120636713243862tmp [Pipeline] { [Pipeline] echo 00:57:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:57:56 ---> create-netrc.sh [Pipeline] } 00:57:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:57:56 ---> python-tools-install.sh [Pipeline] echo 00:57:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:57:56 ---> sudo-logs.sh 00:57:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:57:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:57:57 ---> job-cost.sh 00:57:57 lf-activate-venv: SKIPPING 00:57:57 DEBUG: total: 0.2199999988079071 00:57:57 INFO: Retrieving Stack Cost... 00:57:58 INFO: Retrieving Pricing Info for: v3-standard-8 00:57:58 INFO: Archiving Costs [Pipeline] echo 00:57:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:57:58 ---> logs-deploy.sh 00:57:58 lf-activate-venv: SKIPPING 00:57:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/102 00:57:58 INFO: archiving workspace using pattern(s): 00:57:59 Archives upload complete. 00:57:59 INFO: archiving logs to Nexus