Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7566e30f01203e511a46f95a7874e6126d22e67b 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-ssh5102881104746819059.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh132306154973693294.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16716576133723915438.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh181250700545783260.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-ssh6964012417300520174.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-22547’ Running on prd-ubuntu20.04-docker-8c-8g-22552 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7566e30f01203e511a46f95a7874e6126d22e67b (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 7566e30f01203e511a46f95a7874e6126d22e67b # timeout=10 Commit message: "Merge pull request #131 from EdgeX-Camera-Management/fix-postman" > git rev-list --no-walk 59a7980d54f1ac3c06c7b0a6ba74086551540c0b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:00:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:00:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:00:54 ========================================================= 01:00:54 EdgeX Global Pipelines Version Info 01:00:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:00:54 ------------------- 01:00:54 stable info: 01:00:54 ------------------- 01:00:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:00:54 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:00:54 Message: update stable to v1.0.238 01:00:55 ------------------- 01:00:55 experimental info: 01:00:55 ------------------- 01:00:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:00:55 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:00:55 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:00:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:00:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 01:00:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:00:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:00:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:00:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:00:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:00:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:00:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:00:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:00:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7566e30f01203e511a46f95a7874e6126d22e67b [Pipeline] echo 01:00:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7566e30 [Pipeline] echo 01:00:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:00:56 provisioning config files... 01:00:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config465804461912937984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:00:56 ---> docker-login.sh 01:00:56 nexus3.edgexfoundry.org:10001 01:00:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:57 Configure a credential helper to remove this warning. See 01:00:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:57 01:00:57 Login Succeeded 01:00:57 nexus3.edgexfoundry.org:10002 01:00:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:57 Configure a credential helper to remove this warning. See 01:00:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:57 01:00:57 Login Succeeded 01:00:57 nexus3.edgexfoundry.org:10003 01:00:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:57 Configure a credential helper to remove this warning. See 01:00:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:57 01:00:57 Login Succeeded 01:00:57 nexus3.edgexfoundry.org:10004 01:00:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:57 Configure a credential helper to remove this warning. See 01:00:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:57 01:00:57 Login Succeeded 01:00:57 docker.io 01:00:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:57 Configure a credential helper to remove this warning. See 01:00:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:57 01:00:57 Login Succeeded 01:00:57 ---> docker-login.sh ends [Pipeline] } 01:00:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:00:58 + git rev-list -1 --merges 7566e30f01203e511a46f95a7874e6126d22e67b~1..7566e30f01203e511a46f95a7874e6126d22e67b [Pipeline] echo 01:00:58 -----------> git rev-list -1 --merges 7566e30f01203e511a46f95a7874e6126d22e67b~1..7566e30f01203e511a46f95a7874e6126d22e67b 7566e30f01203e511a46f95a7874e6126d22e67b 01:00:58 7566e30f01203e511a46f95a7874e6126d22e67b [false] [Pipeline] sh 01:00:58 + git log --format=format:%s -1 7566e30f01203e511a46f95a7874e6126d22e67b [Pipeline] echo 01:00:58 ========================================================= 01:00:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:00:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:00:58 + git log --format=format:%s -1 7566e30f01203e511a46f95a7874e6126d22e67b [Pipeline] echo 01:00:58 [semverPrep] GIT_COMMIT: 7566e30f01203e511a46f95a7874e6126d22e67b, Commit Message: Merge pull request #131 from EdgeX-Camera-Management/fix-postman [Pipeline] echo 01:00:58 [semverPrep] This is not a build commit. [Pipeline] sh 01:00:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:00:59 + grep -v github /etc/ssh/ssh_known_hosts 01:00:59 + [ -e /tmp/ssh_known_hosts ] 01:00:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:00:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:00:59 + sudo tee -a /etc/ssh/ssh_known_hosts 01:00:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:00:59 01:00:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:01:00 0.1.4: Pulling from edgex-devops/py-git-semver 01:01:00 b85a868b505f: Pulling fs layer 01:01:00 e2be974225ed: Pulling fs layer 01:01:00 339a4e72a1f5: Pulling fs layer 01:01:00 988bab9f4d93: Pulling fs layer 01:01:00 1469e6f7b9e6: Pulling fs layer 01:01:00 eaf3925da568: Pulling fs layer 01:01:00 bab4dde63d76: Pulling fs layer 01:01:00 bde34c3a00c8: Pulling fs layer 01:01:00 1469e6f7b9e6: Waiting 01:01:00 b352a97aabf1: Pulling fs layer 01:01:00 bab4dde63d76: Waiting 01:01:00 4872d77fe225: Pulling fs layer 01:01:00 5851b861e8e6: Pulling fs layer 01:01:00 b352a97aabf1: Waiting 01:01:00 bde34c3a00c8: Waiting 01:01:00 4872d77fe225: Waiting 01:01:00 e2be974225ed: Download complete 01:01:00 1469e6f7b9e6: Verifying Checksum 01:01:00 1469e6f7b9e6: Download complete 01:01:00 339a4e72a1f5: Verifying Checksum 01:01:00 339a4e72a1f5: Download complete 01:01:00 eaf3925da568: Verifying Checksum 01:01:00 eaf3925da568: Download complete 01:01:00 bde34c3a00c8: Verifying Checksum 01:01:00 bde34c3a00c8: Download complete 01:01:00 b352a97aabf1: Verifying Checksum 01:01:00 b352a97aabf1: Download complete 01:01:00 4872d77fe225: Download complete 01:01:00 5851b861e8e6: Verifying Checksum 01:01:00 5851b861e8e6: Download complete 01:01:00 b85a868b505f: Verifying Checksum 01:01:00 b85a868b505f: Download complete 01:01:00 bab4dde63d76: Verifying Checksum 01:01:00 bab4dde63d76: Download complete 01:01:02 b85a868b505f: Pull complete 01:01:02 e2be974225ed: Pull complete 01:01:02 339a4e72a1f5: Pull complete 01:01:02 988bab9f4d93: Pull complete 01:01:02 1469e6f7b9e6: Pull complete 01:01:02 eaf3925da568: Pull complete 01:01:05 bab4dde63d76: Pull complete 01:01:05 bde34c3a00c8: Pull complete 01:01:05 b352a97aabf1: Pull complete 01:01:05 4872d77fe225: Pull complete 01:01:05 5851b861e8e6: Pull complete 01:01:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:01:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:01:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:05 prd-ubuntu20.04-docker-8c-8g-22552 does not seem to be running inside a container 01:01: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:01:06 $ docker top 28a3f3869bf58c957e4af32b81e0c7f7708e34734aea0043cab2c6e0faf60df0 -eo pid,comm 01:01:06 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). 01:01:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:01:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:01:06 [ssh-agent] Looking for ssh-agent implementation... 01:01:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:01:06 $ docker exec 28a3f3869bf58c957e4af32b81e0c7f7708e34734aea0043cab2c6e0faf60df0 ssh-agent 01:01:07 SSH_AUTH_SOCK=/tmp/ssh-EmlDIfbpWTpf/agent.33 01:01:07 SSH_AGENT_PID=39 01:01:07 Running ssh-add (command line suppressed) 01:01:07 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8098435632663874266.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8098435632663874266.key) 01:01:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:01:07 + git tag --points-at HEAD [Pipeline] } 01:01:07 $ docker exec --env ******** --env ******** 28a3f3869bf58c957e4af32b81e0c7f7708e34734aea0043cab2c6e0faf60df0 ssh-agent -k 01:01:07 unset SSH_AUTH_SOCK; 01:01:07 unset SSH_AGENT_PID; 01:01:07 echo Agent pid 39 killed; 01:01:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:01:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:01:07 [ssh-agent] Looking for ssh-agent implementation... 01:01:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:01:07 $ docker exec 28a3f3869bf58c957e4af32b81e0c7f7708e34734aea0043cab2c6e0faf60df0 ssh-agent 01:01:08 SSH_AUTH_SOCK=/tmp/ssh-zEa1Y5Q0sOxl/agent.73 01:01:08 SSH_AGENT_PID=79 01:01:08 Running ssh-add (command line suppressed) 01:01:08 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1377939635023231613.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1377939635023231613.key) 01:01:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:01:08 + git semver init 01:01:08 2022-08-12 01:01:08,682 [run_init] DEBUG init version:0.0.0 force:False 01:01:08 2022-08-12 01:01:08,683 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 01:01:08 2022-08-12 01:01:08,683 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 01:01:08 2022-08-12 01:01:08,684 [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) 01:01:09 2022-08-12 01:01:09,472 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 01:01:09 2022-08-12 01:01:09,472 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 01:01:09 2022-08-12 01:01:09,473 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:01:09 2022-08-12 01:01:09,473 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:01:09 2.3.0-dev.6 [Pipeline] } 01:01:09 $ docker exec --env ******** --env ******** 28a3f3869bf58c957e4af32b81e0c7f7708e34734aea0043cab2c6e0faf60df0 ssh-agent -k 01:01:09 unset SSH_AUTH_SOCK; 01:01:09 unset SSH_AGENT_PID; 01:01:09 echo Agent pid 79 killed; 01:01:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:01:10 + git semver [Pipeline] } 01:01:10 $ docker stop --time=1 28a3f3869bf58c957e4af32b81e0c7f7708e34734aea0043cab2c6e0faf60df0 01:01:11 $ docker rm -f 28a3f3869bf58c957e4af32b81e0c7f7708e34734aea0043cab2c6e0faf60df0 [Pipeline] // withDockerContainer [Pipeline] sh 01:01:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:01:12 Stashed 1 file(s) [Pipeline] echo 01:01:12 [edgeXSemver]: initialized semver on version 2.3.0-dev.6 [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 01:01:12 provisioning config files... 01:01:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6528899106795705824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:01:12 ---> docker-login.sh 01:01:12 nexus3.edgexfoundry.org:10001 01:01:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:12 Configure a credential helper to remove this warning. See 01:01:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:12 01:01:12 Login Succeeded 01:01:12 nexus3.edgexfoundry.org:10002 01:01:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:13 Configure a credential helper to remove this warning. See 01:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:13 01:01:13 Login Succeeded 01:01:13 nexus3.edgexfoundry.org:10003 01:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:13 Configure a credential helper to remove this warning. See 01:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:13 01:01:13 Login Succeeded 01:01:13 nexus3.edgexfoundry.org:10004 01:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:13 Configure a credential helper to remove this warning. See 01:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:13 01:01:13 Login Succeeded 01:01:13 docker.io 01:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:01:13 Configure a credential helper to remove this warning. See 01:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:01:13 01:01:13 Login Succeeded 01:01:13 ---> docker-login.sh ends [Pipeline] } 01:01:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:01:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:01:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:01:13 ========================================================= 01:01:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:01:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:14 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:01:14 Sending build context to Docker daemon 20.48MB 01:01:14 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:01:14 Step 2/13 : FROM ${BASE} AS builder 01:01:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:01:14 2408cc74d12b: Pulling fs layer 01:01:14 ea60b727a1ce: Pulling fs layer 01:01:14 30c4a7721957: Pulling fs layer 01:01:14 370296b7ddb6: Pulling fs layer 01:01:14 7c6cee850709: Pulling fs layer 01:01:14 39a5fcdaea64: Pulling fs layer 01:01:14 d94ebbe4e438: Pulling fs layer 01:01:14 bcfd1f05c69d: Pulling fs layer 01:01:14 59ccb84bbe0f: Pulling fs layer 01:01:14 370296b7ddb6: Waiting 01:01:14 7c6cee850709: Waiting 01:01:14 39a5fcdaea64: Waiting 01:01:14 bcfd1f05c69d: Waiting 01:01:14 d94ebbe4e438: Waiting 01:01:14 59ccb84bbe0f: Waiting 01:01:14 30c4a7721957: Verifying Checksum 01:01:14 30c4a7721957: Download complete 01:01:14 ea60b727a1ce: Download complete 01:01:14 7c6cee850709: Download complete 01:01:14 39a5fcdaea64: Download complete 01:01:14 2408cc74d12b: Verifying Checksum 01:01:14 2408cc74d12b: Download complete 01:01:14 d94ebbe4e438: Verifying Checksum 01:01:14 d94ebbe4e438: Download complete 01:01:14 2408cc74d12b: Pull complete 01:01:14 ea60b727a1ce: Pull complete 01:01:14 30c4a7721957: Pull complete 01:01:14 59ccb84bbe0f: Verifying Checksum 01:01:14 59ccb84bbe0f: Download complete 01:01:15 370296b7ddb6: Verifying Checksum 01:01:15 370296b7ddb6: Download complete 01:01:15 bcfd1f05c69d: Verifying Checksum 01:01:15 bcfd1f05c69d: Download complete 01:01:20 370296b7ddb6: Pull complete 01:01:20 7c6cee850709: Pull complete 01:01:20 39a5fcdaea64: Pull complete 01:01:20 d94ebbe4e438: Pull complete 01:01:22 bcfd1f05c69d: Pull complete 01:01:22 59ccb84bbe0f: Pull complete 01:01:22 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:01:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:01:22 ---> a4fb48ad2a94 01:01:22 Step 3/13 : ARG MAKE="make build" 01:01:24 ---> Running in 0aa1638d4fbc 01:01:24 Removing intermediate container 0aa1638d4fbc 01:01:24 ---> 026fd5228970 01:01:24 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 01:01:24 ---> Running in cf21bf67c71a 01:01:24 Removing intermediate container cf21bf67c71a 01:01:24 ---> 09e1eaf1ed4c 01:01:24 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 01:01:24 ---> Running in 488e5cbd6be3 01:01:24 Removing intermediate container 488e5cbd6be3 01:01:24 ---> 377fbf6e0495 01:01:24 Step 6/13 : LABEL Name=edgex-device-onvif-camera 01:01:24 ---> Running in 39906ec8686b 01:01:24 Removing intermediate container 39906ec8686b 01:01:24 ---> 8787bc51ae47 01:01:24 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:01:24 ---> Running in df95948eca98 01:01:25 Removing intermediate container df95948eca98 01:01:25 ---> 3cbeccf30e2b 01:01:25 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:01:25 ---> Running in 1d6e4211ffc9 01:01:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:01:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:01:26 OK: 211 MiB in 51 packages 01:01:27 Removing intermediate container 1d6e4211ffc9 01:01:27 ---> 2674b47aacc9 01:01:27 Step 9/13 : WORKDIR /device-onvif-camera 01:01:27 ---> Running in 93a87c331de3 01:01:27 Removing intermediate container 93a87c331de3 01:01:27 ---> 1d4d52356eb5 01:01:27 Step 10/13 : COPY go.mod vendor* ./ 01:01:27 ---> 16c1ef5f1299 01:01:27 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:01:27 ---> Running in d89cc3be004b 01:01:27 Still waiting to schedule task 01:01:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22551’ 01:01:45 Removing intermediate container d89cc3be004b 01:01:45 ---> a99ceecda66e 01:01:45 Step 12/13 : COPY . . 01:01:45 ---> cceeb53a8e33 01:01:45 Step 13/13 : RUN ${MAKE} 01:01:45 ---> Running in 82fb52a889f9 01:01:45 noop 01:01:46 Removing intermediate container 82fb52a889f9 01:01:46 ---> a947172cd212 01:01:46 Successfully built a947172cd212 01:01:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:46 + docker inspect -f . ci-base-image-x86_64 01:01:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:46 prd-ubuntu20.04-docker-8c-8g-22552 does not seem to be running inside a container 01:01:46 $ 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 ******** ci-base-image-x86_64 cat 01:01:46 $ docker top 2c6c9d89d794407fb670ea71e593acf0918f6b03f3e935c3c2ae71db2bf6024e -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:47 + go version 01:01:47 go version go1.18.3 linux/amd64 [Pipeline] } 01:01:47 $ docker stop --time=1 2c6c9d89d794407fb670ea71e593acf0918f6b03f3e935c3c2ae71db2bf6024e 01:01:48 $ docker rm -f 2c6c9d89d794407fb670ea71e593acf0918f6b03f3e935c3c2ae71db2bf6024e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:49 + docker inspect -f . ci-base-image-x86_64 01:01:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:49 prd-ubuntu20.04-docker-8c-8g-22552 does not seem to be running inside a container 01:01:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:01:49 $ docker top b790c4d035a8cdb9dba65afcdb01b1af8c8e93122d0e44378421183ba98bbcc8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:49 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 01:01:50 + make test 01:01:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:01:50 ? github.com/edgexfoundry/device-onvif-camera [no test files] 01:02:02 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 01:02:03 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.023s coverage: 10.6% of statements 01:02:03 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 01:02:06 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.450s coverage: 13.8% of statements 01:02:14 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:02:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:02:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:02:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:02:17 ./bin/test-attribution-txt.sh [Pipeline] echo 01:02:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:02:17 $ docker stop --time=1 b790c4d035a8cdb9dba65afcdb01b1af8c8e93122d0e44378421183ba98bbcc8 01:02:18 $ docker rm -f b790c4d035a8cdb9dba65afcdb01b1af8c8e93122d0e44378421183ba98bbcc8 [Pipeline] // withDockerContainer [Pipeline] sh 01:02:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:02:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:02:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:02:20 + ls -al . 01:02:20 total 232 01:02:20 drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 01:01 . 01:02:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 01:00 .. 01:02:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 01:02 .git 01:02:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 01:00 .github 01:02:20 -rw-rw-r-- 1 jenkins jenkins 418 Aug 12 01:00 .gitignore 01:02:20 -rw-rw-r-- 1 jenkins jenkins 42 Aug 12 01:00 .golangci.yml 01:02:20 drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 01:01 .semver 01:02:20 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 12 01:00 Attribution.txt 01:02:20 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 12 01:00 CHANGELOG.md 01:02:20 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 12 01:00 Dockerfile 01:02:20 -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 01:00 GOVERNANCE.md 01:02:20 -rw-rw-r-- 1 jenkins jenkins 734 Aug 12 01:00 Jenkinsfile 01:02:20 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 12 01:00 LICENSE 01:02:20 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 12 01:00 Makefile 01:02:20 -rw-rw-r-- 1 jenkins jenkins 625 Aug 12 01:00 OWNERS.md 01:02:20 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 12 01:00 README.md 01:02:20 -rw-rw-r-- 1 jenkins jenkins 11 Aug 12 01:01 VERSION 01:02:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 01:00 bin 01:02:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 01:00 cmd 01:02:20 -rw-r--r-- 1 jenkins jenkins 76856 Aug 12 01:02 coverage.out 01:02:20 drwxrwxr-x 6 jenkins jenkins 4096 Aug 12 01:00 doc 01:02:20 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 12 01:00 go.mod 01:02:20 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 12 01:00 go.sum 01:02:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 01:00 internal 01:02:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 01:00 snap 01:02:20 -rw-rw-r-- 1 jenkins jenkins 236 Aug 12 01:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:20 + 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=7566e30f01203e511a46f95a7874e6126d22e67b --label arch=amd64 --label version=2.3.0-dev.6 . 01:02:20 Sending build context to Docker daemon 20.56MB 01:02:20 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:02:20 Step 2/26 : FROM ${BASE} AS builder 01:02:20 ---> a947172cd212 01:02:20 Step 3/26 : ARG MAKE="make build" 01:02:20 ---> Running in ca4312df266f 01:02:20 Removing intermediate container ca4312df266f 01:02:20 ---> ef95ceb32650 01:02:20 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 01:02:20 ---> Running in f51e3dcd6f6e 01:02:20 Removing intermediate container f51e3dcd6f6e 01:02:20 ---> 11421f46902e 01:02:20 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:02:20 ---> Running in d865c38c70f4 01:02:20 Removing intermediate container d865c38c70f4 01:02:20 ---> a784a00a3b9b 01:02:20 Step 6/26 : LABEL Name=edgex-device-onvif-camera 01:02:20 ---> Running in b50fef616b41 01:02:20 Removing intermediate container b50fef616b41 01:02:20 ---> 61f4d727d0ae 01:02:20 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:02:20 ---> Running in 4047ff9b65df 01:02:21 Removing intermediate container 4047ff9b65df 01:02:21 ---> d8a759cce98d 01:02:21 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:02:21 ---> Running in 5367fe2fc91c 01:02:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:02:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:02:23 OK: 211 MiB in 51 packages 01:02:23 Removing intermediate container 5367fe2fc91c 01:02:23 ---> 3ea31275503e 01:02:23 Step 9/26 : WORKDIR /device-onvif-camera 01:02:23 ---> Running in e6164050e024 01:02:23 Removing intermediate container e6164050e024 01:02:23 ---> 9094093cc1b3 01:02:23 Step 10/26 : COPY go.mod vendor* ./ 01:02:23 ---> d19980fc56c2 01:02:23 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:02:23 ---> Running in 23890b7dd697 01:02:24 Removing intermediate container 23890b7dd697 01:02:24 ---> a4a46ca1e231 01:02:24 Step 12/26 : COPY . . 01:02:24 ---> af0f94eaf753 01:02:24 Step 13/26 : RUN ${MAKE} 01:02:24 ---> Running in fa84eb2a5ca3 01:02:25 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 01:02:47 Removing intermediate container fa84eb2a5ca3 01:02:47 ---> 8610b0d31308 01:02:47 Step 14/26 : FROM alpine:3.16 01:02:47 3.16: Pulling from library/alpine 01:02:47 213ec9aee27d: Pulling fs layer 01:02:47 213ec9aee27d: Verifying Checksum 01:02:47 213ec9aee27d: Download complete 01:02:47 213ec9aee27d: Pull complete 01:02:47 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:02:47 Status: Downloaded newer image for alpine:3.16 01:02:47 ---> 9c6f07244728 01:02:47 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:02:47 ---> Running in 548360601f79 01:02:47 Removing intermediate container 548360601f79 01:02:47 ---> 2864f47dd2fd 01:02:47 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 01:02:47 ---> Running in 61f7d6ea4a8e 01:02:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:02:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:02:47 (1/6) Installing dumb-init (1.2.5-r1) 01:02:47 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:02:47 (3/6) Installing libsodium (1.0.18-r0) 01:02:47 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:02:47 (5/6) Installing libzmq (4.3.4-r0) 01:02:47 (6/6) Installing zeromq (4.3.4-r0) 01:02:47 Executing busybox-1.35.0-r17.trigger 01:02:47 OK: 8 MiB in 20 packages 01:02:47 Removing intermediate container 61f7d6ea4a8e 01:02:47 ---> f89f3f38965d 01:02:47 Step 17/26 : WORKDIR / 01:02:47 ---> Running in 36c501c43627 01:02:47 Removing intermediate container 36c501c43627 01:02:47 ---> b7887d0ed60b 01:02:47 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 01:02:48 ---> 6c7dc43d1266 01:02:48 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 01:02:48 ---> 5027748dde0f 01:02:48 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 01:02:48 ---> cb74a6cf7c19 01:02:48 Step 21/26 : EXPOSE 59984 01:02:48 ---> Running in f72ab3d40915 01:02:48 Removing intermediate container f72ab3d40915 01:02:48 ---> 45de16b47e55 01:02:48 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 01:02:48 ---> Running in 6ec1a8fed71c 01:02:48 Removing intermediate container 6ec1a8fed71c 01:02:48 ---> 232876d5aa17 01:02:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:02:48 ---> Running in ca30c74cc3c1 01:02:48 Removing intermediate container ca30c74cc3c1 01:02:48 ---> 7bc9c441ba18 01:02:48 Step 24/26 : LABEL arch=amd64 01:02:48 ---> Running in d25e337e0d24 01:02:48 Removing intermediate container d25e337e0d24 01:02:48 ---> dc1bec1fc87e 01:02:48 Step 25/26 : LABEL git_sha=7566e30f01203e511a46f95a7874e6126d22e67b 01:02:48 ---> Running in 9cf30d0ab4fa 01:02:48 Removing intermediate container 9cf30d0ab4fa 01:02:48 ---> 8e9284c3da2f 01:02:48 Step 26/26 : LABEL version=2.3.0-dev.6 01:02:49 ---> Running in 68f61cddbeb4 01:02:49 Removing intermediate container 68f61cddbeb4 01:02:49 ---> 244ece22f620 01:02:49 [Warning] One or more build-args [ARCH] were not consumed 01:02:49 Successfully built 244ece22f620 01:02:49 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 01:02:49 provisioning config files... 01:02:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1697442312635333690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:02:49 ---> docker-login.sh 01:02:49 nexus3.edgexfoundry.org:10001 01:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:49 Configure a credential helper to remove this warning. See 01:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:49 01:02:49 Login Succeeded 01:02:49 nexus3.edgexfoundry.org:10002 01:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:49 Configure a credential helper to remove this warning. See 01:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:49 01:02:49 Login Succeeded 01:02:49 nexus3.edgexfoundry.org:10003 01:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:49 Configure a credential helper to remove this warning. See 01:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:49 01:02:49 Login Succeeded 01:02:49 nexus3.edgexfoundry.org:10004 01:02:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:50 Configure a credential helper to remove this warning. See 01:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:50 01:02:50 Login Succeeded 01:02:50 docker.io 01:02:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:50 Configure a credential helper to remove this warning. See 01:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:50 01:02:50 Login Succeeded 01:02:50 ---> docker-login.sh ends [Pipeline] } 01:02:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:02:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:02:50 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 01:02:50 7566e30f01203e511a46f95a7874e6126d22e67b 01:02:50 latest 01:02:50 2.3.0-dev.6 01:02:50 7566e30f01203e511a46f95a7874e6126d22e67b-2.3.0-dev.6 01:02:50 main 01:02:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:50 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:7566e30f01203e511a46f95a7874e6126d22e67b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:7566e30f01203e511a46f95a7874e6126d22e67b 01:02:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:02:51 55778819e468: Preparing 01:02:51 ba15e0452248: Preparing 01:02:51 9bf479a42344: Preparing 01:02:51 7252bc171518: Preparing 01:02:51 994393dc58e7: Preparing 01:02:51 994393dc58e7: Layer already exists 01:02:51 ba15e0452248: Pushed 01:02:51 55778819e468: Pushed 01:02:51 7252bc171518: Pushed 01:02:53 9bf479a42344: Pushed 01:02:54 7566e30f01203e511a46f95a7874e6126d22e67b: digest: sha256:914363505667be8b50cb0654e57aa4662a843bc4acedba1d25eeb708ad9bec36 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:54 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 01:02:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:02:54 55778819e468: Preparing 01:02:54 ba15e0452248: Preparing 01:02:54 9bf479a42344: Preparing 01:02:54 7252bc171518: Preparing 01:02:54 994393dc58e7: Preparing 01:02:54 9bf479a42344: Layer already exists 01:02:54 994393dc58e7: Layer already exists 01:02:54 7252bc171518: Layer already exists 01:02:54 ba15e0452248: Layer already exists 01:02:54 55778819e468: Layer already exists 01:02:54 latest: digest: sha256:914363505667be8b50cb0654e57aa4662a843bc4acedba1d25eeb708ad9bec36 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:55 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.6 01:02:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:02:55 55778819e468: Preparing 01:02:55 ba15e0452248: Preparing 01:02:55 9bf479a42344: Preparing 01:02:55 7252bc171518: Preparing 01:02:55 994393dc58e7: Preparing 01:02:55 9bf479a42344: Layer already exists 01:02:55 55778819e468: Layer already exists 01:02:55 994393dc58e7: Layer already exists 01:02:55 ba15e0452248: Layer already exists 01:02:55 7252bc171518: Layer already exists 01:02:55 2.3.0-dev.6: digest: sha256:914363505667be8b50cb0654e57aa4662a843bc4acedba1d25eeb708ad9bec36 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:55 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:7566e30f01203e511a46f95a7874e6126d22e67b-2.3.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:7566e30f01203e511a46f95a7874e6126d22e67b-2.3.0-dev.6 01:02:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:02:55 55778819e468: Preparing 01:02:55 ba15e0452248: Preparing 01:02:55 9bf479a42344: Preparing 01:02:55 7252bc171518: Preparing 01:02:55 994393dc58e7: Preparing 01:02:55 7252bc171518: Layer already exists 01:02:55 994393dc58e7: Layer already exists 01:02:55 55778819e468: Layer already exists 01:02:55 9bf479a42344: Layer already exists 01:02:55 ba15e0452248: Layer already exists 01:02:55 7566e30f01203e511a46f95a7874e6126d22e67b-2.3.0-dev.6: digest: sha256:914363505667be8b50cb0654e57aa4662a843bc4acedba1d25eeb708ad9bec36 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:56 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 01:02:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 01:02:56 55778819e468: Preparing 01:02:56 ba15e0452248: Preparing 01:02:56 9bf479a42344: Preparing 01:02:56 7252bc171518: Preparing 01:02:56 994393dc58e7: Preparing 01:02:56 55778819e468: Layer already exists 01:02:56 9bf479a42344: Layer already exists 01:02:56 994393dc58e7: Layer already exists 01:02:56 ba15e0452248: Layer already exists 01:02:56 7252bc171518: Layer already exists 01:02:56 main: digest: sha256:914363505667be8b50cb0654e57aa4662a843bc4acedba1d25eeb708ad9bec36 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:02:56 ===================================================== [Pipeline] echo 01:02:56 taggedImages: 01:02:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera:7566e30f01203e511a46f95a7874e6126d22e67b 01:02:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 01:02:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.6 01:02:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera:7566e30f01203e511a46f95a7874e6126d22e67b-2.3.0-dev.6 01:02:56 - 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 01:02:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:02:57 01:02:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:02:57 latest: Pulling from edgex-lftools-log-publisher 01:02:57 5eb5b503b376: Pulling fs layer 01:02:57 5c69ac0246d0: Pulling fs layer 01:02:57 ec43610c2a17: Pulling fs layer 01:02:57 3a2ae6a8a46f: Pulling fs layer 01:02:57 33b1e0a273af: Pulling fs layer 01:02:57 5d3b04190fa2: Pulling fs layer 01:02:57 2f39f015ded8: Pulling fs layer 01:02:57 33b1e0a273af: Waiting 01:02:57 2f39f015ded8: Waiting 01:02:57 5d3b04190fa2: Waiting 01:02:57 5c69ac0246d0: Verifying Checksum 01:02:57 5c69ac0246d0: Download complete 01:02:57 3a2ae6a8a46f: Verifying Checksum 01:02:57 3a2ae6a8a46f: Download complete 01:02:57 33b1e0a273af: Verifying Checksum 01:02:57 33b1e0a273af: Download complete 01:02:57 5d3b04190fa2: Verifying Checksum 01:02:57 5d3b04190fa2: Download complete 01:02:57 ec43610c2a17: Verifying Checksum 01:02:57 ec43610c2a17: Download complete 01:02:57 5eb5b503b376: Verifying Checksum 01:02:57 5eb5b503b376: Download complete 01:02:58 2f39f015ded8: Download complete 01:02:58 5eb5b503b376: Pull complete 01:02:59 5c69ac0246d0: Pull complete 01:02:59 ec43610c2a17: Pull complete 01:02:59 3a2ae6a8a46f: Pull complete 01:02:59 33b1e0a273af: Pull complete 01:02:59 5d3b04190fa2: Pull complete 01:03:05 2f39f015ded8: Pull complete 01:03:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:03:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:03:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:05 prd-ubuntu20.04-docker-8c-8g-22552 does not seem to be running inside a container 01:03:05 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:03:06 $ docker top ff554c38d5ce1363f82c11eeadf50c4345608aeff81b52524b80f4cf1d089881 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:03:07 ---> job-cost.sh 01:03:07 lf-activate-venv: SKIPPING 01:03:07 INFO: No Stack... 01:03:07 INFO: Retrieving Pricing Info for: v3-standard-8 01:03:08 INFO: Archiving Costs [Pipeline] sh 01:03:08 + cut -d, -f6 01:03:08 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [Pipeline] lock 01:03:08 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-45-stack-cost] 01:03:08 Resource [jenkins-edgexfoundry-device-onvif-camera-main-45-stack-cost] did not exist. Created. 01:03:08 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:03:08 + echo total: 0.2199999988079071 [Pipeline] stash 01:03:08 Stashed 1 file(s) [Pipeline] } 01:03:08 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-45-stack-cost] [Pipeline] // lock [Pipeline] } 01:03:08 $ docker stop --time=1 ff554c38d5ce1363f82c11eeadf50c4345608aeff81b52524b80f4cf1d089881 01:03:09 $ docker rm -f ff554c38d5ce1363f82c11eeadf50c4345608aeff81b52524b80f4cf1d089881 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:05:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22554 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 01:05:04 Running in /w/workspace/device-onvif-camera/45 [Pipeline] { [Pipeline] checkout 01:05:04 Selected Git installation does not exist. Using Default 01:05:04 The recommended git tool is: NONE 01:05:11 using credential edgex-jenkins-ssh 01:05:11 Cloning the remote Git repository 01:05:11 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 01:05:11 > git init /w/workspace/device-onvif-camera/45 # timeout=10 01:05:11 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 01:05:11 > git --version # timeout=10 01:05:11 > git --version # 'git version 2.25.1' 01:05:11 using GIT_SSH to set credentials SSH Credentials for GitHub 01:05:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:05:12 Avoid second fetch 01:05:12 Checking out Revision 7566e30f01203e511a46f95a7874e6126d22e67b (main) 01:05:12 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 01:05:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:05:12 > git config core.sparsecheckout # timeout=10 01:05:12 > git checkout -f 7566e30f01203e511a46f95a7874e6126d22e67b # timeout=10 01:05:17 Commit message: "Merge pull request #131 from EdgeX-Camera-Management/fix-postman" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:05:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:05:18 % Total % Received % Xferd Average Speed Time Time Time Current 01:05:18 Dload Upload Total Spent Left Speed 01:05:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 81131 0 --:--:-- --:--:-- --:--:-- 81131 [Pipeline] sh 01:05:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:05:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:05:19 + sudo tee /etc/docker/daemon.new 01:05:19 { 01:05:19 "registry-mirrors": [ 01:05:19 "https://nexus3.edgexfoundry.org:10001" 01:05:19 ], 01:05:19 "bip": "10.250.0.254/24", 01:05:19 "hosts": [ 01:05:19 "tcp://0.0.0.0:5555", 01:05:19 "unix:///var/run/docker.sock" 01:05:19 ], 01:05:19 "mtu": 1458, 01:05:19 "selinux-enabled": true, 01:05:19 "seccomp-profile": "/etc/docker/seccomp.json" 01:05:19 } [Pipeline] sh 01:05:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:05:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:05:38 provisioning config files... 01:05:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/45@tmp/config4761570439061573205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:38 ---> docker-login.sh 01:05:38 nexus3.edgexfoundry.org:10001 01:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:39 Configure a credential helper to remove this warning. See 01:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:39 01:05:39 Login Succeeded 01:05:39 nexus3.edgexfoundry.org:10002 01:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:40 Configure a credential helper to remove this warning. See 01:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:40 01:05:40 Login Succeeded 01:05:40 nexus3.edgexfoundry.org:10003 01:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:40 Configure a credential helper to remove this warning. See 01:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:40 01:05:40 Login Succeeded 01:05:40 nexus3.edgexfoundry.org:10004 01:05:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:41 Configure a credential helper to remove this warning. See 01:05:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:41 01:05:41 Login Succeeded 01:05:41 docker.io 01:05:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:41 Configure a credential helper to remove this warning. See 01:05:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:41 01:05:41 Login Succeeded 01:05:41 ---> docker-login.sh ends [Pipeline] } 01:05:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:05:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:05:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:05:42 ========================================================= 01:05:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:05:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:05:43 Sending build context to Docker daemon 14.02MB 01:05:43 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:05:43 Step 2/13 : FROM ${BASE} AS builder 01:05:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:05:43 b3c136eddcbf: Pulling fs layer 01:05:43 c0a3192eca97: Pulling fs layer 01:05:43 a050256f5b6f: Pulling fs layer 01:05:43 656be50a0ddc: Pulling fs layer 01:05:43 2bbca73fdf42: Pulling fs layer 01:05:43 46d945488cbd: Pulling fs layer 01:05:43 8a5474983e97: Pulling fs layer 01:05:43 329c88fbcd65: Pulling fs layer 01:05:43 656be50a0ddc: Waiting 01:05:43 2bbca73fdf42: Waiting 01:05:43 46d945488cbd: Waiting 01:05:43 8a5474983e97: Waiting 01:05:43 329c88fbcd65: Waiting 01:05:43 a050256f5b6f: Download complete 01:05:43 c0a3192eca97: Verifying Checksum 01:05:43 c0a3192eca97: Download complete 01:05:43 2bbca73fdf42: Download complete 01:05:43 46d945488cbd: Verifying Checksum 01:05:43 46d945488cbd: Download complete 01:05:43 b3c136eddcbf: Download complete 01:05:44 b3c136eddcbf: Pull complete 01:05:44 329c88fbcd65: Verifying Checksum 01:05:44 329c88fbcd65: Download complete 01:05:45 c0a3192eca97: Pull complete 01:05:45 a050256f5b6f: Pull complete 01:05:45 8a5474983e97: Verifying Checksum 01:05:45 8a5474983e97: Download complete 01:05:46 656be50a0ddc: Verifying Checksum 01:05:46 656be50a0ddc: Download complete 01:06:01 656be50a0ddc: Pull complete 01:06:01 2bbca73fdf42: Pull complete 01:06:01 46d945488cbd: Pull complete 01:06:07 8a5474983e97: Pull complete 01:06:09 329c88fbcd65: Pull complete 01:06:09 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:06:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:06:09 ---> ff4287adb874 01:06:09 Step 3/13 : ARG MAKE="make build" 01:06:11 ---> Running in 361957c0c12e 01:06:12 Removing intermediate container 361957c0c12e 01:06:12 ---> a4e39295de8d 01:06:12 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 01:06:12 ---> Running in 8cd2be4da585 01:06:12 Removing intermediate container 8cd2be4da585 01:06:12 ---> 891678894fa1 01:06:12 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 01:06:13 ---> Running in 4d56166e8ae7 01:06:13 Removing intermediate container 4d56166e8ae7 01:06:13 ---> b8589ae3792b 01:06:13 Step 6/13 : LABEL Name=edgex-device-onvif-camera 01:06:13 ---> Running in 4704bace2ef0 01:06:13 Removing intermediate container 4704bace2ef0 01:06:13 ---> c5503765efb1 01:06:13 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:06:13 ---> Running in 894824f93bf8 01:06:15 Removing intermediate container 894824f93bf8 01:06:15 ---> 2b94f8ec0b8b 01:06:15 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:06:15 ---> Running in e2abc6f43b09 01:06:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:06:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:06:18 OK: 221 MiB in 51 packages 01:06:19 Removing intermediate container e2abc6f43b09 01:06:19 ---> 444689f3c31e 01:06:19 Step 9/13 : WORKDIR /device-onvif-camera 01:06:19 ---> Running in 57b38b793d55 01:06:19 Removing intermediate container 57b38b793d55 01:06:19 ---> 98388c82e717 01:06:19 Step 10/13 : COPY go.mod vendor* ./ 01:06:20 ---> c57d4a8d3005 01:06:20 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:06:20 ---> Running in ec30e6a17b88 01:07:16 Removing intermediate container ec30e6a17b88 01:07:16 ---> 76cb083f1feb 01:07:16 Step 12/13 : COPY . . 01:07:16 ---> 257cba98440e 01:07:16 Step 13/13 : RUN ${MAKE} 01:07:16 ---> Running in 6cd4f38a5787 01:07:16 noop 01:07:16 Removing intermediate container 6cd4f38a5787 01:07:16 ---> f1f4167a0c42 01:07:16 Successfully built f1f4167a0c42 01:07:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:17 + docker inspect -f . ci-base-image-arm64 01:07:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:17 prd-ubuntu20.04-docker-arm64-4c-16g-22554 does not seem to be running inside a container 01:07:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/45 -v /w/workspace/device-onvif-camera/45:/w/workspace/device-onvif-camera/45:rw,z -v /w/workspace/device-onvif-camera/45@tmp:/w/workspace/device-onvif-camera/45@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 01:07:18 $ docker top c1a02b4b6922efa511c2525bbf7da9250a3c8c813ecf7c6375111dea0cf95490 -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:19 + go version 01:07:19 go version go1.18.3 linux/arm64 [Pipeline] } 01:07:19 $ docker stop --time=1 c1a02b4b6922efa511c2525bbf7da9250a3c8c813ecf7c6375111dea0cf95490 01:07:21 $ docker rm -f c1a02b4b6922efa511c2525bbf7da9250a3c8c813ecf7c6375111dea0cf95490 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:22 + docker inspect -f . ci-base-image-arm64 01:07:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:22 prd-ubuntu20.04-docker-arm64-4c-16g-22554 does not seem to be running inside a container 01:07:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/45 -v /w/workspace/device-onvif-camera/45:/w/workspace/device-onvif-camera/45:rw,z -v /w/workspace/device-onvif-camera/45@tmp:/w/workspace/device-onvif-camera/45@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 01:07:23 $ docker top 98a6b5ff0a4fa9e12054386ffb6dd558d15cfe556b29add5552eff0c422e701b -eo pid,comm [Pipeline] { [Pipeline] sh 01:07:24 + git config --global --add safe.directory /w/workspace/device-onvif-camera/45 [Pipeline] fileExists [Pipeline] sh 01:07:25 + make test 01:07:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:07:27 ? github.com/edgexfoundry/device-onvif-camera [no test files] 01:09:04 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 01:09:04 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.137s coverage: 10.6% of statements 01:09:04 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 01:09:31 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 32.663s coverage: 13.8% of statements 01:09:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:09:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:09:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:09:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:09:49 ./bin/test-attribution-txt.sh [Pipeline] echo 01:09:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:09:49 $ docker stop --time=1 98a6b5ff0a4fa9e12054386ffb6dd558d15cfe556b29add5552eff0c422e701b 01:09:51 $ docker rm -f 98a6b5ff0a4fa9e12054386ffb6dd558d15cfe556b29add5552eff0c422e701b [Pipeline] // withDockerContainer [Pipeline] sh 01:09:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:09:52 Warning: overwriting stash ‘coverage-report’ 01:09:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:09:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:09:53 + ls -al . 01:09:53 total 228 01:09:53 drwxrwxr-x 9 jenkins jenkins 4096 Aug 12 01:07 . 01:09:53 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 01:05 .. 01:09:53 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 01:05 .git 01:09:53 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 01:05 .github 01:09:53 -rw-rw-r-- 1 jenkins jenkins 418 Aug 12 01:05 .gitignore 01:09:53 -rw-rw-r-- 1 jenkins jenkins 42 Aug 12 01:05 .golangci.yml 01:09:53 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 12 01:05 Attribution.txt 01:09:53 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 12 01:05 CHANGELOG.md 01:09:53 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 12 01:05 Dockerfile 01:09:53 -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 01:05 GOVERNANCE.md 01:09:53 -rw-rw-r-- 1 jenkins jenkins 734 Aug 12 01:05 Jenkinsfile 01:09:53 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 12 01:05 LICENSE 01:09:53 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 12 01:05 Makefile 01:09:53 -rw-rw-r-- 1 jenkins jenkins 625 Aug 12 01:05 OWNERS.md 01:09:53 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 12 01:05 README.md 01:09:53 -rw-rw-r-- 1 jenkins jenkins 11 Aug 12 01:01 VERSION 01:09:53 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 01:05 bin 01:09:53 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 01:05 cmd 01:09:53 -rw-r--r-- 1 jenkins jenkins 76856 Aug 12 01:09 coverage.out 01:09:53 drwxrwxr-x 6 jenkins jenkins 4096 Aug 12 01:05 doc 01:09:53 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 12 01:05 go.mod 01:09:53 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 12 01:05 go.sum 01:09:53 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 01:05 internal 01:09:53 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 01:05 snap 01:09:53 -rw-rw-r-- 1 jenkins jenkins 236 Aug 12 01:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:54 + 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=7566e30f01203e511a46f95a7874e6126d22e67b --label arch=arm64 --label version=2.3.0-dev.6 . 01:09:54 Sending build context to Docker daemon 14.09MB 01:09:54 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:09:54 Step 2/26 : FROM ${BASE} AS builder 01:09:54 ---> f1f4167a0c42 01:09:54 Step 3/26 : ARG MAKE="make build" 01:09:54 ---> Running in c6823066336e 01:09:54 Removing intermediate container c6823066336e 01:09:54 ---> 8961bded80cc 01:09:54 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 01:09:55 ---> Running in d5f32ca93f14 01:09:55 Removing intermediate container d5f32ca93f14 01:09:55 ---> b19c3a0894e9 01:09:55 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:09:55 ---> Running in 31a59a878fef 01:09:55 Removing intermediate container 31a59a878fef 01:09:55 ---> 3fc2fcefcbdb 01:09:55 Step 6/26 : LABEL Name=edgex-device-onvif-camera 01:09:55 ---> Running in 63e306dcb411 01:09:56 Removing intermediate container 63e306dcb411 01:09:56 ---> 9750f7d27660 01:09:56 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:09:56 ---> Running in 270183ba9dfa 01:09:57 Removing intermediate container 270183ba9dfa 01:09:57 ---> c8d3f2120e1b 01:09:57 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:09:58 ---> Running in d2368f61ee31 01:09:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:10:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:10:01 OK: 221 MiB in 51 packages 01:10:01 Removing intermediate container d2368f61ee31 01:10:01 ---> 7b829c3f5ab4 01:10:01 Step 9/26 : WORKDIR /device-onvif-camera 01:10:01 ---> Running in a5e88815939d 01:10:02 Removing intermediate container a5e88815939d 01:10:02 ---> 5c07953b48de 01:10:02 Step 10/26 : COPY go.mod vendor* ./ 01:10:02 ---> 6979ab472ad9 01:10:02 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:10:02 ---> Running in 93810a9f353c 01:10:04 Removing intermediate container 93810a9f353c 01:10:04 ---> daf72a9cbe73 01:10:04 Step 12/26 : COPY . . 01:10:06 ---> 531b5fb1fc48 01:10:06 Step 13/26 : RUN ${MAKE} 01:10:06 ---> Running in 0aabc51f6096 01:10:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 01:12:29 Removing intermediate container 0aabc51f6096 01:12:29 ---> c5a757b6ab74 01:12:29 Step 14/26 : FROM alpine:3.16 01:12:29 3.16: Pulling from library/alpine 01:12:29 9b18e9b68314: Pulling fs layer 01:12:29 9b18e9b68314: Verifying Checksum 01:12:29 9b18e9b68314: Download complete 01:12:29 9b18e9b68314: Pull complete 01:12:29 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:12:29 Status: Downloaded newer image for alpine:3.16 01:12:29 ---> a6215f271958 01:12:29 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:12:29 ---> Running in 4c35d7b4b127 01:12:29 Removing intermediate container 4c35d7b4b127 01:12:29 ---> e0e9c8eb63d5 01:12:29 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 01:12:29 ---> Running in 93464842baf0 01:12:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:12:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:12:29 (1/6) Installing dumb-init (1.2.5-r1) 01:12:29 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:12:29 (3/6) Installing libsodium (1.0.18-r0) 01:12:29 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:12:29 (5/6) Installing libzmq (4.3.4-r0) 01:12:29 (6/6) Installing zeromq (4.3.4-r0) 01:12:29 Executing busybox-1.35.0-r17.trigger 01:12:29 OK: 8 MiB in 20 packages 01:12:29 Removing intermediate container 93464842baf0 01:12:29 ---> 0cbd876e8225 01:12:29 Step 17/26 : WORKDIR / 01:12:29 ---> Running in 07bc7bd3645e 01:12:29 Removing intermediate container 07bc7bd3645e 01:12:29 ---> c40d56fa7cd2 01:12:29 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 01:12:29 ---> f270b651a6eb 01:12:29 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 01:12:29 ---> 8581311ca37d 01:12:29 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 01:12:29 ---> 76b5dd145271 01:12:29 Step 21/26 : EXPOSE 59984 01:12:29 ---> Running in a65915eaf72c 01:12:29 Removing intermediate container a65915eaf72c 01:12:29 ---> e043ff51eca5 01:12:29 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 01:12:29 ---> Running in 670ac85d387b 01:12:29 Removing intermediate container 670ac85d387b 01:12:29 ---> 288f24dc197f 01:12:29 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:12:29 ---> Running in d8075ba9a10a 01:12:29 Removing intermediate container d8075ba9a10a 01:12:29 ---> 75d8fbe1baf2 01:12:29 Step 24/26 : LABEL arch=arm64 01:12:29 ---> Running in f29b0fd016f3 01:12:29 Removing intermediate container f29b0fd016f3 01:12:29 ---> 694dc098b61a 01:12:29 Step 25/26 : LABEL git_sha=7566e30f01203e511a46f95a7874e6126d22e67b 01:12:29 ---> Running in 773fe6db2a4a 01:12:29 Removing intermediate container 773fe6db2a4a 01:12:29 ---> 5d39877e3c2a 01:12:29 Step 26/26 : LABEL version=2.3.0-dev.6 01:12:29 ---> Running in 5a5cb3a8f8c9 01:12:29 Removing intermediate container 5a5cb3a8f8c9 01:12:29 ---> f052cbca509f 01:12:29 [Warning] One or more build-args [ARCH] were not consumed 01:12:29 Successfully built f052cbca509f 01:12:29 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 01:12:29 provisioning config files... 01:12:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/45@tmp/config4199940861006122255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:12:30 ---> docker-login.sh 01:12:30 nexus3.edgexfoundry.org:10001 01:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:30 Configure a credential helper to remove this warning. See 01:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:30 01:12:30 Login Succeeded 01:12:30 nexus3.edgexfoundry.org:10002 01:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:31 Configure a credential helper to remove this warning. See 01:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:31 01:12:31 Login Succeeded 01:12:31 nexus3.edgexfoundry.org:10003 01:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:31 Configure a credential helper to remove this warning. See 01:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:31 01:12:31 Login Succeeded 01:12:31 nexus3.edgexfoundry.org:10004 01:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:31 Configure a credential helper to remove this warning. See 01:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:31 01:12:31 Login Succeeded 01:12:31 docker.io 01:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:32 Configure a credential helper to remove this warning. See 01:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:32 01:12:32 Login Succeeded 01:12:32 ---> docker-login.sh ends [Pipeline] } 01:12:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:12:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:12:32 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 01:12:32 7566e30f01203e511a46f95a7874e6126d22e67b 01:12:32 latest 01:12:32 2.3.0-dev.6 01:12:32 7566e30f01203e511a46f95a7874e6126d22e67b-2.3.0-dev.6 01:12:32 main 01:12:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:33 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7566e30f01203e511a46f95a7874e6126d22e67b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7566e30f01203e511a46f95a7874e6126d22e67b 01:12:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 01:12:33 b691859650b5: Preparing 01:12:33 15408cf40696: Preparing 01:12:33 123a5d81567d: Preparing 01:12:33 8700717ca384: Preparing 01:12:33 5d3e392a13a0: Preparing 01:12:33 5d3e392a13a0: Layer already exists 01:12:33 15408cf40696: Pushed 01:12:33 b691859650b5: Pushed 01:12:34 8700717ca384: Pushed 01:12:39 123a5d81567d: Pushed 01:12:39 7566e30f01203e511a46f95a7874e6126d22e67b: digest: sha256:6423ba9b8c7f44c85c92332949b6db4ab13da8c8667c2e81e7ae59b69e7554be size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:40 + 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 01:12:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 01:12:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 01:12:40 b691859650b5: Preparing 01:12:40 15408cf40696: Preparing 01:12:40 123a5d81567d: Preparing 01:12:40 8700717ca384: Preparing 01:12:40 5d3e392a13a0: Preparing 01:12:40 b691859650b5: Layer already exists 01:12:40 15408cf40696: Layer already exists 01:12:40 8700717ca384: Layer already exists 01:12:40 5d3e392a13a0: Layer already exists 01:12:40 123a5d81567d: Layer already exists 01:12:40 latest: digest: sha256:6423ba9b8c7f44c85c92332949b6db4ab13da8c8667c2e81e7ae59b69e7554be size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:41 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.6 01:12:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 01:12:41 b691859650b5: Preparing 01:12:41 15408cf40696: Preparing 01:12:41 123a5d81567d: Preparing 01:12:41 8700717ca384: Preparing 01:12:41 5d3e392a13a0: Preparing 01:12:41 123a5d81567d: Layer already exists 01:12:41 8700717ca384: Layer already exists 01:12:41 5d3e392a13a0: Layer already exists 01:12:41 15408cf40696: Layer already exists 01:12:41 b691859650b5: Layer already exists 01:12:41 2.3.0-dev.6: digest: sha256:6423ba9b8c7f44c85c92332949b6db4ab13da8c8667c2e81e7ae59b69e7554be size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:42 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7566e30f01203e511a46f95a7874e6126d22e67b-2.3.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7566e30f01203e511a46f95a7874e6126d22e67b-2.3.0-dev.6 01:12:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 01:12:42 b691859650b5: Preparing 01:12:42 15408cf40696: Preparing 01:12:42 123a5d81567d: Preparing 01:12:42 8700717ca384: Preparing 01:12:42 5d3e392a13a0: Preparing 01:12:42 5d3e392a13a0: Layer already exists 01:12:42 123a5d81567d: Layer already exists 01:12:42 8700717ca384: Layer already exists 01:12:42 15408cf40696: Layer already exists 01:12:42 b691859650b5: Layer already exists 01:12:43 7566e30f01203e511a46f95a7874e6126d22e67b-2.3.0-dev.6: digest: sha256:6423ba9b8c7f44c85c92332949b6db4ab13da8c8667c2e81e7ae59b69e7554be size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:43 + 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 01:12:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 01:12:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 01:12:43 b691859650b5: Preparing 01:12:43 15408cf40696: Preparing 01:12:43 123a5d81567d: Preparing 01:12:43 8700717ca384: Preparing 01:12:43 5d3e392a13a0: Preparing 01:12:43 5d3e392a13a0: Layer already exists 01:12:43 15408cf40696: Layer already exists 01:12:43 8700717ca384: Layer already exists 01:12:43 b691859650b5: Layer already exists 01:12:43 123a5d81567d: Layer already exists 01:12:44 main: digest: sha256:6423ba9b8c7f44c85c92332949b6db4ab13da8c8667c2e81e7ae59b69e7554be size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:12:44 ===================================================== [Pipeline] echo 01:12:44 taggedImages: 01:12:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7566e30f01203e511a46f95a7874e6126d22e67b 01:12:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 01:12:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.6 01:12:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:7566e30f01203e511a46f95a7874e6126d22e67b-2.3.0-dev.6 01:12:44 - 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 01:12:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:12:44 01:12:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:12:45 arm64: Pulling from edgex-lftools-log-publisher 01:12:45 8998bd30e6a1: Pulling fs layer 01:12:45 04944245beec: Pulling fs layer 01:12:45 699f458cf7ca: Pulling fs layer 01:12:45 765212b225bb: Pulling fs layer 01:12:45 f23df028b6ca: Pulling fs layer 01:12:45 d65c8cfc05b1: Pulling fs layer 01:12:45 2437ff75d9bd: Pulling fs layer 01:12:45 765212b225bb: Waiting 01:12:45 f23df028b6ca: Waiting 01:12:45 d65c8cfc05b1: Waiting 01:12:45 2437ff75d9bd: Waiting 01:12:45 04944245beec: Verifying Checksum 01:12:45 04944245beec: Download complete 01:12:45 765212b225bb: Verifying Checksum 01:12:45 765212b225bb: Download complete 01:12:45 f23df028b6ca: Verifying Checksum 01:12:45 f23df028b6ca: Download complete 01:12:45 d65c8cfc05b1: Verifying Checksum 01:12:45 d65c8cfc05b1: Download complete 01:12:45 699f458cf7ca: Verifying Checksum 01:12:45 699f458cf7ca: Download complete 01:12:45 8998bd30e6a1: Verifying Checksum 01:12:45 8998bd30e6a1: Download complete 01:12:48 2437ff75d9bd: Verifying Checksum 01:12:48 2437ff75d9bd: Download complete 01:12:50 8998bd30e6a1: Pull complete 01:12:50 04944245beec: Pull complete 01:12:52 699f458cf7ca: Pull complete 01:12:52 765212b225bb: Pull complete 01:12:52 f23df028b6ca: Pull complete 01:12:53 d65c8cfc05b1: Pull complete 01:13:08 2437ff75d9bd: Pull complete 01:13:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:13:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:13:08 prd-ubuntu20.04-docker-arm64-4c-16g-22554 does not seem to be running inside a container 01:13:08 $ 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/45 -v /w/workspace/device-onvif-camera/45:/w/workspace/device-onvif-camera/45:rw,z -v /w/workspace/device-onvif-camera/45@tmp:/w/workspace/device-onvif-camera/45@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 01:13:11 $ docker top b5c13f99e914180ef8635af3dc8576f28ab8299c6a9cd88f09a153c8fbf3eed6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:13:12 ---> job-cost.sh 01:13:12 lf-activate-venv: SKIPPING 01:13:12 INFO: No Stack... 01:13:13 INFO: Retrieving Pricing Info for: v3-standard-4 01:13:13 INFO: Archiving Costs [Pipeline] sh 01:13:14 + cat /w/workspace/device-onvif-camera/45/archives/cost.csv 01:13:14 + cut -d, -f6 [Pipeline] lock 01:13:14 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-45-stack-cost] 01:13:14 Resource [jenkins-edgexfoundry-device-onvif-camera-main-45-stack-cost] did not exist. Created. 01:13:14 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:13:15 /w/workspace/device-onvif-camera/45@tmp/durable-b9a9d97e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:13:16 + echo total: 0.10999999940395355 [Pipeline] stash 01:13:16 Warning: overwriting stash ‘stack-cost’ 01:13:16 Stashed 1 file(s) [Pipeline] } 01:13:16 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-45-stack-cost] [Pipeline] // lock [Pipeline] } 01:13:16 $ docker stop --time=1 b5c13f99e914180ef8635af3dc8576f28ab8299c6a9cd88f09a153c8fbf3eed6 01:13:17 $ docker rm -f b5c13f99e914180ef8635af3dc8576f28ab8299c6a9cd88f09a153c8fbf3eed6 [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 01:13:18 provisioning config files... 01:13:18 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1608075856735551401tmp [Pipeline] { [Pipeline] sh 01:13:18 + set +x 01:13:18 + curl -s https://codecov.io/bash 01:13:18 + bash -s -- 01:13:18 01:13:18 _____ _ 01:13:18 / ____| | | 01:13:18 | | ___ __| | ___ ___ _____ __ 01:13:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:13:18 | |___| (_) | (_| | __/ (_| (_) \ V / 01:13:18 \_____\___/ \__,_|\___|\___\___/ \_/ 01:13:18 Bash-1.0.6 01:13:18 01:13:18 01:13:18 ==> git version 2.25.1 found 01:13:18 ==> 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 01:13:18 Release-Date: 2020-01-08 01:13:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:13:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:13:18 ==> Jenkins CI detected. 01:13:18 current dir:  /w/workspace/foundry_device-onvif-camera_main 01:13:18 project root: . 01:13:18 --> token set from env 01:13:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:13:18 ==> Running gcov in . (disable via -X gcov) 01:13:18 ==> Python coveragepy not found 01:13:18 ==> Searching for coverage reports in: 01:13:18 + . 01:13:18 -> Found 1 reports 01:13:18 ==> Detecting git/mercurial file structure 01:13:18 ==> Reading reports 01:13:18 + ./coverage.out bytes=76856 01:13:18 ==> Appending adjustments 01:13:18 https://docs.codecov.io/docs/fixing-reports 01:13:19 + Found adjustments 01:13:19 ==> Gzipping contents 01:13:19 12K /tmp/codecov.vOIaWm.gz 01:13:19 ==> Uploading reports 01:13:19 url: https://codecov.io 01:13:19 query: branch=main&commit=7566e30f01203e511a46f95a7874e6126d22e67b&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 01:13:19 -> Pinging Codecov 01:13:19 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=7566e30f01203e511a46f95a7874e6126d22e67b&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 01:13:19 -> Uploading to 01:13:19 https://storage.googleapis.com/codecov/v4/raw/2022-08-12/F29A59C45E3A92E06B3E522C9905F8EF/7566e30f01203e511a46f95a7874e6126d22e67b/a81b8e52-b817-4ceb-9232-bd56e06c18f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220812T011319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7372f5db6a31bb29859297a952f164eb45d4aee977fb80d189674f5083e7dfd8 01:13:19 % Total % Received % Xferd Average Speed Time Time Time Current 01:13:19 Dload Upload Total Spent Left Speed 01:13:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10395 0 0 100 10395 0 47036 --:--:-- --:--:-- --:--:-- 46824 100 10395 0 0 100 10395 0 43312 --:--:-- --:--:-- --:--:-- 43132 01:13:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/7566e30f01203e511a46f95a7874e6126d22e67b [Pipeline] } 01:13:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:13:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:13:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:13:20 01:13:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:13:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:13:20 df9b9388f04a: Pulling fs layer 01:13:20 52dc419b0ee2: Pulling fs layer 01:13:20 25bc292e5bac: Pulling fs layer 01:13:20 114826534d7a: Pulling fs layer 01:13:20 4657fd5d0bcf: Pulling fs layer 01:13:20 6ad1cebc031e: Pulling fs layer 01:13:20 8a3aa393b2d8: Pulling fs layer 01:13:20 6ad1cebc031e: Waiting 01:13:20 114826534d7a: Waiting 01:13:20 4657fd5d0bcf: Waiting 01:13:20 8a3aa393b2d8: Waiting 01:13:20 25bc292e5bac: Download complete 01:13:20 52dc419b0ee2: Verifying Checksum 01:13:20 52dc419b0ee2: Download complete 01:13:20 4657fd5d0bcf: Verifying Checksum 01:13:20 4657fd5d0bcf: Download complete 01:13:20 df9b9388f04a: Verifying Checksum 01:13:20 df9b9388f04a: Download complete 01:13:20 df9b9388f04a: Pull complete 01:13:20 6ad1cebc031e: Verifying Checksum 01:13:20 6ad1cebc031e: Download complete 01:13:20 52dc419b0ee2: Pull complete 01:13:20 25bc292e5bac: Pull complete 01:13:21 114826534d7a: Verifying Checksum 01:13:21 114826534d7a: Download complete 01:13:21 8a3aa393b2d8: Verifying Checksum 01:13:21 8a3aa393b2d8: Download complete 01:13:25 114826534d7a: Pull complete 01:13:25 4657fd5d0bcf: Pull complete 01:13:25 6ad1cebc031e: Pull complete 01:13:28 8a3aa393b2d8: Pull complete 01:13:28 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:13:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:13:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:13:28 prd-ubuntu20.04-docker-8c-8g-22552 does not seem to be running inside a container 01:13:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:13:30 $ docker top 32aab22f40db3e39f685d7a43f9db645a7b08416cc9b7d598af81d955d0f3b9c -eo pid,comm [Pipeline] { [Pipeline] echo 01:13:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 01:13:30 + set -o pipefail 01:13:30 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 01:13:39 01:13:39 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 01:13:39 01:13:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/7f2ac22a-7a1d-4869-8991-fbc9bbae88a0 01:13:39 01:13:39 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:13:39 01:13:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:13:39 01:13:39 [Pipeline] } 01:13:39 $ docker stop --time=1 32aab22f40db3e39f685d7a43f9db645a7b08416cc9b7d598af81d955d0f3b9c 01:13:41 $ docker rm -f 32aab22f40db3e39f685d7a43f9db645a7b08416cc9b7d598af81d955d0f3b9c [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 01:13:41 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:41 provisioning config files... 01:13:41 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3535727543691079145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:13:41 --> edgex-publish-swagger.sh 01:13:41 === Publish doc/openapi/v2 API === 01:13:41 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 01:13:41 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 01:13:41 % Total % Received % Xferd Average Speed Time Time Time Current 01:13:41 Dload Upload Total Spent Left Speed 01:13:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 143k --:--:-- --:--:-- --:--:-- 143k 100 139k 0 0 100 139k 0 143k --:--:-- --:--:-- --:--:-- 143k 01:13:42 01:13:42 [Pipeline] } 01:13:42 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 01:13:43 + git log --format=format:%s -1 7566e30f01203e511a46f95a7874e6126d22e67b [Pipeline] sh 01:13:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:13:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:13:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:13:43 prd-ubuntu20.04-docker-8c-8g-22552 does not seem to be running inside a container 01:13:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:13:44 $ docker top 5cdb9c36f5f762a61670ce1c4a0e36cfe912f9c0e8b7e4518eae3aeb3043d97a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:13:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:13:44 [ssh-agent] Looking for ssh-agent implementation... 01:13:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:13:44 $ docker exec 5cdb9c36f5f762a61670ce1c4a0e36cfe912f9c0e8b7e4518eae3aeb3043d97a ssh-agent 01:13:44 SSH_AUTH_SOCK=/tmp/ssh-NOa80ZEhl2Sr/agent.34 01:13:44 SSH_AGENT_PID=40 01:13:44 Running ssh-add (command line suppressed) 01:13:44 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_330684029932048432.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_330684029932048432.key) 01:13:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:13:45 + git semver tag 01:13:45 2022-08-12 01:13:45,453 [run_tag] DEBUG tag force:False 01:13:45 2022-08-12 01:13:45,453 [check_head_tag] DEBUG check head tag 01:13:45 2022-08-12 01:13:45,454 [execute] INFO git cat-file --batch-check 01:13:45 2022-08-12 01:13:45,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 01:13:45 2022-08-12 01:13:45,457 [execute] INFO git cat-file --batch 01:13:45 2022-08-12 01:13:45,457 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 01:13:45 2022-08-12 01:13:45,472 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:13:45 2022-08-12 01:13:45,472 [execute] INFO git tag -a v2.3.0-dev.6 -m v2.3.0-dev.6 01:13:45 2022-08-12 01:13:45,473 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.6', '-m', 'v2.3.0-dev.6'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 01:13:45 2022-08-12 01:13:45,477 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:13:45 2.3.0-dev.6 [Pipeline] } 01:13:45 $ docker exec --env ******** --env ******** 5cdb9c36f5f762a61670ce1c4a0e36cfe912f9c0e8b7e4518eae3aeb3043d97a ssh-agent -k 01:13:45 unset SSH_AUTH_SOCK; 01:13:45 unset SSH_AGENT_PID; 01:13:45 echo Agent pid 40 killed; 01:13:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:13:45 + git semver [Pipeline] } 01:13:46 $ docker stop --time=1 5cdb9c36f5f762a61670ce1c4a0e36cfe912f9c0e8b7e4518eae3aeb3043d97a 01:13:47 $ docker rm -f 5cdb9c36f5f762a61670ce1c4a0e36cfe912f9c0e8b7e4518eae3aeb3043d97a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:13:47 01:13:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:13:48 0.23.1-centos7: Pulling from edgex-lftools 01:13:48 ab5ef0e58194: Pulling fs layer 01:13:48 9712f1f96733: Pulling fs layer 01:13:48 63f879dbbcfc: Pulling fs layer 01:13:48 0d9ebad4ef96: Pulling fs layer 01:13:48 e9a5061849ea: Pulling fs layer 01:13:48 d747dcd14b5f: Pulling fs layer 01:13:48 2de7ff778b66: Pulling fs layer 01:13:48 e9a5061849ea: Waiting 01:13:48 d747dcd14b5f: Waiting 01:13:48 2de7ff778b66: Waiting 01:13:48 0d9ebad4ef96: Waiting 01:13:48 9712f1f96733: Verifying Checksum 01:13:48 9712f1f96733: Download complete 01:13:48 63f879dbbcfc: Verifying Checksum 01:13:48 63f879dbbcfc: Download complete 01:13:48 ab5ef0e58194: Verifying Checksum 01:13:48 ab5ef0e58194: Download complete 01:13:48 e9a5061849ea: Verifying Checksum 01:13:48 e9a5061849ea: Download complete 01:13:48 d747dcd14b5f: Download complete 01:13:48 0d9ebad4ef96: Verifying Checksum 01:13:48 0d9ebad4ef96: Download complete 01:13:49 2de7ff778b66: Verifying Checksum 01:13:49 2de7ff778b66: Download complete 01:13:52 ab5ef0e58194: Pull complete 01:13:52 9712f1f96733: Pull complete 01:13:52 63f879dbbcfc: Pull complete 01:13:57 0d9ebad4ef96: Pull complete 01:13:57 e9a5061849ea: Pull complete 01:13:57 d747dcd14b5f: Pull complete 01:13:58 2de7ff778b66: Pull complete 01:13:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:13:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:13:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:13:58 prd-ubuntu20.04-docker-8c-8g-22552 does not seem to be running inside a container 01:13:58 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:14:00 $ docker top e5a3259e3fbf2a708e264b30e04041d7f094ce902206b53ca1bdab2efa4e9ae0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:14:00 provisioning config files... 01:14:00 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4205602596509331448tmp 01:14:00 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5209112733883276591tmp 01:14:00 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5914175304122933029tmp [Pipeline] { [Pipeline] echo 01:14:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:14:01 ---> sigul-configuration.sh 01:14:01 gpg: directory `/root/.gnupg' created 01:14:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:14:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:14:01 gpg: keyring `/root/.gnupg/secring.gpg' created 01:14:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:14:01 gpg: CAST5 encrypted data 01:14:01 gpg: encrypted with 1 passphrase 01:14:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:14:01 + mkdir /home/jenkins 01:14:01 + mkdir /home/jenkins/sigul [Pipeline] sh 01:14:01 + 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 01:14:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:14:02 ---> sigul-install.sh 01:14:02 Sigul already installed; skipping installation. [Pipeline] sh 01:14:02 + git tag --list 01:14:02 v0.0.0 01:14:02 v0.0.1-dev.1 01:14:02 v0.0.1-dev.10 01:14:02 v0.0.1-dev.11 01:14:02 v0.0.1-dev.12 01:14:02 v0.0.1-dev.13 01:14:02 v0.0.1-dev.14 01:14:02 v0.0.1-dev.15 01:14:02 v0.0.1-dev.16 01:14:02 v0.0.1-dev.17 01:14:02 v0.0.1-dev.18 01:14:02 v0.0.1-dev.19 01:14:02 v0.0.1-dev.2 01:14:02 v0.0.1-dev.20 01:14:02 v0.0.1-dev.21 01:14:02 v0.0.1-dev.22 01:14:02 v0.0.1-dev.23 01:14:02 v0.0.1-dev.24 01:14:02 v0.0.1-dev.25 01:14:02 v0.0.1-dev.26 01:14:02 v0.0.1-dev.27 01:14:02 v0.0.1-dev.28 01:14:02 v0.0.1-dev.3 01:14:02 v0.0.1-dev.4 01:14:02 v0.0.1-dev.5 01:14:02 v0.0.1-dev.6 01:14:02 v0.0.1-dev.7 01:14:02 v0.0.1-dev.8 01:14:02 v0.0.1-dev.9 01:14:02 v2.2.0 01:14:02 v2.2.0-dev.29 01:14:02 v2.2.0-dev.30 01:14:02 v2.2.0-dev.31 01:14:02 v2.2.0-dev.32 01:14:02 v2.2.0-dev.33 01:14:02 v2.2.0-dev.34 01:14:02 v2.2.0-dev.35 01:14:02 v2.3.0-dev.1 01:14:02 v2.3.0-dev.2 01:14:02 v2.3.0-dev.3 01:14:02 v2.3.0-dev.4 01:14:02 v2.3.0-dev.5 01:14:02 v2.3.0-dev.6 [Pipeline] sh 01:14:02 + lftools sign git-tag v2.3.0-dev.6 01:14:03 Signing Git tag with Sigul... 01:14:03 Signing v2.3.0-dev.6 [Pipeline] echo 01:14:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:14:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:14:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:14:04 $ docker stop --time=1 e5a3259e3fbf2a708e264b30e04041d7f094ce902206b53ca1bdab2efa4e9ae0 01:14:05 $ docker rm -f e5a3259e3fbf2a708e264b30e04041d7f094ce902206b53ca1bdab2efa4e9ae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:14:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:14:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:06 prd-ubuntu20.04-docker-8c-8g-22552 does not seem to be running inside a container 01:14:06 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:14:06 $ docker top d41e625b4ecfe1b8a6956fc1dc2a2cd70e17a281b79bdb43204bc5bc3b8cce8b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:14:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:14:07 [ssh-agent] Looking for ssh-agent implementation... 01:14:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:14:07 $ docker exec d41e625b4ecfe1b8a6956fc1dc2a2cd70e17a281b79bdb43204bc5bc3b8cce8b ssh-agent 01:14:07 SSH_AUTH_SOCK=/tmp/ssh-FOPzPU9A5TVm/agent.35 01:14:07 SSH_AGENT_PID=41 01:14:07 Running ssh-add (command line suppressed) 01:14:07 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2639962489271725731.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2639962489271725731.key) 01:14:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:14:07 + git semver bump pre 01:14:08 2022-08-12 01:14:07,969 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:14:08 2022-08-12 01:14:07,969 [bump_version] DEBUG bumping version:2.3.0-dev.6 on axis:pre with prefix:dev 01:14:08 2022-08-12 01:14:07,970 [bump_version] DEBUG bumped version:2.3.0-dev.7 01:14:08 2022-08-12 01:14:07,970 [write_version] DEBUG write version:2.3.0-dev.7 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 01:14:08 2022-08-12 01:14:07,970 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:14:08 2022-08-12 01:14:07,970 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 01:14:08 2022-08-12 01:14:07,972 [execute] INFO git cat-file --batch-check 01:14:08 2022-08-12 01:14:07,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 01:14:08 2022-08-12 01:14:07,979 [execute] INFO git cat-file --batch 01:14:08 2022-08-12 01:14:07,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 01:14:08 2022-08-12 01:14:07,985 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:14:08 2.3.0-dev.7 [Pipeline] } 01:14:08 $ docker exec --env ******** --env ******** d41e625b4ecfe1b8a6956fc1dc2a2cd70e17a281b79bdb43204bc5bc3b8cce8b ssh-agent -k 01:14:08 unset SSH_AUTH_SOCK; 01:14:08 unset SSH_AGENT_PID; 01:14:08 echo Agent pid 41 killed; 01:14:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:14:08 + git semver [Pipeline] } 01:14:08 $ docker stop --time=1 d41e625b4ecfe1b8a6956fc1dc2a2cd70e17a281b79bdb43204bc5bc3b8cce8b 01:14:10 $ docker rm -f d41e625b4ecfe1b8a6956fc1dc2a2cd70e17a281b79bdb43204bc5bc3b8cce8b [Pipeline] // withDockerContainer [Pipeline] sh 01:14:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:14:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:10 prd-ubuntu20.04-docker-8c-8g-22552 does not seem to be running inside a container 01:14:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:14:11 $ docker top 2832b108726ca0b9be8b8205e46ebe5af994a813647196f7a95174caf1a125fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:14:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:14:11 [ssh-agent] Looking for ssh-agent implementation... 01:14:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:14:11 $ docker exec 2832b108726ca0b9be8b8205e46ebe5af994a813647196f7a95174caf1a125fd ssh-agent 01:14:11 SSH_AUTH_SOCK=/tmp/ssh-ezm1DGs2bxVP/agent.32 01:14:11 SSH_AGENT_PID=38 01:14:11 Running ssh-add (command line suppressed) 01:14:11 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4226529919385603436.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4226529919385603436.key) 01:14:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:14:12 + git semver push 01:14:12 2022-08-12 01:14:12,227 [run_push] DEBUG push 01:14:12 2022-08-12 01:14:12,228 [execute] INFO git cat-file --batch-check 01:14:12 2022-08-12 01:14:12,228 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 01:14:12 2022-08-12 01:14:12,233 [execute] INFO git rev-list 74c44dff08c6323f617c78ccc84a76795a414978 -- 01:14:12 2022-08-12 01:14:12,233 [execute] DEBUG Popen(['git', 'rev-list', '74c44dff08c6323f617c78ccc84a76795a414978', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 01:14:12 2022-08-12 01:14:12,240 [execute] INFO git fetch -v origin 01:14:12 2022-08-12 01:14:12,240 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 01:14:12 2022-08-12 01:14:12,736 [run_push] DEBUG no remote changes detected 01:14:12 2022-08-12 01:14:12,737 [execute] INFO git push origin semver 01:14:12 2022-08-12 01:14:12,737 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 01:14:13 2022-08-12 01:14:13,455 [run_push] DEBUG push all version tags 01:14:13 2022-08-12 01:14:13,455 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:14:13 2022-08-12 01:14:13,456 [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) 01:14:14 2022-08-12 01:14:14,194 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 01:14:14 2.3.0-dev.7 [Pipeline] } 01:14:14 $ docker exec --env ******** --env ******** 2832b108726ca0b9be8b8205e46ebe5af994a813647196f7a95174caf1a125fd ssh-agent -k 01:14:14 unset SSH_AUTH_SOCK; 01:14:14 unset SSH_AGENT_PID; 01:14:14 echo Agent pid 38 killed; 01:14:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:14:14 + git semver [Pipeline] } 01:14:15 $ docker stop --time=1 2832b108726ca0b9be8b8205e46ebe5af994a813647196f7a95174caf1a125fd 01:14:16 $ docker rm -f 2832b108726ca0b9be8b8205e46ebe5af994a813647196f7a95174caf1a125fd [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 01:14:17 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 01:14:17 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 01:14:17 total 16 01:14:17 drwxr-xr-x 3 root root 4096 Aug 12 01:03 . 01:14:17 drwxrwxr-x 11 jenkins jenkins 4096 Aug 12 01:14 .. 01:14:17 drwxr-xr-x 2 root root 4096 Aug 12 01:03 cost 01:14:17 -rw-r--r-- 1 root root 90 Aug 12 01:03 cost.csv 01:14:17 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 01:14:17 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 01:14:17 total 16 01:14:17 drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 01:03 . 01:14:17 drwxrwxr-x 11 jenkins jenkins 4096 Aug 12 01:14 .. 01:14:17 drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 01:03 cost 01:14:17 -rw-r--r-- 1 jenkins jenkins 90 Aug 12 01:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:14:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:14:18 ---> package-listing.sh 01:14:18 ++ facter osfamily 01:14:18 ++ tr '[:upper:]' '[:lower:]' 01:14:18 + OS_FAMILY=debian 01:14:18 + workspace=/w/workspace/foundry_device-onvif-camera_main 01:14:18 + START_PACKAGES=/tmp/packages_start.txt 01:14:18 + END_PACKAGES=/tmp/packages_end.txt 01:14:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:14:18 + PACKAGES=/tmp/packages_start.txt 01:14:18 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 01:14:18 + PACKAGES=/tmp/packages_end.txt 01:14:18 + case "${OS_FAMILY}" in 01:14:18 + dpkg -l 01:14:18 + grep '^ii' 01:14:18 + '[' -f /tmp/packages_start.txt ']' 01:14:18 + '[' -f /tmp/packages_end.txt ']' 01:14:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:14:18 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 01:14:18 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 01:14:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 01:14:18 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 01:14:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:14:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:19 prd-ubuntu20.04-docker-8c-8g-22552 does not seem to be running inside a container 01:14:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:14:19 $ docker top d78657e74683a83faaff6e0125243f4f1ef3f7332c56993e822ffc02041bac6c -eo pid,comm [Pipeline] { [Pipeline] sh 01:14:20 + touch /tmp/pre-build-complete [Pipeline] sh 01:14:20 + mkdir -p /var/log/sysstat [Pipeline] sh 01:14:20 + ls /var/log/sa-host 01:14:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:14:20 provisioning config files... 01:14:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1311950301412736699tmp [Pipeline] { [Pipeline] echo 01:14:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:14:21 ---> create-netrc.sh [Pipeline] } 01:14:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:14:21 ---> python-tools-install.sh [Pipeline] echo 01:14:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:14:21 ---> sudo-logs.sh 01:14:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:14:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:14:22 ---> job-cost.sh 01:14:22 lf-activate-venv: SKIPPING 01:14:22 DEBUG: total: 0.2199999988079071 01:14:22 INFO: Retrieving Stack Cost... 01:14:22 INFO: Retrieving Pricing Info for: v3-standard-8 01:14:22 INFO: Archiving Costs [Pipeline] echo 01:14:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:14:23 ---> logs-deploy.sh 01:14:23 lf-activate-venv: SKIPPING 01:14:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/45 01:14:23 INFO: archiving workspace using pattern(s): 01:14:24 Archives upload complete. 01:14:24 INFO: archiving logs to Nexus