Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a1514bac2c3623567fb323734989edc763968b8 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-ssh17820862289409690110.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh736515263881859092.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4647601334594495701.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9871456007002904130.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3460714628069034886.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-142 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 4a1514bac2c3623567fb323734989edc763968b8 (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 4a1514bac2c3623567fb323734989edc763968b8 # timeout=10 Commit message: "Merge pull request #201 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.4" > git rev-list --no-walk 4eac92da5dfc23f9865ece6d9684c74467a8de72 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:57:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:57:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:57:57 ========================================================= 05:57:57 EdgeX Global Pipelines Version Info 05:57:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:57:58 ------------------- 05:57:58 stable info: 05:57:58 ------------------- 05:57:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:57:58 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:57:58 Message: update stable to v1.0.244 05:57:58 ------------------- 05:57:58 experimental info: 05:57:58 ------------------- 05:57:58 Commited By: **** collab-it+edgex@linuxfoundation.org 05:57:58 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:57:58 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a1514bac2c3623567fb323734989edc763968b8 [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a1514b [Pipeline] echo 05:57:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:57:59 provisioning config files... 05:57:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8535090935442174101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:57:59 ---> docker-login.sh 05:57:59 nexus3.edgexfoundry.org:10001 05:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:00 Configure a credential helper to remove this warning. See 05:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:00 05:58:00 Login Succeeded 05:58:00 nexus3.edgexfoundry.org:10002 05:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:00 Configure a credential helper to remove this warning. See 05:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:00 05:58:00 Login Succeeded 05:58:00 nexus3.edgexfoundry.org:10003 05:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:00 Configure a credential helper to remove this warning. See 05:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:00 05:58:00 Login Succeeded 05:58:00 nexus3.edgexfoundry.org:10004 05:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:00 Configure a credential helper to remove this warning. See 05:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:00 05:58:00 Login Succeeded 05:58:00 docker.io 05:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:00 Configure a credential helper to remove this warning. See 05:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:00 05:58:00 Login Succeeded 05:58:00 ---> docker-login.sh ends [Pipeline] } 05:58:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:58:01 + git rev-list -1 --merges 4a1514bac2c3623567fb323734989edc763968b8~1..4a1514bac2c3623567fb323734989edc763968b8 [Pipeline] echo 05:58:01 -----------> git rev-list -1 --merges 4a1514bac2c3623567fb323734989edc763968b8~1..4a1514bac2c3623567fb323734989edc763968b8 4a1514bac2c3623567fb323734989edc763968b8 05:58:01 4a1514bac2c3623567fb323734989edc763968b8 [false] [Pipeline] sh 05:58:01 + git log --format=format:%s -1 4a1514bac2c3623567fb323734989edc763968b8 [Pipeline] echo 05:58:01 ========================================================= 05:58:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:58:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:01 + git log --format=format:%s -1 4a1514bac2c3623567fb323734989edc763968b8 [Pipeline] echo 05:58:01 [semverPrep] GIT_COMMIT: 4a1514bac2c3623567fb323734989edc763968b8, Commit Message: Merge pull request #201 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.4 [Pipeline] echo 05:58:01 [semverPrep] This is not a build commit. [Pipeline] sh 05:58:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:58:02 + grep -v github /etc/ssh/ssh_known_hosts 05:58:02 + [ -e /tmp/ssh_known_hosts ] 05:58:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:58:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 05:58:02 sudo tee -a /etc/ssh/ssh_known_hosts 05:58:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:02 05:58:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:03 0.1.4: Pulling from edgex-devops/py-git-semver 05:58:03 b85a868b505f: Pulling fs layer 05:58:03 e2be974225ed: Pulling fs layer 05:58:03 339a4e72a1f5: Pulling fs layer 05:58:03 988bab9f4d93: Pulling fs layer 05:58:03 1469e6f7b9e6: Pulling fs layer 05:58:03 eaf3925da568: Pulling fs layer 05:58:03 bab4dde63d76: Pulling fs layer 05:58:03 bde34c3a00c8: Pulling fs layer 05:58:03 b352a97aabf1: Pulling fs layer 05:58:03 4872d77fe225: Pulling fs layer 05:58:03 5851b861e8e6: Pulling fs layer 05:58:03 1469e6f7b9e6: Waiting 05:58:03 988bab9f4d93: Waiting 05:58:03 eaf3925da568: Waiting 05:58:03 bab4dde63d76: Waiting 05:58:03 5851b861e8e6: Waiting 05:58:03 4872d77fe225: Waiting 05:58:03 bde34c3a00c8: Waiting 05:58:03 e2be974225ed: Verifying Checksum 05:58:03 e2be974225ed: Download complete 05:58:03 988bab9f4d93: Verifying Checksum 05:58:03 988bab9f4d93: Download complete 05:58:03 1469e6f7b9e6: Verifying Checksum 05:58:03 1469e6f7b9e6: Download complete 05:58:03 eaf3925da568: Verifying Checksum 05:58:03 eaf3925da568: Download complete 05:58:03 339a4e72a1f5: Verifying Checksum 05:58:03 339a4e72a1f5: Download complete 05:58:03 bde34c3a00c8: Verifying Checksum 05:58:03 bde34c3a00c8: Download complete 05:58:03 b352a97aabf1: Download complete 05:58:03 4872d77fe225: Verifying Checksum 05:58:03 4872d77fe225: Download complete 05:58:03 5851b861e8e6: Verifying Checksum 05:58:03 5851b861e8e6: Download complete 05:58:03 b85a868b505f: Verifying Checksum 05:58:03 b85a868b505f: Download complete 05:58:03 bab4dde63d76: Verifying Checksum 05:58:03 bab4dde63d76: Download complete 05:58:04 b85a868b505f: Pull complete 05:58:04 e2be974225ed: Pull complete 05:58:05 339a4e72a1f5: Pull complete 05:58:05 988bab9f4d93: Pull complete 05:58:05 1469e6f7b9e6: Pull complete 05:58:05 eaf3925da568: Pull complete 05:58:07 bab4dde63d76: Pull complete 05:58:07 bde34c3a00c8: Pull complete 05:58:07 b352a97aabf1: Pull complete 05:58:07 4872d77fe225: Pull complete 05:58:08 5851b861e8e6: Pull complete 05:58:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:58:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:58:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:08 prd-ubuntu20.04-docker-8c-8g-142 does not seem to be running inside a container 05:58:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:58:10 $ docker top 08c9447e7aa35cff042067355631cb9af68278b083d50a6ff427f44da08c32ba -eo pid,comm 05:58:10 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). 05:58:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:10 [ssh-agent] Looking for ssh-agent implementation... 05:58:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:10 $ docker exec 08c9447e7aa35cff042067355631cb9af68278b083d50a6ff427f44da08c32ba ssh-agent 05:58:10 SSH_AUTH_SOCK=/tmp/ssh-KerLM9KYDqdH/agent.33 05:58:10 SSH_AGENT_PID=39 05:58:10 Running ssh-add (command line suppressed) 05:58:10 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10504931787896757227.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10504931787896757227.key) 05:58:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:10 + git tag --points-at HEAD [Pipeline] } 05:58:11 $ docker exec --env ******** --env ******** 08c9447e7aa35cff042067355631cb9af68278b083d50a6ff427f44da08c32ba ssh-agent -k 05:58:11 unset SSH_AUTH_SOCK; 05:58:11 unset SSH_AGENT_PID; 05:58:11 echo Agent pid 39 killed; 05:58:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:58:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:11 [ssh-agent] Looking for ssh-agent implementation... 05:58:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:11 $ docker exec 08c9447e7aa35cff042067355631cb9af68278b083d50a6ff427f44da08c32ba ssh-agent 05:58:11 SSH_AUTH_SOCK=/tmp/ssh-YZ6DL4JSSBCF/agent.71 05:58:11 SSH_AGENT_PID=77 05:58:11 Running ssh-add (command line suppressed) 05:58:11 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13718216769557560824.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13718216769557560824.key) 05:58:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:11 + git semver init 05:58:12 2022-12-19 05:58:11,980 [run_init] DEBUG init version:0.0.0 force:False 05:58:12 2022-12-19 05:58:11,980 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 05:58:12 2022-12-19 05:58:11,981 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 05:58:12 2022-12-19 05:58:11,981 [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) 05:58:13 2022-12-19 05:58:13,041 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 05:58:13 2022-12-19 05:58:13,041 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 05:58:13 2022-12-19 05:58:13,042 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:58:13 2022-12-19 05:58:13,042 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:58:13 3.0.0-dev.2 [Pipeline] } 05:58:13 $ docker exec --env ******** --env ******** 08c9447e7aa35cff042067355631cb9af68278b083d50a6ff427f44da08c32ba ssh-agent -k 05:58:13 unset SSH_AUTH_SOCK; 05:58:13 unset SSH_AGENT_PID; 05:58:13 echo Agent pid 77 killed; 05:58:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:13 + git semver [Pipeline] } 05:58:14 $ docker stop --time=1 08c9447e7aa35cff042067355631cb9af68278b083d50a6ff427f44da08c32ba 05:58:15 $ docker rm -f --volumes 08c9447e7aa35cff042067355631cb9af68278b083d50a6ff427f44da08c32ba [Pipeline] // withDockerContainer [Pipeline] sh 05:58:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:58:16 Stashed 1 file(s) [Pipeline] echo 05:58:16 [edgeXSemver]: initialized semver on version 3.0.0-dev.2 [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 05:58:16 provisioning config files... 05:58:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9493199139309825819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:16 ---> docker-login.sh 05:58:16 nexus3.edgexfoundry.org:10001 05:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:16 Configure a credential helper to remove this warning. See 05:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:16 05:58:16 Login Succeeded 05:58:16 nexus3.edgexfoundry.org:10002 05:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:16 Configure a credential helper to remove this warning. See 05:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:16 05:58:16 Login Succeeded 05:58:16 nexus3.edgexfoundry.org:10003 05:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:16 Configure a credential helper to remove this warning. See 05:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:16 05:58:16 Login Succeeded 05:58:16 nexus3.edgexfoundry.org:10004 05:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:16 Configure a credential helper to remove this warning. See 05:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:16 05:58:16 Login Succeeded 05:58:16 docker.io 05:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:16 Configure a credential helper to remove this warning. See 05:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:16 05:58:16 Login Succeeded 05:58:16 ---> docker-login.sh ends [Pipeline] } 05:58:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:58:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:58:17 ========================================================= 05:58:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:58:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:17 + 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 . 05:58:17 Sending build context to Docker daemon 27.64MB 05:58:17 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:58:17 Step 2/13 : FROM ${BASE} AS builder 05:58:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:58:17 213ec9aee27d: Pulling fs layer 05:58:17 4583459ba037: Pulling fs layer 05:58:17 93c1e223e6f2: Pulling fs layer 05:58:17 53926ce57604: Pulling fs layer 05:58:17 21b2b0c7a3f4: Pulling fs layer 05:58:17 22ff95d597cd: Pulling fs layer 05:58:17 12d6caf4c0d1: Pulling fs layer 05:58:17 96b7cbca73a9: Pulling fs layer 05:58:17 a7acece74701: Pulling fs layer 05:58:17 22ff95d597cd: Waiting 05:58:17 12d6caf4c0d1: Waiting 05:58:17 a7acece74701: Waiting 05:58:17 96b7cbca73a9: Waiting 05:58:17 21b2b0c7a3f4: Waiting 05:58:17 53926ce57604: Waiting 05:58:17 93c1e223e6f2: Verifying Checksum 05:58:17 93c1e223e6f2: Download complete 05:58:17 4583459ba037: Download complete 05:58:17 21b2b0c7a3f4: Verifying Checksum 05:58:17 21b2b0c7a3f4: Download complete 05:58:17 22ff95d597cd: Verifying Checksum 05:58:17 22ff95d597cd: Download complete 05:58:17 213ec9aee27d: Download complete 05:58:17 12d6caf4c0d1: Verifying Checksum 05:58:17 12d6caf4c0d1: Download complete 05:58:17 213ec9aee27d: Pull complete 05:58:17 4583459ba037: Pull complete 05:58:17 93c1e223e6f2: Pull complete 05:58:18 a7acece74701: Verifying Checksum 05:58:18 a7acece74701: Download complete 05:58:18 96b7cbca73a9: Verifying Checksum 05:58:18 96b7cbca73a9: Download complete 05:58:18 53926ce57604: Verifying Checksum 05:58:18 53926ce57604: Download complete 05:58:22 53926ce57604: Pull complete 05:58:22 21b2b0c7a3f4: Pull complete 05:58:22 22ff95d597cd: Pull complete 05:58:22 12d6caf4c0d1: Pull complete 05:58:24 96b7cbca73a9: Pull complete 05:58:25 a7acece74701: Pull complete 05:58:25 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:58:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:58:25 ---> db6d94c90886 05:58:25 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:58:28 ---> Running in ecc59682ec77 05:58:28 Removing intermediate container ecc59682ec77 05:58:28 ---> 880e4429393f 05:58:28 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:58:28 ---> Running in 66d2753a0c4d 05:58:28 Removing intermediate container 66d2753a0c4d 05:58:28 ---> 9b74f89aea12 05:58:28 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 05:58:28 ---> Running in c227be62edc5 05:58:28 Removing intermediate container c227be62edc5 05:58:28 ---> c1b76d1cea1f 05:58:28 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:58:28 ---> Running in 2f827ee56187 05:58:28 Removing intermediate container 2f827ee56187 05:58:28 ---> 697859a234b6 05:58:28 Step 7/13 : LABEL Name=edgex-device-onvif-camera 05:58:28 ---> Running in 8c894b066449 05:58:28 Removing intermediate container 8c894b066449 05:58:28 ---> 4762445581c8 05:58:28 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:58:28 ---> Running in 5062d1e0cfe5 05:58:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:58:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:58:29 OK: 211 MiB in 51 packages 05:58:29 Removing intermediate container 5062d1e0cfe5 05:58:29 ---> e8cf3a05c4b8 05:58:29 Step 9/13 : WORKDIR /device-onvif-camera 05:58:29 ---> Running in c29ff271eba2 05:58:29 Removing intermediate container c29ff271eba2 05:58:29 ---> 94ee40a3349d 05:58:29 Step 10/13 : COPY go.mod vendor* ./ 05:58:29 ---> 24aed6f809a1 05:58:29 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:58:29 ---> Running in 9c79c8729e32 05:58:31 Still waiting to schedule task 05:58:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:58:52 Removing intermediate container 9c79c8729e32 05:58:52 ---> 30a201cef7c1 05:58:52 Step 12/13 : COPY . . 05:58:52 ---> 61780141922d 05:58:52 Step 13/13 : RUN ${MAKE} 05:58:52 ---> Running in c247d79f8ee2 05:58:52 noop 05:58:52 Removing intermediate container c247d79f8ee2 05:58:52 ---> 00053638bc3e 05:58:52 Successfully built 00053638bc3e 05:58:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:52 + docker inspect -f . ci-base-image-x86_64 05:58:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:52 prd-ubuntu20.04-docker-8c-8g-142 does not seem to be running inside a container 05:58:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:58:53 $ docker top 4159a8f79a3bfa4d725a5b4bd7a52fe9019cf3edc7bfc68ca17e2224627f0a4b -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:53 + go version 05:58:53 go version go1.18.7 linux/amd64 [Pipeline] } 05:58:53 $ docker stop --time=1 4159a8f79a3bfa4d725a5b4bd7a52fe9019cf3edc7bfc68ca17e2224627f0a4b 05:58:54 $ docker rm -f --volumes 4159a8f79a3bfa4d725a5b4bd7a52fe9019cf3edc7bfc68ca17e2224627f0a4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:55 + docker inspect -f . ci-base-image-x86_64 05:58:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:55 prd-ubuntu20.04-docker-8c-8g-142 does not seem to be running inside a container 05:58:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:58:55 $ docker top bf35c5fb03826d6ec5a494a3afa6b89ab2eb0971c220bcfaf3e356a3404aba74 -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:55 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 05:58:56 + make test 05:58:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 05:58:56 ? github.com/edgexfoundry/device-onvif-camera [no test files] 05:59:08 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 05:59:10 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 29.3% of statements 05:59:10 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 05:59:10 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.592s coverage: 86.5% of statements 05:59:18 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." 05:59:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:59:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:59:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:59:22 ./bin/test-attribution-txt.sh [Pipeline] echo 05:59:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:59:22 $ docker stop --time=1 bf35c5fb03826d6ec5a494a3afa6b89ab2eb0971c220bcfaf3e356a3404aba74 05:59:24 $ docker rm -f --volumes bf35c5fb03826d6ec5a494a3afa6b89ab2eb0971c220bcfaf3e356a3404aba74 [Pipeline] // withDockerContainer [Pipeline] sh 05:59:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:59:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:59:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:59:26 + ls -al . 05:59:26 total 248 05:59:26 drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 05:58 . 05:59:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 05:57 .. 05:59:26 drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 05:59 .git 05:59:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:57 .github 05:59:26 -rw-rw-r-- 1 jenkins jenkins 496 Dec 19 05:57 .gitignore 05:59:26 -rw-rw-r-- 1 jenkins jenkins 42 Dec 19 05:57 .golangci.yml 05:59:26 drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 05:58 .semver 05:59:26 -rw-rw-r-- 1 jenkins jenkins 9742 Dec 19 05:57 Attribution.txt 05:59:26 -rw-rw-r-- 1 jenkins jenkins 6312 Dec 19 05:57 CHANGELOG.md 05:59:26 -rw-rw-r-- 1 jenkins jenkins 1637 Dec 19 05:57 Dockerfile 05:59:26 -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 05:57 GOVERNANCE.md 05:59:26 -rw-rw-r-- 1 jenkins jenkins 734 Dec 19 05:57 Jenkinsfile 05:59:26 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 19 05:57 LICENSE 05:59:26 -rw-rw-r-- 1 jenkins jenkins 2858 Dec 19 05:57 Makefile 05:59:26 -rw-rw-r-- 1 jenkins jenkins 625 Dec 19 05:57 OWNERS.md 05:59:26 -rw-rw-r-- 1 jenkins jenkins 6595 Dec 19 05:57 README.md 05:59:26 -rw-rw-r-- 1 jenkins jenkins 11 Dec 19 05:58 VERSION 05:59:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 05:57 bin 05:59:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:57 cmd 05:59:26 -rw-r--r-- 1 jenkins jenkins 79184 Dec 19 05:59 coverage.out 05:59:26 drwxrwxr-x 6 jenkins jenkins 4096 Dec 19 05:57 doc 05:59:26 -rw-rw-r-- 1 jenkins jenkins 3688 Dec 19 05:57 go.mod 05:59:26 -rw-rw-r-- 1 jenkins jenkins 46249 Dec 19 05:57 go.sum 05:59:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 05:57 internal 05:59:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 05:57 snap 05:59:26 -rw-rw-r-- 1 jenkins jenkins 236 Dec 19 05:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:26 + 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=4a1514bac2c3623567fb323734989edc763968b8 --label arch=amd64 --label version=3.0.0-dev.2 . 05:59:26 Sending build context to Docker daemon 27.72MB 05:59:26 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 05:59:26 Step 2/26 : FROM ${BASE} AS builder 05:59:26 ---> 00053638bc3e 05:59:26 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:59:26 ---> Running in b758b9508b8f 05:59:26 Removing intermediate container b758b9508b8f 05:59:26 ---> 3b348dbf487b 05:59:26 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:59:26 ---> Running in a86e4d9bcd74 05:59:27 Removing intermediate container a86e4d9bcd74 05:59:27 ---> 6a911da9348f 05:59:27 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 05:59:27 ---> Running in 1ca2fb406cdc 05:59:27 Removing intermediate container 1ca2fb406cdc 05:59:27 ---> 92a392f55ae3 05:59:27 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:59:27 ---> Running in 2ba1ae0d9647 05:59:27 Removing intermediate container 2ba1ae0d9647 05:59:27 ---> 6dc8de41efd7 05:59:27 Step 7/26 : LABEL Name=edgex-device-onvif-camera 05:59:27 ---> Running in 0ab3fa65fbec 05:59:27 Removing intermediate container 0ab3fa65fbec 05:59:27 ---> e523d055bf45 05:59:27 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:59:27 ---> Running in f1ea7787652f 05:59:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:59:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:59:28 OK: 211 MiB in 51 packages 05:59:28 Removing intermediate container f1ea7787652f 05:59:28 ---> bb2e7e940e46 05:59:28 Step 9/26 : WORKDIR /device-onvif-camera 05:59:28 ---> Running in ff0c206e4a3d 05:59:28 Removing intermediate container ff0c206e4a3d 05:59:28 ---> 1433fa3aac49 05:59:28 Step 10/26 : COPY go.mod vendor* ./ 05:59:28 ---> e4a72404c8b7 05:59:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:28 ---> Running in d4fd6ee62745 05:59:29 Removing intermediate container d4fd6ee62745 05:59:29 ---> 499890041641 05:59:29 Step 12/26 : COPY . . 05:59:30 ---> 40939435626a 05:59:30 Step 13/26 : RUN ${MAKE} 05:59:30 ---> Running in 3ecd122cb55d 05:59:30 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 05:59:52 Removing intermediate container 3ecd122cb55d 05:59:52 ---> 3e464f7d9e86 05:59:52 Step 14/26 : FROM alpine:3.16 05:59:52 3.16: Pulling from library/alpine 05:59:52 ca7dd9ec2225: Pulling fs layer 05:59:52 ca7dd9ec2225: Verifying Checksum 05:59:52 ca7dd9ec2225: Download complete 05:59:53 ca7dd9ec2225: Pull complete 05:59:53 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 05:59:53 Status: Downloaded newer image for alpine:3.16 05:59:53 ---> bfe296a52501 05:59:53 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 05:59:53 ---> Running in 2be3c02799cd 05:59:53 Removing intermediate container 2be3c02799cd 05:59:53 ---> 7d9fead76543 05:59:53 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 05:59:53 ---> Running in d80b9be044ae 05:59:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:59:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:59:53 (1/6) Installing dumb-init (1.2.5-r1) 05:59:53 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:59:53 (3/6) Installing libsodium (1.0.18-r0) 05:59:53 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:59:53 (5/6) Installing libzmq (4.3.4-r0) 05:59:53 (6/6) Installing zeromq (4.3.4-r0) 05:59:53 Executing busybox-1.35.0-r17.trigger 05:59:53 OK: 8 MiB in 20 packages 05:59:54 Removing intermediate container d80b9be044ae 05:59:54 ---> 9490cabaf0f5 05:59:54 Step 17/26 : WORKDIR / 05:59:54 ---> Running in b2e18927abf8 05:59:54 Removing intermediate container b2e18927abf8 05:59:54 ---> 27908df60fd3 05:59:54 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 05:59:55 ---> 1ba75b23b2f4 05:59:55 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 05:59:55 ---> ad8c6123a95d 05:59:55 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 05:59:55 ---> fe3576d6868c 05:59:55 Step 21/26 : EXPOSE 59984 05:59:55 ---> Running in 77acfb82a7c7 05:59:55 Removing intermediate container 77acfb82a7c7 05:59:55 ---> 563d37c3accd 05:59:55 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 05:59:55 ---> Running in d763203638de 05:59:55 Removing intermediate container d763203638de 05:59:55 ---> 68a4692c397e 05:59:55 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:59:55 ---> Running in d62c3f7a3c76 05:59:55 Removing intermediate container d62c3f7a3c76 05:59:55 ---> e6328aa72c46 05:59:55 Step 24/26 : LABEL arch=amd64 05:59:55 ---> Running in 6a5e3e3981b2 05:59:55 Removing intermediate container 6a5e3e3981b2 05:59:55 ---> 96577bc58f2e 05:59:55 Step 25/26 : LABEL git_sha=4a1514bac2c3623567fb323734989edc763968b8 05:59:55 ---> Running in 0d4e366ae805 05:59:55 Removing intermediate container 0d4e366ae805 05:59:55 ---> d8f2d88e3793 05:59:55 Step 26/26 : LABEL version=3.0.0-dev.2 05:59:56 ---> Running in dd9d350f174c 05:59:56 Removing intermediate container dd9d350f174c 05:59:56 ---> e4065a24fcc5 05:59:56 [Warning] One or more build-args [ARCH] were not consumed 05:59:56 Successfully built e4065a24fcc5 05:59:56 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 05:59:56 provisioning config files... 05:59:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14519064293329223010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:56 ---> docker-login.sh 05:59:56 nexus3.edgexfoundry.org:10001 05:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:56 Configure a credential helper to remove this warning. See 05:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:56 05:59:56 Login Succeeded 05:59:56 nexus3.edgexfoundry.org:10002 05:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:56 Configure a credential helper to remove this warning. See 05:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:56 05:59:56 Login Succeeded 05:59:56 nexus3.edgexfoundry.org:10003 05:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:57 Configure a credential helper to remove this warning. See 05:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:57 05:59:57 Login Succeeded 05:59:57 nexus3.edgexfoundry.org:10004 05:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:57 Configure a credential helper to remove this warning. See 05:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:57 05:59:57 Login Succeeded 05:59:57 docker.io 05:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:57 Configure a credential helper to remove this warning. See 05:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:57 05:59:57 Login Succeeded 05:59:57 ---> docker-login.sh ends [Pipeline] } 05:59:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:59:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:57 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 05:59:57 4a1514bac2c3623567fb323734989edc763968b8 05:59:57 latest 05:59:57 3.0.0-dev.2 05:59:57 4a1514bac2c3623567fb323734989edc763968b8-3.0.0-dev.2 05:59:57 main 05:59:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:57 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:4a1514bac2c3623567fb323734989edc763968b8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:4a1514bac2c3623567fb323734989edc763968b8 05:59:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:59:58 88f2e352b05e: Preparing 05:59:58 f48086a9dc67: Preparing 05:59:58 4cca87473d78: Preparing 05:59:58 5c5f83ad392b: Preparing 05:59:58 e5e13b0c77cb: Preparing 05:59:58 e5e13b0c77cb: Layer already exists 05:59:58 f48086a9dc67: Pushed 05:59:58 88f2e352b05e: Pushed 05:59:58 5c5f83ad392b: Pushed 05:59:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-143 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 05:59:58 Running in /w/workspace/device-onvif-camera/91 [Pipeline] { [Pipeline] checkout 05:59:58 The recommended git tool is: git 06:00:01 4cca87473d78: Pushed 06:00:01 4a1514bac2c3623567fb323734989edc763968b8: digest: sha256:af1cb3fb919ef0e7c4e2835e67e00d034a9a64de492e7e53069a79393ee172cf size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:01 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 06:00:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:00:02 88f2e352b05e: Preparing 06:00:02 f48086a9dc67: Preparing 06:00:02 4cca87473d78: Preparing 06:00:02 5c5f83ad392b: Preparing 06:00:02 e5e13b0c77cb: Preparing 06:00:02 4cca87473d78: Layer already exists 06:00:02 88f2e352b05e: Layer already exists 06:00:02 e5e13b0c77cb: Layer already exists 06:00:02 5c5f83ad392b: Layer already exists 06:00:02 f48086a9dc67: Layer already exists 06:00:02 latest: digest: sha256:af1cb3fb919ef0e7c4e2835e67e00d034a9a64de492e7e53069a79393ee172cf size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:02 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.2 06:00:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:00:02 88f2e352b05e: Preparing 06:00:02 f48086a9dc67: Preparing 06:00:02 4cca87473d78: Preparing 06:00:02 5c5f83ad392b: Preparing 06:00:02 e5e13b0c77cb: Preparing 06:00:02 88f2e352b05e: Layer already exists 06:00:02 f48086a9dc67: Layer already exists 06:00:02 e5e13b0c77cb: Layer already exists 06:00:02 4cca87473d78: Layer already exists 06:00:02 5c5f83ad392b: Layer already exists 06:00:02 3.0.0-dev.2: digest: sha256:af1cb3fb919ef0e7c4e2835e67e00d034a9a64de492e7e53069a79393ee172cf size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:03 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:4a1514bac2c3623567fb323734989edc763968b8-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:4a1514bac2c3623567fb323734989edc763968b8-3.0.0-dev.2 06:00:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:00:03 88f2e352b05e: Preparing 06:00:03 f48086a9dc67: Preparing 06:00:03 4cca87473d78: Preparing 06:00:03 5c5f83ad392b: Preparing 06:00:03 e5e13b0c77cb: Preparing 06:00:03 4cca87473d78: Layer already exists 06:00:03 88f2e352b05e: Layer already exists 06:00:03 5c5f83ad392b: Layer already exists 06:00:03 e5e13b0c77cb: Layer already exists 06:00:03 f48086a9dc67: Layer already exists 06:00:03 4a1514bac2c3623567fb323734989edc763968b8-3.0.0-dev.2: digest: sha256:af1cb3fb919ef0e7c4e2835e67e00d034a9a64de492e7e53069a79393ee172cf size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:03 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 06:00:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:00:04 88f2e352b05e: Preparing 06:00:04 f48086a9dc67: Preparing 06:00:04 4cca87473d78: Preparing 06:00:04 5c5f83ad392b: Preparing 06:00:04 e5e13b0c77cb: Preparing 06:00:04 88f2e352b05e: Layer already exists 06:00:04 5c5f83ad392b: Layer already exists 06:00:04 4cca87473d78: Layer already exists 06:00:04 e5e13b0c77cb: Layer already exists 06:00:04 f48086a9dc67: Layer already exists 06:00:04 main: digest: sha256:af1cb3fb919ef0e7c4e2835e67e00d034a9a64de492e7e53069a79393ee172cf size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:00:04 ===================================================== [Pipeline] echo 06:00:04 taggedImages: 06:00:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera:4a1514bac2c3623567fb323734989edc763968b8 06:00:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 06:00:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.2 06:00:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera:4a1514bac2c3623567fb323734989edc763968b8-3.0.0-dev.2 06:00:04 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } 06:00:04 using credential edgex-jenkins-ssh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 06:00:04 Cloning the remote Git repository Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:04 06:00:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:04 latest: Pulling from edgex-lftools-log-publisher 06:00:04 5eb5b503b376: Pulling fs layer 06:00:04 5c69ac0246d0: Pulling fs layer 06:00:04 ec43610c2a17: Pulling fs layer 06:00:04 3a2ae6a8a46f: Pulling fs layer 06:00:04 33b1e0a273af: Pulling fs layer 06:00:04 5d3b04190fa2: Pulling fs layer 06:00:04 2f39f015ded8: Pulling fs layer 06:00:04 5d3b04190fa2: Waiting 06:00:04 3a2ae6a8a46f: Waiting 06:00:04 2f39f015ded8: Waiting 06:00:04 33b1e0a273af: Waiting 06:00:04 5c69ac0246d0: Verifying Checksum 06:00:04 5c69ac0246d0: Download complete 06:00:04 3a2ae6a8a46f: Verifying Checksum 06:00:04 3a2ae6a8a46f: Download complete 06:00:04 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 06:00:04 > git init /w/workspace/device-onvif-camera/91 # timeout=10 06:00:04 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:00:04 > git --version # timeout=10 06:00:04 > git --version # 'git version 2.25.1' 06:00:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:05 33b1e0a273af: Verifying Checksum 06:00:05 33b1e0a273af: Download complete 06:00:05 5d3b04190fa2: Verifying Checksum 06:00:05 5d3b04190fa2: Download complete 06:00:05 ec43610c2a17: Verifying Checksum 06:00:05 ec43610c2a17: Download complete 06:00:05 5eb5b503b376: Download complete 06:00:05 2f39f015ded8: Download complete 06:00:06 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:00:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:06 5eb5b503b376: Pull complete 06:00:06 5c69ac0246d0: Pull complete 06:00:06 Avoid second fetch 06:00:06 Checking out Revision 4a1514bac2c3623567fb323734989edc763968b8 (main) 06:00:07 ec43610c2a17: Pull complete 06:00:07 3a2ae6a8a46f: Pull complete 06:00:07 33b1e0a273af: Pull complete 06:00:07 5d3b04190fa2: Pull complete 06:00:07 > git config core.sparsecheckout # timeout=10 06:00:07 > git checkout -f 4a1514bac2c3623567fb323734989edc763968b8 # timeout=10 06:00:07 Commit message: "Merge pull request #201 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.4" 06:00:08 06:00:08 GitHub has been notified of this commit’s build result 06:00:08 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:00:08 % Total % Received % Xferd Average Speed Time Time Time Current 06:00:08 Dload Upload Total Spent Left Speed 06:00:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh 06:00:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:00:09 + sudo tee /etc/docker/daemon.new 06:00:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:00:09 { 06:00:09 "registry-mirrors": [ 06:00:09 "https://nexus3.edgexfoundry.org:10001" 06:00:09 ], 06:00:09 "bip": "10.250.0.254/24", 06:00:09 "hosts": [ 06:00:09 "tcp://0.0.0.0:5555", 06:00:09 "unix:///var/run/docker.sock" 06:00:09 ], 06:00:09 "mtu": 1458, 06:00:09 "selinux-enabled": true, 06:00:09 "seccomp-profile": "/etc/docker/seccomp.json" 06:00:09 } [Pipeline] sh 06:00:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:00:10 + sudo service docker restart 06:00:12 2f39f015ded8: Pull complete 06:00:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:00:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:00:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:12 prd-ubuntu20.04-docker-8c-8g-142 does not seem to be running inside a container 06:00:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:00:14 $ docker top 87b52a0c966c8a09d147ed64b7363e95b35423966b84dc59611b831595f03612 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:15 ---> job-cost.sh 06:00:15 lf-activate-venv: SKIPPING 06:00:15 INFO: No Stack... 06:00:15 INFO: Retrieving Pricing Info for: v3-standard-8 06:00:15 INFO: Archiving Costs [Pipeline] sh 06:00:15 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 06:00:15 + cut -d, -f6 [Pipeline] lock 06:00:15 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-91-stack-cost] 06:00:15 Resource [jenkins-edgexfoundry-device-onvif-camera-main-91-stack-cost] did not exist. Created. 06:00:15 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-91-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:00:16 + echo total: 0.2199999988079071 [Pipeline] stash 06:00:16 Stashed 1 file(s) [Pipeline] } 06:00:16 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-91-stack-cost] [Pipeline] // lock [Pipeline] } 06:00:16 $ docker stop --time=1 87b52a0c966c8a09d147ed64b7363e95b35423966b84dc59611b831595f03612 06:00:17 $ docker rm -f --volumes 87b52a0c966c8a09d147ed64b7363e95b35423966b84dc59611b831595f03612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:28 provisioning config files... 06:00:28 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/91@tmp/config5102512236138812957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:28 ---> docker-login.sh 06:00:28 nexus3.edgexfoundry.org:10001 06:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:29 Configure a credential helper to remove this warning. See 06:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:29 06:00:29 Login Succeeded 06:00:29 nexus3.edgexfoundry.org:10002 06:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:29 Configure a credential helper to remove this warning. See 06:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:29 06:00:29 Login Succeeded 06:00:29 nexus3.edgexfoundry.org:10003 06:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:30 Configure a credential helper to remove this warning. See 06:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:30 06:00:30 Login Succeeded 06:00:30 nexus3.edgexfoundry.org:10004 06:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:30 Configure a credential helper to remove this warning. See 06:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:30 06:00:30 Login Succeeded 06:00:30 docker.io 06:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:30 Configure a credential helper to remove this warning. See 06:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:30 06:00:30 Login Succeeded 06:00:30 ---> docker-login.sh ends [Pipeline] } 06:00:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:00:31 ========================================================= 06:00:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:00:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:31 + 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 . 06:00:32 Sending build context to Docker daemon 20.51MB 06:00:32 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 06:00:32 Step 2/13 : FROM ${BASE} AS builder 06:00:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:00:32 9b18e9b68314: Pulling fs layer 06:00:32 35d82f9e3411: Pulling fs layer 06:00:32 e16973657156: Pulling fs layer 06:00:32 fc693d55d65f: Pulling fs layer 06:00:32 7e9fc2657dce: Pulling fs layer 06:00:32 dda99020689f: Pulling fs layer 06:00:32 db1c61fa0a46: Pulling fs layer 06:00:32 891c053d2c06: Pulling fs layer 06:00:32 fc693d55d65f: Waiting 06:00:32 7e9fc2657dce: Waiting 06:00:32 dda99020689f: Waiting 06:00:32 db1c61fa0a46: Waiting 06:00:32 891c053d2c06: Waiting 06:00:32 e16973657156: Verifying Checksum 06:00:32 e16973657156: Download complete 06:00:32 35d82f9e3411: Download complete 06:00:32 7e9fc2657dce: Verifying Checksum 06:00:32 7e9fc2657dce: Download complete 06:00:32 dda99020689f: Verifying Checksum 06:00:32 dda99020689f: Download complete 06:00:32 9b18e9b68314: Download complete 06:00:33 9b18e9b68314: Pull complete 06:00:33 891c053d2c06: Verifying Checksum 06:00:33 891c053d2c06: Download complete 06:00:34 35d82f9e3411: Pull complete 06:00:34 e16973657156: Pull complete 06:00:34 db1c61fa0a46: Verifying Checksum 06:00:34 db1c61fa0a46: Download complete 06:00:35 fc693d55d65f: Download complete 06:00:47 fc693d55d65f: Pull complete 06:00:47 7e9fc2657dce: Pull complete 06:00:47 dda99020689f: Pull complete 06:00:54 db1c61fa0a46: Pull complete 06:00:55 891c053d2c06: Pull complete 06:00:55 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:00:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:00:55 ---> f96f9c87975a 06:00:55 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:00:57 ---> Running in 2ced896b3f89 06:00:57 Removing intermediate container 2ced896b3f89 06:00:57 ---> bf0b16442143 06:00:57 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:57 ---> Running in a8b30b69fc48 06:00:57 Removing intermediate container a8b30b69fc48 06:00:57 ---> 6d54c87061ad 06:00:57 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:00:57 ---> Running in 515d009435bd 06:00:58 Removing intermediate container 515d009435bd 06:00:58 ---> c1528c93de78 06:00:58 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:00:58 ---> Running in b84e95d94542 06:00:58 Removing intermediate container b84e95d94542 06:00:58 ---> bbbf2b51ce51 06:00:58 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:00:58 ---> Running in 805ab4ab9db6 06:00:59 Removing intermediate container 805ab4ab9db6 06:00:59 ---> 2edb9f5d2c6d 06:00:59 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:00:59 ---> Running in 8a87d1859ac4 06:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:01:01 OK: 221 MiB in 51 packages 06:01:02 Removing intermediate container 8a87d1859ac4 06:01:02 ---> 874c2502be48 06:01:02 Step 9/13 : WORKDIR /device-onvif-camera 06:01:02 ---> Running in 4cc23a483eb4 06:01:02 Removing intermediate container 4cc23a483eb4 06:01:02 ---> b7bd732ee5b1 06:01:02 Step 10/13 : COPY go.mod vendor* ./ 06:01:03 ---> c927b232f7c9 06:01:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:03 ---> Running in 0146773b6ba9 06:01:59 Removing intermediate container 0146773b6ba9 06:01:59 ---> 048301962a4a 06:01:59 Step 12/13 : COPY . . 06:01:59 ---> e73bb59ad299 06:01:59 Step 13/13 : RUN ${MAKE} 06:01:59 ---> Running in 0a835ec75130 06:01:59 noop 06:01:59 Removing intermediate container 0a835ec75130 06:01:59 ---> d5a47e7afebd 06:02:00 Successfully built d5a47e7afebd 06:02:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:00 + docker inspect -f . ci-base-image-arm64 06:02:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:00 prd-ubuntu20.04-docker-arm64-4c-16g-143 does not seem to be running inside a container 06:02:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/91 -v /w/workspace/device-onvif-camera/91:/w/workspace/device-onvif-camera/91:rw,z -v /w/workspace/device-onvif-camera/91@tmp:/w/workspace/device-onvif-camera/91@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 06:02:01 $ docker top 3266aa71dff3d0f4cb373f2fc038980afc62f96e37a3b4efeb80bbc5e5f7812d -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:02 + go version 06:02:02 go version go1.18.7 linux/arm64 [Pipeline] } 06:02:02 $ docker stop --time=1 3266aa71dff3d0f4cb373f2fc038980afc62f96e37a3b4efeb80bbc5e5f7812d 06:02:04 $ docker rm -f --volumes 3266aa71dff3d0f4cb373f2fc038980afc62f96e37a3b4efeb80bbc5e5f7812d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:04 + docker inspect -f . ci-base-image-arm64 06:02:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:05 prd-ubuntu20.04-docker-arm64-4c-16g-143 does not seem to be running inside a container 06:02:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/91 -v /w/workspace/device-onvif-camera/91:/w/workspace/device-onvif-camera/91:rw,z -v /w/workspace/device-onvif-camera/91@tmp:/w/workspace/device-onvif-camera/91@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 06:02:06 $ docker top 942c4303702ba1a6ed653309aa06cfe5743236b5340d660e22649956bccbbf4a -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:07 + git config --global --add safe.directory /w/workspace/device-onvif-camera/91 [Pipeline] fileExists [Pipeline] sh 06:02:07 + make test 06:02:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:02:09 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:03:46 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:03:46 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.157s coverage: 29.3% of statements 06:03:46 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:03:47 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 15.546s coverage: 86.5% of statements 06:03:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:03:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:04:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:04:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:04:10 ./bin/test-attribution-txt.sh [Pipeline] echo 06:04:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:04:10 $ docker stop --time=1 942c4303702ba1a6ed653309aa06cfe5743236b5340d660e22649956bccbbf4a 06:04:12 $ docker rm -f --volumes 942c4303702ba1a6ed653309aa06cfe5743236b5340d660e22649956bccbbf4a [Pipeline] // withDockerContainer [Pipeline] sh 06:04:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:04:13 Warning: overwriting stash ‘coverage-report’ 06:04:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:04:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:04:14 + ls -al . 06:04:14 total 244 06:04:14 drwxrwxr-x 9 jenkins jenkins 4096 Dec 19 06:02 . 06:04:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 06:00 .. 06:04:14 drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 06:00 .git 06:04:14 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 06:00 .github 06:04:14 -rw-rw-r-- 1 jenkins jenkins 496 Dec 19 06:00 .gitignore 06:04:14 -rw-rw-r-- 1 jenkins jenkins 42 Dec 19 06:00 .golangci.yml 06:04:14 -rw-rw-r-- 1 jenkins jenkins 9742 Dec 19 06:00 Attribution.txt 06:04:14 -rw-rw-r-- 1 jenkins jenkins 6312 Dec 19 06:00 CHANGELOG.md 06:04:14 -rw-rw-r-- 1 jenkins jenkins 1637 Dec 19 06:00 Dockerfile 06:04:14 -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 06:00 GOVERNANCE.md 06:04:14 -rw-rw-r-- 1 jenkins jenkins 734 Dec 19 06:00 Jenkinsfile 06:04:14 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 19 06:00 LICENSE 06:04:14 -rw-rw-r-- 1 jenkins jenkins 2858 Dec 19 06:00 Makefile 06:04:14 -rw-rw-r-- 1 jenkins jenkins 625 Dec 19 06:00 OWNERS.md 06:04:14 -rw-rw-r-- 1 jenkins jenkins 6595 Dec 19 06:00 README.md 06:04:14 -rw-rw-r-- 1 jenkins jenkins 11 Dec 19 05:58 VERSION 06:04:14 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 06:00 bin 06:04:14 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 06:00 cmd 06:04:14 -rw-r--r-- 1 jenkins jenkins 79184 Dec 19 06:03 coverage.out 06:04:14 drwxrwxr-x 6 jenkins jenkins 4096 Dec 19 06:00 doc 06:04:14 -rw-rw-r-- 1 jenkins jenkins 3688 Dec 19 06:00 go.mod 06:04:14 -rw-rw-r-- 1 jenkins jenkins 46249 Dec 19 06:00 go.sum 06:04:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 06:00 internal 06:04:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 06:00 snap 06:04:14 -rw-rw-r-- 1 jenkins jenkins 236 Dec 19 06:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:15 + 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=4a1514bac2c3623567fb323734989edc763968b8 --label arch=arm64 --label version=3.0.0-dev.2 . 06:04:15 Sending build context to Docker daemon 20.59MB 06:04:15 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 06:04:15 Step 2/26 : FROM ${BASE} AS builder 06:04:15 ---> d5a47e7afebd 06:04:15 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:04:15 ---> Running in 2a8272d412b0 06:04:16 Removing intermediate container 2a8272d412b0 06:04:16 ---> cb32ddbf38c0 06:04:16 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:16 ---> Running in 8a11780624b6 06:04:16 Removing intermediate container 8a11780624b6 06:04:16 ---> d229325880c2 06:04:16 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:04:16 ---> Running in 413f27afc6d2 06:04:16 Removing intermediate container 413f27afc6d2 06:04:16 ---> b115ba7ee3fa 06:04:16 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:04:16 ---> Running in be81b65ff8f1 06:04:17 Removing intermediate container be81b65ff8f1 06:04:17 ---> 54656a76beeb 06:04:17 Step 7/26 : LABEL Name=edgex-device-onvif-camera 06:04:17 ---> Running in b38d75aeedd9 06:04:17 Removing intermediate container b38d75aeedd9 06:04:17 ---> cecf8d73f80f 06:04:17 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:04:17 ---> Running in 26e3c154e54b 06:04:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:04:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:04:20 OK: 221 MiB in 51 packages 06:04:21 Removing intermediate container 26e3c154e54b 06:04:21 ---> 80fbc8e2481a 06:04:21 Step 9/26 : WORKDIR /device-onvif-camera 06:04:22 ---> Running in 8d5ea9515caf 06:04:22 Removing intermediate container 8d5ea9515caf 06:04:22 ---> e4629c59b06c 06:04:22 Step 10/26 : COPY go.mod vendor* ./ 06:04:22 ---> 7e1abe333705 06:04:22 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:22 ---> Running in 5d128cb9f587 06:04:25 Removing intermediate container 5d128cb9f587 06:04:25 ---> e3202f91f644 06:04:25 Step 12/26 : COPY . . 06:04:27 ---> aa9bca99fddb 06:04:27 Step 13/26 : RUN ${MAKE} 06:04:27 ---> Running in a8d502b169e5 06:04:28 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 06:07:05 Removing intermediate container a8d502b169e5 06:07:05 ---> 82d451031bd4 06:07:05 Step 14/26 : FROM alpine:3.16 06:07:05 3.16: Pulling from library/alpine 06:07:05 6875df1f5354: Pulling fs layer 06:07:05 6875df1f5354: Download complete 06:07:05 6875df1f5354: Pull complete 06:07:05 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 06:07:05 Status: Downloaded newer image for alpine:3.16 06:07:05 ---> 2b4661558fb8 06:07:05 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:07:05 ---> Running in e483d11816b2 06:07:05 Removing intermediate container e483d11816b2 06:07:05 ---> 3b0cf5ed65cc 06:07:05 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 06:07:05 ---> Running in 0cd64f69d235 06:07:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:07:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:07:05 (1/6) Installing dumb-init (1.2.5-r1) 06:07:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 06:07:05 (3/6) Installing libsodium (1.0.18-r0) 06:07:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 06:07:05 (5/6) Installing libzmq (4.3.4-r0) 06:07:05 (6/6) Installing zeromq (4.3.4-r0) 06:07:05 Executing busybox-1.35.0-r17.trigger 06:07:05 OK: 8 MiB in 20 packages 06:07:05 Removing intermediate container 0cd64f69d235 06:07:05 ---> c5186cd54456 06:07:05 Step 17/26 : WORKDIR / 06:07:05 ---> Running in 44aa9c904648 06:07:05 Removing intermediate container 44aa9c904648 06:07:05 ---> 33279f1a6d4f 06:07:05 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:07:05 ---> cf19dfc63d58 06:07:05 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:07:05 ---> 57ee089344d4 06:07:05 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:07:05 ---> f49ae5ee2a3b 06:07:05 Step 21/26 : EXPOSE 59984 06:07:05 ---> Running in c659f01ebd21 06:07:06 Removing intermediate container c659f01ebd21 06:07:06 ---> a259d100def9 06:07:06 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:07:06 ---> Running in 894a9d93fe1b 06:07:06 Removing intermediate container 894a9d93fe1b 06:07:06 ---> e2ef8c6cab58 06:07:06 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:07:06 ---> Running in 9d8426d74a08 06:07:06 Removing intermediate container 9d8426d74a08 06:07:06 ---> b33b695494b7 06:07:06 Step 24/26 : LABEL arch=arm64 06:07:07 ---> Running in b6fc40adc93b 06:07:07 Removing intermediate container b6fc40adc93b 06:07:07 ---> 6ea74c2dd856 06:07:07 Step 25/26 : LABEL git_sha=4a1514bac2c3623567fb323734989edc763968b8 06:07:07 ---> Running in d5d1994e0376 06:07:07 Removing intermediate container d5d1994e0376 06:07:07 ---> e5334105187c 06:07:07 Step 26/26 : LABEL version=3.0.0-dev.2 06:07:07 ---> Running in 3360235a35a5 06:07:08 Removing intermediate container 3360235a35a5 06:07:08 ---> 06b4c3160fcd 06:07:08 [Warning] One or more build-args [ARCH] were not consumed 06:07:08 Successfully built 06b4c3160fcd 06:07:08 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 06:07:08 provisioning config files... 06:07:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/91@tmp/config5562469205640933555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:07:08 ---> docker-login.sh 06:07:08 nexus3.edgexfoundry.org:10001 06:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:08 Configure a credential helper to remove this warning. See 06:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:08 06:07:08 Login Succeeded 06:07:08 nexus3.edgexfoundry.org:10002 06:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:09 Configure a credential helper to remove this warning. See 06:07:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:09 06:07:09 Login Succeeded 06:07:09 nexus3.edgexfoundry.org:10003 06:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:09 Configure a credential helper to remove this warning. See 06:07:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:09 06:07:09 Login Succeeded 06:07:09 nexus3.edgexfoundry.org:10004 06:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:09 Configure a credential helper to remove this warning. See 06:07:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:09 06:07:09 Login Succeeded 06:07:09 docker.io 06:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:10 Configure a credential helper to remove this warning. See 06:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:10 06:07:10 Login Succeeded 06:07:10 ---> docker-login.sh ends [Pipeline] } 06:07:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:07:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:07:10 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 06:07:10 4a1514bac2c3623567fb323734989edc763968b8 06:07:10 latest 06:07:10 3.0.0-dev.2 06:07:10 4a1514bac2c3623567fb323734989edc763968b8-3.0.0-dev.2 06:07:10 main 06:07:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:10 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4a1514bac2c3623567fb323734989edc763968b8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4a1514bac2c3623567fb323734989edc763968b8 06:07:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:07:11 8a0634017074: Preparing 06:07:11 efa682f60ee0: Preparing 06:07:11 49b299316a68: Preparing 06:07:11 93666244acb2: Preparing 06:07:11 17bec77d7fdc: Preparing 06:07:11 17bec77d7fdc: Layer already exists 06:07:11 efa682f60ee0: Pushed 06:07:11 8a0634017074: Pushed 06:07:12 93666244acb2: Pushed 06:07:17 49b299316a68: Pushed 06:07:17 4a1514bac2c3623567fb323734989edc763968b8: digest: sha256:f3ab134eb0f57b2cc4867863041ccbe5d55c670bd9cf45f4580e28285fc6f709 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:17 + 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 06:07:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 06:07:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:07:18 8a0634017074: Preparing 06:07:18 efa682f60ee0: Preparing 06:07:18 49b299316a68: Preparing 06:07:18 93666244acb2: Preparing 06:07:18 17bec77d7fdc: Preparing 06:07:18 efa682f60ee0: Layer already exists 06:07:18 8a0634017074: Layer already exists 06:07:18 17bec77d7fdc: Layer already exists 06:07:18 49b299316a68: Layer already exists 06:07:18 93666244acb2: Layer already exists 06:07:18 latest: digest: sha256:f3ab134eb0f57b2cc4867863041ccbe5d55c670bd9cf45f4580e28285fc6f709 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:18 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.2 06:07:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:07:19 8a0634017074: Preparing 06:07:19 efa682f60ee0: Preparing 06:07:19 49b299316a68: Preparing 06:07:19 93666244acb2: Preparing 06:07:19 17bec77d7fdc: Preparing 06:07:19 17bec77d7fdc: Layer already exists 06:07:19 efa682f60ee0: Layer already exists 06:07:19 8a0634017074: Layer already exists 06:07:19 49b299316a68: Layer already exists 06:07:19 93666244acb2: Layer already exists 06:07:19 3.0.0-dev.2: digest: sha256:f3ab134eb0f57b2cc4867863041ccbe5d55c670bd9cf45f4580e28285fc6f709 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:19 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4a1514bac2c3623567fb323734989edc763968b8-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4a1514bac2c3623567fb323734989edc763968b8-3.0.0-dev.2 06:07:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:07:20 8a0634017074: Preparing 06:07:20 efa682f60ee0: Preparing 06:07:20 49b299316a68: Preparing 06:07:20 93666244acb2: Preparing 06:07:20 17bec77d7fdc: Preparing 06:07:20 efa682f60ee0: Layer already exists 06:07:20 8a0634017074: Layer already exists 06:07:20 93666244acb2: Layer already exists 06:07:20 49b299316a68: Layer already exists 06:07:20 17bec77d7fdc: Layer already exists 06:07:20 4a1514bac2c3623567fb323734989edc763968b8-3.0.0-dev.2: digest: sha256:f3ab134eb0f57b2cc4867863041ccbe5d55c670bd9cf45f4580e28285fc6f709 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:20 + 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 06:07:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 06:07:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:07:21 8a0634017074: Preparing 06:07:21 efa682f60ee0: Preparing 06:07:21 49b299316a68: Preparing 06:07:21 93666244acb2: Preparing 06:07:21 17bec77d7fdc: Preparing 06:07:21 93666244acb2: Layer already exists 06:07:21 efa682f60ee0: Layer already exists 06:07:21 49b299316a68: Layer already exists 06:07:21 8a0634017074: Layer already exists 06:07:21 17bec77d7fdc: Layer already exists 06:07:21 main: digest: sha256:f3ab134eb0f57b2cc4867863041ccbe5d55c670bd9cf45f4580e28285fc6f709 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:07:21 ===================================================== [Pipeline] echo 06:07:21 taggedImages: 06:07:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4a1514bac2c3623567fb323734989edc763968b8 06:07:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 06:07:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.2 06:07:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4a1514bac2c3623567fb323734989edc763968b8-3.0.0-dev.2 06:07:21 - 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 06:07:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:07:21 06:07:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:07:22 arm64: Pulling from edgex-lftools-log-publisher 06:07:22 8998bd30e6a1: Pulling fs layer 06:07:22 04944245beec: Pulling fs layer 06:07:22 699f458cf7ca: Pulling fs layer 06:07:22 765212b225bb: Pulling fs layer 06:07:22 f23df028b6ca: Pulling fs layer 06:07:22 d65c8cfc05b1: Pulling fs layer 06:07:22 2437ff75d9bd: Pulling fs layer 06:07:22 f23df028b6ca: Waiting 06:07:22 d65c8cfc05b1: Waiting 06:07:22 2437ff75d9bd: Waiting 06:07:22 765212b225bb: Waiting 06:07:22 04944245beec: Verifying Checksum 06:07:22 04944245beec: Download complete 06:07:22 765212b225bb: Verifying Checksum 06:07:22 765212b225bb: Download complete 06:07:22 f23df028b6ca: Verifying Checksum 06:07:22 f23df028b6ca: Download complete 06:07:22 d65c8cfc05b1: Verifying Checksum 06:07:22 d65c8cfc05b1: Download complete 06:07:22 699f458cf7ca: Verifying Checksum 06:07:22 699f458cf7ca: Download complete 06:07:23 8998bd30e6a1: Verifying Checksum 06:07:23 8998bd30e6a1: Download complete 06:07:25 2437ff75d9bd: Verifying Checksum 06:07:25 2437ff75d9bd: Download complete 06:07:27 8998bd30e6a1: Pull complete 06:07:27 04944245beec: Pull complete 06:07:28 699f458cf7ca: Pull complete 06:07:28 765212b225bb: Pull complete 06:07:29 f23df028b6ca: Pull complete 06:07:29 d65c8cfc05b1: Pull complete 06:07:44 2437ff75d9bd: Pull complete 06:07:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:07:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:07:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:44 prd-ubuntu20.04-docker-arm64-4c-16g-143 does not seem to be running inside a container 06:07:45 $ 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/91 -v /w/workspace/device-onvif-camera/91:/w/workspace/device-onvif-camera/91:rw,z -v /w/workspace/device-onvif-camera/91@tmp:/w/workspace/device-onvif-camera/91@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 06:07:47 $ docker top 589e5381586b5da08a5958bef1f152e1a9b2d0ddec402c8e6e674167a781acc9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:07:48 ---> job-cost.sh 06:07:48 lf-activate-venv: SKIPPING 06:07:48 INFO: No Stack... 06:07:48 INFO: Retrieving Pricing Info for: v3-standard-4 06:07:49 INFO: Archiving Costs [Pipeline] sh 06:07:49 + cat /w/workspace/device-onvif-camera/91/archives/cost.csv 06:07:50 + cut -d, -f6 [Pipeline] lock 06:07:50 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-91-stack-cost] 06:07:50 Resource [jenkins-edgexfoundry-device-onvif-camera-main-91-stack-cost] did not exist. Created. 06:07:50 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-91-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:07:50 /w/workspace/device-onvif-camera/91@tmp/durable-84aa6127/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:07:51 + echo total: 0.10999999940395355 [Pipeline] stash 06:07:51 Warning: overwriting stash ‘stack-cost’ 06:07:51 Stashed 1 file(s) [Pipeline] } 06:07:51 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-91-stack-cost] [Pipeline] // lock [Pipeline] } 06:07:51 $ docker stop --time=1 589e5381586b5da08a5958bef1f152e1a9b2d0ddec402c8e6e674167a781acc9 06:07:52 $ docker rm -f --volumes 589e5381586b5da08a5958bef1f152e1a9b2d0ddec402c8e6e674167a781acc9 [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 06:07:53 provisioning config files... 06:07:53 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5667233058330629366tmp [Pipeline] { [Pipeline] sh 06:07:53 + set +x 06:07:53 + curl -s https://codecov.io/bash 06:07:53 + bash -s -- 06:07:53 06:07:53 _____ _ 06:07:53 / ____| | | 06:07:53 | | ___ __| | ___ ___ _____ __ 06:07:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:07:53 | |___| (_) | (_| | __/ (_| (_) \ V / 06:07:53 \_____\___/ \__,_|\___|\___\___/ \_/ 06:07:53 Bash-1.0.6 06:07:53 06:07:53 06:07:53 ==> git version 2.25.1 found 06:07:53 ==> 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 06:07:53 Release-Date: 2020-01-08 06:07:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:07:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:07:53 ==> Jenkins CI detected. 06:07:53 current dir:  /w/workspace/foundry_device-onvif-camera_main 06:07:53 project root: . 06:07:53 --> token set from env 06:07:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:07:53 ==> Running gcov in . (disable via -X gcov) 06:07:53 ==> Python coveragepy not found 06:07:53 ==> Searching for coverage reports in: 06:07:53 + . 06:07:53 -> Found 1 reports 06:07:53 ==> Detecting git/mercurial file structure 06:07:53 ==> Reading reports 06:07:53 + ./coverage.out bytes=79184 06:07:53 ==> Appending adjustments 06:07:53 https://docs.codecov.io/docs/fixing-reports 06:07:53 + Found adjustments 06:07:53 ==> Gzipping contents 06:07:53 12K /tmp/codecov.ivEbkd.gz 06:07:53 ==> Uploading reports 06:07:53 url: https://codecov.io 06:07:53 query: branch=main&commit=4a1514bac2c3623567fb323734989edc763968b8&build=91&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F91%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 06:07:53 -> Pinging Codecov 06:07:53 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=4a1514bac2c3623567fb323734989edc763968b8&build=91&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F91%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 06:07:53 -> Uploading to 06:07:53 https://storage.googleapis.com/codecov/v4/raw/2022-12-19/F29A59C45E3A92E06B3E522C9905F8EF/4a1514bac2c3623567fb323734989edc763968b8/ac2b2db7-d316-46d9-b29c-9d0711d8426e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221219T060753Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=90af79c11e0fca2ac8e75776930dfb91ccc6a28217af54a8f538de8a0bde7421 06:07:53 % Total % Received % Xferd Average Speed Time Time Time Current 06:07:53 Dload Upload Total Spent Left Speed 06:07:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10893 0 0 100 10893 0 53397 --:--:-- --:--:-- --:--:-- 53136 06:07:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4a1514bac2c3623567fb323734989edc763968b8 [Pipeline] } 06:07:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:07:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:07:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:07:54 06:07:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:07:55 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:07:55 df9b9388f04a: Pulling fs layer 06:07:55 52dc419b0ee2: Pulling fs layer 06:07:55 25bc292e5bac: Pulling fs layer 06:07:55 114826534d7a: Pulling fs layer 06:07:55 4657fd5d0bcf: Pulling fs layer 06:07:55 6ad1cebc031e: Pulling fs layer 06:07:55 8a3aa393b2d8: Pulling fs layer 06:07:55 114826534d7a: Waiting 06:07:55 6ad1cebc031e: Waiting 06:07:55 4657fd5d0bcf: Waiting 06:07:55 8a3aa393b2d8: Waiting 06:07:55 25bc292e5bac: Verifying Checksum 06:07:55 25bc292e5bac: Download complete 06:07:55 52dc419b0ee2: Download complete 06:07:55 4657fd5d0bcf: Verifying Checksum 06:07:55 4657fd5d0bcf: Download complete 06:07:55 df9b9388f04a: Download complete 06:07:55 6ad1cebc031e: Verifying Checksum 06:07:55 6ad1cebc031e: Download complete 06:07:55 df9b9388f04a: Pull complete 06:07:55 52dc419b0ee2: Pull complete 06:07:55 25bc292e5bac: Pull complete 06:07:55 114826534d7a: Verifying Checksum 06:07:55 114826534d7a: Download complete 06:07:56 8a3aa393b2d8: Verifying Checksum 06:07:56 8a3aa393b2d8: Download complete 06:07:59 114826534d7a: Pull complete 06:07:59 4657fd5d0bcf: Pull complete 06:07:59 6ad1cebc031e: Pull complete 06:08:03 8a3aa393b2d8: Pull complete 06:08:03 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:08:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:08:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:03 prd-ubuntu20.04-docker-8c-8g-142 does not seem to be running inside a container 06:08:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:08:05 $ docker top cd342913deac8ca7a5f2c37b3663ac04d5077a9b2da5e9e12b9fcacc5a559419 -eo pid,comm [Pipeline] { [Pipeline] echo 06:08:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 06:08:05 + set -o pipefail 06:08:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 06:08:11 06:08:11 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 06:08:11 06:08:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/b43b1a3c-25d2-4fca-8525-41c05726ef6e 06:08:11 06:08:11 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 06:08:11 06:08:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:08:11 06:08:13 06:08:13 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:08:13 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:08:13 More details here: https://snyk.co/ue1NS [Pipeline] } 06:08:13 $ docker stop --time=1 cd342913deac8ca7a5f2c37b3663ac04d5077a9b2da5e9e12b9fcacc5a559419 06:08:16 $ docker rm -f --volumes cd342913deac8ca7a5f2c37b3663ac04d5077a9b2da5e9e12b9fcacc5a559419 [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 06:08:16 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:16 provisioning config files... 06:08:16 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2128176559947589187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:16 --> edgex-publish-swagger.sh 06:08:16 === Publish doc/openapi/v2 API === 06:08:16 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 06:08:16 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 06:08:16 % Total % Received % Xferd Average Speed Time Time Time Current 06:08:16 Dload Upload Total Spent Left Speed 06:08:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 100 38 100 469k 63 789k --:--:-- --:--:-- --:--:-- 789k 100 469k 100 38 100 469k 63 789k --:--:-- --:--:-- --:--:-- 787k 06:08:17 {"code":403,"message":"Access Denied"} 06:08:17 [Pipeline] } 06:08:17 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 06:08:17 + git log --format=format:%s -1 4a1514bac2c3623567fb323734989edc763968b8 [Pipeline] sh 06:08:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:08:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:08:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:18 prd-ubuntu20.04-docker-8c-8g-142 does not seem to be running inside a container 06:08:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:08:18 $ docker top a081cd6af0c76a1942ee4db267f82bfe0a49fe75d84d69023f2820c564e0cfa1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:08:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:08:18 [ssh-agent] Looking for ssh-agent implementation... 06:08:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:08:19 $ docker exec a081cd6af0c76a1942ee4db267f82bfe0a49fe75d84d69023f2820c564e0cfa1 ssh-agent 06:08:19 SSH_AUTH_SOCK=/tmp/ssh-PZtUw2maUAeg/agent.33 06:08:19 SSH_AGENT_PID=39 06:08:19 Running ssh-add (command line suppressed) 06:08:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_993422280535532201.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_993422280535532201.key) 06:08:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:08:19 + git semver tag 06:08:19 2022-12-19 06:08:19,781 [run_tag] DEBUG tag force:False 06:08:19 2022-12-19 06:08:19,781 [check_head_tag] DEBUG check head tag 06:08:19 2022-12-19 06:08:19,782 [execute] INFO git cat-file --batch-check 06:08:19 2022-12-19 06:08:19,782 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 06:08:19 2022-12-19 06:08:19,786 [execute] INFO git cat-file --batch 06:08:19 2022-12-19 06:08:19,786 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 06:08:19 2022-12-19 06:08:19,813 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:08:19 2022-12-19 06:08:19,814 [execute] INFO git tag -a v3.0.0-dev.2 -m v3.0.0-dev.2 06:08:19 2022-12-19 06:08:19,814 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.2', '-m', 'v3.0.0-dev.2'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 06:08:19 2022-12-19 06:08:19,817 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:08:19 3.0.0-dev.2 [Pipeline] } 06:08:19 $ docker exec --env ******** --env ******** a081cd6af0c76a1942ee4db267f82bfe0a49fe75d84d69023f2820c564e0cfa1 ssh-agent -k 06:08:19 unset SSH_AUTH_SOCK; 06:08:19 unset SSH_AGENT_PID; 06:08:19 echo Agent pid 39 killed; 06:08:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:08:20 + git semver [Pipeline] } 06:08:20 $ docker stop --time=1 a081cd6af0c76a1942ee4db267f82bfe0a49fe75d84d69023f2820c564e0cfa1 06:08:21 $ docker rm -f --volumes a081cd6af0c76a1942ee4db267f82bfe0a49fe75d84d69023f2820c564e0cfa1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:08:22 06:08:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:08:22 0.23.1-centos7: Pulling from edgex-lftools 06:08:22 ab5ef0e58194: Pulling fs layer 06:08:22 9712f1f96733: Pulling fs layer 06:08:22 63f879dbbcfc: Pulling fs layer 06:08:22 0d9ebad4ef96: Pulling fs layer 06:08:22 e9a5061849ea: Pulling fs layer 06:08:22 d747dcd14b5f: Pulling fs layer 06:08:22 2de7ff778b66: Pulling fs layer 06:08:22 0d9ebad4ef96: Waiting 06:08:22 e9a5061849ea: Waiting 06:08:22 d747dcd14b5f: Waiting 06:08:22 2de7ff778b66: Waiting 06:08:22 9712f1f96733: Download complete 06:08:22 63f879dbbcfc: Verifying Checksum 06:08:22 63f879dbbcfc: Download complete 06:08:23 ab5ef0e58194: Verifying Checksum 06:08:23 ab5ef0e58194: Download complete 06:08:23 e9a5061849ea: Verifying Checksum 06:08:23 e9a5061849ea: Download complete 06:08:23 d747dcd14b5f: Verifying Checksum 06:08:23 d747dcd14b5f: Download complete 06:08:23 0d9ebad4ef96: Verifying Checksum 06:08:23 0d9ebad4ef96: Download complete 06:08:23 2de7ff778b66: Verifying Checksum 06:08:23 2de7ff778b66: Download complete 06:08:25 ab5ef0e58194: Pull complete 06:08:25 9712f1f96733: Pull complete 06:08:26 63f879dbbcfc: Pull complete 06:08:29 0d9ebad4ef96: Pull complete 06:08:29 e9a5061849ea: Pull complete 06:08:29 d747dcd14b5f: Pull complete 06:08:31 2de7ff778b66: Pull complete 06:08:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:08:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:08:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:31 prd-ubuntu20.04-docker-8c-8g-142 does not seem to be running inside a container 06:08:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:08:34 $ docker top 35f12f1939b40358f70a20bcc7b0550d44bc31c4724d77336d756d0fc4f25a32 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:08:34 provisioning config files... 06:08:34 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3982945029985422801tmp 06:08:34 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7555222335602787341tmp 06:08:34 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5860573398979620829tmp [Pipeline] { [Pipeline] echo 06:08:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:08:34 ---> sigul-configuration.sh 06:08:34 gpg: directory `/root/.gnupg' created 06:08:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:08:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:08:34 gpg: keyring `/root/.gnupg/secring.gpg' created 06:08:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:08:34 gpg: CAST5 encrypted data 06:08:34 gpg: encrypted with 1 passphrase 06:08:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:08:34 + mkdir /home/jenkins 06:08:34 + mkdir /home/jenkins/sigul [Pipeline] sh 06:08:35 + 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 06:08:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:08:35 ---> sigul-install.sh 06:08:35 Sigul already installed; skipping installation. [Pipeline] sh 06:08:35 + git tag --list 06:08:35 v0.0.0 06:08:35 v0.0.1-dev.1 06:08:35 v0.0.1-dev.10 06:08:35 v0.0.1-dev.11 06:08:35 v0.0.1-dev.12 06:08:35 v0.0.1-dev.13 06:08:35 v0.0.1-dev.14 06:08:35 v0.0.1-dev.15 06:08:35 v0.0.1-dev.16 06:08:35 v0.0.1-dev.17 06:08:35 v0.0.1-dev.18 06:08:35 v0.0.1-dev.19 06:08:35 v0.0.1-dev.2 06:08:35 v0.0.1-dev.20 06:08:35 v0.0.1-dev.21 06:08:35 v0.0.1-dev.22 06:08:35 v0.0.1-dev.23 06:08:35 v0.0.1-dev.24 06:08:35 v0.0.1-dev.25 06:08:35 v0.0.1-dev.26 06:08:35 v0.0.1-dev.27 06:08:35 v0.0.1-dev.28 06:08:35 v0.0.1-dev.3 06:08:35 v0.0.1-dev.4 06:08:35 v0.0.1-dev.5 06:08:35 v0.0.1-dev.6 06:08:35 v0.0.1-dev.7 06:08:35 v0.0.1-dev.8 06:08:35 v0.0.1-dev.9 06:08:35 v2.2.0 06:08:35 v2.2.0-dev.29 06:08:35 v2.2.0-dev.30 06:08:35 v2.2.0-dev.31 06:08:35 v2.2.0-dev.32 06:08:35 v2.2.0-dev.33 06:08:35 v2.2.0-dev.34 06:08:35 v2.2.0-dev.35 06:08:35 v2.3.0 06:08:35 v2.3.0-dev.1 06:08:35 v2.3.0-dev.10 06:08:35 v2.3.0-dev.11 06:08:35 v2.3.0-dev.12 06:08:35 v2.3.0-dev.13 06:08:35 v2.3.0-dev.14 06:08:35 v2.3.0-dev.15 06:08:35 v2.3.0-dev.16 06:08:35 v2.3.0-dev.17 06:08:35 v2.3.0-dev.18 06:08:35 v2.3.0-dev.19 06:08:35 v2.3.0-dev.2 06:08:35 v2.3.0-dev.20 06:08:35 v2.3.0-dev.21 06:08:35 v2.3.0-dev.22 06:08:35 v2.3.0-dev.23 06:08:35 v2.3.0-dev.24 06:08:35 v2.3.0-dev.25 06:08:35 v2.3.0-dev.26 06:08:35 v2.3.0-dev.27 06:08:35 v2.3.0-dev.28 06:08:35 v2.3.0-dev.29 06:08:35 v2.3.0-dev.3 06:08:35 v2.3.0-dev.30 06:08:35 v2.3.0-dev.31 06:08:35 v2.3.0-dev.32 06:08:35 v2.3.0-dev.33 06:08:35 v2.3.0-dev.34 06:08:35 v2.3.0-dev.35 06:08:35 v2.3.0-dev.36 06:08:35 v2.3.0-dev.37 06:08:35 v2.3.0-dev.38 06:08:35 v2.3.0-dev.39 06:08:35 v2.3.0-dev.4 06:08:35 v2.3.0-dev.40 06:08:35 v2.3.0-dev.41 06:08:35 v2.3.0-dev.42 06:08:35 v2.3.0-dev.43 06:08:35 v2.3.0-dev.44 06:08:35 v2.3.0-dev.45 06:08:35 v2.3.0-dev.5 06:08:35 v2.3.0-dev.6 06:08:35 v2.3.0-dev.7 06:08:35 v2.3.0-dev.8 06:08:35 v2.3.0-dev.9 06:08:35 v2.3.1-dev.1 06:08:35 v3.0.0-dev.1 06:08:35 v3.0.0-dev.2 [Pipeline] sh 06:08:35 + lftools sign git-tag v3.0.0-dev.2 06:08:36 Signing Git tag with Sigul... 06:08:36 Signing v3.0.0-dev.2 [Pipeline] echo 06:08:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:08:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:08:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:08:37 $ docker stop --time=1 35f12f1939b40358f70a20bcc7b0550d44bc31c4724d77336d756d0fc4f25a32 06:08:38 $ docker rm -f --volumes 35f12f1939b40358f70a20bcc7b0550d44bc31c4724d77336d756d0fc4f25a32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:08:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:08:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:08:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:39 prd-ubuntu20.04-docker-8c-8g-142 does not seem to be running inside a container 06:08:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:08:39 $ docker top 5bd11c0754db727a46c41cad70dceeaa6ccede3b9a0c5f80b7fc3d20d0f4a0b5 -eo pid,comm 06:08:39 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). 06:08:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:08:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:08:39 [ssh-agent] Looking for ssh-agent implementation... 06:08:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:08:39 $ docker exec 5bd11c0754db727a46c41cad70dceeaa6ccede3b9a0c5f80b7fc3d20d0f4a0b5 ssh-agent 06:08:40 SSH_AUTH_SOCK=/tmp/ssh-i3XrR2qFPfYv/agent.32 06:08:40 SSH_AGENT_PID=38 06:08:40 Running ssh-add (command line suppressed) 06:08:40 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10322995735278531920.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10322995735278531920.key) 06:08:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:08:40 + git semver bump pre 06:08:40 2022-12-19 06:08:40,679 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:08:40 2022-12-19 06:08:40,679 [bump_version] DEBUG bumping version:3.0.0-dev.2 on axis:pre with prefix:dev 06:08:40 2022-12-19 06:08:40,680 [bump_version] DEBUG bumped version:3.0.0-dev.3 06:08:40 2022-12-19 06:08:40,680 [write_version] DEBUG write version:3.0.0-dev.3 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 06:08:40 2022-12-19 06:08:40,680 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:08:40 2022-12-19 06:08:40,680 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 06:08:40 2022-12-19 06:08:40,682 [execute] INFO git cat-file --batch-check 06:08:40 2022-12-19 06:08:40,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:08:40 2022-12-19 06:08:40,688 [execute] INFO git cat-file --batch 06:08:40 2022-12-19 06:08:40,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:08:40 2022-12-19 06:08:40,693 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:08:40 3.0.0-dev.3 [Pipeline] } 06:08:40 $ docker exec --env ******** --env ******** 5bd11c0754db727a46c41cad70dceeaa6ccede3b9a0c5f80b7fc3d20d0f4a0b5 ssh-agent -k 06:08:40 unset SSH_AUTH_SOCK; 06:08:40 unset SSH_AGENT_PID; 06:08:40 echo Agent pid 38 killed; 06:08:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:08:41 + git semver [Pipeline] } 06:08:41 $ docker stop --time=1 5bd11c0754db727a46c41cad70dceeaa6ccede3b9a0c5f80b7fc3d20d0f4a0b5 06:08:42 $ docker rm -f --volumes 5bd11c0754db727a46c41cad70dceeaa6ccede3b9a0c5f80b7fc3d20d0f4a0b5 [Pipeline] // withDockerContainer [Pipeline] sh 06:08:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:08:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:08:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:43 prd-ubuntu20.04-docker-8c-8g-142 does not seem to be running inside a container 06:08:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:08:43 $ docker top d68d52cac838f4f7cf013e5ac3d43ebab4b1546bbefcb176df591d74f486c8b7 -eo pid,comm 06:08:43 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). 06:08:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:08:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:08:43 [ssh-agent] Looking for ssh-agent implementation... 06:08:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:08:44 $ docker exec d68d52cac838f4f7cf013e5ac3d43ebab4b1546bbefcb176df591d74f486c8b7 ssh-agent 06:08:44 SSH_AUTH_SOCK=/tmp/ssh-4kxu6LPGmLWI/agent.32 06:08:44 SSH_AGENT_PID=38 06:08:44 Running ssh-add (command line suppressed) 06:08:44 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15135609886341467751.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15135609886341467751.key) 06:08:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:08:44 + git semver push 06:08:44 2022-12-19 06:08:44,738 [run_push] DEBUG push 06:08:44 2022-12-19 06:08:44,739 [execute] INFO git cat-file --batch-check 06:08:44 2022-12-19 06:08:44,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:08:44 2022-12-19 06:08:44,743 [execute] INFO git rev-list a6e8110dbea98630836ad7effd7c3e4f6ae17390 -- 06:08:44 2022-12-19 06:08:44,743 [execute] DEBUG Popen(['git', 'rev-list', 'a6e8110dbea98630836ad7effd7c3e4f6ae17390', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 06:08:44 2022-12-19 06:08:44,750 [execute] INFO git fetch -v origin 06:08:44 2022-12-19 06:08:44,751 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 06:08:45 2022-12-19 06:08:45,267 [run_push] DEBUG no remote changes detected 06:08:45 2022-12-19 06:08:45,267 [execute] INFO git push origin semver 06:08:45 2022-12-19 06:08:45,268 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 06:08:46 2022-12-19 06:08:45,994 [run_push] DEBUG push all version tags 06:08:46 2022-12-19 06:08:45,994 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:08:46 2022-12-19 06:08:45,995 [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) 06:08:46 2022-12-19 06:08:46,693 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:08:46 3.0.0-dev.3 [Pipeline] } 06:08:46 $ docker exec --env ******** --env ******** d68d52cac838f4f7cf013e5ac3d43ebab4b1546bbefcb176df591d74f486c8b7 ssh-agent -k 06:08:47 unset SSH_AUTH_SOCK; 06:08:47 unset SSH_AGENT_PID; 06:08:47 echo Agent pid 38 killed; 06:08:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:08:47 + git semver [Pipeline] } 06:08:47 $ docker stop --time=1 d68d52cac838f4f7cf013e5ac3d43ebab4b1546bbefcb176df591d74f486c8b7 06:08:48 $ docker rm -f --volumes d68d52cac838f4f7cf013e5ac3d43ebab4b1546bbefcb176df591d74f486c8b7 [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 06:08:49 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 06:08:49 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 06:08:49 total 16 06:08:49 drwxr-xr-x 3 root root 4096 Dec 19 06:00 . 06:08:49 drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 06:08 .. 06:08:49 drwxr-xr-x 2 root root 4096 Dec 19 06:00 cost 06:08:49 -rw-r--r-- 1 root root 90 Dec 19 06:00 cost.csv 06:08:49 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 06:08:49 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 06:08:49 total 16 06:08:49 drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 06:00 . 06:08:49 drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 06:08 .. 06:08:49 drwxr-xr-x 2 jenkins jenkins 4096 Dec 19 06:00 cost 06:08:49 -rw-r--r-- 1 jenkins jenkins 90 Dec 19 06:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:08:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:08:50 ---> package-listing.sh 06:08:50 ++ facter osfamily 06:08:50 ++ tr '[:upper:]' '[:lower:]' 06:08:50 + OS_FAMILY=debian 06:08:50 + workspace=/w/workspace/foundry_device-onvif-camera_main 06:08:50 + START_PACKAGES=/tmp/packages_start.txt 06:08:50 + END_PACKAGES=/tmp/packages_end.txt 06:08:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:08:50 + PACKAGES=/tmp/packages_start.txt 06:08:50 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 06:08:50 + PACKAGES=/tmp/packages_end.txt 06:08:50 + case "${OS_FAMILY}" in 06:08:50 + dpkg -l 06:08:50 + grep '^ii' 06:08:50 + '[' -f /tmp/packages_start.txt ']' 06:08:50 + '[' -f /tmp/packages_end.txt ']' 06:08:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:08:50 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 06:08:50 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 06:08:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 06:08:50 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 06:08:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:08:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:51 prd-ubuntu20.04-docker-8c-8g-142 does not seem to be running inside a container 06:08:51 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:08:52 $ docker top b4ade1540cf153a31df6e94f9ab06588dbd2a3d7dc8825495386747d2897db13 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:52 + touch /tmp/pre-build-complete [Pipeline] sh 06:08:52 + mkdir -p /var/log/sysstat [Pipeline] sh 06:08:52 + ls /var/log/sa-host 06:08:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:53 provisioning config files... 06:08:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10876230092841940498tmp [Pipeline] { [Pipeline] echo 06:08:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:08:53 ---> create-netrc.sh [Pipeline] } 06:08:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:08:53 ---> python-tools-install.sh [Pipeline] echo 06:08:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:08:54 ---> sudo-logs.sh 06:08:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:08:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:08:54 ---> job-cost.sh 06:08:54 lf-activate-venv: SKIPPING 06:08:54 DEBUG: total: 0.2199999988079071 06:08:54 INFO: Retrieving Stack Cost... 06:08:54 INFO: Retrieving Pricing Info for: v3-standard-8 06:08:55 INFO: Archiving Costs [Pipeline] echo 06:08:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:08:55 ---> logs-deploy.sh 06:08:55 lf-activate-venv: SKIPPING 06:08:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/91 06:08:55 INFO: archiving workspace using pattern(s): 06:08:56 Archives upload complete. 06:08:56 INFO: archiving logs to Nexus