Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 59a7980d54f1ac3c06c7b0a6ba74086551540c0b 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-ssh1284598087439448148.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-ssh870643195202681299.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-ssh14181158627775560735.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-ssh8435015381372448207.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-ssh9770326872767115956.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-22434’ Running on prd-ubuntu20.04-docker-8c-8g-22438 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 59a7980d54f1ac3c06c7b0a6ba74086551540c0b (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 59a7980d54f1ac3c06c7b0a6ba74086551540c0b # timeout=10 Commit message: "docs: publish swagger files, update swagger readme (#130)" > git rev-list --no-walk 9690a387ca2387b5643c1a6ebb388f5bbc0ad3b0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:13:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:13:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:13:07 ========================================================= 19:13:07 EdgeX Global Pipelines Version Info 19:13:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:13:07 ------------------- 19:13:07 stable info: 19:13:07 ------------------- 19:13:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:13:07 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 19:13:07 Message: update stable to v1.0.238 19:13:08 ------------------- 19:13:08 experimental info: 19:13:08 ------------------- 19:13:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:13:08 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 19:13:08 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:13:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:13:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:13:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:13:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:13:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:13:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:13:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:13:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 59a7980d54f1ac3c06c7b0a6ba74086551540c0b [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 59a7980 [Pipeline] echo 19:13:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:13:09 provisioning config files... 19:13:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6853911629659251113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:13:09 ---> docker-login.sh 19:13:09 nexus3.edgexfoundry.org:10001 19:13:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:09 Configure a credential helper to remove this warning. See 19:13:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:09 19:13:09 Login Succeeded 19:13:09 nexus3.edgexfoundry.org:10002 19:13:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:10 Configure a credential helper to remove this warning. See 19:13:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:10 19:13:10 Login Succeeded 19:13:10 nexus3.edgexfoundry.org:10003 19:13:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:10 Configure a credential helper to remove this warning. See 19:13:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:10 19:13:10 Login Succeeded 19:13:10 nexus3.edgexfoundry.org:10004 19:13:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:10 Configure a credential helper to remove this warning. See 19:13:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:10 19:13:10 Login Succeeded 19:13:10 docker.io 19:13:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:10 Configure a credential helper to remove this warning. See 19:13:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:10 19:13:10 Login Succeeded 19:13:10 ---> docker-login.sh ends [Pipeline] } 19:13:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:13:11 + git rev-list -1 --merges 59a7980d54f1ac3c06c7b0a6ba74086551540c0b~1..59a7980d54f1ac3c06c7b0a6ba74086551540c0b [Pipeline] echo 19:13:11 -----------> git rev-list -1 --merges 59a7980d54f1ac3c06c7b0a6ba74086551540c0b~1..59a7980d54f1ac3c06c7b0a6ba74086551540c0b 59a7980d54f1ac3c06c7b0a6ba74086551540c0b [false] [Pipeline] sh 19:13:11 + git log --format=format:%s -1 59a7980d54f1ac3c06c7b0a6ba74086551540c0b [Pipeline] echo 19:13:11 ========================================================= 19:13:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:13:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:13:12 + git log --format=format:%s -1 59a7980d54f1ac3c06c7b0a6ba74086551540c0b [Pipeline] echo 19:13:12 [semverPrep] GIT_COMMIT: 59a7980d54f1ac3c06c7b0a6ba74086551540c0b, Commit Message: docs: publish swagger files, update swagger readme (#130) [Pipeline] echo 19:13:12 [semverPrep] This is not a build commit. [Pipeline] sh 19:13:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:13:12 + grep -v github /etc/ssh/ssh_known_hosts 19:13:12 + [ -e /tmp/ssh_known_hosts ] 19:13:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:13:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:13:12 + sudo tee -a /etc/ssh/ssh_known_hosts 19:13:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:13:12 19:13:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:13:13 0.1.4: Pulling from edgex-devops/py-git-semver 19:13:13 b85a868b505f: Pulling fs layer 19:13:13 e2be974225ed: Pulling fs layer 19:13:13 339a4e72a1f5: Pulling fs layer 19:13:13 988bab9f4d93: Pulling fs layer 19:13:13 1469e6f7b9e6: Pulling fs layer 19:13:13 eaf3925da568: Pulling fs layer 19:13:13 bab4dde63d76: Pulling fs layer 19:13:13 bde34c3a00c8: Pulling fs layer 19:13:13 b352a97aabf1: Pulling fs layer 19:13:13 4872d77fe225: Pulling fs layer 19:13:13 5851b861e8e6: Pulling fs layer 19:13:13 4872d77fe225: Waiting 19:13:13 bab4dde63d76: Waiting 19:13:13 bde34c3a00c8: Waiting 19:13:13 b352a97aabf1: Waiting 19:13:13 5851b861e8e6: Waiting 19:13:13 1469e6f7b9e6: Waiting 19:13:13 eaf3925da568: Waiting 19:13:13 988bab9f4d93: Waiting 19:13:13 e2be974225ed: Verifying Checksum 19:13:13 e2be974225ed: Download complete 19:13:13 988bab9f4d93: Download complete 19:13:13 1469e6f7b9e6: Verifying Checksum 19:13:13 1469e6f7b9e6: Download complete 19:13:13 339a4e72a1f5: Verifying Checksum 19:13:13 339a4e72a1f5: Download complete 19:13:13 eaf3925da568: Download complete 19:13:13 bde34c3a00c8: Verifying Checksum 19:13:13 b352a97aabf1: Download complete 19:13:13 4872d77fe225: Verifying Checksum 19:13:13 4872d77fe225: Download complete 19:13:13 5851b861e8e6: Download complete 19:13:13 b85a868b505f: Verifying Checksum 19:13:13 b85a868b505f: Download complete 19:13:13 bab4dde63d76: Verifying Checksum 19:13:13 bab4dde63d76: Download complete 19:13:14 b85a868b505f: Pull complete 19:13:14 e2be974225ed: Pull complete 19:13:15 339a4e72a1f5: Pull complete 19:13:15 988bab9f4d93: Pull complete 19:13:16 1469e6f7b9e6: Pull complete 19:13:16 eaf3925da568: Pull complete 19:13:18 bab4dde63d76: Pull complete 19:13:18 bde34c3a00c8: Pull complete 19:13:18 b352a97aabf1: Pull complete 19:13:18 4872d77fe225: Pull complete 19:13:18 5851b861e8e6: Pull complete 19:13:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:13:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:13:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:13:18 prd-ubuntu20.04-docker-8c-8g-22438 does not seem to be running inside a container 19:13:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:13:20 $ docker top 87c7001f17a267594620bb446f2644dd96ca92e28f6fe5755a4c995793feafb0 -eo pid,comm 19:13:20 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). 19:13:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:13:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:13:20 [ssh-agent] Looking for ssh-agent implementation... 19:13:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:13:20 $ docker exec 87c7001f17a267594620bb446f2644dd96ca92e28f6fe5755a4c995793feafb0 ssh-agent 19:13:20 SSH_AUTH_SOCK=/tmp/ssh-y8l8PVOVWiGK/agent.33 19:13:20 SSH_AGENT_PID=40 19:13:20 Running ssh-add (command line suppressed) 19:13:20 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4647816277851284884.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4647816277851284884.key) 19:13:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:13:21 + git tag --points-at HEAD [Pipeline] } 19:13:21 $ docker exec --env ******** --env ******** 87c7001f17a267594620bb446f2644dd96ca92e28f6fe5755a4c995793feafb0 ssh-agent -k 19:13:21 unset SSH_AUTH_SOCK; 19:13:21 unset SSH_AGENT_PID; 19:13:21 echo Agent pid 40 killed; 19:13:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:13:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:13:21 [ssh-agent] Looking for ssh-agent implementation... 19:13:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:13:21 $ docker exec 87c7001f17a267594620bb446f2644dd96ca92e28f6fe5755a4c995793feafb0 ssh-agent 19:13:21 SSH_AUTH_SOCK=/tmp/ssh-aLkaz6qFxNRW/agent.74 19:13:21 SSH_AGENT_PID=80 19:13:21 Running ssh-add (command line suppressed) 19:13:21 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3146648716393357299.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3146648716393357299.key) 19:13:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:13:22 + git semver init 19:13:22 2022-08-10 19:13:22,232 [run_init] DEBUG init version:0.0.0 force:False 19:13:22 2022-08-10 19:13:22,232 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 19:13:22 2022-08-10 19:13:22,233 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 19:13:22 2022-08-10 19:13:22,233 [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) 19:13:23 2022-08-10 19:13:23,035 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 19:13:23 2022-08-10 19:13:23,035 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 19:13:23 2022-08-10 19:13:23,036 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:13:23 2022-08-10 19:13:23,036 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:13:23 2.3.0-dev.5 [Pipeline] } 19:13:23 $ docker exec --env ******** --env ******** 87c7001f17a267594620bb446f2644dd96ca92e28f6fe5755a4c995793feafb0 ssh-agent -k 19:13:23 unset SSH_AUTH_SOCK; 19:13:23 unset SSH_AGENT_PID; 19:13:23 echo Agent pid 80 killed; 19:13:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:13:23 + git semver [Pipeline] } 19:13:23 $ docker stop --time=1 87c7001f17a267594620bb446f2644dd96ca92e28f6fe5755a4c995793feafb0 19:13:25 $ docker rm -f 87c7001f17a267594620bb446f2644dd96ca92e28f6fe5755a4c995793feafb0 [Pipeline] // withDockerContainer [Pipeline] sh 19:13:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:13:25 Stashed 1 file(s) [Pipeline] echo 19:13:25 [edgeXSemver]: initialized semver on version 2.3.0-dev.5 [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 19:13:26 provisioning config files... 19:13:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7453926507111884860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:13:26 ---> docker-login.sh 19:13:26 nexus3.edgexfoundry.org:10001 19:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:26 Configure a credential helper to remove this warning. See 19:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:26 19:13:26 Login Succeeded 19:13:26 nexus3.edgexfoundry.org:10002 19:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:26 Configure a credential helper to remove this warning. See 19:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:26 19:13:26 Login Succeeded 19:13:26 nexus3.edgexfoundry.org:10003 19:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:26 Configure a credential helper to remove this warning. See 19:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:26 19:13:26 Login Succeeded 19:13:26 nexus3.edgexfoundry.org:10004 19:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:26 Configure a credential helper to remove this warning. See 19:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:26 19:13:26 Login Succeeded 19:13:26 docker.io 19:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:13:27 Configure a credential helper to remove this warning. See 19:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:13:27 19:13:27 Login Succeeded 19:13:27 ---> docker-login.sh ends [Pipeline] } 19:13:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:13:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:13:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:13:27 ========================================================= 19:13:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:13:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:27 + 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 . 19:13:27 Sending build context to Docker daemon 20.45MB 19:13:27 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 19:13:27 Step 2/13 : FROM ${BASE} AS builder 19:13:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:13:28 2408cc74d12b: Pulling fs layer 19:13:28 ea60b727a1ce: Pulling fs layer 19:13:28 30c4a7721957: Pulling fs layer 19:13:28 370296b7ddb6: Pulling fs layer 19:13:28 7c6cee850709: Pulling fs layer 19:13:28 39a5fcdaea64: Pulling fs layer 19:13:28 d94ebbe4e438: Pulling fs layer 19:13:28 bcfd1f05c69d: Pulling fs layer 19:13:28 59ccb84bbe0f: Pulling fs layer 19:13:28 bcfd1f05c69d: Waiting 19:13:28 39a5fcdaea64: Waiting 19:13:28 59ccb84bbe0f: Waiting 19:13:28 370296b7ddb6: Waiting 19:13:28 d94ebbe4e438: Waiting 19:13:28 30c4a7721957: Verifying Checksum 19:13:28 30c4a7721957: Download complete 19:13:28 ea60b727a1ce: Verifying Checksum 19:13:28 ea60b727a1ce: Download complete 19:13:28 7c6cee850709: Verifying Checksum 19:13:28 7c6cee850709: Download complete 19:13:28 39a5fcdaea64: Verifying Checksum 19:13:28 39a5fcdaea64: Download complete 19:13:28 2408cc74d12b: Verifying Checksum 19:13:28 2408cc74d12b: Download complete 19:13:28 d94ebbe4e438: Download complete 19:13:28 2408cc74d12b: Pull complete 19:13:28 ea60b727a1ce: Pull complete 19:13:28 30c4a7721957: Pull complete 19:13:28 59ccb84bbe0f: Verifying Checksum 19:13:28 59ccb84bbe0f: Download complete 19:13:28 bcfd1f05c69d: Verifying Checksum 19:13:28 bcfd1f05c69d: Download complete 19:13:28 370296b7ddb6: Verifying Checksum 19:13:28 370296b7ddb6: Download complete 19:13:34 370296b7ddb6: Pull complete 19:13:34 7c6cee850709: Pull complete 19:13:34 39a5fcdaea64: Pull complete 19:13:34 d94ebbe4e438: Pull complete 19:13:36 bcfd1f05c69d: Pull complete 19:13:36 59ccb84bbe0f: Pull complete 19:13:36 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 19:13:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:13:36 ---> a4fb48ad2a94 19:13:36 Step 3/13 : ARG MAKE="make build" 19:13:38 ---> Running in 3e4bdc213932 19:13:38 Removing intermediate container 3e4bdc213932 19:13:38 ---> 3fa883d46864 19:13:38 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:13:38 ---> Running in 43684cf80b89 19:13:38 Removing intermediate container 43684cf80b89 19:13:38 ---> af3c5a92f573 19:13:38 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 19:13:38 ---> Running in 550e5abd2fe2 19:13:39 Removing intermediate container 550e5abd2fe2 19:13:39 ---> 6f773747759a 19:13:39 Step 6/13 : LABEL Name=edgex-device-onvif-camera 19:13:39 ---> Running in 9897f33c0ad9 19:13:39 Removing intermediate container 9897f33c0ad9 19:13:39 ---> bb184384ad2a 19:13:39 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:13:39 ---> Running in a47015219bc9 19:13:39 Removing intermediate container a47015219bc9 19:13:39 ---> e3b34c32d28f 19:13:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:13:39 ---> Running in 05e9a95d5d29 19:13:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:13:41 Still waiting to schedule task 19:13:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22435’ 19:13:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:13:41 OK: 211 MiB in 51 packages 19:13:41 Removing intermediate container 05e9a95d5d29 19:13:41 ---> 18976e17805a 19:13:41 Step 9/13 : WORKDIR /device-onvif-camera 19:13:41 ---> Running in c3c5728353a6 19:13:41 Removing intermediate container c3c5728353a6 19:13:41 ---> c6d1691f8480 19:13:41 Step 10/13 : COPY go.mod vendor* ./ 19:13:41 ---> fba47351bf9c 19:13:41 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:13:42 ---> Running in ded2a3ef097b 19:14:00 Removing intermediate container ded2a3ef097b 19:14:00 ---> 8a7191c294ee 19:14:00 Step 12/13 : COPY . . 19:14:00 ---> d9fc58dac96e 19:14:00 Step 13/13 : RUN ${MAKE} 19:14:00 ---> Running in e96a8dbc5778 19:14:00 noop 19:14:01 Removing intermediate container e96a8dbc5778 19:14:01 ---> 3d82e913f2b0 19:14:01 Successfully built 3d82e913f2b0 19:14:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:01 + docker inspect -f . ci-base-image-x86_64 19:14:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:14:01 prd-ubuntu20.04-docker-8c-8g-22438 does not seem to be running inside a container 19:14:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:14:02 $ docker top fd5edd0eb98688a5237c304cb3deea6c0e45c754dee60e3daf81b38980f5f311 -eo pid,comm [Pipeline] { [Pipeline] sh 19:14:02 + go version 19:14:02 go version go1.18.3 linux/amd64 [Pipeline] } 19:14:02 $ docker stop --time=1 fd5edd0eb98688a5237c304cb3deea6c0e45c754dee60e3daf81b38980f5f311 19:14:03 $ docker rm -f fd5edd0eb98688a5237c304cb3deea6c0e45c754dee60e3daf81b38980f5f311 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:04 + docker inspect -f . ci-base-image-x86_64 19:14:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:14:04 prd-ubuntu20.04-docker-8c-8g-22438 does not seem to be running inside a container 19:14:04 $ 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 ******** -e ******** ci-base-image-x86_64 cat 19:14:04 $ docker top 1fcf4ba9d41401d6f4bedde3d5e063fc905ab6956403eb7080c70240e30dde45 -eo pid,comm [Pipeline] { [Pipeline] sh 19:14:05 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 19:14:05 + make test 19:14:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:14:05 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:14:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:14:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.029s coverage: 10.6% of statements 19:14:18 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:14:21 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.999s coverage: 13.8% of statements 19:14:29 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." 19:14:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:14:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:14:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:14:33 ./bin/test-attribution-txt.sh [Pipeline] echo 19:14:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:14:33 $ docker stop --time=1 1fcf4ba9d41401d6f4bedde3d5e063fc905ab6956403eb7080c70240e30dde45 19:14:35 $ docker rm -f 1fcf4ba9d41401d6f4bedde3d5e063fc905ab6956403eb7080c70240e30dde45 [Pipeline] // withDockerContainer [Pipeline] sh 19:14:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:14:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:14:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:14:36 + ls -al . 19:14:36 total 232 19:14:36 drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 19:14 . 19:14:36 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 19:13 .. 19:14:36 drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 19:14 .git 19:14:36 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 19:13 .github 19:14:36 -rw-rw-r-- 1 jenkins jenkins 418 Aug 10 19:13 .gitignore 19:14:36 -rw-rw-r-- 1 jenkins jenkins 42 Aug 10 19:13 .golangci.yml 19:14:36 drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 19:13 .semver 19:14:36 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 10 19:13 Attribution.txt 19:14:36 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 10 19:13 CHANGELOG.md 19:14:36 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 10 19:13 Dockerfile 19:14:36 -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 19:13 GOVERNANCE.md 19:14:36 -rw-rw-r-- 1 jenkins jenkins 734 Aug 10 19:13 Jenkinsfile 19:14:36 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 10 19:13 LICENSE 19:14:36 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 10 19:13 Makefile 19:14:36 -rw-rw-r-- 1 jenkins jenkins 625 Aug 10 19:13 OWNERS.md 19:14:36 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 10 19:13 README.md 19:14:36 -rw-rw-r-- 1 jenkins jenkins 11 Aug 10 19:13 VERSION 19:14:36 drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 19:13 bin 19:14:36 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 19:13 cmd 19:14:36 -rw-r--r-- 1 jenkins jenkins 76856 Aug 10 19:14 coverage.out 19:14:36 drwxrwxr-x 6 jenkins jenkins 4096 Aug 10 19:13 doc 19:14:36 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 10 19:13 go.mod 19:14:36 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 10 19:13 go.sum 19:14:36 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 19:13 internal 19:14:36 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 19:13 snap 19:14:36 -rw-rw-r-- 1 jenkins jenkins 236 Aug 10 19:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:37 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=59a7980d54f1ac3c06c7b0a6ba74086551540c0b --label arch=amd64 --label version=2.3.0-dev.5 . 19:14:37 Sending build context to Docker daemon 20.53MB 19:14:37 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 19:14:37 Step 2/26 : FROM ${BASE} AS builder 19:14:37 ---> 3d82e913f2b0 19:14:37 Step 3/26 : ARG MAKE="make build" 19:14:37 ---> Running in dc3ef1993576 19:14:37 Removing intermediate container dc3ef1993576 19:14:37 ---> 5629bfaa6e2b 19:14:37 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:14:37 ---> Running in 6ae8fd65a429 19:14:37 Removing intermediate container 6ae8fd65a429 19:14:37 ---> 29862a34b719 19:14:37 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 19:14:37 ---> Running in af960aff3796 19:14:37 Removing intermediate container af960aff3796 19:14:37 ---> fcfb28da072b 19:14:37 Step 6/26 : LABEL Name=edgex-device-onvif-camera 19:14:37 ---> Running in 70b7aa80da39 19:14:38 Removing intermediate container 70b7aa80da39 19:14:38 ---> baac04704715 19:14:38 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:14:38 ---> Running in c4d1043b7002 19:14:38 Removing intermediate container c4d1043b7002 19:14:38 ---> c856790601e1 19:14:38 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:14:38 ---> Running in fdeaade2a1e1 19:14:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:14:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:14:40 OK: 211 MiB in 51 packages 19:14:40 Removing intermediate container fdeaade2a1e1 19:14:40 ---> f86aa6faf68f 19:14:40 Step 9/26 : WORKDIR /device-onvif-camera 19:14:40 ---> Running in ef3bf2b4ef3e 19:14:40 Removing intermediate container ef3bf2b4ef3e 19:14:40 ---> 05e64461adfe 19:14:40 Step 10/26 : COPY go.mod vendor* ./ 19:14:40 ---> c95fde27789f 19:14:40 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:14:40 ---> Running in 74bd4996ec34 19:14:41 Removing intermediate container 74bd4996ec34 19:14:41 ---> 1aeec9adc4a0 19:14:41 Step 12/26 : COPY . . 19:14:42 ---> 95d863003484 19:14:42 Step 13/26 : RUN ${MAKE} 19:14:42 ---> Running in bed3b3508823 19:14:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.5 -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 19:15:04 Removing intermediate container bed3b3508823 19:15:04 ---> 7c3172ece0b9 19:15:04 Step 14/26 : FROM alpine:3.16 19:15:04 3.16: Pulling from library/alpine 19:15:05 213ec9aee27d: Pulling fs layer 19:15:05 213ec9aee27d: Verifying Checksum 19:15:05 213ec9aee27d: Download complete 19:15:05 213ec9aee27d: Pull complete 19:15:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:15:05 Status: Downloaded newer image for alpine:3.16 19:15:05 ---> 9c6f07244728 19:15:05 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:15:05 ---> Running in 9538a33ed2cc 19:15:05 Removing intermediate container 9538a33ed2cc 19:15:05 ---> b00a0ab9be5f 19:15:05 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 19:15:05 ---> Running in fcb1313186e2 19:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:15:06 (1/6) Installing dumb-init (1.2.5-r1) 19:15:06 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:15:06 (3/6) Installing libsodium (1.0.18-r0) 19:15:06 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:15:06 (5/6) Installing libzmq (4.3.4-r0) 19:15:06 (6/6) Installing zeromq (4.3.4-r0) 19:15:06 Executing busybox-1.35.0-r17.trigger 19:15:06 OK: 8 MiB in 20 packages 19:15:06 Removing intermediate container fcb1313186e2 19:15:06 ---> 365e3eab5449 19:15:06 Step 17/26 : WORKDIR / 19:15:06 ---> Running in 0fe71d687098 19:15:06 Removing intermediate container 0fe71d687098 19:15:06 ---> 903aaa776281 19:15:06 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:15:07 ---> 57c9efe86550 19:15:07 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:15:07 ---> 8c162951884a 19:15:07 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:15:07 ---> 72a691e1400f 19:15:07 Step 21/26 : EXPOSE 59984 19:15:07 ---> Running in 40bfc418f21b 19:15:07 Removing intermediate container 40bfc418f21b 19:15:07 ---> 5cdbacb99d57 19:15:07 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:15:07 ---> Running in acd6ef13cb20 19:15:07 Removing intermediate container acd6ef13cb20 19:15:07 ---> 24dbe681a820 19:15:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:15:07 ---> Running in 1c934f92cddb 19:15:08 Removing intermediate container 1c934f92cddb 19:15:08 ---> c7631517f2f9 19:15:08 Step 24/26 : LABEL arch=amd64 19:15:08 ---> Running in 66927e446d26 19:15:08 Removing intermediate container 66927e446d26 19:15:08 ---> eaeff04fb896 19:15:08 Step 25/26 : LABEL git_sha=59a7980d54f1ac3c06c7b0a6ba74086551540c0b 19:15:08 ---> Running in 3ee5809dba99 19:15:08 Removing intermediate container 3ee5809dba99 19:15:08 ---> 3e407132515d 19:15:08 Step 26/26 : LABEL version=2.3.0-dev.5 19:15:08 ---> Running in 2d126eb1bef3 19:15:08 Removing intermediate container 2d126eb1bef3 19:15:08 ---> f4b53ec778c9 19:15:08 [Warning] One or more build-args [ARCH] were not consumed 19:15:08 Successfully built f4b53ec778c9 19:15:08 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 19:15:08 provisioning config files... 19:15:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2065183422184256763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:15:08 ---> docker-login.sh 19:15:08 nexus3.edgexfoundry.org:10001 19:15:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:08 Configure a credential helper to remove this warning. See 19:15:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:08 19:15:08 Login Succeeded 19:15:08 nexus3.edgexfoundry.org:10002 19:15:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:09 Configure a credential helper to remove this warning. See 19:15:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:09 19:15:09 Login Succeeded 19:15:09 nexus3.edgexfoundry.org:10003 19:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:09 Configure a credential helper to remove this warning. See 19:15:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:09 19:15:09 Login Succeeded 19:15:09 nexus3.edgexfoundry.org:10004 19:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:09 Configure a credential helper to remove this warning. See 19:15:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:09 19:15:09 Login Succeeded 19:15:09 docker.io 19:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:15:09 Configure a credential helper to remove this warning. See 19:15:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:15:09 19:15:09 Login Succeeded 19:15:09 ---> docker-login.sh ends [Pipeline] } 19:15:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:15:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:15:09 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 19:15:09 59a7980d54f1ac3c06c7b0a6ba74086551540c0b 19:15:09 latest 19:15:09 2.3.0-dev.5 19:15:09 59a7980d54f1ac3c06c7b0a6ba74086551540c0b-2.3.0-dev.5 19:15:09 main 19:15:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:10 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:59a7980d54f1ac3c06c7b0a6ba74086551540c0b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:10 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:59a7980d54f1ac3c06c7b0a6ba74086551540c0b 19:15:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:15:10 4fdb2f6400fe: Preparing 19:15:10 97b14323abc4: Preparing 19:15:10 d4f5fa28b3a1: Preparing 19:15:10 a4ab48497c12: Preparing 19:15:10 994393dc58e7: Preparing 19:15:10 994393dc58e7: Layer already exists 19:15:10 4fdb2f6400fe: Pushed 19:15:10 97b14323abc4: Pushed 19:15:10 a4ab48497c12: Pushed 19:15:13 d4f5fa28b3a1: Pushed 19:15:13 59a7980d54f1ac3c06c7b0a6ba74086551540c0b: digest: sha256:ccebbdac1f90095407d5b9defa9425b9af0e5bb2de7c1170750245d2b9430bf5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:13 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 19:15:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:15:13 4fdb2f6400fe: Preparing 19:15:13 97b14323abc4: Preparing 19:15:13 d4f5fa28b3a1: Preparing 19:15:13 a4ab48497c12: Preparing 19:15:13 994393dc58e7: Preparing 19:15:13 97b14323abc4: Layer already exists 19:15:13 994393dc58e7: Layer already exists 19:15:13 4fdb2f6400fe: Layer already exists 19:15:13 d4f5fa28b3a1: Layer already exists 19:15:13 a4ab48497c12: Layer already exists 19:15:13 latest: digest: sha256:ccebbdac1f90095407d5b9defa9425b9af0e5bb2de7c1170750245d2b9430bf5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:14 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.5 19:15:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:15:14 4fdb2f6400fe: Preparing 19:15:14 97b14323abc4: Preparing 19:15:14 d4f5fa28b3a1: Preparing 19:15:14 a4ab48497c12: Preparing 19:15:14 994393dc58e7: Preparing 19:15:14 a4ab48497c12: Layer already exists 19:15:14 4fdb2f6400fe: Layer already exists 19:15:14 994393dc58e7: Layer already exists 19:15:14 97b14323abc4: Layer already exists 19:15:14 d4f5fa28b3a1: Layer already exists 19:15:14 2.3.0-dev.5: digest: sha256:ccebbdac1f90095407d5b9defa9425b9af0e5bb2de7c1170750245d2b9430bf5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:14 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:59a7980d54f1ac3c06c7b0a6ba74086551540c0b-2.3.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:59a7980d54f1ac3c06c7b0a6ba74086551540c0b-2.3.0-dev.5 19:15:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:15:15 4fdb2f6400fe: Preparing 19:15:15 97b14323abc4: Preparing 19:15:15 d4f5fa28b3a1: Preparing 19:15:15 a4ab48497c12: Preparing 19:15:15 994393dc58e7: Preparing 19:15:15 97b14323abc4: Layer already exists 19:15:15 4fdb2f6400fe: Layer already exists 19:15:15 d4f5fa28b3a1: Layer already exists 19:15:15 994393dc58e7: Layer already exists 19:15:15 a4ab48497c12: Layer already exists 19:15:15 59a7980d54f1ac3c06c7b0a6ba74086551540c0b-2.3.0-dev.5: digest: sha256:ccebbdac1f90095407d5b9defa9425b9af0e5bb2de7c1170750245d2b9430bf5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:15 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 19:15:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:15:15 4fdb2f6400fe: Preparing 19:15:15 97b14323abc4: Preparing 19:15:15 d4f5fa28b3a1: Preparing 19:15:15 a4ab48497c12: Preparing 19:15:15 994393dc58e7: Preparing 19:15:15 d4f5fa28b3a1: Layer already exists 19:15:15 97b14323abc4: Layer already exists 19:15:15 994393dc58e7: Layer already exists 19:15:15 a4ab48497c12: Layer already exists 19:15:15 4fdb2f6400fe: Layer already exists 19:15:15 main: digest: sha256:ccebbdac1f90095407d5b9defa9425b9af0e5bb2de7c1170750245d2b9430bf5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:15:15 ===================================================== [Pipeline] echo 19:15:15 taggedImages: 19:15:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera:59a7980d54f1ac3c06c7b0a6ba74086551540c0b 19:15:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 19:15:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.5 19:15:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera:59a7980d54f1ac3c06c7b0a6ba74086551540c0b-2.3.0-dev.5 19:15:15 - 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 19:15:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:15:16 19:15:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:15:16 latest: Pulling from edgex-lftools-log-publisher 19:15:16 5eb5b503b376: Pulling fs layer 19:15:16 5c69ac0246d0: Pulling fs layer 19:15:16 ec43610c2a17: Pulling fs layer 19:15:16 3a2ae6a8a46f: Pulling fs layer 19:15:16 33b1e0a273af: Pulling fs layer 19:15:16 5d3b04190fa2: Pulling fs layer 19:15:16 3a2ae6a8a46f: Waiting 19:15:16 2f39f015ded8: Pulling fs layer 19:15:16 2f39f015ded8: Waiting 19:15:16 5d3b04190fa2: Waiting 19:15:16 33b1e0a273af: Waiting 19:15:16 3a2ae6a8a46f: Verifying Checksum 19:15:16 3a2ae6a8a46f: Download complete 19:15:16 ec43610c2a17: Verifying Checksum 19:15:16 ec43610c2a17: Download complete 19:15:16 33b1e0a273af: Verifying Checksum 19:15:16 33b1e0a273af: Download complete 19:15:16 5d3b04190fa2: Verifying Checksum 19:15:16 5d3b04190fa2: Download complete 19:15:16 5eb5b503b376: Verifying Checksum 19:15:16 5eb5b503b376: Download complete 19:15:17 2f39f015ded8: Download complete 19:15:18 5eb5b503b376: Pull complete 19:15:18 5c69ac0246d0: Pull complete 19:15:18 ec43610c2a17: Pull complete 19:15:18 3a2ae6a8a46f: Pull complete 19:15:19 33b1e0a273af: Pull complete 19:15:19 5d3b04190fa2: Pull complete 19:15:24 2f39f015ded8: Pull complete 19:15:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:15:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:15:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:15:24 prd-ubuntu20.04-docker-8c-8g-22438 does not seem to be running inside a container 19:15:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:15:26 $ docker top 7344e62ad0bd60236fa568892fcc07b4e44d9fccf9f02e25132c2744fef0be89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:15:26 ---> job-cost.sh 19:15:26 lf-activate-venv: SKIPPING 19:15:26 INFO: No Stack... 19:15:27 INFO: Retrieving Pricing Info for: v3-standard-8 19:15:27 INFO: Archiving Costs [Pipeline] sh 19:15:28 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 19:15:28 + cut -d, -f6 [Pipeline] lock 19:15:28 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-44-stack-cost] 19:15:28 Resource [jenkins-edgexfoundry-device-onvif-camera-main-44-stack-cost] did not exist. Created. 19:15:28 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:15:28 + echo total: 0.2199999988079071 [Pipeline] stash 19:15:28 Stashed 1 file(s) [Pipeline] } 19:15:28 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-44-stack-cost] [Pipeline] // lock [Pipeline] } 19:15:28 $ docker stop --time=1 7344e62ad0bd60236fa568892fcc07b4e44d9fccf9f02e25132c2744fef0be89 19:15:29 $ docker rm -f 7344e62ad0bd60236fa568892fcc07b4e44d9fccf9f02e25132c2744fef0be89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:17:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22440 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 19:17:22 Running in /w/workspace/device-onvif-camera/44 [Pipeline] { [Pipeline] checkout 19:17:22 Selected Git installation does not exist. Using Default 19:17:22 The recommended git tool is: NONE 19:17:29 using credential edgex-jenkins-ssh 19:17:29 Cloning the remote Git repository 19:17:29 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:17:30 > git init /w/workspace/device-onvif-camera/44 # timeout=10 19:17:30 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:17:30 > git --version # timeout=10 19:17:30 > git --version # 'git version 2.25.1' 19:17:30 using GIT_SSH to set credentials SSH Credentials for GitHub 19:17:31 Avoid second fetch 19:17:31 Checking out Revision 59a7980d54f1ac3c06c7b0a6ba74086551540c0b (main) 19:17:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:17:31 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:17:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:17:31 > git config core.sparsecheckout # timeout=10 19:17:31 > git checkout -f 59a7980d54f1ac3c06c7b0a6ba74086551540c0b # timeout=10 19:17:36 Commit message: "docs: publish swagger files, update swagger readme (#130)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:17:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:17:36 % Total % Received % Xferd Average Speed Time Time Time Current 19:17:36 Dload Upload Total Spent Left Speed 19:17:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 78547 0 --:--:-- --:--:-- --:--:-- 78547 [Pipeline] sh 19:17:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:17:37 + sudo tee /etc/docker/daemon.new 19:17:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:17:37 { 19:17:37 "registry-mirrors": [ 19:17:37 "https://nexus3.edgexfoundry.org:10001" 19:17:37 ], 19:17:37 "bip": "10.250.0.254/24", 19:17:37 "hosts": [ 19:17:37 "tcp://0.0.0.0:5555", 19:17:37 "unix:///var/run/docker.sock" 19:17:37 ], 19:17:37 "mtu": 1458, 19:17:37 "selinux-enabled": true, 19:17:37 "seccomp-profile": "/etc/docker/seccomp.json" 19:17:37 } [Pipeline] sh 19:17:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:17:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:17:57 provisioning config files... 19:17:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/44@tmp/config3537872881897784816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:17:57 ---> docker-login.sh 19:17:57 nexus3.edgexfoundry.org:10001 19:17:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:58 Configure a credential helper to remove this warning. See 19:17:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:58 19:17:58 Login Succeeded 19:17:58 nexus3.edgexfoundry.org:10002 19:17:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:58 Configure a credential helper to remove this warning. See 19:17:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:58 19:17:58 Login Succeeded 19:17:58 nexus3.edgexfoundry.org:10003 19:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:59 Configure a credential helper to remove this warning. See 19:17:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:59 19:17:59 Login Succeeded 19:17:59 nexus3.edgexfoundry.org:10004 19:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:00 Configure a credential helper to remove this warning. See 19:18:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:00 19:18:00 Login Succeeded 19:18:00 docker.io 19:18:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:00 Configure a credential helper to remove this warning. See 19:18:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:00 19:18:00 Login Succeeded 19:18:00 ---> docker-login.sh ends [Pipeline] } 19:18:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:18:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:18:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:18:01 ========================================================= 19:18:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:18:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:01 + 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 . 19:18:02 Sending build context to Docker daemon 14MB 19:18:02 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 19:18:02 Step 2/13 : FROM ${BASE} AS builder 19:18:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:18:02 b3c136eddcbf: Pulling fs layer 19:18:02 c0a3192eca97: Pulling fs layer 19:18:02 a050256f5b6f: Pulling fs layer 19:18:02 656be50a0ddc: Pulling fs layer 19:18:02 2bbca73fdf42: Pulling fs layer 19:18:02 656be50a0ddc: Waiting 19:18:02 46d945488cbd: Pulling fs layer 19:18:02 8a5474983e97: Pulling fs layer 19:18:02 329c88fbcd65: Pulling fs layer 19:18:02 2bbca73fdf42: Waiting 19:18:02 8a5474983e97: Waiting 19:18:02 46d945488cbd: Waiting 19:18:02 a050256f5b6f: Verifying Checksum 19:18:02 a050256f5b6f: Download complete 19:18:02 c0a3192eca97: Verifying Checksum 19:18:02 c0a3192eca97: Download complete 19:18:02 2bbca73fdf42: Verifying Checksum 19:18:02 2bbca73fdf42: Download complete 19:18:02 46d945488cbd: Download complete 19:18:02 b3c136eddcbf: Verifying Checksum 19:18:02 b3c136eddcbf: Download complete 19:18:03 b3c136eddcbf: Pull complete 19:18:03 329c88fbcd65: Verifying Checksum 19:18:03 329c88fbcd65: Download complete 19:18:03 c0a3192eca97: Pull complete 19:18:04 a050256f5b6f: Pull complete 19:18:04 8a5474983e97: Verifying Checksum 19:18:04 8a5474983e97: Download complete 19:18:05 656be50a0ddc: Verifying Checksum 19:18:05 656be50a0ddc: Download complete 19:18:17 656be50a0ddc: Pull complete 19:18:17 2bbca73fdf42: Pull complete 19:18:17 46d945488cbd: Pull complete 19:18:22 8a5474983e97: Pull complete 19:18:24 329c88fbcd65: Pull complete 19:18:24 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 19:18:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:18:24 ---> ff4287adb874 19:18:24 Step 3/13 : ARG MAKE="make build" 19:18:26 ---> Running in 246fca6cc857 19:18:26 Removing intermediate container 246fca6cc857 19:18:26 ---> 0f92af8e9e9f 19:18:26 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:18:27 ---> Running in e38ad597348b 19:18:27 Removing intermediate container e38ad597348b 19:18:27 ---> 6c3ae744360e 19:18:27 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 19:18:27 ---> Running in 82b99005ad6a 19:18:27 Removing intermediate container 82b99005ad6a 19:18:27 ---> b728620dad18 19:18:27 Step 6/13 : LABEL Name=edgex-device-onvif-camera 19:18:28 ---> Running in 1f7d394c8f3f 19:18:28 Removing intermediate container 1f7d394c8f3f 19:18:28 ---> 93707cf06d2c 19:18:28 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:18:28 ---> Running in 1d26583aa127 19:18:30 Removing intermediate container 1d26583aa127 19:18:30 ---> bd961f56bc79 19:18:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:18:30 ---> Running in cef3638cb200 19:18:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:18:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:18:34 OK: 221 MiB in 51 packages 19:18:35 Removing intermediate container cef3638cb200 19:18:35 ---> 75a5a4bf1522 19:18:35 Step 9/13 : WORKDIR /device-onvif-camera 19:18:35 ---> Running in cacdb66fbfb1 19:18:35 Removing intermediate container cacdb66fbfb1 19:18:35 ---> bcd4cc42ada7 19:18:35 Step 10/13 : COPY go.mod vendor* ./ 19:18:36 ---> f48028f73602 19:18:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:18:36 ---> Running in b30efc8f7447 19:19:32 Removing intermediate container b30efc8f7447 19:19:32 ---> 5743bd9fdf72 19:19:32 Step 12/13 : COPY . . 19:19:32 ---> 6ad15b69df9b 19:19:32 Step 13/13 : RUN ${MAKE} 19:19:32 ---> Running in d93eec99d206 19:19:32 noop 19:19:32 Removing intermediate container d93eec99d206 19:19:32 ---> a4356e5cba7f 19:19:32 Successfully built a4356e5cba7f 19:19:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:32 + docker inspect -f . ci-base-image-arm64 19:19:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:33 prd-ubuntu20.04-docker-arm64-4c-16g-22440 does not seem to be running inside a container 19:19:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/44 -v /w/workspace/device-onvif-camera/44:/w/workspace/device-onvif-camera/44:rw,z -v /w/workspace/device-onvif-camera/44@tmp:/w/workspace/device-onvif-camera/44@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 19:19:34 $ docker top e3380a59bfaa99efa46285e40bca92cd4f3ff3e6599a2f4340f036fb94410c59 -eo pid,comm [Pipeline] { [Pipeline] sh 19:19:35 + go version 19:19:35 go version go1.18.3 linux/arm64 [Pipeline] } 19:19:35 $ docker stop --time=1 e3380a59bfaa99efa46285e40bca92cd4f3ff3e6599a2f4340f036fb94410c59 19:19:37 $ docker rm -f e3380a59bfaa99efa46285e40bca92cd4f3ff3e6599a2f4340f036fb94410c59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:37 + docker inspect -f . ci-base-image-arm64 19:19:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:37 prd-ubuntu20.04-docker-arm64-4c-16g-22440 does not seem to be running inside a container 19:19:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/44 -v /w/workspace/device-onvif-camera/44:/w/workspace/device-onvif-camera/44:rw,z -v /w/workspace/device-onvif-camera/44@tmp:/w/workspace/device-onvif-camera/44@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 19:19:39 $ docker top 63ee3d6d7fa8d8b247a8444493c07b708ec608643b79156d8055910d09fc265e -eo pid,comm [Pipeline] { [Pipeline] sh 19:19:40 + git config --global --add safe.directory /w/workspace/device-onvif-camera/44 [Pipeline] fileExists [Pipeline] sh 19:19:40 + make test 19:19:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:19:42 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:21:19 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:21:19 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.124s coverage: 10.6% of statements 19:21:19 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:21:41 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.343s coverage: 13.8% of statements 19:21:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:21:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:22:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:22:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:22:03 ./bin/test-attribution-txt.sh [Pipeline] echo 19:22:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:22:03 $ docker stop --time=1 63ee3d6d7fa8d8b247a8444493c07b708ec608643b79156d8055910d09fc265e 19:22:05 $ docker rm -f 63ee3d6d7fa8d8b247a8444493c07b708ec608643b79156d8055910d09fc265e [Pipeline] // withDockerContainer [Pipeline] sh 19:22:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:22:06 Warning: overwriting stash ‘coverage-report’ 19:22:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:22:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:22:07 + ls -al . 19:22:07 total 228 19:22:07 drwxrwxr-x 9 jenkins jenkins 4096 Aug 10 19:19 . 19:22:07 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 19:17 .. 19:22:07 drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 19:17 .git 19:22:07 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 19:17 .github 19:22:07 -rw-rw-r-- 1 jenkins jenkins 418 Aug 10 19:17 .gitignore 19:22:07 -rw-rw-r-- 1 jenkins jenkins 42 Aug 10 19:17 .golangci.yml 19:22:07 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 10 19:17 Attribution.txt 19:22:07 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 10 19:17 CHANGELOG.md 19:22:07 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 10 19:17 Dockerfile 19:22:07 -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 19:17 GOVERNANCE.md 19:22:07 -rw-rw-r-- 1 jenkins jenkins 734 Aug 10 19:17 Jenkinsfile 19:22:07 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 10 19:17 LICENSE 19:22:07 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 10 19:17 Makefile 19:22:07 -rw-rw-r-- 1 jenkins jenkins 625 Aug 10 19:17 OWNERS.md 19:22:07 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 10 19:17 README.md 19:22:07 -rw-rw-r-- 1 jenkins jenkins 11 Aug 10 19:13 VERSION 19:22:07 drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 19:17 bin 19:22:07 drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 19:17 cmd 19:22:07 -rw-r--r-- 1 jenkins jenkins 76856 Aug 10 19:21 coverage.out 19:22:07 drwxrwxr-x 6 jenkins jenkins 4096 Aug 10 19:17 doc 19:22:07 -rw-rw-r-- 1 jenkins jenkins 3783 Aug 10 19:17 go.mod 19:22:07 -rw-rw-r-- 1 jenkins jenkins 39275 Aug 10 19:17 go.sum 19:22:07 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 19:17 internal 19:22:07 drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 19:17 snap 19:22:07 -rw-rw-r-- 1 jenkins jenkins 236 Aug 10 19:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:22:07 + 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=59a7980d54f1ac3c06c7b0a6ba74086551540c0b --label arch=arm64 --label version=2.3.0-dev.5 . 19:22:08 Sending build context to Docker daemon 14.08MB 19:22:08 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 19:22:08 Step 2/26 : FROM ${BASE} AS builder 19:22:08 ---> a4356e5cba7f 19:22:08 Step 3/26 : ARG MAKE="make build" 19:22:08 ---> Running in b350943ed3b2 19:22:09 Removing intermediate container b350943ed3b2 19:22:09 ---> 666956fe7d7c 19:22:09 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:22:09 ---> Running in 2f462b9819ba 19:22:09 Removing intermediate container 2f462b9819ba 19:22:09 ---> b22b66b3bdaf 19:22:09 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 19:22:09 ---> Running in d068903474c6 19:22:10 Removing intermediate container d068903474c6 19:22:10 ---> 65ff014fa0eb 19:22:10 Step 6/26 : LABEL Name=edgex-device-onvif-camera 19:22:10 ---> Running in 9f343a6ccf2b 19:22:10 Removing intermediate container 9f343a6ccf2b 19:22:10 ---> 2fc9fe299521 19:22:10 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:22:10 ---> Running in 32da80f0a827 19:22:12 Removing intermediate container 32da80f0a827 19:22:12 ---> 6bb0cc2ea2e6 19:22:12 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:22:12 ---> Running in 43e737ab7dab 19:22:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:22:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:22:14 OK: 221 MiB in 51 packages 19:22:15 Removing intermediate container 43e737ab7dab 19:22:15 ---> 5b3530529383 19:22:15 Step 9/26 : WORKDIR /device-onvif-camera 19:22:15 ---> Running in 9470d11305fb 19:22:16 Removing intermediate container 9470d11305fb 19:22:16 ---> 8450dc5181be 19:22:16 Step 10/26 : COPY go.mod vendor* ./ 19:22:16 ---> d92ed5d3a460 19:22:16 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:22:16 ---> Running in be87a113ba51 19:22:18 Removing intermediate container be87a113ba51 19:22:18 ---> 15e9c29e2deb 19:22:18 Step 12/26 : COPY . . 19:22:20 ---> d066deac9c99 19:22:20 Step 13/26 : RUN ${MAKE} 19:22:20 ---> Running in 8a979dfd54c2 19:22:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.5 -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 19:24:58 Removing intermediate container 8a979dfd54c2 19:24:58 ---> 417ab231c9eb 19:24:58 Step 14/26 : FROM alpine:3.16 19:24:58 3.16: Pulling from library/alpine 19:24:58 9b18e9b68314: Pulling fs layer 19:24:58 9b18e9b68314: Verifying Checksum 19:24:58 9b18e9b68314: Download complete 19:24:58 9b18e9b68314: Pull complete 19:24:58 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:24:58 Status: Downloaded newer image for alpine:3.16 19:24:58 ---> a6215f271958 19:24:58 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:24:58 ---> Running in 08a852c10ef6 19:24:58 Removing intermediate container 08a852c10ef6 19:24:58 ---> 66cdb3e21811 19:24:58 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 19:24:58 ---> Running in 311b2aca131a 19:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:24:58 (1/6) Installing dumb-init (1.2.5-r1) 19:24:58 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:24:58 (3/6) Installing libsodium (1.0.18-r0) 19:24:58 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:24:58 (5/6) Installing libzmq (4.3.4-r0) 19:24:58 (6/6) Installing zeromq (4.3.4-r0) 19:24:58 Executing busybox-1.35.0-r17.trigger 19:24:58 OK: 8 MiB in 20 packages 19:24:58 Removing intermediate container 311b2aca131a 19:24:58 ---> 075ea8746dd3 19:24:58 Step 17/26 : WORKDIR / 19:24:58 ---> Running in 31932cabc818 19:24:58 Removing intermediate container 31932cabc818 19:24:58 ---> 399335e23cc4 19:24:58 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:24:58 ---> f3302c99bed2 19:24:58 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:24:58 ---> 94326198310a 19:24:58 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:24:58 ---> 750d545f17d7 19:24:58 Step 21/26 : EXPOSE 59984 19:24:58 ---> Running in cc3c55667dcf 19:24:58 Removing intermediate container cc3c55667dcf 19:24:58 ---> 2fb04ff02b6f 19:24:58 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:24:58 ---> Running in af829f5fd211 19:24:58 Removing intermediate container af829f5fd211 19:24:58 ---> a587712cd616 19:24:58 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:24:58 ---> Running in edb7774ff0c0 19:24:58 Removing intermediate container edb7774ff0c0 19:24:58 ---> ce52a2b10c2e 19:24:58 Step 24/26 : LABEL arch=arm64 19:24:58 ---> Running in d531eb321998 19:24:58 Removing intermediate container d531eb321998 19:24:58 ---> 07b31f360025 19:24:58 Step 25/26 : LABEL git_sha=59a7980d54f1ac3c06c7b0a6ba74086551540c0b 19:24:58 ---> Running in 543ab37f57c0 19:24:58 Removing intermediate container 543ab37f57c0 19:24:58 ---> 6b8ee6ab219d 19:24:58 Step 26/26 : LABEL version=2.3.0-dev.5 19:24:58 ---> Running in dc6d1c546566 19:24:58 Removing intermediate container dc6d1c546566 19:24:58 ---> f93c22be55e9 19:24:58 [Warning] One or more build-args [ARCH] were not consumed 19:24:58 Successfully built f93c22be55e9 19:24:58 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 19:24:58 provisioning config files... 19:24:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/44@tmp/config2181523745507265735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:24:58 ---> docker-login.sh 19:24:58 nexus3.edgexfoundry.org:10001 19:24:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:24:58 Configure a credential helper to remove this warning. See 19:24:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:24:58 19:24:58 Login Succeeded 19:24:58 nexus3.edgexfoundry.org:10002 19:24:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:24:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:24:59 Configure a credential helper to remove this warning. See 19:24:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:24:59 19:24:59 Login Succeeded 19:24:59 nexus3.edgexfoundry.org:10003 19:24:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:24:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:24:59 Configure a credential helper to remove this warning. See 19:24:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:24:59 19:24:59 Login Succeeded 19:24:59 nexus3.edgexfoundry.org:10004 19:25:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:00 Configure a credential helper to remove this warning. See 19:25:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:00 19:25:00 Login Succeeded 19:25:00 docker.io 19:25:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:01 Configure a credential helper to remove this warning. See 19:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:01 19:25:01 Login Succeeded 19:25:01 ---> docker-login.sh ends [Pipeline] } 19:25:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:25:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:25:01 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 19:25:01 59a7980d54f1ac3c06c7b0a6ba74086551540c0b 19:25:01 latest 19:25:01 2.3.0-dev.5 19:25:01 59a7980d54f1ac3c06c7b0a6ba74086551540c0b-2.3.0-dev.5 19:25:01 main 19:25:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:01 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:59a7980d54f1ac3c06c7b0a6ba74086551540c0b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:59a7980d54f1ac3c06c7b0a6ba74086551540c0b 19:25:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:25:02 ea2812a8dd7d: Preparing 19:25:02 ea1d6473f18d: Preparing 19:25:02 746bfcfd1e05: Preparing 19:25:02 56d01316324f: Preparing 19:25:02 5d3e392a13a0: Preparing 19:25:02 5d3e392a13a0: Layer already exists 19:25:02 ea1d6473f18d: Pushed 19:25:02 ea2812a8dd7d: Pushed 19:25:03 56d01316324f: Pushed 19:25:08 746bfcfd1e05: Pushed 19:25:08 59a7980d54f1ac3c06c7b0a6ba74086551540c0b: digest: sha256:04728a5c6e255a39913c3067d6b62a73da23a0eb6a0d6b23fe0e2472afeda4cf size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:08 + 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 19:25:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 19:25:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:25:09 ea2812a8dd7d: Preparing 19:25:09 ea1d6473f18d: Preparing 19:25:09 746bfcfd1e05: Preparing 19:25:09 56d01316324f: Preparing 19:25:09 5d3e392a13a0: Preparing 19:25:09 746bfcfd1e05: Layer already exists 19:25:09 56d01316324f: Layer already exists 19:25:09 ea2812a8dd7d: Layer already exists 19:25:09 ea1d6473f18d: Layer already exists 19:25:09 5d3e392a13a0: Layer already exists 19:25:09 latest: digest: sha256:04728a5c6e255a39913c3067d6b62a73da23a0eb6a0d6b23fe0e2472afeda4cf size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:09 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:10 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.5 19:25:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:25:10 ea2812a8dd7d: Preparing 19:25:10 ea1d6473f18d: Preparing 19:25:10 746bfcfd1e05: Preparing 19:25:10 56d01316324f: Preparing 19:25:10 5d3e392a13a0: Preparing 19:25:10 5d3e392a13a0: Layer already exists 19:25:10 56d01316324f: Layer already exists 19:25:10 ea2812a8dd7d: Layer already exists 19:25:10 ea1d6473f18d: Layer already exists 19:25:10 746bfcfd1e05: Layer already exists 19:25:10 2.3.0-dev.5: digest: sha256:04728a5c6e255a39913c3067d6b62a73da23a0eb6a0d6b23fe0e2472afeda4cf size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:10 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:59a7980d54f1ac3c06c7b0a6ba74086551540c0b-2.3.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:59a7980d54f1ac3c06c7b0a6ba74086551540c0b-2.3.0-dev.5 19:25:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:25:11 ea2812a8dd7d: Preparing 19:25:11 ea1d6473f18d: Preparing 19:25:11 746bfcfd1e05: Preparing 19:25:11 56d01316324f: Preparing 19:25:11 5d3e392a13a0: Preparing 19:25:11 56d01316324f: Layer already exists 19:25:11 ea2812a8dd7d: Layer already exists 19:25:11 ea1d6473f18d: Layer already exists 19:25:11 5d3e392a13a0: Layer already exists 19:25:11 746bfcfd1e05: Layer already exists 19:25:11 59a7980d54f1ac3c06c7b0a6ba74086551540c0b-2.3.0-dev.5: digest: sha256:04728a5c6e255a39913c3067d6b62a73da23a0eb6a0d6b23fe0e2472afeda4cf size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:12 + 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 19:25:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 19:25:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:25:12 ea2812a8dd7d: Preparing 19:25:12 ea1d6473f18d: Preparing 19:25:12 746bfcfd1e05: Preparing 19:25:12 56d01316324f: Preparing 19:25:12 5d3e392a13a0: Preparing 19:25:12 5d3e392a13a0: Layer already exists 19:25:12 746bfcfd1e05: Layer already exists 19:25:12 56d01316324f: Layer already exists 19:25:12 ea1d6473f18d: Layer already exists 19:25:12 ea2812a8dd7d: Layer already exists 19:25:12 main: digest: sha256:04728a5c6e255a39913c3067d6b62a73da23a0eb6a0d6b23fe0e2472afeda4cf size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:25:12 ===================================================== [Pipeline] echo 19:25:12 taggedImages: 19:25:12 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:59a7980d54f1ac3c06c7b0a6ba74086551540c0b 19:25:12 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 19:25:12 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.5 19:25:12 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:59a7980d54f1ac3c06c7b0a6ba74086551540c0b-2.3.0-dev.5 19:25:12 - 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 19:25:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:25:13 19:25:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:25:13 arm64: Pulling from edgex-lftools-log-publisher 19:25:13 8998bd30e6a1: Pulling fs layer 19:25:13 04944245beec: Pulling fs layer 19:25:13 699f458cf7ca: Pulling fs layer 19:25:13 765212b225bb: Pulling fs layer 19:25:13 f23df028b6ca: Pulling fs layer 19:25:13 d65c8cfc05b1: Pulling fs layer 19:25:13 2437ff75d9bd: Pulling fs layer 19:25:13 f23df028b6ca: Waiting 19:25:13 d65c8cfc05b1: Waiting 19:25:13 2437ff75d9bd: Waiting 19:25:13 765212b225bb: Waiting 19:25:13 04944245beec: Verifying Checksum 19:25:13 04944245beec: Download complete 19:25:13 765212b225bb: Verifying Checksum 19:25:13 765212b225bb: Download complete 19:25:14 f23df028b6ca: Verifying Checksum 19:25:14 f23df028b6ca: Download complete 19:25:14 d65c8cfc05b1: Verifying Checksum 19:25:14 d65c8cfc05b1: Download complete 19:25:14 699f458cf7ca: Verifying Checksum 19:25:14 699f458cf7ca: Download complete 19:25:14 8998bd30e6a1: Download complete 19:25:16 2437ff75d9bd: Verifying Checksum 19:25:16 2437ff75d9bd: Download complete 19:25:19 8998bd30e6a1: Pull complete 19:25:19 04944245beec: Pull complete 19:25:21 699f458cf7ca: Pull complete 19:25:21 765212b225bb: Pull complete 19:25:22 f23df028b6ca: Pull complete 19:25:22 d65c8cfc05b1: Pull complete 19:25:37 2437ff75d9bd: Pull complete 19:25:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:25:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:25:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:25:38 prd-ubuntu20.04-docker-arm64-4c-16g-22440 does not seem to be running inside a container 19:25:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/44 -v /w/workspace/device-onvif-camera/44:/w/workspace/device-onvif-camera/44:rw,z -v /w/workspace/device-onvif-camera/44@tmp:/w/workspace/device-onvif-camera/44@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 19:25:40 $ docker top a63897cfb6f62887c98500f50db23f7fbdddd37e2104652f7c9589ea7ec1d5cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:25:41 ---> job-cost.sh 19:25:41 lf-activate-venv: SKIPPING 19:25:41 INFO: No Stack... 19:25:42 INFO: Retrieving Pricing Info for: v3-standard-4 19:25:43 INFO: Archiving Costs [Pipeline] sh 19:25:44 + cat /w/workspace/device-onvif-camera/44/archives/cost.csv 19:25:44 + cut -d, -f6 [Pipeline] lock 19:25:44 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-44-stack-cost] 19:25:44 Resource [jenkins-edgexfoundry-device-onvif-camera-main-44-stack-cost] did not exist. Created. 19:25:44 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:25:44 /w/workspace/device-onvif-camera/44@tmp/durable-000157a7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:25:45 + echo total: 0.10999999940395355 [Pipeline] stash 19:25:45 Warning: overwriting stash ‘stack-cost’ 19:25:45 Stashed 1 file(s) [Pipeline] } 19:25:45 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-44-stack-cost] [Pipeline] // lock [Pipeline] } 19:25:45 $ docker stop --time=1 a63897cfb6f62887c98500f50db23f7fbdddd37e2104652f7c9589ea7ec1d5cf 19:25:47 $ docker rm -f a63897cfb6f62887c98500f50db23f7fbdddd37e2104652f7c9589ea7ec1d5cf [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 19:25:47 provisioning config files... 19:25:47 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6898887717525066943tmp [Pipeline] { [Pipeline] sh 19:25:48 + set +x 19:25:48 + + bash -scurl -- 19:25:48 -s https://codecov.io/bash 19:25:48 19:25:48 _____ _ 19:25:48 / ____| | | 19:25:48 | | ___ __| | ___ ___ _____ __ 19:25:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:25:48 | |___| (_) | (_| | __/ (_| (_) \ V / 19:25:48 \_____\___/ \__,_|\___|\___\___/ \_/ 19:25:48 Bash-1.0.6 19:25:48 19:25:48 19:25:48 ==> git version 2.25.1 found 19:25:48 ==> 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 19:25:48 Release-Date: 2020-01-08 19:25:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:25:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:25:48 ==> Jenkins CI detected. 19:25:48 current dir:  /w/workspace/foundry_device-onvif-camera_main 19:25:48 project root: . 19:25:48 --> token set from env 19:25:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:25:48 ==> Running gcov in . (disable via -X gcov) 19:25:48 ==> Python coveragepy not found 19:25:48 ==> Searching for coverage reports in: 19:25:48 + . 19:25:48 -> Found 1 reports 19:25:48 ==> Detecting git/mercurial file structure 19:25:48 ==> Reading reports 19:25:48 + ./coverage.out bytes=76856 19:25:48 ==> Appending adjustments 19:25:48 https://docs.codecov.io/docs/fixing-reports 19:25:48 + Found adjustments 19:25:48 ==> Gzipping contents 19:25:48 12K /tmp/codecov.JBELp1.gz 19:25:48 ==> Uploading reports 19:25:48 url: https://codecov.io 19:25:48 query: branch=main&commit=59a7980d54f1ac3c06c7b0a6ba74086551540c0b&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 19:25:48 -> Pinging Codecov 19:25:48 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=59a7980d54f1ac3c06c7b0a6ba74086551540c0b&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 19:25:48 -> Uploading to 19:25:48 https://storage.googleapis.com/codecov/v4/raw/2022-08-10/F29A59C45E3A92E06B3E522C9905F8EF/59a7980d54f1ac3c06c7b0a6ba74086551540c0b/85737ab0-fdeb-4109-9ee8-359b7b37f80c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220810%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220810T192548Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0f13214b7199868c75b4c7d8f8282455f89c03a05cf0fd1ad7cd6dfb5ea9b1cd 19:25:48 % Total % Received % Xferd Average Speed Time Time Time Current 19:25:48 Dload Upload Total Spent Left Speed 19:25:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10420 0 0 100 10420 0 43057 --:--:-- --:--:-- --:--:-- 42880 19:25:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/59a7980d54f1ac3c06c7b0a6ba74086551540c0b [Pipeline] } 19:25:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:25:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:25:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:25:49 19:25:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:25:49 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:25:49 df9b9388f04a: Pulling fs layer 19:25:49 52dc419b0ee2: Pulling fs layer 19:25:49 25bc292e5bac: Pulling fs layer 19:25:49 114826534d7a: Pulling fs layer 19:25:49 4657fd5d0bcf: Pulling fs layer 19:25:49 6ad1cebc031e: Pulling fs layer 19:25:49 8a3aa393b2d8: Pulling fs layer 19:25:49 4657fd5d0bcf: Waiting 19:25:49 8a3aa393b2d8: Waiting 19:25:49 6ad1cebc031e: Waiting 19:25:49 114826534d7a: Waiting 19:25:49 25bc292e5bac: Verifying Checksum 19:25:49 25bc292e5bac: Download complete 19:25:49 52dc419b0ee2: Download complete 19:25:49 4657fd5d0bcf: Verifying Checksum 19:25:49 4657fd5d0bcf: Download complete 19:25:49 df9b9388f04a: Download complete 19:25:49 6ad1cebc031e: Verifying Checksum 19:25:49 6ad1cebc031e: Download complete 19:25:49 df9b9388f04a: Pull complete 19:25:49 52dc419b0ee2: Pull complete 19:25:50 25bc292e5bac: Pull complete 19:25:50 114826534d7a: Verifying Checksum 19:25:50 114826534d7a: Download complete 19:25:50 8a3aa393b2d8: Verifying Checksum 19:25:50 8a3aa393b2d8: Download complete 19:25:54 114826534d7a: Pull complete 19:25:54 4657fd5d0bcf: Pull complete 19:25:54 6ad1cebc031e: Pull complete 19:25:58 8a3aa393b2d8: Pull complete 19:25:58 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:25:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:25:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:25:58 prd-ubuntu20.04-docker-8c-8g-22438 does not seem to be running inside a container 19:25:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:26:00 $ docker top 97d8fc9b54b8aac3290b8ee6d7eb5e0a429101722aded0f276241e55b6ed0693 -eo pid,comm [Pipeline] { [Pipeline] echo 19:26:00 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 19:26:00 + set -o pipefail 19:26:00 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 19:26:06 19:26:06 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 19:26:06 19:26:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/edcc7b0c-ddad-43ba-b283-5b594a8681eb 19:26:06 19:26:06 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 19:26:06 19:26:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:26:06 19:26:06 [Pipeline] } 19:26:06 $ docker stop --time=1 97d8fc9b54b8aac3290b8ee6d7eb5e0a429101722aded0f276241e55b6ed0693 19:26:08 $ docker rm -f 97d8fc9b54b8aac3290b8ee6d7eb5e0a429101722aded0f276241e55b6ed0693 [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 19:26:09 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:26:09 provisioning config files... 19:26:09 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4292385361847034809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:26:09 --> edgex-publish-swagger.sh 19:26:09 === Publish doc/openapi/v2 API === 19:26:09 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 19:26:09 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 19:26:09 % Total % Received % Xferd Average Speed Time Time Time Current 19:26:09 Dload Upload Total Spent Left Speed 19:26:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 142k --:--:-- --:--:-- --:--:-- 142k 100 139k 0 0 100 139k 0 142k --:--:-- --:--:-- --:--:-- 142k 19:26:10 19:26:10 [Pipeline] } 19:26:10 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 19:26:10 + git log --format=format:%s -1 59a7980d54f1ac3c06c7b0a6ba74086551540c0b [Pipeline] sh 19:26:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:26:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:26:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:26:11 prd-ubuntu20.04-docker-8c-8g-22438 does not seem to be running inside a container 19:26:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:26:11 $ docker top 94e615cda31a2f4a0f2bfb8b43b8aea6aa020ef1b80907f1d78d4eee7fad4567 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:26:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:26:12 [ssh-agent] Looking for ssh-agent implementation... 19:26:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:26:12 $ docker exec 94e615cda31a2f4a0f2bfb8b43b8aea6aa020ef1b80907f1d78d4eee7fad4567 ssh-agent 19:26:12 SSH_AUTH_SOCK=/tmp/ssh-xaRKYJtbfXpx/agent.34 19:26:12 SSH_AGENT_PID=40 19:26:12 Running ssh-add (command line suppressed) 19:26:12 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4759162025305379774.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4759162025305379774.key) 19:26:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:26:12 + git semver tag 19:26:13 2022-08-10 19:26:12,952 [run_tag] DEBUG tag force:False 19:26:13 2022-08-10 19:26:12,952 [check_head_tag] DEBUG check head tag 19:26:13 2022-08-10 19:26:12,953 [execute] INFO git cat-file --batch-check 19:26:13 2022-08-10 19:26:12,954 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 19:26:13 2022-08-10 19:26:12,957 [execute] INFO git cat-file --batch 19:26:13 2022-08-10 19:26:12,957 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 19:26:13 2022-08-10 19:26:12,971 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:26:13 2022-08-10 19:26:12,971 [execute] INFO git tag -a v2.3.0-dev.5 -m v2.3.0-dev.5 19:26:13 2022-08-10 19:26:12,971 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.5', '-m', 'v2.3.0-dev.5'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 19:26:13 2022-08-10 19:26:12,975 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:26:13 2.3.0-dev.5 [Pipeline] } 19:26:13 $ docker exec --env ******** --env ******** 94e615cda31a2f4a0f2bfb8b43b8aea6aa020ef1b80907f1d78d4eee7fad4567 ssh-agent -k 19:26:13 unset SSH_AUTH_SOCK; 19:26:13 unset SSH_AGENT_PID; 19:26:13 echo Agent pid 40 killed; 19:26:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:26:13 + git semver [Pipeline] } 19:26:13 $ docker stop --time=1 94e615cda31a2f4a0f2bfb8b43b8aea6aa020ef1b80907f1d78d4eee7fad4567 19:26:15 $ docker rm -f 94e615cda31a2f4a0f2bfb8b43b8aea6aa020ef1b80907f1d78d4eee7fad4567 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:26:15 19:26:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:26:15 0.23.1-centos7: Pulling from edgex-lftools 19:26:15 ab5ef0e58194: Pulling fs layer 19:26:15 9712f1f96733: Pulling fs layer 19:26:15 63f879dbbcfc: Pulling fs layer 19:26:15 0d9ebad4ef96: Pulling fs layer 19:26:15 e9a5061849ea: Pulling fs layer 19:26:15 d747dcd14b5f: Pulling fs layer 19:26:15 2de7ff778b66: Pulling fs layer 19:26:15 0d9ebad4ef96: Waiting 19:26:15 e9a5061849ea: Waiting 19:26:15 d747dcd14b5f: Waiting 19:26:15 2de7ff778b66: Waiting 19:26:15 9712f1f96733: Verifying Checksum 19:26:15 9712f1f96733: Download complete 19:26:16 63f879dbbcfc: Verifying Checksum 19:26:16 63f879dbbcfc: Download complete 19:26:16 e9a5061849ea: Verifying Checksum 19:26:16 e9a5061849ea: Download complete 19:26:16 d747dcd14b5f: Verifying Checksum 19:26:16 d747dcd14b5f: Download complete 19:26:16 ab5ef0e58194: Verifying Checksum 19:26:16 ab5ef0e58194: Download complete 19:26:16 0d9ebad4ef96: Verifying Checksum 19:26:16 0d9ebad4ef96: Download complete 19:26:16 2de7ff778b66: Verifying Checksum 19:26:16 2de7ff778b66: Download complete 19:26:19 ab5ef0e58194: Pull complete 19:26:19 9712f1f96733: Pull complete 19:26:20 63f879dbbcfc: Pull complete 19:26:24 0d9ebad4ef96: Pull complete 19:26:24 e9a5061849ea: Pull complete 19:26:25 d747dcd14b5f: Pull complete 19:26:26 2de7ff778b66: Pull complete 19:26:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:26:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:26:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:26:26 prd-ubuntu20.04-docker-8c-8g-22438 does not seem to be running inside a container 19:26:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:26:29 $ docker top 6ddaf8b2b63d87f9a17813a23b34bbc6ae6a3afe4527a9044e2fe0632c94d83e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:26:29 provisioning config files... 19:26:29 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2644015031860098923tmp 19:26:29 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2673084340767997892tmp 19:26:29 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1016552186822423704tmp [Pipeline] { [Pipeline] echo 19:26:29 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:26:29 ---> sigul-configuration.sh 19:26:29 gpg: directory `/root/.gnupg' created 19:26:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:26:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:26:29 gpg: keyring `/root/.gnupg/secring.gpg' created 19:26:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:26:29 gpg: CAST5 encrypted data 19:26:29 gpg: encrypted with 1 passphrase 19:26:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:26:29 + mkdir /home/jenkins 19:26:29 + mkdir /home/jenkins/sigul [Pipeline] sh 19:26:30 + 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 19:26:30 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:26:30 ---> sigul-install.sh 19:26:30 Sigul already installed; skipping installation. [Pipeline] sh 19:26:30 + git tag --list 19:26:30 v0.0.0 19:26:30 v0.0.1-dev.1 19:26:30 v0.0.1-dev.10 19:26:30 v0.0.1-dev.11 19:26:30 v0.0.1-dev.12 19:26:30 v0.0.1-dev.13 19:26:30 v0.0.1-dev.14 19:26:30 v0.0.1-dev.15 19:26:30 v0.0.1-dev.16 19:26:30 v0.0.1-dev.17 19:26:30 v0.0.1-dev.18 19:26:30 v0.0.1-dev.19 19:26:30 v0.0.1-dev.2 19:26:30 v0.0.1-dev.20 19:26:30 v0.0.1-dev.21 19:26:30 v0.0.1-dev.22 19:26:30 v0.0.1-dev.23 19:26:30 v0.0.1-dev.24 19:26:30 v0.0.1-dev.25 19:26:30 v0.0.1-dev.26 19:26:30 v0.0.1-dev.27 19:26:30 v0.0.1-dev.28 19:26:30 v0.0.1-dev.3 19:26:30 v0.0.1-dev.4 19:26:30 v0.0.1-dev.5 19:26:30 v0.0.1-dev.6 19:26:30 v0.0.1-dev.7 19:26:30 v0.0.1-dev.8 19:26:30 v0.0.1-dev.9 19:26:30 v2.2.0 19:26:30 v2.2.0-dev.29 19:26:30 v2.2.0-dev.30 19:26:30 v2.2.0-dev.31 19:26:30 v2.2.0-dev.32 19:26:30 v2.2.0-dev.33 19:26:30 v2.2.0-dev.34 19:26:30 v2.2.0-dev.35 19:26:30 v2.3.0-dev.1 19:26:30 v2.3.0-dev.2 19:26:30 v2.3.0-dev.3 19:26:30 v2.3.0-dev.4 19:26:30 v2.3.0-dev.5 [Pipeline] sh 19:26:31 + lftools sign git-tag v2.3.0-dev.5 19:26:31 Signing Git tag with Sigul... 19:26:31 Signing v2.3.0-dev.5 [Pipeline] echo 19:26:32 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:26:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:26:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:26:32 $ docker stop --time=1 6ddaf8b2b63d87f9a17813a23b34bbc6ae6a3afe4527a9044e2fe0632c94d83e 19:26:33 $ docker rm -f 6ddaf8b2b63d87f9a17813a23b34bbc6ae6a3afe4527a9044e2fe0632c94d83e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:26:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:26:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:26:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:26:34 prd-ubuntu20.04-docker-8c-8g-22438 does not seem to be running inside a container 19:26:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:26:34 $ docker top 716ed1858f86f3437485cddfce1302e5f223a9c752232295663bb3b180d3b97a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:26:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:26:35 [ssh-agent] Looking for ssh-agent implementation... 19:26:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:26:35 $ docker exec 716ed1858f86f3437485cddfce1302e5f223a9c752232295663bb3b180d3b97a ssh-agent 19:26:35 SSH_AUTH_SOCK=/tmp/ssh-VPTW8vRrf0YH/agent.32 19:26:35 SSH_AGENT_PID=38 19:26:35 Running ssh-add (command line suppressed) 19:26:35 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1709352298978059334.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1709352298978059334.key) 19:26:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:26:35 + git semver bump pre 19:26:36 2022-08-10 19:26:35,985 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:26:36 2022-08-10 19:26:35,986 [bump_version] DEBUG bumping version:2.3.0-dev.5 on axis:pre with prefix:dev 19:26:36 2022-08-10 19:26:35,986 [bump_version] DEBUG bumped version:2.3.0-dev.6 19:26:36 2022-08-10 19:26:35,986 [write_version] DEBUG write version:2.3.0-dev.6 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 19:26:36 2022-08-10 19:26:35,986 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:26:36 2022-08-10 19:26:35,986 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 19:26:36 2022-08-10 19:26:35,989 [execute] INFO git cat-file --batch-check 19:26:36 2022-08-10 19:26:35,989 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 19:26:36 2022-08-10 19:26:35,995 [execute] INFO git cat-file --batch 19:26:36 2022-08-10 19:26:35,995 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 19:26:36 2022-08-10 19:26:35,999 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:26:36 2.3.0-dev.6 [Pipeline] } 19:26:36 $ docker exec --env ******** --env ******** 716ed1858f86f3437485cddfce1302e5f223a9c752232295663bb3b180d3b97a ssh-agent -k 19:26:36 unset SSH_AUTH_SOCK; 19:26:36 unset SSH_AGENT_PID; 19:26:36 echo Agent pid 38 killed; 19:26:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:26:36 + git semver [Pipeline] } 19:26:36 $ docker stop --time=1 716ed1858f86f3437485cddfce1302e5f223a9c752232295663bb3b180d3b97a 19:26:38 $ docker rm -f 716ed1858f86f3437485cddfce1302e5f223a9c752232295663bb3b180d3b97a [Pipeline] // withDockerContainer [Pipeline] sh 19:26:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:26:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:26:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:26:38 prd-ubuntu20.04-docker-8c-8g-22438 does not seem to be running inside a container 19:26:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:26:39 $ docker top c1b3ce5c3c5ff8f9b9f294b5ec50ca5fa33e47f27841f6da51c453ed3af81281 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:26:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:26:39 [ssh-agent] Looking for ssh-agent implementation... 19:26:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:26:39 $ docker exec c1b3ce5c3c5ff8f9b9f294b5ec50ca5fa33e47f27841f6da51c453ed3af81281 ssh-agent 19:26:39 SSH_AUTH_SOCK=/tmp/ssh-JbYNj8epeSLd/agent.35 19:26:39 SSH_AGENT_PID=42 19:26:39 Running ssh-add (command line suppressed) 19:26:39 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_493170712281316798.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_493170712281316798.key) 19:26:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:26:40 + git semver push 19:26:40 2022-08-10 19:26:40,415 [run_push] DEBUG push 19:26:40 2022-08-10 19:26:40,416 [execute] INFO git cat-file --batch-check 19:26:40 2022-08-10 19:26:40,416 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 19:26:40 2022-08-10 19:26:40,419 [execute] INFO git rev-list 0c09d69ad122d79eb031b02ec4a8a561431edb6c -- 19:26:40 2022-08-10 19:26:40,419 [execute] DEBUG Popen(['git', 'rev-list', '0c09d69ad122d79eb031b02ec4a8a561431edb6c', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 19:26:40 2022-08-10 19:26:40,424 [execute] INFO git fetch -v origin 19:26:40 2022-08-10 19:26:40,424 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 19:26:41 2022-08-10 19:26:40,920 [run_push] DEBUG no remote changes detected 19:26:41 2022-08-10 19:26:40,920 [execute] INFO git push origin semver 19:26:41 2022-08-10 19:26:40,921 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 19:26:41 2022-08-10 19:26:41,700 [run_push] DEBUG push all version tags 19:26:41 2022-08-10 19:26:41,701 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:26:41 2022-08-10 19:26:41,701 [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) 19:26:42 2022-08-10 19:26:42,382 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:26:42 2.3.0-dev.6 [Pipeline] } 19:26:42 $ docker exec --env ******** --env ******** c1b3ce5c3c5ff8f9b9f294b5ec50ca5fa33e47f27841f6da51c453ed3af81281 ssh-agent -k 19:26:42 unset SSH_AUTH_SOCK; 19:26:42 unset SSH_AGENT_PID; 19:26:42 echo Agent pid 42 killed; 19:26:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:26:43 + git semver [Pipeline] } 19:26:43 $ docker stop --time=1 c1b3ce5c3c5ff8f9b9f294b5ec50ca5fa33e47f27841f6da51c453ed3af81281 19:26:44 $ docker rm -f c1b3ce5c3c5ff8f9b9f294b5ec50ca5fa33e47f27841f6da51c453ed3af81281 [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 19:26:45 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 19:26:45 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 19:26:45 total 16 19:26:45 drwxr-xr-x 3 root root 4096 Aug 10 19:15 . 19:26:45 drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 19:26 .. 19:26:45 drwxr-xr-x 2 root root 4096 Aug 10 19:15 cost 19:26:45 -rw-r--r-- 1 root root 90 Aug 10 19:15 cost.csv 19:26:45 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 19:26:45 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 19:26:45 total 16 19:26:45 drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 19:15 . 19:26:45 drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 19:26 .. 19:26:45 drwxr-xr-x 2 jenkins jenkins 4096 Aug 10 19:15 cost 19:26:45 -rw-r--r-- 1 jenkins jenkins 90 Aug 10 19:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:26:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:26:46 ---> package-listing.sh 19:26:46 ++ facter osfamily 19:26:46 ++ tr '[:upper:]' '[:lower:]' 19:26:46 + OS_FAMILY=debian 19:26:46 + workspace=/w/workspace/foundry_device-onvif-camera_main 19:26:46 + START_PACKAGES=/tmp/packages_start.txt 19:26:46 + END_PACKAGES=/tmp/packages_end.txt 19:26:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:26:46 + PACKAGES=/tmp/packages_start.txt 19:26:46 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 19:26:46 + PACKAGES=/tmp/packages_end.txt 19:26:46 + case "${OS_FAMILY}" in 19:26:46 + dpkg -l 19:26:46 + grep '^ii' 19:26:46 + '[' -f /tmp/packages_start.txt ']' 19:26:46 + '[' -f /tmp/packages_end.txt ']' 19:26:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:26:46 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 19:26:46 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 19:26:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 19:26:46 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 19:26:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:26:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:26:47 prd-ubuntu20.04-docker-8c-8g-22438 does not seem to be running inside a container 19:26:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:26:47 $ docker top c16bd469f63899723a06e15510c111d03b519a14a9856fca63c0f1d90395a95c -eo pid,comm [Pipeline] { [Pipeline] sh 19:26:48 + touch /tmp/pre-build-complete [Pipeline] sh 19:26:48 + mkdir -p /var/log/sysstat [Pipeline] sh 19:26:48 + ls /var/log/sa-host 19:26:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:26:48 provisioning config files... 19:26:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7129449769430081268tmp [Pipeline] { [Pipeline] echo 19:26:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:26:49 ---> create-netrc.sh [Pipeline] } 19:26:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:26:49 ---> python-tools-install.sh [Pipeline] echo 19:26:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:26:49 ---> sudo-logs.sh 19:26:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:26:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:26:50 ---> job-cost.sh 19:26:50 lf-activate-venv: SKIPPING 19:26:50 DEBUG: total: 0.2199999988079071 19:26:50 INFO: Retrieving Stack Cost... 19:26:50 INFO: Retrieving Pricing Info for: v3-standard-8 19:26:50 INFO: Archiving Costs [Pipeline] echo 19:26:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:26:51 ---> logs-deploy.sh 19:26:51 lf-activate-venv: SKIPPING 19:26:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/44 19:26:51 INFO: archiving workspace using pattern(s): 19:26:52 Archives upload complete. 19:26:52 INFO: archiving logs to Nexus