Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea 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-ssh1374678290981538316.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh103937812369110547.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh451619706135543175.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh3030858586776170453.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-ssh1990478727615090498.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15129 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 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea # timeout=10 Commit message: "refactor!: updated Snapshot api to get profile token input. (#356)" > git rev-list --no-walk 78f21e3935208b96823f0abfaeaba9e90563d252 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:27:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:27:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:27:53 ========================================================= 00:27:53 EdgeX Global Pipelines Version Info 00:27:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:27:54 ------------------- 00:27:54 stable info: 00:27:54 ------------------- 00:27:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:27:54 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:27:54 Message: update stable to v1.0.249 00:27:55 ------------------- 00:27:55 experimental info: 00:27:55 ------------------- 00:27:55 Commited By: **** collab-it+edgex@linuxfoundation.org 00:27:55 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:27:55 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:27:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:27:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:27:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:27:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:27:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:27:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:27:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea [Pipeline] echo 00:27:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f1cbae [Pipeline] echo 00:27:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:27:56 provisioning config files... 00:27:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18384971803294580872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:27:56 ---> docker-login.sh 00:27:56 nexus3.edgexfoundry.org:10001 00:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:56 Configure a credential helper to remove this warning. See 00:27:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:56 00:27:56 Login Succeeded 00:27:56 nexus3.edgexfoundry.org:10002 00:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:57 Configure a credential helper to remove this warning. See 00:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:57 00:27:57 Login Succeeded 00:27:57 nexus3.edgexfoundry.org:10003 00:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:57 Configure a credential helper to remove this warning. See 00:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:57 00:27:57 Login Succeeded 00:27:57 nexus3.edgexfoundry.org:10004 00:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:57 Configure a credential helper to remove this warning. See 00:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:57 00:27:57 Login Succeeded 00:27:57 docker.io 00:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:57 Configure a credential helper to remove this warning. See 00:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:57 00:27:57 Login Succeeded 00:27:57 ---> docker-login.sh ends [Pipeline] } 00:27:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:27:58 + git rev-list -1 --merges 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea~1..8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea [Pipeline] echo 00:27:58 -----------> git rev-list -1 --merges 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea~1..8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea [false] [Pipeline] sh 00:27:58 + git log --format=format:%s -1 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea [Pipeline] echo 00:27:58 ========================================================= 00:27:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:27:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:27:58 + git log --format=format:%s -1 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea [Pipeline] echo 00:27:58 [semverPrep] GIT_COMMIT: 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea, Commit Message: refactor!: updated Snapshot api to get profile token input. (#356) [Pipeline] echo 00:27:58 [semverPrep] This is not a build commit. [Pipeline] sh 00:27:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:27:59 + grep -v github /etc/ssh/ssh_known_hosts 00:27:59 + [ -e /tmp/ssh_known_hosts ] 00:27:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:27:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:27:59 + sudo tee -a /etc/ssh/ssh_known_hosts 00:27:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:27:59 00:27:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:28:00 0.1.4: Pulling from edgex-devops/py-git-semver 00:28:00 b85a868b505f: Pulling fs layer 00:28:00 e2be974225ed: Pulling fs layer 00:28:00 339a4e72a1f5: Pulling fs layer 00:28:00 988bab9f4d93: Pulling fs layer 00:28:00 1469e6f7b9e6: Pulling fs layer 00:28:00 eaf3925da568: Pulling fs layer 00:28:00 bab4dde63d76: Pulling fs layer 00:28:00 bde34c3a00c8: Pulling fs layer 00:28:00 b352a97aabf1: Pulling fs layer 00:28:00 4872d77fe225: Pulling fs layer 00:28:00 5851b861e8e6: Pulling fs layer 00:28:00 bab4dde63d76: Waiting 00:28:00 b352a97aabf1: Waiting 00:28:00 4872d77fe225: Waiting 00:28:00 5851b861e8e6: Waiting 00:28:00 bde34c3a00c8: Waiting 00:28:00 988bab9f4d93: Waiting 00:28:00 eaf3925da568: Waiting 00:28:00 1469e6f7b9e6: Waiting 00:28:00 e2be974225ed: Verifying Checksum 00:28:00 e2be974225ed: Download complete 00:28:00 988bab9f4d93: Verifying Checksum 00:28:00 988bab9f4d93: Download complete 00:28:00 1469e6f7b9e6: Verifying Checksum 00:28:00 1469e6f7b9e6: Download complete 00:28:00 eaf3925da568: Verifying Checksum 00:28:00 eaf3925da568: Download complete 00:28:00 339a4e72a1f5: Verifying Checksum 00:28:00 339a4e72a1f5: Download complete 00:28:00 bde34c3a00c8: Download complete 00:28:00 b352a97aabf1: Download complete 00:28:00 4872d77fe225: Verifying Checksum 00:28:00 4872d77fe225: Download complete 00:28:00 5851b861e8e6: Verifying Checksum 00:28:00 5851b861e8e6: Download complete 00:28:00 b85a868b505f: Verifying Checksum 00:28:00 b85a868b505f: Download complete 00:28:01 bab4dde63d76: Verifying Checksum 00:28:01 bab4dde63d76: Download complete 00:28:02 b85a868b505f: Pull complete 00:28:02 e2be974225ed: Pull complete 00:28:02 339a4e72a1f5: Pull complete 00:28:02 988bab9f4d93: Pull complete 00:28:02 1469e6f7b9e6: Pull complete 00:28:02 eaf3925da568: Pull complete 00:28:04 bab4dde63d76: Pull complete 00:28:04 bde34c3a00c8: Pull complete 00:28:04 b352a97aabf1: Pull complete 00:28:05 4872d77fe225: Pull complete 00:28:05 5851b861e8e6: Pull complete 00:28:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:28:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:28:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:05 prd-ubuntu20.04-docker-8c-8g-15129 does not seem to be running inside a container 00:28:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:28:11 $ docker top 0bbaa086bbf8dd50f0f68e6fc97d3968ab6c51cefd7f8e32a57b12409e7ec359 -eo pid,comm 00:28:11 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:28:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:28:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:28:11 [ssh-agent] Looking for ssh-agent implementation... 00:28:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:28:11 $ docker exec 0bbaa086bbf8dd50f0f68e6fc97d3968ab6c51cefd7f8e32a57b12409e7ec359 ssh-agent 00:28:11 SSH_AUTH_SOCK=/tmp/ssh-cilaYzSXgpXP/agent.14 00:28:11 SSH_AGENT_PID=20 00:28:11 Running ssh-add (command line suppressed) 00:28:11 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8548524710374568892.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8548524710374568892.key) 00:28:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:28:12 + git tag --points-at HEAD [Pipeline] } 00:28:12 $ docker exec --env ******** --env ******** 0bbaa086bbf8dd50f0f68e6fc97d3968ab6c51cefd7f8e32a57b12409e7ec359 ssh-agent -k 00:28:12 unset SSH_AUTH_SOCK; 00:28:12 unset SSH_AGENT_PID; 00:28:12 echo Agent pid 20 killed; 00:28:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:28:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:28:12 [ssh-agent] Looking for ssh-agent implementation... 00:28:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:28:12 $ docker exec 0bbaa086bbf8dd50f0f68e6fc97d3968ab6c51cefd7f8e32a57b12409e7ec359 ssh-agent 00:28:12 SSH_AUTH_SOCK=/tmp/ssh-OU6tc456WEdN/agent.71 00:28:12 SSH_AGENT_PID=77 00:28:12 Running ssh-add (command line suppressed) 00:28:12 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14880581818931422036.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14880581818931422036.key) 00:28:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:28:12 + git semver init 00:28:13 2023-05-11 00:28:13,169 [run_init] DEBUG init version:0.0.0 force:False 00:28:13 2023-05-11 00:28:13,169 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 00:28:13 2023-05-11 00:28:13,170 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 00:28:13 2023-05-11 00:28:13,170 [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:28:14 2023-05-11 00:28:14,089 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 00:28:14 2023-05-11 00:28:14,090 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 00:28:14 2023-05-11 00:28:14,090 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:28:14 2023-05-11 00:28:14,090 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:28:14 3.0.0-dev.48 [Pipeline] } 00:28:14 $ docker exec --env ******** --env ******** 0bbaa086bbf8dd50f0f68e6fc97d3968ab6c51cefd7f8e32a57b12409e7ec359 ssh-agent -k 00:28:14 unset SSH_AUTH_SOCK; 00:28:14 unset SSH_AGENT_PID; 00:28:14 echo Agent pid 77 killed; 00:28:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:28:14 + git semver [Pipeline] } 00:28:15 $ docker stop --time=1 0bbaa086bbf8dd50f0f68e6fc97d3968ab6c51cefd7f8e32a57b12409e7ec359 00:28:16 $ docker rm -f --volumes 0bbaa086bbf8dd50f0f68e6fc97d3968ab6c51cefd7f8e32a57b12409e7ec359 [Pipeline] // withDockerContainer [Pipeline] sh 00:28:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:28:17 Stashed 1 file(s) [Pipeline] echo 00:28:17 [edgeXSemver]: initialized semver on version 3.0.0-dev.48 [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:28:17 provisioning config files... 00:28:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11443318966829933287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:28:17 ---> docker-login.sh 00:28:17 nexus3.edgexfoundry.org:10001 00:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:28:17 Configure a credential helper to remove this warning. See 00:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:28:17 00:28:17 Login Succeeded 00:28:17 nexus3.edgexfoundry.org:10002 00:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:28:17 Configure a credential helper to remove this warning. See 00:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:28:17 00:28:17 Login Succeeded 00:28:17 nexus3.edgexfoundry.org:10003 00:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:28:17 Configure a credential helper to remove this warning. See 00:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:28:17 00:28:17 Login Succeeded 00:28:17 nexus3.edgexfoundry.org:10004 00:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:28:17 Configure a credential helper to remove this warning. See 00:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:28:17 00:28:17 Login Succeeded 00:28:17 docker.io 00:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:28:18 Configure a credential helper to remove this warning. See 00:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:28:18 00:28:18 Login Succeeded 00:28:18 ---> docker-login.sh ends [Pipeline] } 00:28:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:28:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:28:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:28:18 ========================================================= 00:28:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:28:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:28:18 Sending build context to Docker daemon 21.85MB 00:28:18 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:28:18 Step 2/13 : FROM ${BASE} AS builder 00:28:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:28:18 f56be85fc22e: Pulling fs layer 00:28:18 85791d961cd3: Pulling fs layer 00:28:18 d694b5ae8c79: Pulling fs layer 00:28:18 9f32a84ed3da: Pulling fs layer 00:28:18 4d19c01a9841: Pulling fs layer 00:28:18 9325e15d5711: Pulling fs layer 00:28:18 556b6ee489ea: Pulling fs layer 00:28:18 c5a4b2cf53e6: Pulling fs layer 00:28:18 4d19c01a9841: Waiting 00:28:18 9325e15d5711: Waiting 00:28:18 556b6ee489ea: Waiting 00:28:18 c5a4b2cf53e6: Waiting 00:28:18 9f32a84ed3da: Waiting 00:28:18 85791d961cd3: Verifying Checksum 00:28:18 85791d961cd3: Download complete 00:28:18 9f32a84ed3da: Verifying Checksum 00:28:18 9f32a84ed3da: Download complete 00:28:18 4d19c01a9841: Verifying Checksum 00:28:18 4d19c01a9841: Download complete 00:28:18 f56be85fc22e: Download complete 00:28:18 9325e15d5711: Verifying Checksum 00:28:18 9325e15d5711: Download complete 00:28:18 f56be85fc22e: Pull complete 00:28:19 85791d961cd3: Pull complete 00:28:19 c5a4b2cf53e6: Verifying Checksum 00:28:19 c5a4b2cf53e6: Download complete 00:28:19 d694b5ae8c79: Verifying Checksum 00:28:19 d694b5ae8c79: Download complete 00:28:19 556b6ee489ea: Verifying Checksum 00:28:19 556b6ee489ea: Download complete 00:28:23 d694b5ae8c79: Pull complete 00:28:23 9f32a84ed3da: Pull complete 00:28:23 4d19c01a9841: Pull complete 00:28:23 9325e15d5711: Pull complete 00:28:25 556b6ee489ea: Pull complete 00:28:27 c5a4b2cf53e6: Pull complete 00:28:27 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:28:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:28:27 ---> c4be618373d6 00:28:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:28:32 Still waiting to schedule task 00:28:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15127’ 00:28:33 ---> Running in d8f7abafbf62 00:28:33 Removing intermediate container d8f7abafbf62 00:28:33 ---> 7ce0eb973972 00:28:33 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:28:33 ---> Running in 71252bca63f7 00:28:33 Removing intermediate container 71252bca63f7 00:28:33 ---> 51153f8fb7a1 00:28:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:28:33 ---> Running in b6bd943a27f8 00:28:33 Removing intermediate container b6bd943a27f8 00:28:33 ---> 106d31541ed4 00:28:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:28:33 ---> Running in 60bd742023fb 00:28:33 Removing intermediate container 60bd742023fb 00:28:33 ---> bd658570b6ad 00:28:33 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:28:33 ---> Running in 5f392375ebd9 00:28:33 Removing intermediate container 5f392375ebd9 00:28:33 ---> fd64a5926eaa 00:28:33 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:28:33 ---> Running in 61d530b05456 00:28:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:28:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:28:34 OK: 265 MiB in 53 packages 00:28:34 Removing intermediate container 61d530b05456 00:28:34 ---> 2c634c210c9c 00:28:34 Step 9/13 : WORKDIR /device-onvif-camera 00:28:34 ---> Running in f357311cc309 00:28:34 Removing intermediate container f357311cc309 00:28:34 ---> afce17494060 00:28:34 Step 10/13 : COPY go.mod vendor* ./ 00:28:34 ---> 6d152b178f6a 00:28:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:28:34 ---> Running in b5dcefdd8edc 00:29:21 Removing intermediate container b5dcefdd8edc 00:29:21 ---> d8ebc587249c 00:29:21 Step 12/13 : COPY . . 00:29:21 ---> f3bc58474b1e 00:29:21 Step 13/13 : RUN ${MAKE} 00:29:21 ---> Running in a706fd1e91b3 00:29:21 noop 00:29:21 Removing intermediate container a706fd1e91b3 00:29:21 ---> 992311e668ed 00:29:21 Successfully built 992311e668ed 00:29:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:21 + docker inspect -f . ci-base-image-x86_64 00:29:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:21 prd-ubuntu20.04-docker-8c-8g-15129 does not seem to be running inside a container 00:29:22 $ 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:29:22 $ docker top 3220e102460e8d6c4d3edc9e160c414097e559734d15bcb6ef0070e2d200cc79 -eo pid,comm [Pipeline] { [Pipeline] sh 00:29:22 + go version 00:29:22 go version go1.20.2 linux/amd64 [Pipeline] } 00:29:22 $ docker stop --time=1 3220e102460e8d6c4d3edc9e160c414097e559734d15bcb6ef0070e2d200cc79 00:29:24 $ docker rm -f --volumes 3220e102460e8d6c4d3edc9e160c414097e559734d15bcb6ef0070e2d200cc79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:24 + docker inspect -f . ci-base-image-x86_64 00:29:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:24 prd-ubuntu20.04-docker-8c-8g-15129 does not seem to be running inside a container 00:29:24 $ 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:29:25 $ docker top e7991988b3d8ca0da89dd8914ab8e10e6e725f16c70ed845d27bfb36b63ed081 -eo pid,comm [Pipeline] { [Pipeline] sh 00:29:25 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 00:29:25 + make test 00:29:25 go test ./... -coverprofile=coverage.out ./... 00:29:30 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:29:43 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:29:43 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:29:44 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.4% of statements 00:29:44 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.160s coverage: 86.5% of statements 00:29:50 go vet ./... 00:29:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:29:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:29:55 ./bin/test-attribution-txt.sh [Pipeline] echo 00:29:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:29:55 $ docker stop --time=1 e7991988b3d8ca0da89dd8914ab8e10e6e725f16c70ed845d27bfb36b63ed081 00:29:57 $ docker rm -f --volumes e7991988b3d8ca0da89dd8914ab8e10e6e725f16c70ed845d27bfb36b63ed081 [Pipeline] // withDockerContainer [Pipeline] sh 00:29:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:29:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:29:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:29:58 + ls -al . 00:29:58 total 232 00:29:58 drwxrwxr-x 10 jenkins jenkins 4096 May 11 00:29 . 00:29:58 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:27 .. 00:29:58 drwxrwxr-x 8 jenkins jenkins 4096 May 11 00:28 .git 00:29:58 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:27 .github 00:29:58 -rw-rw-r-- 1 jenkins jenkins 496 May 11 00:27 .gitignore 00:29:58 -rw-rw-r-- 1 jenkins jenkins 42 May 11 00:27 .golangci.yml 00:29:58 drwxr-xr-x 3 jenkins jenkins 4096 May 11 00:28 .semver 00:29:58 -rw-rw-r-- 1 jenkins jenkins 10087 May 11 00:27 Attribution.txt 00:29:58 -rw-rw-r-- 1 jenkins jenkins 6312 May 11 00:27 CHANGELOG.md 00:29:58 -rw-rw-r-- 1 jenkins jenkins 1574 May 11 00:27 Dockerfile 00:29:58 -rw-rw-r-- 1 jenkins jenkins 677 May 11 00:27 GOVERNANCE.md 00:29:58 -rw-rw-r-- 1 jenkins jenkins 734 May 11 00:27 Jenkinsfile 00:29:58 -rw-rw-r-- 1 jenkins jenkins 11348 May 11 00:27 LICENSE 00:29:58 -rw-rw-r-- 1 jenkins jenkins 2751 May 11 00:27 Makefile 00:29:58 -rw-rw-r-- 1 jenkins jenkins 625 May 11 00:27 OWNERS.md 00:29:58 -rw-rw-r-- 1 jenkins jenkins 2690 May 11 00:27 README.md 00:29:58 -rw-rw-r-- 1 jenkins jenkins 12 May 11 00:28 VERSION 00:29:58 drwxrwxr-x 2 jenkins jenkins 4096 May 11 00:27 bin 00:29:58 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:27 cmd 00:29:58 -rw-r--r-- 1 jenkins jenkins 78459 May 11 00:29 coverage.out 00:29:58 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:27 doc 00:29:58 -rw-rw-r-- 1 jenkins jenkins 3642 May 11 00:27 go.mod 00:29:58 -rw-rw-r-- 1 jenkins jenkins 33491 May 11 00:27 go.sum 00:29:58 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:27 internal 00:29:58 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:27 snap 00:29:58 -rw-rw-r-- 1 jenkins jenkins 236 May 11 00:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:59 + 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=8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea --label arch=amd64 --label version=3.0.0-dev.48 . 00:29:59 Sending build context to Docker daemon 21.93MB 00:29:59 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:29:59 Step 2/26 : FROM ${BASE} AS builder 00:29:59 ---> 992311e668ed 00:29:59 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:29:59 ---> Running in 660798a7039f 00:29:59 Removing intermediate container 660798a7039f 00:29:59 ---> 698e20117fb5 00:29:59 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:29:59 ---> Running in 630161bd410e 00:29:59 Removing intermediate container 630161bd410e 00:29:59 ---> ab2ac89fd880 00:29:59 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 00:29:59 ---> Running in 6e23a56583bf 00:29:59 Removing intermediate container 6e23a56583bf 00:29:59 ---> cf4794a2d664 00:29:59 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:29:59 ---> Running in b2772088b580 00:29:59 Removing intermediate container b2772088b580 00:29:59 ---> 73ac8397c9e8 00:29:59 Step 7/26 : LABEL Name=edgex-device-onvif-camera 00:29:59 ---> Running in d5bc9e96c1a8 00:30:00 Removing intermediate container d5bc9e96c1a8 00:30:00 ---> 68125a1e73c2 00:30:00 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:30:00 ---> Running in 1c4c62c0ee3d 00:30:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:30:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:30:00 OK: 265 MiB in 53 packages 00:30:00 Removing intermediate container 1c4c62c0ee3d 00:30:00 ---> adf250d03278 00:30:00 Step 9/26 : WORKDIR /device-onvif-camera 00:30:00 ---> Running in 9c70cd5599f9 00:30:00 Removing intermediate container 9c70cd5599f9 00:30:00 ---> cc4b8036a13e 00:30:00 Step 10/26 : COPY go.mod vendor* ./ 00:30:01 ---> 0ac3260d223b 00:30:01 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:30:01 ---> Running in 8ff2a1158880 00:30:01 Removing intermediate container 8ff2a1158880 00:30:01 ---> d2016b183fc9 00:30:01 Step 12/26 : COPY . . 00:30:02 ---> e5eceb3ccf54 00:30:02 Step 13/26 : RUN ${MAKE} 00:30:02 ---> Running in 9f6b2d5ac7ae 00:30:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.48" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 00:30:24 Removing intermediate container 9f6b2d5ac7ae 00:30:24 ---> c412e7038c22 00:30:24 Step 14/26 : FROM alpine:3.17 00:30:24 3.17: Pulling from library/alpine 00:30:24 f56be85fc22e: Already exists 00:30:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:30:24 Status: Downloaded newer image for alpine:3.17 00:30:24 ---> 9ed4aefc74f6 00:30:24 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:30:24 ---> Running in 1e31630ebd54 00:30:24 Removing intermediate container 1e31630ebd54 00:30:24 ---> e2d7dd6d7d4f 00:30:24 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:30:24 ---> Running in 7204c2c2c6c9 00:30:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:30:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:30:24 (1/1) Installing dumb-init (1.2.5-r2) 00:30:24 Executing busybox-1.35.0-r29.trigger 00:30:24 OK: 7 MiB in 16 packages 00:30:24 Removing intermediate container 7204c2c2c6c9 00:30:24 ---> 786bc908e499 00:30:24 Step 17/26 : WORKDIR / 00:30:24 ---> Running in 643a3efa0d02 00:30:24 Removing intermediate container 643a3efa0d02 00:30:24 ---> aec787a8bef8 00:30:24 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:30:24 ---> 0d6e6e9bb3cb 00:30:24 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:30:24 ---> 2bb7a111c632 00:30:24 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:30:24 ---> 2cf502d33098 00:30:24 Step 21/26 : EXPOSE 59984 00:30:24 ---> Running in 98b093e61732 00:30:24 Removing intermediate container 98b093e61732 00:30:24 ---> 90379ff89980 00:30:24 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:30:24 ---> Running in 064003b48099 00:30:24 Removing intermediate container 064003b48099 00:30:24 ---> 28931c6f167e 00:30:24 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:30:24 ---> Running in 5980a7c2e1ac 00:30:24 Removing intermediate container 5980a7c2e1ac 00:30:24 ---> dc4baa8d0e9f 00:30:24 Step 24/26 : LABEL arch=amd64 00:30:25 ---> Running in 1bdb4c6c727c 00:30:25 Removing intermediate container 1bdb4c6c727c 00:30:25 ---> 2503b81da675 00:30:25 Step 25/26 : LABEL git_sha=8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea 00:30:25 ---> Running in 6bd4516d3e9a 00:30:25 Removing intermediate container 6bd4516d3e9a 00:30:25 ---> 63b34434ab24 00:30:25 Step 26/26 : LABEL version=3.0.0-dev.48 00:30:25 ---> Running in 262c254459d3 00:30:25 Removing intermediate container 262c254459d3 00:30:25 ---> 67d727f56062 00:30:25 [Warning] One or more build-args [ARCH] were not consumed 00:30:25 Successfully built 67d727f56062 00:30:25 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:30:25 provisioning config files... 00:30:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15627044802665865760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:30:25 ---> docker-login.sh 00:30:25 nexus3.edgexfoundry.org:10001 00:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:25 Configure a credential helper to remove this warning. See 00:30:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:25 00:30:25 Login Succeeded 00:30:25 nexus3.edgexfoundry.org:10002 00:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:25 Configure a credential helper to remove this warning. See 00:30:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:25 00:30:25 Login Succeeded 00:30:25 nexus3.edgexfoundry.org:10003 00:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:26 Configure a credential helper to remove this warning. See 00:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:26 00:30:26 Login Succeeded 00:30:26 nexus3.edgexfoundry.org:10004 00:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:26 Configure a credential helper to remove this warning. See 00:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:26 00:30:26 Login Succeeded 00:30:26 docker.io 00:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:26 Configure a credential helper to remove this warning. See 00:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:26 00:30:26 Login Succeeded 00:30:26 ---> docker-login.sh ends [Pipeline] } 00:30:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:30:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:30:26 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 00:30:26 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea 00:30:26 latest 00:30:26 3.0.0-dev.48 00:30:26 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea-3.0.0-dev.48 00:30:26 main 00:30:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:26 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:27 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea 00:30:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:30:27 af8d5e628337: Preparing 00:30:27 31ab526fbdb2: Preparing 00:30:27 d133f105ae0b: Preparing 00:30:27 86e728969408: Preparing 00:30:27 f1417ff83b31: Preparing 00:30:27 f1417ff83b31: Layer already exists 00:30:27 af8d5e628337: Pushed 00:30:27 31ab526fbdb2: Pushed 00:30:27 86e728969408: Pushed 00:30:29 d133f105ae0b: Pushed 00:30:29 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea: digest: sha256:96825208e9d5f81e05d741dd107c239036a8f84241dacc7b9bf80f70d1cae170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:29 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 00:30:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:30:30 af8d5e628337: Preparing 00:30:30 31ab526fbdb2: Preparing 00:30:30 d133f105ae0b: Preparing 00:30:30 86e728969408: Preparing 00:30:30 f1417ff83b31: Preparing 00:30:30 af8d5e628337: Layer already exists 00:30:30 f1417ff83b31: Layer already exists 00:30:30 d133f105ae0b: Layer already exists 00:30:30 86e728969408: Layer already exists 00:30:30 31ab526fbdb2: Layer already exists 00:30:30 latest: digest: sha256:96825208e9d5f81e05d741dd107c239036a8f84241dacc7b9bf80f70d1cae170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:30 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.48 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.48 00:30:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:30:30 af8d5e628337: Preparing 00:30:30 31ab526fbdb2: Preparing 00:30:30 d133f105ae0b: Preparing 00:30:30 86e728969408: Preparing 00:30:30 f1417ff83b31: Preparing 00:30:30 31ab526fbdb2: Layer already exists 00:30:30 af8d5e628337: Layer already exists 00:30:30 f1417ff83b31: Layer already exists 00:30:30 86e728969408: Layer already exists 00:30:30 d133f105ae0b: Layer already exists 00:30:30 3.0.0-dev.48: digest: sha256:96825208e9d5f81e05d741dd107c239036a8f84241dacc7b9bf80f70d1cae170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:31 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea-3.0.0-dev.48 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:31 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea-3.0.0-dev.48 00:30:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:30:31 af8d5e628337: Preparing 00:30:31 31ab526fbdb2: Preparing 00:30:31 d133f105ae0b: Preparing 00:30:31 86e728969408: Preparing 00:30:31 f1417ff83b31: Preparing 00:30:31 f1417ff83b31: Layer already exists 00:30:31 31ab526fbdb2: Layer already exists 00:30:31 86e728969408: Layer already exists 00:30:31 d133f105ae0b: Layer already exists 00:30:31 af8d5e628337: Layer already exists 00:30:31 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea-3.0.0-dev.48: digest: sha256:96825208e9d5f81e05d741dd107c239036a8f84241dacc7b9bf80f70d1cae170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:31 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:32 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 00:30:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 00:30:32 af8d5e628337: Preparing 00:30:32 31ab526fbdb2: Preparing 00:30:32 d133f105ae0b: Preparing 00:30:32 86e728969408: Preparing 00:30:32 f1417ff83b31: Preparing 00:30:32 d133f105ae0b: Layer already exists 00:30:32 31ab526fbdb2: Layer already exists 00:30:32 af8d5e628337: Layer already exists 00:30:32 86e728969408: Layer already exists 00:30:32 f1417ff83b31: Layer already exists 00:30:32 main: digest: sha256:96825208e9d5f81e05d741dd107c239036a8f84241dacc7b9bf80f70d1cae170 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:30:32 ===================================================== [Pipeline] echo 00:30:32 taggedImages: 00:30:32 - nexus3.edgexfoundry.org:10004/device-onvif-camera:8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea 00:30:32 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 00:30:32 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.48 00:30:32 - nexus3.edgexfoundry.org:10004/device-onvif-camera:8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea-3.0.0-dev.48 00:30:32 - 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:30:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:30:32 00:30:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:30:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:30:32 latest: Pulling from edgex-lftools-log-publisher 00:30:32 5eb5b503b376: Pulling fs layer 00:30:32 5c69ac0246d0: Pulling fs layer 00:30:32 ec43610c2a17: Pulling fs layer 00:30:32 3a2ae6a8a46f: Pulling fs layer 00:30:32 33b1e0a273af: Pulling fs layer 00:30:32 5d3b04190fa2: Pulling fs layer 00:30:32 2f39f015ded8: Pulling fs layer 00:30:32 33b1e0a273af: Waiting 00:30:32 5d3b04190fa2: Waiting 00:30:32 2f39f015ded8: Waiting 00:30:32 3a2ae6a8a46f: Waiting 00:30:32 5c69ac0246d0: Verifying Checksum 00:30:32 5c69ac0246d0: Download complete 00:30:32 3a2ae6a8a46f: Verifying Checksum 00:30:32 3a2ae6a8a46f: Download complete 00:30:32 33b1e0a273af: Verifying Checksum 00:30:32 33b1e0a273af: Download complete 00:30:32 5d3b04190fa2: Verifying Checksum 00:30:32 5d3b04190fa2: Download complete 00:30:32 ec43610c2a17: Verifying Checksum 00:30:32 ec43610c2a17: Download complete 00:30:33 5eb5b503b376: Verifying Checksum 00:30:33 5eb5b503b376: Download complete 00:30:33 2f39f015ded8: Download complete 00:30:34 5eb5b503b376: Pull complete 00:30:34 5c69ac0246d0: Pull complete 00:30:34 ec43610c2a17: Pull complete 00:30:34 3a2ae6a8a46f: Pull complete 00:30:34 33b1e0a273af: Pull complete 00:30:35 5d3b04190fa2: Pull complete 00:30:38 2f39f015ded8: Pull complete 00:30:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:30:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:30:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:30:38 prd-ubuntu20.04-docker-8c-8g-15129 does not seem to be running inside a container 00:30:38 $ 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:30:41 $ docker top bf7209089c9422e87e8b153ba3b706275a1e2565db7eb840dfd5f1895036df91 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:30:42 ---> job-cost.sh 00:30:42 lf-activate-venv: SKIPPING 00:30:42 INFO: No Stack... 00:30:42 INFO: Retrieving Pricing Info for: v3-standard-8 00:30:42 INFO: Archiving Costs [Pipeline] sh 00:30:43 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 00:30:43 + cut -d, -f6 [Pipeline] lock 00:30:43 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-145-stack-cost] 00:30:43 Resource [jenkins-edgexfoundry-device-onvif-camera-main-145-stack-cost] did not exist. Created. 00:30:43 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-145-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:30:43 + echo total: 0.2199999988079071 [Pipeline] stash 00:30:43 Stashed 1 file(s) [Pipeline] } 00:30:43 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-145-stack-cost] [Pipeline] // lock [Pipeline] } 00:30:43 $ docker stop --time=1 bf7209089c9422e87e8b153ba3b706275a1e2565db7eb840dfd5f1895036df91 00:30:44 $ docker rm -f --volumes bf7209089c9422e87e8b153ba3b706275a1e2565db7eb840dfd5f1895036df91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:32:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15130 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 00:32:17 Running in /w/workspace/device-onvif-camera/145 [Pipeline] { [Pipeline] checkout 00:32:17 The recommended git tool is: git 00:32:26 using credential edgex-jenkins-ssh 00:32:26 Cloning the remote Git repository 00:32:26 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 00:32:26 > git init /w/workspace/device-onvif-camera/145 # timeout=10 00:32:27 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 00:32:27 > git --version # timeout=10 00:32:27 > git --version # 'git version 2.25.1' 00:32:27 using GIT_SSH to set credentials SSH Credentials for GitHub 00:32:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:32:29 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 00:32:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:32:30 Avoid second fetch 00:32:30 Checking out Revision 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea (main) 00:32:30 > git config core.sparsecheckout # timeout=10 00:32:30 > git checkout -f 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea # timeout=10 00:32:31 Commit message: "refactor!: updated Snapshot api to get profile token input. (#356)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:32:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:32:32 % Total % Received % Xferd Average Speed Time Time Time Current 00:32:32 Dload Upload Total Spent Left Speed 00:32:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh 00:32:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:32:33 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 00:32:33 00:32:33 { 00:32:33 "registry-mirrors": [ 00:32:33 "https://nexus3.edgexfoundry.org:10001" 00:32:33 ], 00:32:33 "bip": "10.250.0.254/24", 00:32:33 "hosts": [ 00:32:33 "tcp://0.0.0.0:5555", 00:32:33 "unix:///var/run/docker.sock" 00:32:33 ], 00:32:33 "mtu": 1458, 00:32:33 "selinux-enabled": true, 00:32:33 "seccomp-profile": "/etc/docker/seccomp.json" 00:32:33 } [Pipeline] sh 00:32:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:32:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:32:52 provisioning config files... 00:32:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/145@tmp/config15070170761628485877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:32:53 ---> docker-login.sh 00:32:53 nexus3.edgexfoundry.org:10001 00:32:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:53 Configure a credential helper to remove this warning. See 00:32:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:53 00:32:53 Login Succeeded 00:32:53 nexus3.edgexfoundry.org:10002 00:32:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:54 Configure a credential helper to remove this warning. See 00:32:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:54 00:32:54 Login Succeeded 00:32:54 nexus3.edgexfoundry.org:10003 00:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:54 Configure a credential helper to remove this warning. See 00:32:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:54 00:32:54 Login Succeeded 00:32:54 nexus3.edgexfoundry.org:10004 00:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:54 Configure a credential helper to remove this warning. See 00:32:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:54 00:32:54 Login Succeeded 00:32:54 docker.io 00:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:55 Configure a credential helper to remove this warning. See 00:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:55 00:32:55 Login Succeeded 00:32:55 ---> docker-login.sh ends [Pipeline] } 00:32:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:32:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:32:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:32:55 ========================================================= 00:32:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:32:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:32:56 Sending build context to Docker daemon 14.33MB 00:32:56 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:32:56 Step 2/13 : FROM ${BASE} AS builder 00:32:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:32:57 c41833b44d91: Pulling fs layer 00:32:57 ed15518f5707: Pulling fs layer 00:32:57 feae8fd75edb: Pulling fs layer 00:32:57 242c74f7c9fa: Pulling fs layer 00:32:57 3cdef696dda3: Pulling fs layer 00:32:57 2ced38df9373: Pulling fs layer 00:32:57 58f1dce35555: Pulling fs layer 00:32:57 3cdef696dda3: Waiting 00:32:57 2ced38df9373: Waiting 00:32:57 58f1dce35555: Waiting 00:32:57 ed15518f5707: Download complete 00:32:57 242c74f7c9fa: Download complete 00:32:57 3cdef696dda3: Verifying Checksum 00:32:57 3cdef696dda3: Download complete 00:32:57 c41833b44d91: Verifying Checksum 00:32:57 c41833b44d91: Download complete 00:32:58 c41833b44d91: Pull complete 00:32:58 58f1dce35555: Verifying Checksum 00:32:58 58f1dce35555: Download complete 00:32:58 ed15518f5707: Pull complete 00:32:59 feae8fd75edb: Verifying Checksum 00:32:59 feae8fd75edb: Download complete 00:32:59 2ced38df9373: Verifying Checksum 00:32:59 2ced38df9373: Download complete 00:33:09 feae8fd75edb: Pull complete 00:33:09 242c74f7c9fa: Pull complete 00:33:09 3cdef696dda3: Pull complete 00:33:16 2ced38df9373: Pull complete 00:33:17 58f1dce35555: Pull complete 00:33:17 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:33:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:33:17 ---> fadd8f120f05 00:33:17 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:33:19 ---> Running in 98addb1e7b9f 00:33:19 Removing intermediate container 98addb1e7b9f 00:33:19 ---> 5bd2cd80f510 00:33:19 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:33:19 ---> Running in c858e518dc2d 00:33:20 Removing intermediate container c858e518dc2d 00:33:20 ---> 4490871faaeb 00:33:20 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 00:33:20 ---> Running in 646d02e9dfa3 00:33:20 Removing intermediate container 646d02e9dfa3 00:33:20 ---> 70eabc8f9def 00:33:20 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 00:33:20 ---> Running in 1c446e042c70 00:33:20 Removing intermediate container 1c446e042c70 00:33:20 ---> 299c828b1a4b 00:33:20 Step 7/13 : LABEL Name=edgex-device-onvif-camera 00:33:20 ---> Running in f49b90b6d102 00:33:21 Removing intermediate container f49b90b6d102 00:33:21 ---> 01950d915ace 00:33:21 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:33:21 ---> Running in 979fbaaf34b4 00:33:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:33:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:33:24 OK: 263 MiB in 53 packages 00:33:25 Removing intermediate container 979fbaaf34b4 00:33:25 ---> bc1630ed60b2 00:33:25 Step 9/13 : WORKDIR /device-onvif-camera 00:33:25 ---> Running in 3cb156728791 00:33:25 Removing intermediate container 3cb156728791 00:33:25 ---> d55c975afcfd 00:33:25 Step 10/13 : COPY go.mod vendor* ./ 00:33:25 ---> c6805dcd16ea 00:33:25 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:33:25 ---> Running in 56733c7abb01 00:34:33 Removing intermediate container 56733c7abb01 00:34:33 ---> 17aff0d50bc4 00:34:33 Step 12/13 : COPY . . 00:34:33 ---> 2623c1c5498b 00:34:33 Step 13/13 : RUN ${MAKE} 00:34:33 ---> Running in b5339e90dee8 00:34:33 noop 00:34:34 Removing intermediate container b5339e90dee8 00:34:34 ---> 1e790d487c46 00:34:34 Successfully built 1e790d487c46 00:34:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:34 + docker inspect -f . ci-base-image-arm64 00:34:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:34:35 prd-ubuntu20.04-docker-arm64-4c-16g-15130 does not seem to be running inside a container 00:34:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/145 -v /w/workspace/device-onvif-camera/145:/w/workspace/device-onvif-camera/145:rw,z -v /w/workspace/device-onvif-camera/145@tmp:/w/workspace/device-onvif-camera/145@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:34:36 $ docker top 3399bb51d2ac505840948c203894f72a1c0c165ec63e4eaf00c0babd9a98bedd -eo pid,comm [Pipeline] { [Pipeline] sh 00:34:37 + go version 00:34:37 go version go1.20.2 linux/arm64 [Pipeline] } 00:34:37 $ docker stop --time=1 3399bb51d2ac505840948c203894f72a1c0c165ec63e4eaf00c0babd9a98bedd 00:34:38 $ docker rm -f --volumes 3399bb51d2ac505840948c203894f72a1c0c165ec63e4eaf00c0babd9a98bedd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:39 + docker inspect -f . ci-base-image-arm64 00:34:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:34:39 prd-ubuntu20.04-docker-arm64-4c-16g-15130 does not seem to be running inside a container 00:34:39 $ 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/145 -v /w/workspace/device-onvif-camera/145:/w/workspace/device-onvif-camera/145:rw,z -v /w/workspace/device-onvif-camera/145@tmp:/w/workspace/device-onvif-camera/145@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:34:41 $ docker top e8e421520d50e3d80c45c15868deae77ab587710e64ea78bcba806ae463bfd61 -eo pid,comm [Pipeline] { [Pipeline] sh 00:34:41 + git config --global --add safe.directory /w/workspace/device-onvif-camera/145 [Pipeline] fileExists [Pipeline] sh 00:34:42 + make test 00:34:42 go test ./... -coverprofile=coverage.out ./... 00:35:14 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:37:21 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:37:21 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:37:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.213s coverage: 31.4% of statements 00:37:34 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.085s coverage: 86.5% of statements 00:37:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:37:34 go vet ./... 00:38:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:38:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:38:00 ./bin/test-attribution-txt.sh [Pipeline] echo 00:38:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:38:01 $ docker stop --time=1 e8e421520d50e3d80c45c15868deae77ab587710e64ea78bcba806ae463bfd61 00:38:03 $ docker rm -f --volumes e8e421520d50e3d80c45c15868deae77ab587710e64ea78bcba806ae463bfd61 [Pipeline] // withDockerContainer [Pipeline] sh 00:38:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:38:04 Warning: overwriting stash ‘coverage-report’ 00:38:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:38:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:38:06 + ls -al . 00:38:06 total 228 00:38:06 drwxrwxr-x 9 jenkins jenkins 4096 May 11 00:34 . 00:38:06 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:32 .. 00:38:06 drwxrwxr-x 8 jenkins jenkins 4096 May 11 00:32 .git 00:38:06 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:32 .github 00:38:06 -rw-rw-r-- 1 jenkins jenkins 496 May 11 00:32 .gitignore 00:38:06 -rw-rw-r-- 1 jenkins jenkins 42 May 11 00:32 .golangci.yml 00:38:06 -rw-rw-r-- 1 jenkins jenkins 10087 May 11 00:32 Attribution.txt 00:38:06 -rw-rw-r-- 1 jenkins jenkins 6312 May 11 00:32 CHANGELOG.md 00:38:06 -rw-rw-r-- 1 jenkins jenkins 1574 May 11 00:32 Dockerfile 00:38:06 -rw-rw-r-- 1 jenkins jenkins 677 May 11 00:32 GOVERNANCE.md 00:38:06 -rw-rw-r-- 1 jenkins jenkins 734 May 11 00:32 Jenkinsfile 00:38:06 -rw-rw-r-- 1 jenkins jenkins 11348 May 11 00:32 LICENSE 00:38:06 -rw-rw-r-- 1 jenkins jenkins 2751 May 11 00:32 Makefile 00:38:06 -rw-rw-r-- 1 jenkins jenkins 625 May 11 00:32 OWNERS.md 00:38:06 -rw-rw-r-- 1 jenkins jenkins 2690 May 11 00:32 README.md 00:38:06 -rw-rw-r-- 1 jenkins jenkins 12 May 11 00:28 VERSION 00:38:06 drwxrwxr-x 2 jenkins jenkins 4096 May 11 00:32 bin 00:38:06 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:32 cmd 00:38:06 -rw-r--r-- 1 jenkins jenkins 78459 May 11 00:37 coverage.out 00:38:06 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:32 doc 00:38:06 -rw-rw-r-- 1 jenkins jenkins 3642 May 11 00:32 go.mod 00:38:06 -rw-rw-r-- 1 jenkins jenkins 33491 May 11 00:32 go.sum 00:38:06 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:32 internal 00:38:06 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:32 snap 00:38:06 -rw-rw-r-- 1 jenkins jenkins 236 May 11 00:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:06 + 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=8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea --label arch=arm64 --label version=3.0.0-dev.48 . 00:38:07 Sending build context to Docker daemon 14.41MB 00:38:07 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:38:07 Step 2/26 : FROM ${BASE} AS builder 00:38:07 ---> 1e790d487c46 00:38:07 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:38:07 ---> Running in c386aad86bf8 00:38:07 Removing intermediate container c386aad86bf8 00:38:07 ---> dfc9ed2bfe8a 00:38:07 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:38:07 ---> Running in 463905778cb7 00:38:07 Removing intermediate container 463905778cb7 00:38:07 ---> 8e19e74b0cbe 00:38:07 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 00:38:08 ---> Running in 77f518049ef4 00:38:08 Removing intermediate container 77f518049ef4 00:38:08 ---> e236928cbbe7 00:38:08 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:38:08 ---> Running in 61d7a8a5f259 00:38:08 Removing intermediate container 61d7a8a5f259 00:38:08 ---> 38443f2ec48e 00:38:08 Step 7/26 : LABEL Name=edgex-device-onvif-camera 00:38:08 ---> Running in 7014913aebdb 00:38:08 Removing intermediate container 7014913aebdb 00:38:08 ---> 32324b78e03c 00:38:08 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:38:08 ---> Running in 53a1b7e46d22 00:38:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:38:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:38:11 OK: 263 MiB in 53 packages 00:38:12 Removing intermediate container 53a1b7e46d22 00:38:12 ---> fa7b706b781d 00:38:12 Step 9/26 : WORKDIR /device-onvif-camera 00:38:12 ---> Running in e082be1a4ed3 00:38:12 Removing intermediate container e082be1a4ed3 00:38:12 ---> 1b3eb1dc096a 00:38:12 Step 10/26 : COPY go.mod vendor* ./ 00:38:12 ---> 83a0d41f111b 00:38:12 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:38:13 ---> Running in 72dae8f61701 00:38:18 Removing intermediate container 72dae8f61701 00:38:18 ---> 382e7f0724fb 00:38:18 Step 12/26 : COPY . . 00:38:19 ---> aa5ce5609b36 00:38:19 Step 13/26 : RUN ${MAKE} 00:38:19 ---> Running in ded497c1d106 00:38:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.48" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 00:40:42 Removing intermediate container ded497c1d106 00:40:42 ---> 6c023da38704 00:40:42 Step 14/26 : FROM alpine:3.17 00:40:42 3.17: Pulling from library/alpine 00:40:42 c41833b44d91: Already exists 00:40:42 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:40:42 Status: Downloaded newer image for alpine:3.17 00:40:42 ---> 51e60588ff2c 00:40:42 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:40:42 ---> Running in a1ba2de4e2d8 00:40:42 Removing intermediate container a1ba2de4e2d8 00:40:42 ---> 299371d31442 00:40:42 Step 16/26 : RUN apk add --update --no-cache dumb-init 00:40:42 ---> Running in 32f3b3304c27 00:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:40:42 (1/1) Installing dumb-init (1.2.5-r2) 00:40:42 Executing busybox-1.35.0-r29.trigger 00:40:42 OK: 8 MiB in 16 packages 00:40:42 Removing intermediate container 32f3b3304c27 00:40:42 ---> fb4dbce377c6 00:40:42 Step 17/26 : WORKDIR / 00:40:42 ---> Running in 1b5816338719 00:40:42 Removing intermediate container 1b5816338719 00:40:42 ---> 2a5fcbdbc749 00:40:42 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:40:42 ---> f51d65082529 00:40:42 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:40:42 ---> 47922895a2eb 00:40:42 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:40:43 ---> e5eaf96b2db0 00:40:43 Step 21/26 : EXPOSE 59984 00:40:43 ---> Running in cb71ac901b41 00:40:43 Removing intermediate container cb71ac901b41 00:40:43 ---> e294bf54bd31 00:40:43 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:40:44 ---> Running in 9fd531ff7aef 00:40:44 Removing intermediate container 9fd531ff7aef 00:40:44 ---> 0625edf85adc 00:40:44 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:40:44 ---> Running in ce7741166bbe 00:40:44 Removing intermediate container ce7741166bbe 00:40:44 ---> baeae6ed6f92 00:40:44 Step 24/26 : LABEL arch=arm64 00:40:44 ---> Running in 34274be2afe4 00:40:45 Removing intermediate container 34274be2afe4 00:40:45 ---> deec878e9993 00:40:45 Step 25/26 : LABEL git_sha=8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea 00:40:45 ---> Running in 066bc780532f 00:40:45 Removing intermediate container 066bc780532f 00:40:45 ---> 54efe3ef11ce 00:40:45 Step 26/26 : LABEL version=3.0.0-dev.48 00:40:45 ---> Running in b98495f0ec06 00:40:45 Removing intermediate container b98495f0ec06 00:40:45 ---> 1eb3446e45a2 00:40:45 [Warning] One or more build-args [ARCH] were not consumed 00:40:45 Successfully built 1eb3446e45a2 00:40:46 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:40:46 provisioning config files... 00:40:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/145@tmp/config9674363706837847191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:40:46 ---> docker-login.sh 00:40:46 nexus3.edgexfoundry.org:10001 00:40:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:46 Configure a credential helper to remove this warning. See 00:40:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:46 00:40:46 Login Succeeded 00:40:46 nexus3.edgexfoundry.org:10002 00:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:47 Configure a credential helper to remove this warning. See 00:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:47 00:40:47 Login Succeeded 00:40:47 nexus3.edgexfoundry.org:10003 00:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:47 Configure a credential helper to remove this warning. See 00:40:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:47 00:40:47 Login Succeeded 00:40:47 nexus3.edgexfoundry.org:10004 00:40:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:48 Configure a credential helper to remove this warning. See 00:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:48 00:40:48 Login Succeeded 00:40:48 docker.io 00:40:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:48 Configure a credential helper to remove this warning. See 00:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:48 00:40:48 Login Succeeded 00:40:48 ---> docker-login.sh ends [Pipeline] } 00:40:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:40:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:40:48 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 00:40:48 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea 00:40:48 latest 00:40:48 3.0.0-dev.48 00:40:48 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea-3.0.0-dev.48 00:40:48 main 00:40:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:49 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea 00:40:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:40:49 5f86671dff7c: Preparing 00:40:49 87b6c197899d: Preparing 00:40:49 6a5b5a198626: Preparing 00:40:49 346334820374: Preparing 00:40:49 26cbea5cba74: Preparing 00:40:49 26cbea5cba74: Layer already exists 00:40:49 87b6c197899d: Pushed 00:40:49 5f86671dff7c: Pushed 00:40:49 346334820374: Pushed 00:40:55 6a5b5a198626: Pushed 00:40:55 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea: digest: sha256:affdbd0473155b90722ae1648b2e2593c153ba5a4a91034b2892ae64301e89d2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:55 + 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:40:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 00:40:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:40:56 5f86671dff7c: Preparing 00:40:56 87b6c197899d: Preparing 00:40:56 6a5b5a198626: Preparing 00:40:56 346334820374: Preparing 00:40:56 26cbea5cba74: Preparing 00:40:56 87b6c197899d: Layer already exists 00:40:56 5f86671dff7c: Layer already exists 00:40:56 346334820374: Layer already exists 00:40:56 26cbea5cba74: Layer already exists 00:40:56 6a5b5a198626: Layer already exists 00:40:56 latest: digest: sha256:affdbd0473155b90722ae1648b2e2593c153ba5a4a91034b2892ae64301e89d2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:56 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.48 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.48 00:40:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:40:57 5f86671dff7c: Preparing 00:40:57 87b6c197899d: Preparing 00:40:57 6a5b5a198626: Preparing 00:40:57 346334820374: Preparing 00:40:57 26cbea5cba74: Preparing 00:40:57 346334820374: Layer already exists 00:40:57 26cbea5cba74: Layer already exists 00:40:57 5f86671dff7c: Layer already exists 00:40:57 6a5b5a198626: Layer already exists 00:40:57 87b6c197899d: Layer already exists 00:40:57 3.0.0-dev.48: digest: sha256:affdbd0473155b90722ae1648b2e2593c153ba5a4a91034b2892ae64301e89d2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:57 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea-3.0.0-dev.48 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea-3.0.0-dev.48 00:40:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:40:58 5f86671dff7c: Preparing 00:40:58 87b6c197899d: Preparing 00:40:58 6a5b5a198626: Preparing 00:40:58 346334820374: Preparing 00:40:58 26cbea5cba74: Preparing 00:40:58 26cbea5cba74: Layer already exists 00:40:58 6a5b5a198626: Layer already exists 00:40:58 5f86671dff7c: Layer already exists 00:40:58 346334820374: Layer already exists 00:40:58 87b6c197899d: Layer already exists 00:40:58 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea-3.0.0-dev.48: digest: sha256:affdbd0473155b90722ae1648b2e2593c153ba5a4a91034b2892ae64301e89d2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:40:58 + 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:40:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 00:40:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:40:59 5f86671dff7c: Preparing 00:40:59 87b6c197899d: Preparing 00:40:59 6a5b5a198626: Preparing 00:40:59 346334820374: Preparing 00:40:59 26cbea5cba74: Preparing 00:40:59 5f86671dff7c: Layer already exists 00:40:59 26cbea5cba74: Layer already exists 00:40:59 346334820374: Layer already exists 00:40:59 87b6c197899d: Layer already exists 00:40:59 6a5b5a198626: Layer already exists 00:40:59 main: digest: sha256:affdbd0473155b90722ae1648b2e2593c153ba5a4a91034b2892ae64301e89d2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:40:59 ===================================================== [Pipeline] echo 00:40:59 taggedImages: 00:40:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea 00:40:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 00:40:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.48 00:40:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea-3.0.0-dev.48 00:40:59 - 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:41:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:41:00 00:41:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:41:01 arm64: Pulling from edgex-lftools-log-publisher 00:41:01 8998bd30e6a1: Pulling fs layer 00:41:01 04944245beec: Pulling fs layer 00:41:01 699f458cf7ca: Pulling fs layer 00:41:01 765212b225bb: Pulling fs layer 00:41:01 f23df028b6ca: Pulling fs layer 00:41:01 d65c8cfc05b1: Pulling fs layer 00:41:01 2437ff75d9bd: Pulling fs layer 00:41:01 765212b225bb: Waiting 00:41:01 f23df028b6ca: Waiting 00:41:01 d65c8cfc05b1: Waiting 00:41:01 2437ff75d9bd: Waiting 00:41:01 04944245beec: Verifying Checksum 00:41:01 04944245beec: Download complete 00:41:01 765212b225bb: Download complete 00:41:01 f23df028b6ca: Verifying Checksum 00:41:01 f23df028b6ca: Download complete 00:41:01 d65c8cfc05b1: Verifying Checksum 00:41:01 d65c8cfc05b1: Download complete 00:41:01 699f458cf7ca: Verifying Checksum 00:41:01 699f458cf7ca: Download complete 00:41:02 8998bd30e6a1: Verifying Checksum 00:41:02 8998bd30e6a1: Download complete 00:41:04 2437ff75d9bd: Verifying Checksum 00:41:04 2437ff75d9bd: Download complete 00:41:06 8998bd30e6a1: Pull complete 00:41:07 04944245beec: Pull complete 00:41:08 699f458cf7ca: Pull complete 00:41:08 765212b225bb: Pull complete 00:41:09 f23df028b6ca: Pull complete 00:41:09 d65c8cfc05b1: Pull complete 00:41:24 2437ff75d9bd: Pull complete 00:41:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:41:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:41:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:41:24 prd-ubuntu20.04-docker-arm64-4c-16g-15130 does not seem to be running inside a container 00:41:24 $ 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/145 -v /w/workspace/device-onvif-camera/145:/w/workspace/device-onvif-camera/145:rw,z -v /w/workspace/device-onvif-camera/145@tmp:/w/workspace/device-onvif-camera/145@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:41:27 $ docker top e2de07094ee490a818f57673d5f29b050edbb43e1e2ad1b6112ace516f514a93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:41:28 ---> job-cost.sh 00:41:28 lf-activate-venv: SKIPPING 00:41:28 INFO: No Stack... 00:41:28 INFO: Retrieving Pricing Info for: v3-standard-4 00:41:29 INFO: Archiving Costs [Pipeline] sh 00:41:30 + cat /w/workspace/device-onvif-camera/145/archives/cost.csv 00:41:30 + cut -d, -f6 [Pipeline] lock 00:41:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-145-stack-cost] 00:41:30 Resource [jenkins-edgexfoundry-device-onvif-camera-main-145-stack-cost] did not exist. Created. 00:41:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-145-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:41:31 /w/workspace/device-onvif-camera/145@tmp/durable-bfe5dedf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:41:31 + echo total: 0.10999999940395355 [Pipeline] stash 00:41:31 Warning: overwriting stash ‘stack-cost’ 00:41:31 Stashed 1 file(s) [Pipeline] } 00:41:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-145-stack-cost] [Pipeline] // lock [Pipeline] } 00:41:31 $ docker stop --time=1 e2de07094ee490a818f57673d5f29b050edbb43e1e2ad1b6112ace516f514a93 00:41:33 $ docker rm -f --volumes e2de07094ee490a818f57673d5f29b050edbb43e1e2ad1b6112ace516f514a93 [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:41:34 provisioning config files... 00:41:34 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11628924968342922642tmp [Pipeline] { [Pipeline] sh 00:41:34 + set +x 00:41:34 + bash -s -- 00:41:34 + curl -s https://codecov.io/bash 00:41:34 00:41:34 _____ _ 00:41:34 / ____| | | 00:41:34 | | ___ __| | ___ ___ _____ __ 00:41:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:41:34 | |___| (_) | (_| | __/ (_| (_) \ V / 00:41:34 \_____\___/ \__,_|\___|\___\___/ \_/ 00:41:34 Bash-1.0.6 00:41:34 00:41:34 00:41:34 ==> git version 2.25.1 found 00:41:34 ==> 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:41:34 Release-Date: 2020-01-08 00:41:34 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:41:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:41:34 ==> Jenkins CI detected. 00:41:34 current dir:  /w/workspace/foundry_device-onvif-camera_main 00:41:34 project root: . 00:41:34 --> token set from env 00:41:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:41:34 ==> Running gcov in . (disable via -X gcov) 00:41:34 ==> Python coveragepy not found 00:41:34 ==> Searching for coverage reports in: 00:41:34 + . 00:41:34 -> Found 1 reports 00:41:34 ==> Detecting git/mercurial file structure 00:41:34 ==> Reading reports 00:41:34 + ./coverage.out bytes=78459 00:41:34 ==> Appending adjustments 00:41:34 https://docs.codecov.io/docs/fixing-reports 00:41:34 + Found adjustments 00:41:34 ==> Gzipping contents 00:41:34 12K /tmp/codecov.Qekeom.gz 00:41:34 ==> Uploading reports 00:41:34 url: https://codecov.io 00:41:34 query: branch=main&commit=8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea&build=145&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F145%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:41:34 -> Pinging Codecov 00:41:34 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=8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea&build=145&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F145%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:41:34 -> Uploading to 00:41:34 https://storage.googleapis.com/codecov/v4/raw/2023-05-11/F29A59C45E3A92E06B3E522C9905F8EF/8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea/38ba120f-afdf-4dab-a281-d8adfea30ab8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T004134Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3a9f99cfb7a11e3b08c286d7ae9bfa6c102d85626b5163d7fdb6ceb0d2d59f78 00:41:34 % Total % Received % Xferd Average Speed Time Time Time Current 00:41:34 Dload Upload Total Spent Left Speed 00:41:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 30958 --:--:-- --:--:-- --:--:-- 30868 100 10557 0 0 100 10557 0 28609 --:--:-- --:--:-- --:--:-- 28532 00:41:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea [Pipeline] } 00:41:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:41:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:41:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:41:35 00:41:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:41:36 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:41:36 df9b9388f04a: Pulling fs layer 00:41:36 52dc419b0ee2: Pulling fs layer 00:41:36 25bc292e5bac: Pulling fs layer 00:41:36 114826534d7a: Pulling fs layer 00:41:36 4657fd5d0bcf: Pulling fs layer 00:41:36 6ad1cebc031e: Pulling fs layer 00:41:36 8a3aa393b2d8: Pulling fs layer 00:41:36 114826534d7a: Waiting 00:41:36 4657fd5d0bcf: Waiting 00:41:36 6ad1cebc031e: Waiting 00:41:36 8a3aa393b2d8: Waiting 00:41:36 25bc292e5bac: Verifying Checksum 00:41:36 25bc292e5bac: Download complete 00:41:36 52dc419b0ee2: Download complete 00:41:36 4657fd5d0bcf: Verifying Checksum 00:41:36 4657fd5d0bcf: Download complete 00:41:36 df9b9388f04a: Download complete 00:41:36 6ad1cebc031e: Verifying Checksum 00:41:36 6ad1cebc031e: Download complete 00:41:36 df9b9388f04a: Pull complete 00:41:36 52dc419b0ee2: Pull complete 00:41:36 25bc292e5bac: Pull complete 00:41:37 114826534d7a: Verifying Checksum 00:41:37 114826534d7a: Download complete 00:41:37 8a3aa393b2d8: Verifying Checksum 00:41:37 8a3aa393b2d8: Download complete 00:41:40 114826534d7a: Pull complete 00:41:40 4657fd5d0bcf: Pull complete 00:41:41 6ad1cebc031e: Pull complete 00:41:44 8a3aa393b2d8: Pull complete 00:41:44 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:41:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:41:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:41:44 prd-ubuntu20.04-docker-8c-8g-15129 does not seem to be running inside a container 00:41:44 $ 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:41:47 $ docker top 264d587ea670192ec7518e8a1806693f912e53d7876922cd6ca78275af5d29c9 -eo pid,comm [Pipeline] { [Pipeline] echo 00:41:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 00:41:48 + set -o pipefail 00:41:48 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 00:41:53 00:41:53 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 00:41:53 00:41:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/b6cf32b6-e50f-4fe2-ab93-60f47a237501 00:41:53 00:41:53 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 00:41:53 00:41:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:41:53 00:41:53 00:41:53 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:41:53 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:41:53 More details here: https://snyk.co/ue1NS 00:41:53 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 00:41:53 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:41:53 $ docker stop --time=1 264d587ea670192ec7518e8a1806693f912e53d7876922cd6ca78275af5d29c9 00:41:55 $ docker rm -f --volumes 264d587ea670192ec7518e8a1806693f912e53d7876922cd6ca78275af5d29c9 [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:41:55 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:41:55 provisioning config files... 00:41:55 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14323835551961774137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:41:56 --> edgex-publish-swagger.sh 00:41:56 === Publish doc/openapi/v2 API === 00:41:56 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 00:41:56 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 00:41:56 % Total % Received % Xferd Average Speed Time Time Time Current 00:41:56 Dload Upload Total Spent Left Speed 00:41:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 474k 0 0 100 474k 0 701k --:--:-- --:--:-- --:--:-- 699k 00:41:56 00:41:56 [Pipeline] } 00:41:56 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:41:57 + git log --format=format:%s -1 8f1cbaebfbf6d7031a6f1dcf6753c42a817109ea [Pipeline] sh 00:41:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:41:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:41:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:41:57 prd-ubuntu20.04-docker-8c-8g-15129 does not seem to be running inside a container 00:41:57 $ 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:41:58 $ docker top 500b944750e9d2376ce1bf45f4c0efa4c6b5a18f74fad54f4d5028b625e9ae49 -eo pid,comm 00:41:58 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:41:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:41:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:41:58 [ssh-agent] Looking for ssh-agent implementation... 00:41:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:41:58 $ docker exec 500b944750e9d2376ce1bf45f4c0efa4c6b5a18f74fad54f4d5028b625e9ae49 ssh-agent 00:41:58 SSH_AUTH_SOCK=/tmp/ssh-EEoA4ke2VAWQ/agent.33 00:41:58 SSH_AGENT_PID=39 00:41:58 Running ssh-add (command line suppressed) 00:41:58 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13557869433991349389.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13557869433991349389.key) 00:41:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:41:58 + git semver tag 00:41:59 2023-05-11 00:41:59,176 [run_tag] DEBUG tag force:False 00:41:59 2023-05-11 00:41:59,176 [check_head_tag] DEBUG check head tag 00:41:59 2023-05-11 00:41:59,178 [execute] INFO git cat-file --batch-check 00:41:59 2023-05-11 00:41:59,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 00:41:59 2023-05-11 00:41:59,183 [execute] INFO git cat-file --batch 00:41:59 2023-05-11 00:41:59,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 00:41:59 2023-05-11 00:41:59,222 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:41:59 2023-05-11 00:41:59,223 [execute] INFO git tag -a v3.0.0-dev.48 -m v3.0.0-dev.48 00:41:59 2023-05-11 00:41:59,223 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.48', '-m', 'v3.0.0-dev.48'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 00:41:59 2023-05-11 00:41:59,227 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:41:59 3.0.0-dev.48 [Pipeline] } 00:41:59 $ docker exec --env ******** --env ******** 500b944750e9d2376ce1bf45f4c0efa4c6b5a18f74fad54f4d5028b625e9ae49 ssh-agent -k 00:41:59 unset SSH_AUTH_SOCK; 00:41:59 unset SSH_AGENT_PID; 00:41:59 echo Agent pid 39 killed; 00:41:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:41:59 + git semver [Pipeline] } 00:42:00 $ docker stop --time=1 500b944750e9d2376ce1bf45f4c0efa4c6b5a18f74fad54f4d5028b625e9ae49 00:42:01 $ docker rm -f --volumes 500b944750e9d2376ce1bf45f4c0efa4c6b5a18f74fad54f4d5028b625e9ae49 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:42:01 00:42:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:42:02 0.23.1-centos7: Pulling from edgex-lftools 00:42:02 ab5ef0e58194: Pulling fs layer 00:42:02 9712f1f96733: Pulling fs layer 00:42:02 63f879dbbcfc: Pulling fs layer 00:42:02 0d9ebad4ef96: Pulling fs layer 00:42:02 e9a5061849ea: Pulling fs layer 00:42:02 d747dcd14b5f: Pulling fs layer 00:42:02 2de7ff778b66: Pulling fs layer 00:42:02 0d9ebad4ef96: Waiting 00:42:02 e9a5061849ea: Waiting 00:42:02 d747dcd14b5f: Waiting 00:42:02 2de7ff778b66: Waiting 00:42:02 9712f1f96733: Verifying Checksum 00:42:02 9712f1f96733: Download complete 00:42:02 63f879dbbcfc: Verifying Checksum 00:42:02 63f879dbbcfc: Download complete 00:42:02 e9a5061849ea: Verifying Checksum 00:42:02 e9a5061849ea: Download complete 00:42:02 d747dcd14b5f: Verifying Checksum 00:42:02 d747dcd14b5f: Download complete 00:42:02 ab5ef0e58194: Verifying Checksum 00:42:02 ab5ef0e58194: Download complete 00:42:02 2de7ff778b66: Verifying Checksum 00:42:02 2de7ff778b66: Download complete 00:42:02 0d9ebad4ef96: Verifying Checksum 00:42:05 ab5ef0e58194: Pull complete 00:42:05 9712f1f96733: Pull complete 00:42:06 63f879dbbcfc: Pull complete 00:42:09 0d9ebad4ef96: Pull complete 00:42:09 e9a5061849ea: Pull complete 00:42:09 d747dcd14b5f: Pull complete 00:42:10 2de7ff778b66: Pull complete 00:42:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:42:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:42:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:10 prd-ubuntu20.04-docker-8c-8g-15129 does not seem to be running inside a container 00:42:10 $ 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:42:13 $ docker top 33222dc47d1dc1ad273552ec3fb934bd72d3cdbf75e291f3e9dfee998794ed38 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:42:13 provisioning config files... 00:42:13 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3193458054764432660tmp 00:42:13 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10251811709183163540tmp 00:42:13 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11715541536364531451tmp [Pipeline] { [Pipeline] echo 00:42:13 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:42:14 ---> sigul-configuration.sh 00:42:14 gpg: directory `/root/.gnupg' created 00:42:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:42:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:42:14 gpg: keyring `/root/.gnupg/secring.gpg' created 00:42:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:42:14 gpg: CAST5 encrypted data 00:42:14 gpg: encrypted with 1 passphrase 00:42:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:42:14 + mkdir /home/jenkins 00:42:14 + mkdir /home/jenkins/sigul [Pipeline] sh 00:42:14 + 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:42:14 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:42:14 ---> sigul-install.sh 00:42:14 Sigul already installed; skipping installation. [Pipeline] sh 00:42:15 + git tag --list 00:42:15 v0.0.0 00:42:15 v0.0.1-dev.1 00:42:15 v0.0.1-dev.10 00:42:15 v0.0.1-dev.11 00:42:15 v0.0.1-dev.12 00:42:15 v0.0.1-dev.13 00:42:15 v0.0.1-dev.14 00:42:15 v0.0.1-dev.15 00:42:15 v0.0.1-dev.16 00:42:15 v0.0.1-dev.17 00:42:15 v0.0.1-dev.18 00:42:15 v0.0.1-dev.19 00:42:15 v0.0.1-dev.2 00:42:15 v0.0.1-dev.20 00:42:15 v0.0.1-dev.21 00:42:15 v0.0.1-dev.22 00:42:15 v0.0.1-dev.23 00:42:15 v0.0.1-dev.24 00:42:15 v0.0.1-dev.25 00:42:15 v0.0.1-dev.26 00:42:15 v0.0.1-dev.27 00:42:15 v0.0.1-dev.28 00:42:15 v0.0.1-dev.3 00:42:15 v0.0.1-dev.4 00:42:15 v0.0.1-dev.5 00:42:15 v0.0.1-dev.6 00:42:15 v0.0.1-dev.7 00:42:15 v0.0.1-dev.8 00:42:15 v0.0.1-dev.9 00:42:15 v2.2.0 00:42:15 v2.2.0-dev.29 00:42:15 v2.2.0-dev.30 00:42:15 v2.2.0-dev.31 00:42:15 v2.2.0-dev.32 00:42:15 v2.2.0-dev.33 00:42:15 v2.2.0-dev.34 00:42:15 v2.2.0-dev.35 00:42:15 v2.3.0 00:42:15 v2.3.0-dev.1 00:42:15 v2.3.0-dev.10 00:42:15 v2.3.0-dev.11 00:42:15 v2.3.0-dev.12 00:42:15 v2.3.0-dev.13 00:42:15 v2.3.0-dev.14 00:42:15 v2.3.0-dev.15 00:42:15 v2.3.0-dev.16 00:42:15 v2.3.0-dev.17 00:42:15 v2.3.0-dev.18 00:42:15 v2.3.0-dev.19 00:42:15 v2.3.0-dev.2 00:42:15 v2.3.0-dev.20 00:42:15 v2.3.0-dev.21 00:42:15 v2.3.0-dev.22 00:42:15 v2.3.0-dev.23 00:42:15 v2.3.0-dev.24 00:42:15 v2.3.0-dev.25 00:42:15 v2.3.0-dev.26 00:42:15 v2.3.0-dev.27 00:42:15 v2.3.0-dev.28 00:42:15 v2.3.0-dev.29 00:42:15 v2.3.0-dev.3 00:42:15 v2.3.0-dev.30 00:42:15 v2.3.0-dev.31 00:42:15 v2.3.0-dev.32 00:42:15 v2.3.0-dev.33 00:42:15 v2.3.0-dev.34 00:42:15 v2.3.0-dev.35 00:42:15 v2.3.0-dev.36 00:42:15 v2.3.0-dev.37 00:42:15 v2.3.0-dev.38 00:42:15 v2.3.0-dev.39 00:42:15 v2.3.0-dev.4 00:42:15 v2.3.0-dev.40 00:42:15 v2.3.0-dev.41 00:42:15 v2.3.0-dev.42 00:42:15 v2.3.0-dev.43 00:42:15 v2.3.0-dev.44 00:42:15 v2.3.0-dev.45 00:42:15 v2.3.0-dev.5 00:42:15 v2.3.0-dev.6 00:42:15 v2.3.0-dev.7 00:42:15 v2.3.0-dev.8 00:42:15 v2.3.0-dev.9 00:42:15 v2.3.1 00:42:15 v2.3.1-dev.1 00:42:15 v2.3.1-dev.4 00:42:15 v2.3.1-dev.5 00:42:15 v2.3.2-dev.1 00:42:15 v2.3.2-dev.2 00:42:15 v3.0.0-dev.1 00:42:15 v3.0.0-dev.10 00:42:15 v3.0.0-dev.11 00:42:15 v3.0.0-dev.12 00:42:15 v3.0.0-dev.13 00:42:15 v3.0.0-dev.14 00:42:15 v3.0.0-dev.15 00:42:15 v3.0.0-dev.16 00:42:15 v3.0.0-dev.17 00:42:15 v3.0.0-dev.18 00:42:15 v3.0.0-dev.19 00:42:15 v3.0.0-dev.2 00:42:15 v3.0.0-dev.20 00:42:15 v3.0.0-dev.21 00:42:15 v3.0.0-dev.22 00:42:15 v3.0.0-dev.23 00:42:15 v3.0.0-dev.24 00:42:15 v3.0.0-dev.25 00:42:15 v3.0.0-dev.26 00:42:15 v3.0.0-dev.27 00:42:15 v3.0.0-dev.28 00:42:15 v3.0.0-dev.29 00:42:15 v3.0.0-dev.3 00:42:15 v3.0.0-dev.30 00:42:15 v3.0.0-dev.31 00:42:15 v3.0.0-dev.32 00:42:15 v3.0.0-dev.33 00:42:15 v3.0.0-dev.34 00:42:15 v3.0.0-dev.35 00:42:15 v3.0.0-dev.36 00:42:15 v3.0.0-dev.37 00:42:15 v3.0.0-dev.38 00:42:15 v3.0.0-dev.39 00:42:15 v3.0.0-dev.4 00:42:15 v3.0.0-dev.40 00:42:15 v3.0.0-dev.41 00:42:15 v3.0.0-dev.42 00:42:15 v3.0.0-dev.43 00:42:15 v3.0.0-dev.44 00:42:15 v3.0.0-dev.45 00:42:15 v3.0.0-dev.46 00:42:15 v3.0.0-dev.47 00:42:15 v3.0.0-dev.48 00:42:15 v3.0.0-dev.5 00:42:15 v3.0.0-dev.6 00:42:15 v3.0.0-dev.7 00:42:15 v3.0.0-dev.8 00:42:15 v3.0.0-dev.9 [Pipeline] sh 00:42:15 + lftools sign git-tag v3.0.0-dev.48 00:42:16 Signing Git tag with Sigul... 00:42:16 Signing v3.0.0-dev.48 [Pipeline] echo 00:42:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:42:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:42:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:42:16 $ docker stop --time=1 33222dc47d1dc1ad273552ec3fb934bd72d3cdbf75e291f3e9dfee998794ed38 00:42:17 $ docker rm -f --volumes 33222dc47d1dc1ad273552ec3fb934bd72d3cdbf75e291f3e9dfee998794ed38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:42:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:42:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:18 prd-ubuntu20.04-docker-8c-8g-15129 does not seem to be running inside a container 00:42:18 $ 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:42:19 $ docker top e032d78e23de5be059cd8cbd282cc85c33072745e959f0f8d5f5576067e95710 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:42:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:19 [ssh-agent] Looking for ssh-agent implementation... 00:42:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:19 $ docker exec e032d78e23de5be059cd8cbd282cc85c33072745e959f0f8d5f5576067e95710 ssh-agent 00:42:19 SSH_AUTH_SOCK=/tmp/ssh-FxQYvnW2VUzT/agent.32 00:42:19 SSH_AGENT_PID=38 00:42:19 Running ssh-add (command line suppressed) 00:42:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14897211773483506425.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14897211773483506425.key) 00:42:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:19 + git semver bump pre 00:42:20 2023-05-11 00:42:20,081 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:42:20 2023-05-11 00:42:20,081 [bump_version] DEBUG bumping version:3.0.0-dev.48 on axis:pre with prefix:dev 00:42:20 2023-05-11 00:42:20,081 [bump_version] DEBUG bumped version:3.0.0-dev.49 00:42:20 2023-05-11 00:42:20,081 [write_version] DEBUG write version:3.0.0-dev.49 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 00:42:20 2023-05-11 00:42:20,081 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:42:20 2023-05-11 00:42:20,081 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 00:42:20 2023-05-11 00:42:20,084 [execute] INFO git cat-file --batch-check 00:42:20 2023-05-11 00:42:20,084 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:42:20 2023-05-11 00:42:20,090 [execute] INFO git cat-file --batch 00:42:20 2023-05-11 00:42:20,090 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:42:20 2023-05-11 00:42:20,095 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:42:20 3.0.0-dev.49 [Pipeline] } 00:42:20 $ docker exec --env ******** --env ******** e032d78e23de5be059cd8cbd282cc85c33072745e959f0f8d5f5576067e95710 ssh-agent -k 00:42:20 unset SSH_AUTH_SOCK; 00:42:20 unset SSH_AGENT_PID; 00:42:20 echo Agent pid 38 killed; 00:42:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:42:20 + git semver [Pipeline] } 00:42:20 $ docker stop --time=1 e032d78e23de5be059cd8cbd282cc85c33072745e959f0f8d5f5576067e95710 00:42:22 $ docker rm -f --volumes e032d78e23de5be059cd8cbd282cc85c33072745e959f0f8d5f5576067e95710 [Pipeline] // withDockerContainer [Pipeline] sh 00:42:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:42:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:22 prd-ubuntu20.04-docker-8c-8g-15129 does not seem to be running inside a container 00:42:22 $ 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:42:23 $ docker top 6a2260770764180c44bc2dabf32330f992d109de9aa45728a9c6691880081ea1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:42:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:23 [ssh-agent] Looking for ssh-agent implementation... 00:42:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:23 $ docker exec 6a2260770764180c44bc2dabf32330f992d109de9aa45728a9c6691880081ea1 ssh-agent 00:42:23 SSH_AUTH_SOCK=/tmp/ssh-n3wa57zaSSEB/agent.31 00:42:23 SSH_AGENT_PID=37 00:42:23 Running ssh-add (command line suppressed) 00:42:23 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13272221532826615777.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13272221532826615777.key) 00:42:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:24 + git semver push 00:42:24 2023-05-11 00:42:24,454 [run_push] DEBUG push 00:42:24 2023-05-11 00:42:24,454 [execute] INFO git cat-file --batch-check 00:42:24 2023-05-11 00:42:24,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:42:24 2023-05-11 00:42:24,457 [execute] INFO git rev-list 3e20f6d122cad301df75f8750d9faf7e02f3cfbe -- 00:42:24 2023-05-11 00:42:24,457 [execute] DEBUG Popen(['git', 'rev-list', '3e20f6d122cad301df75f8750d9faf7e02f3cfbe', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:42:24 2023-05-11 00:42:24,463 [execute] INFO git fetch -v origin 00:42:24 2023-05-11 00:42:24,463 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 00:42:25 2023-05-11 00:42:24,898 [run_push] DEBUG no remote changes detected 00:42:25 2023-05-11 00:42:24,898 [execute] INFO git push origin semver 00:42:25 2023-05-11 00:42:24,899 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:42:25 2023-05-11 00:42:25,575 [run_push] DEBUG push all version tags 00:42:25 2023-05-11 00:42:25,576 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:42:25 2023-05-11 00:42:25,576 [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:42:26 2023-05-11 00:42:26,296 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 00:42:26 3.0.0-dev.49 [Pipeline] } 00:42:26 $ docker exec --env ******** --env ******** 6a2260770764180c44bc2dabf32330f992d109de9aa45728a9c6691880081ea1 ssh-agent -k 00:42:26 unset SSH_AUTH_SOCK; 00:42:26 unset SSH_AGENT_PID; 00:42:26 echo Agent pid 37 killed; 00:42:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:42:26 + git semver [Pipeline] } 00:42:27 $ docker stop --time=1 6a2260770764180c44bc2dabf32330f992d109de9aa45728a9c6691880081ea1 00:42:28 $ docker rm -f --volumes 6a2260770764180c44bc2dabf32330f992d109de9aa45728a9c6691880081ea1 [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:42:29 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 00:42:29 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 00:42:29 total 16 00:42:29 drwxr-xr-x 3 root root 4096 May 11 00:30 . 00:42:29 drwxrwxr-x 11 jenkins jenkins 4096 May 11 00:42 .. 00:42:29 drwxr-xr-x 2 root root 4096 May 11 00:30 cost 00:42:29 -rw-r--r-- 1 root root 91 May 11 00:30 cost.csv 00:42:29 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 00:42:29 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 00:42:29 total 16 00:42:29 drwxr-xr-x 3 jenkins jenkins 4096 May 11 00:30 . 00:42:29 drwxrwxr-x 11 jenkins jenkins 4096 May 11 00:42 .. 00:42:29 drwxr-xr-x 2 jenkins jenkins 4096 May 11 00:30 cost 00:42:29 -rw-r--r-- 1 jenkins jenkins 91 May 11 00:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:42:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:42:30 ---> package-listing.sh 00:42:30 ++ facter osfamily 00:42:30 ++ tr '[:upper:]' '[:lower:]' 00:42:30 + OS_FAMILY=debian 00:42:30 + workspace=/w/workspace/foundry_device-onvif-camera_main 00:42:30 + START_PACKAGES=/tmp/packages_start.txt 00:42:30 + END_PACKAGES=/tmp/packages_end.txt 00:42:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:42:30 + PACKAGES=/tmp/packages_start.txt 00:42:30 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 00:42:30 + PACKAGES=/tmp/packages_end.txt 00:42:30 + case "${OS_FAMILY}" in 00:42:30 + dpkg -l 00:42:30 + grep '^ii' 00:42:30 + '[' -f /tmp/packages_start.txt ']' 00:42:30 + '[' -f /tmp/packages_end.txt ']' 00:42:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:42:30 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 00:42:30 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 00:42:30 + 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:42:30 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:42:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:42:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:31 prd-ubuntu20.04-docker-8c-8g-15129 does not seem to be running inside a container 00:42:31 $ 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:42:31 $ docker top 9edeffacc952746f055d498ade017a9b4afae595e0851f806cdd08372311d233 -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:31 + touch /tmp/pre-build-complete [Pipeline] sh 00:42:32 + mkdir -p /var/log/sysstat [Pipeline] sh 00:42:32 + ls /var/log/sa-host 00:42:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:32 provisioning config files... 00:42:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12790625874079105212tmp [Pipeline] { [Pipeline] echo 00:42:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:42:32 ---> create-netrc.sh [Pipeline] } 00:42:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:42:33 ---> python-tools-install.sh [Pipeline] echo 00:42:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:42:33 ---> sudo-logs.sh 00:42:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:42:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:42:33 ---> job-cost.sh 00:42:33 lf-activate-venv: SKIPPING 00:42:33 DEBUG: total: 0.2199999988079071 00:42:33 INFO: Retrieving Stack Cost... 00:42:34 INFO: Retrieving Pricing Info for: v3-standard-8 00:42:35 INFO: Archiving Costs [Pipeline] echo 00:42:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:42:35 ---> logs-deploy.sh 00:42:35 lf-activate-venv: SKIPPING 00:42:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/145 00:42:35 INFO: archiving workspace using pattern(s): 00:42:36 Archives upload complete. 00:42:36 INFO: archiving logs to Nexus 00:42:37 ---> uname -a: 00:42:37 Linux prd-ubuntu20-04-docker-8c-8g-15129 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 00:42:37 00:42:37 00:42:37 ---> lscpu: 00:42:37 Architecture: x86_64 00:42:37 CPU op-mode(s): 32-bit, 64-bit 00:42:37 Byte Order: Little Endian 00:42:37 Address sizes: 40 bits physical, 48 bits virtual 00:42:37 CPU(s): 8 00:42:37 On-line CPU(s) list: 0-7 00:42:37 Thread(s) per core: 1 00:42:37 Core(s) per socket: 1 00:42:37 Socket(s): 8 00:42:37 NUMA node(s): 1 00:42:37 Vendor ID: AuthenticAMD 00:42:37 CPU family: 23 00:42:37 Model: 49 00:42:37 Model name: AMD EPYC-Rome Processor 00:42:37 Stepping: 0 00:42:37 CPU MHz: 2799.998 00:42:37 BogoMIPS: 5599.99 00:42:37 Virtualization: AMD-V 00:42:37 Hypervisor vendor: KVM 00:42:37 Virtualization type: full 00:42:37 L1d cache: 256 KiB 00:42:37 L1i cache: 256 KiB 00:42:37 L2 cache: 4 MiB 00:42:37 L3 cache: 128 MiB 00:42:37 NUMA node0 CPU(s): 0-7 00:42:37 Vulnerability Itlb multihit: Not affected 00:42:37 Vulnerability L1tf: Not affected 00:42:37 Vulnerability Mds: Not affected 00:42:37 Vulnerability Meltdown: Not affected 00:42:37 Vulnerability Mmio stale data: Not affected 00:42:37 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:42:37 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:42:37 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:42:37 Vulnerability Srbds: Not affected 00:42:37 Vulnerability Tsx async abort: Not affected 00:42:37 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:42:37 00:42:37 00:42:37 ---> nproc: 00:42:37 8 00:42:37 00:42:37 00:42:37 ---> df -h: 00:42:37 Filesystem Size Used Avail Use% Mounted on 00:42:37 overlay 155G 13G 143G 9% / 00:42:37 tmpfs 64M 0 64M 0% /dev 00:42:37 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:42:37 shm 64M 0 64M 0% /dev/shm 00:42:37 /dev/vda1 155G 13G 143G 9% /facter-os 00:42:37 00:42:37