Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b7cedde85df3692c69591f25206326ca90501e4e 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-ssh10191552070156219676.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4372373738552253278.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh7969444945878966235.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh11562293819719326406.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-ssh17879557670213665952.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-23785 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b7cedde85df3692c69591f25206326ca90501e4e (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 b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#147)" > git rev-list --no-walk 5e91d4f85419f84dfbfc8f3e713bc0113c4e4412 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:20:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:20:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:20:37 ========================================================= 18:20:37 EdgeX Global Pipelines Version Info 18:20:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:20:38 ------------------- 18:20:38 stable info: 18:20:38 ------------------- 18:20:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:20:38 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 18:20:38 Message: update stable to v1.0.239 18:20:38 ------------------- 18:20:38 experimental info: 18:20:38 ------------------- 18:20:38 Commited By: **** collab-it+edgex@linuxfoundation.org 18:20:38 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 18:20:38 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7cedde85df3692c69591f25206326ca90501e4e [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7cedde [Pipeline] echo 18:20:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:20:39 provisioning config files... 18:20:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2322159180591697440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:20:39 ---> docker-login.sh 18:20:39 nexus3.edgexfoundry.org:10001 18:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:40 Configure a credential helper to remove this warning. See 18:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:40 18:20:40 Login Succeeded 18:20:40 nexus3.edgexfoundry.org:10002 18:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:40 Configure a credential helper to remove this warning. See 18:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:40 18:20:40 Login Succeeded 18:20:40 nexus3.edgexfoundry.org:10003 18:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:40 Configure a credential helper to remove this warning. See 18:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:40 18:20:40 Login Succeeded 18:20:40 nexus3.edgexfoundry.org:10004 18:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:40 Configure a credential helper to remove this warning. See 18:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:40 18:20:40 Login Succeeded 18:20:40 docker.io 18:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:41 Configure a credential helper to remove this warning. See 18:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:41 18:20:41 Login Succeeded 18:20:41 ---> docker-login.sh ends [Pipeline] } 18:20:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:20:41 + git rev-list -1 --merges b7cedde85df3692c69591f25206326ca90501e4e~1..b7cedde85df3692c69591f25206326ca90501e4e [Pipeline] echo 18:20:41 -----------> git rev-list -1 --merges b7cedde85df3692c69591f25206326ca90501e4e~1..b7cedde85df3692c69591f25206326ca90501e4e b7cedde85df3692c69591f25206326ca90501e4e [false] [Pipeline] sh 18:20:41 + git log --format=format:%s -1 b7cedde85df3692c69591f25206326ca90501e4e [Pipeline] echo 18:20:41 ========================================================= 18:20:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:20:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:20:42 + git log --format=format:%s -1 b7cedde85df3692c69591f25206326ca90501e4e [Pipeline] echo 18:20:42 [semverPrep] GIT_COMMIT: b7cedde85df3692c69591f25206326ca90501e4e, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#147) [Pipeline] echo 18:20:42 [semverPrep] This is not a build commit. [Pipeline] sh 18:20:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:20:42 + grep -v github /etc/ssh/ssh_known_hosts 18:20:42 + [ -e /tmp/ssh_known_hosts ] 18:20:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:20:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:20:42 + sudo tee -a /etc/ssh/ssh_known_hosts 18:20:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:20:43 18:20:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:20:43 0.1.4: Pulling from edgex-devops/py-git-semver 18:20:43 b85a868b505f: Pulling fs layer 18:20:43 e2be974225ed: Pulling fs layer 18:20:43 339a4e72a1f5: Pulling fs layer 18:20:43 988bab9f4d93: Pulling fs layer 18:20:43 1469e6f7b9e6: Pulling fs layer 18:20:43 eaf3925da568: Pulling fs layer 18:20:43 bab4dde63d76: Pulling fs layer 18:20:43 bde34c3a00c8: Pulling fs layer 18:20:43 b352a97aabf1: Pulling fs layer 18:20:43 4872d77fe225: Pulling fs layer 18:20:43 5851b861e8e6: Pulling fs layer 18:20:43 bab4dde63d76: Waiting 18:20:43 bde34c3a00c8: Waiting 18:20:43 b352a97aabf1: Waiting 18:20:43 988bab9f4d93: Waiting 18:20:43 4872d77fe225: Waiting 18:20:43 1469e6f7b9e6: Waiting 18:20:43 eaf3925da568: Waiting 18:20:43 e2be974225ed: Download complete 18:20:43 988bab9f4d93: Verifying Checksum 18:20:43 988bab9f4d93: Download complete 18:20:43 1469e6f7b9e6: Verifying Checksum 18:20:43 1469e6f7b9e6: Download complete 18:20:43 eaf3925da568: Verifying Checksum 18:20:43 eaf3925da568: Download complete 18:20:43 339a4e72a1f5: Verifying Checksum 18:20:43 339a4e72a1f5: Download complete 18:20:43 bde34c3a00c8: Verifying Checksum 18:20:43 bde34c3a00c8: Download complete 18:20:43 b352a97aabf1: Verifying Checksum 18:20:43 b352a97aabf1: Download complete 18:20:43 4872d77fe225: Download complete 18:20:43 5851b861e8e6: Verifying Checksum 18:20:43 5851b861e8e6: Download complete 18:20:43 b85a868b505f: Verifying Checksum 18:20:43 b85a868b505f: Download complete 18:20:43 bab4dde63d76: Verifying Checksum 18:20:43 bab4dde63d76: Download complete 18:20:44 b85a868b505f: Pull complete 18:20:45 e2be974225ed: Pull complete 18:20:45 339a4e72a1f5: Pull complete 18:20:45 988bab9f4d93: Pull complete 18:20:45 1469e6f7b9e6: Pull complete 18:20:45 eaf3925da568: Pull complete 18:20:48 bab4dde63d76: Pull complete 18:20:48 bde34c3a00c8: Pull complete 18:20:48 b352a97aabf1: Pull complete 18:20:48 4872d77fe225: Pull complete 18:20:48 5851b861e8e6: Pull complete 18:20:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:20:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:20:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:20:48 prd-ubuntu20.04-docker-8c-8g-23785 does not seem to be running inside a container 18:20:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:20:49 $ docker top fd1afb5d7faf2e39b65ff30093f6431ba0fde733e70efcd5a687e3d48babf4e4 -eo pid,comm 18:20:49 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). 18:20:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:20:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:20:49 [ssh-agent] Looking for ssh-agent implementation... 18:20:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:20:50 $ docker exec fd1afb5d7faf2e39b65ff30093f6431ba0fde733e70efcd5a687e3d48babf4e4 ssh-agent 18:20:50 SSH_AUTH_SOCK=/tmp/ssh-XxlVnyGIjHuT/agent.32 18:20:50 SSH_AGENT_PID=38 18:20:50 Running ssh-add (command line suppressed) 18:20:50 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1813966838831525198.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1813966838831525198.key) 18:20:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:20:50 + git tag --points-at HEAD [Pipeline] } 18:20:50 $ docker exec --env ******** --env ******** fd1afb5d7faf2e39b65ff30093f6431ba0fde733e70efcd5a687e3d48babf4e4 ssh-agent -k 18:20:50 unset SSH_AUTH_SOCK; 18:20:50 unset SSH_AGENT_PID; 18:20:50 echo Agent pid 38 killed; 18:20:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:20:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:20:50 [ssh-agent] Looking for ssh-agent implementation... 18:20:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:20:51 $ docker exec fd1afb5d7faf2e39b65ff30093f6431ba0fde733e70efcd5a687e3d48babf4e4 ssh-agent 18:20:51 SSH_AUTH_SOCK=/tmp/ssh-KTXJoHEFjh6n/agent.72 18:20:51 SSH_AGENT_PID=78 18:20:51 Running ssh-add (command line suppressed) 18:20:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7402178879632506552.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7402178879632506552.key) 18:20:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:20:51 + git semver init 18:20:51 2022-08-29 18:20:51,855 [run_init] DEBUG init version:0.0.0 force:False 18:20:51 2022-08-29 18:20:51,856 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 18:20:51 2022-08-29 18:20:51,857 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 18:20:51 2022-08-29 18:20:51,857 [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) 18:20:52 2022-08-29 18:20:52,631 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 18:20:52 2022-08-29 18:20:52,632 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 18:20:52 2022-08-29 18:20:52,632 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:20:52 2022-08-29 18:20:52,632 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:20:52 2.3.0-dev.12 [Pipeline] } 18:20:52 $ docker exec --env ******** --env ******** fd1afb5d7faf2e39b65ff30093f6431ba0fde733e70efcd5a687e3d48babf4e4 ssh-agent -k 18:20:52 unset SSH_AUTH_SOCK; 18:20:52 unset SSH_AGENT_PID; 18:20:52 echo Agent pid 78 killed; 18:20:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:20:53 + git semver [Pipeline] } 18:20:53 $ docker stop --time=1 fd1afb5d7faf2e39b65ff30093f6431ba0fde733e70efcd5a687e3d48babf4e4 18:20:54 $ docker rm -f fd1afb5d7faf2e39b65ff30093f6431ba0fde733e70efcd5a687e3d48babf4e4 [Pipeline] // withDockerContainer [Pipeline] sh 18:20:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:20:55 Stashed 1 file(s) [Pipeline] echo 18:20:55 [edgeXSemver]: initialized semver on version 2.3.0-dev.12 [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 18:20:55 provisioning config files... 18:20:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7293439605177918357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:20:55 ---> docker-login.sh 18:20:55 nexus3.edgexfoundry.org:10001 18:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:55 Configure a credential helper to remove this warning. See 18:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:55 18:20:55 Login Succeeded 18:20:55 nexus3.edgexfoundry.org:10002 18:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:56 Configure a credential helper to remove this warning. See 18:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:56 18:20:56 Login Succeeded 18:20:56 nexus3.edgexfoundry.org:10003 18:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:56 Configure a credential helper to remove this warning. See 18:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:56 18:20:56 Login Succeeded 18:20:56 nexus3.edgexfoundry.org:10004 18:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:56 Configure a credential helper to remove this warning. See 18:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:56 18:20:56 Login Succeeded 18:20:56 docker.io 18:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:56 Configure a credential helper to remove this warning. See 18:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:56 18:20:56 Login Succeeded 18:20:56 ---> docker-login.sh ends [Pipeline] } 18:20:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:20:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:20:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:20:56 ========================================================= 18:20:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:20:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:57 + 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 . 18:20:57 Sending build context to Docker daemon 20.51MB 18:20:57 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:20:57 Step 2/13 : FROM ${BASE} AS builder 18:20:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:20:57 2408cc74d12b: Pulling fs layer 18:20:57 ea60b727a1ce: Pulling fs layer 18:20:57 30c4a7721957: Pulling fs layer 18:20:57 370296b7ddb6: Pulling fs layer 18:20:57 7c6cee850709: Pulling fs layer 18:20:57 39a5fcdaea64: Pulling fs layer 18:20:57 d94ebbe4e438: Pulling fs layer 18:20:57 bcfd1f05c69d: Pulling fs layer 18:20:57 59ccb84bbe0f: Pulling fs layer 18:20:57 370296b7ddb6: Waiting 18:20:57 7c6cee850709: Waiting 18:20:57 bcfd1f05c69d: Waiting 18:20:57 39a5fcdaea64: Waiting 18:20:57 59ccb84bbe0f: Waiting 18:20:57 d94ebbe4e438: Waiting 18:20:57 30c4a7721957: Download complete 18:20:57 ea60b727a1ce: Verifying Checksum 18:20:57 ea60b727a1ce: Download complete 18:20:57 7c6cee850709: Verifying Checksum 18:20:57 7c6cee850709: Download complete 18:20:57 39a5fcdaea64: Verifying Checksum 18:20:57 39a5fcdaea64: Download complete 18:20:57 2408cc74d12b: Download complete 18:20:57 d94ebbe4e438: Verifying Checksum 18:20:57 d94ebbe4e438: Download complete 18:20:57 2408cc74d12b: Pull complete 18:20:57 ea60b727a1ce: Pull complete 18:20:57 30c4a7721957: Pull complete 18:20:57 59ccb84bbe0f: Verifying Checksum 18:20:57 bcfd1f05c69d: Verifying Checksum 18:20:57 bcfd1f05c69d: Download complete 18:20:58 370296b7ddb6: Verifying Checksum 18:20:58 370296b7ddb6: Download complete 18:21:02 370296b7ddb6: Pull complete 18:21:02 7c6cee850709: Pull complete 18:21:02 39a5fcdaea64: Pull complete 18:21:02 d94ebbe4e438: Pull complete 18:21:05 bcfd1f05c69d: Pull complete 18:21:05 59ccb84bbe0f: Pull complete 18:21:05 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 18:21:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:21:05 ---> a4fb48ad2a94 18:21:05 Step 3/13 : ARG MAKE="make build" 18:21:06 ---> Running in aa67b0be808f 18:21:06 Removing intermediate container aa67b0be808f 18:21:06 ---> 9dd2d64e2265 18:21:06 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:21:06 ---> Running in 187a19dd0b2b 18:21:07 Removing intermediate container 187a19dd0b2b 18:21:07 ---> eeed819fcf53 18:21:07 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 18:21:07 ---> Running in 39709ce6da3a 18:21:07 Removing intermediate container 39709ce6da3a 18:21:07 ---> 39ddb56590c5 18:21:07 Step 6/13 : LABEL Name=edgex-device-onvif-camera 18:21:07 ---> Running in 6727c5398379 18:21:07 Removing intermediate container 6727c5398379 18:21:07 ---> a73e89005902 18:21:07 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:21:07 ---> Running in 783f46e79e80 18:21:08 Removing intermediate container 783f46e79e80 18:21:08 ---> eb4e2d31f0bf 18:21:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:21:08 ---> Running in 31608bd529a0 18:21:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:21:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:21:09 OK: 211 MiB in 51 packages 18:21:10 Removing intermediate container 31608bd529a0 18:21:10 ---> 103df9f812e8 18:21:10 Step 9/13 : WORKDIR /device-onvif-camera 18:21:10 ---> Running in 2599f8e8d6e2 18:21:10 Removing intermediate container 2599f8e8d6e2 18:21:10 ---> 8446fbc6fb5c 18:21:10 Step 10/13 : COPY go.mod vendor* ./ 18:21:10 ---> dce40eaac452 18:21:10 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:21:10 ---> Running in 8d479980dd3a 18:21:10 Still waiting to schedule task 18:21:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:21:32 Removing intermediate container 8d479980dd3a 18:21:32 ---> be938eb4948a 18:21:32 Step 12/13 : COPY . . 18:21:32 ---> fcefac68c145 18:21:32 Step 13/13 : RUN ${MAKE} 18:21:32 ---> Running in f62e3ca00859 18:21:32 noop 18:21:32 Removing intermediate container f62e3ca00859 18:21:32 ---> 77b8b969f6b7 18:21:32 Successfully built 77b8b969f6b7 18:21:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:32 + docker inspect -f . ci-base-image-x86_64 18:21:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:21:32 prd-ubuntu20.04-docker-8c-8g-23785 does not seem to be running inside a container 18:21:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:21:32 $ docker top 3d71f7a79a7e0c58e9aa14787db30635c042040e6a19bc50e1345cd8f1d4875e -eo pid,comm [Pipeline] { [Pipeline] sh 18:21:33 + go version 18:21:33 go version go1.18.3 linux/amd64 [Pipeline] } 18:21:33 $ docker stop --time=1 3d71f7a79a7e0c58e9aa14787db30635c042040e6a19bc50e1345cd8f1d4875e 18:21:34 $ docker rm -f 3d71f7a79a7e0c58e9aa14787db30635c042040e6a19bc50e1345cd8f1d4875e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:35 + docker inspect -f . ci-base-image-x86_64 18:21:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:21:35 prd-ubuntu20.04-docker-8c-8g-23785 does not seem to be running inside a container 18:21:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:21:35 $ docker top b210db9664e2c6ab00b50afeab103da9455c0d4351db36906eae592e4be1e03c -eo pid,comm [Pipeline] { [Pipeline] sh 18:21:35 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 18:21:36 + make test 18:21:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:21:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:21:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:21:48 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.026s coverage: 10.6% of statements 18:21:48 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:21:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.960s coverage: 13.8% of statements 18:22:00 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." 18:22:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:22:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:22:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:22:04 ./bin/test-attribution-txt.sh [Pipeline] echo 18:22:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:22:04 $ docker stop --time=1 b210db9664e2c6ab00b50afeab103da9455c0d4351db36906eae592e4be1e03c 18:22:06 $ docker rm -f b210db9664e2c6ab00b50afeab103da9455c0d4351db36906eae592e4be1e03c [Pipeline] // withDockerContainer [Pipeline] sh 18:22:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:22:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:22:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:22:07 + ls -al . 18:22:07 total 232 18:22:07 drwxrwxr-x 10 jenkins jenkins 4096 Aug 29 18:21 . 18:22:07 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 18:20 .. 18:22:07 drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 18:21 .git 18:22:07 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 18:20 .github 18:22:07 -rw-rw-r-- 1 jenkins jenkins 418 Aug 29 18:20 .gitignore 18:22:07 -rw-rw-r-- 1 jenkins jenkins 42 Aug 29 18:20 .golangci.yml 18:22:07 drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 18:20 .semver 18:22:07 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 29 18:20 Attribution.txt 18:22:07 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 29 18:20 CHANGELOG.md 18:22:07 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 29 18:20 Dockerfile 18:22:07 -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 18:20 GOVERNANCE.md 18:22:07 -rw-rw-r-- 1 jenkins jenkins 734 Aug 29 18:20 Jenkinsfile 18:22:07 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 29 18:20 LICENSE 18:22:07 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 29 18:20 Makefile 18:22:07 -rw-rw-r-- 1 jenkins jenkins 625 Aug 29 18:20 OWNERS.md 18:22:07 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 29 18:20 README.md 18:22:07 -rw-rw-r-- 1 jenkins jenkins 12 Aug 29 18:20 VERSION 18:22:07 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 18:20 bin 18:22:07 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 18:20 cmd 18:22:07 -rw-r--r-- 1 jenkins jenkins 76854 Aug 29 18:21 coverage.out 18:22:07 drwxrwxr-x 6 jenkins jenkins 4096 Aug 29 18:20 doc 18:22:07 -rw-rw-r-- 1 jenkins jenkins 3747 Aug 29 18:20 go.mod 18:22:07 -rw-rw-r-- 1 jenkins jenkins 39690 Aug 29 18:20 go.sum 18:22:07 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 18:20 internal 18:22:07 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 18:20 snap 18:22:07 -rw-rw-r-- 1 jenkins jenkins 236 Aug 29 18:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:08 + 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=b7cedde85df3692c69591f25206326ca90501e4e --label arch=amd64 --label version=2.3.0-dev.12 . 18:22:08 Sending build context to Docker daemon 20.59MB 18:22:08 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:22:08 Step 2/26 : FROM ${BASE} AS builder 18:22:08 ---> 77b8b969f6b7 18:22:08 Step 3/26 : ARG MAKE="make build" 18:22:08 ---> Running in 52a0413c3402 18:22:08 Removing intermediate container 52a0413c3402 18:22:08 ---> bf2f21cb8e48 18:22:08 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:22:08 ---> Running in 02104b801efe 18:22:08 Removing intermediate container 02104b801efe 18:22:08 ---> 44f66ceb7226 18:22:08 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 18:22:08 ---> Running in 3671053d2d74 18:22:08 Removing intermediate container 3671053d2d74 18:22:08 ---> 954cadd2657d 18:22:08 Step 6/26 : LABEL Name=edgex-device-onvif-camera 18:22:08 ---> Running in 9034debfe006 18:22:08 Removing intermediate container 9034debfe006 18:22:08 ---> 65aa6f080bfe 18:22:08 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:22:08 ---> Running in e778197a294c 18:22:09 Removing intermediate container e778197a294c 18:22:09 ---> 43c25da1283b 18:22:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:22:09 ---> Running in 73118a04187e 18:22:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:22:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:22:11 OK: 211 MiB in 51 packages 18:22:11 Removing intermediate container 73118a04187e 18:22:11 ---> a1598c6a35fb 18:22:11 Step 9/26 : WORKDIR /device-onvif-camera 18:22:11 ---> Running in b24ea08b118c 18:22:11 Removing intermediate container b24ea08b118c 18:22:11 ---> 0ebeb97fd862 18:22:11 Step 10/26 : COPY go.mod vendor* ./ 18:22:11 ---> b55b47b741ca 18:22:11 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:22:11 ---> Running in 8815c48c6e54 18:22:12 Removing intermediate container 8815c48c6e54 18:22:12 ---> a9c14270a0f9 18:22:12 Step 12/26 : COPY . . 18:22:12 ---> f7f9005be5bb 18:22:12 Step 13/26 : RUN ${MAKE} 18:22:12 ---> Running in 933ab185fc7e 18:22:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 18:22:34 Removing intermediate container 933ab185fc7e 18:22:34 ---> 27d47d7a600e 18:22:34 Step 14/26 : FROM alpine:3.16 18:22:36 3.16: Pulling from library/alpine 18:22:37 213ec9aee27d: Pulling fs layer 18:22:37 213ec9aee27d: Verifying Checksum 18:22:37 213ec9aee27d: Download complete 18:22:37 213ec9aee27d: Pull complete 18:22:38 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:22:38 Status: Downloaded newer image for alpine:3.16 18:22:38 ---> 9c6f07244728 18:22:38 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:22:38 ---> Running in 1406c6befe11 18:22:38 Removing intermediate container 1406c6befe11 18:22:38 ---> af76c2d092f9 18:22:38 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:22:38 ---> Running in a9a456e4bb61 18:22:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:22:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:22:39 (1/6) Installing dumb-init (1.2.5-r1) 18:22:39 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:22:39 (3/6) Installing libsodium (1.0.18-r0) 18:22:39 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:22:39 (5/6) Installing libzmq (4.3.4-r0) 18:22:39 (6/6) Installing zeromq (4.3.4-r0) 18:22:39 Executing busybox-1.35.0-r17.trigger 18:22:39 OK: 8 MiB in 20 packages 18:22:39 Removing intermediate container a9a456e4bb61 18:22:39 ---> 2189f9b441eb 18:22:39 Step 17/26 : WORKDIR / 18:22:39 ---> Running in 3bebaa81bcd0 18:22:39 Removing intermediate container 3bebaa81bcd0 18:22:39 ---> fb661699fd19 18:22:39 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:22:40 ---> 7fe8ffddcfc5 18:22:40 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:22:40 ---> 3e0653e325f8 18:22:40 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:22:40 ---> 1b0b2a64420f 18:22:40 Step 21/26 : EXPOSE 59984 18:22:40 ---> Running in 142e304ef181 18:22:41 Removing intermediate container 142e304ef181 18:22:41 ---> 6d344b6c5b5b 18:22:41 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:22:41 ---> Running in 8f18020c9b7e 18:22:41 Removing intermediate container 8f18020c9b7e 18:22:41 ---> 0232fb163f1b 18:22:41 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:22:41 ---> Running in 69306ca10924 18:22:41 Removing intermediate container 69306ca10924 18:22:41 ---> ca1c1dbcb0b8 18:22:41 Step 24/26 : LABEL arch=amd64 18:22:41 ---> Running in ca6f91e11aa9 18:22:41 Removing intermediate container ca6f91e11aa9 18:22:41 ---> 2cf487dd13f4 18:22:41 Step 25/26 : LABEL git_sha=b7cedde85df3692c69591f25206326ca90501e4e 18:22:41 ---> Running in 14be59900603 18:22:41 Removing intermediate container 14be59900603 18:22:41 ---> c2ab537c8f8a 18:22:41 Step 26/26 : LABEL version=2.3.0-dev.12 18:22:41 ---> Running in 3bd2594a68f3 18:22:41 Removing intermediate container 3bd2594a68f3 18:22:41 ---> fe9bcff3dc66 18:22:41 [Warning] One or more build-args [ARCH] were not consumed 18:22:41 Successfully built fe9bcff3dc66 18:22:41 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 18:22:41 provisioning config files... 18:22:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5886307023331589586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:22:41 ---> docker-login.sh 18:22:41 nexus3.edgexfoundry.org:10001 18:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:41 Configure a credential helper to remove this warning. See 18:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:41 18:22:41 Login Succeeded 18:22:41 nexus3.edgexfoundry.org:10002 18:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:42 Configure a credential helper to remove this warning. See 18:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:42 18:22:42 Login Succeeded 18:22:42 nexus3.edgexfoundry.org:10003 18:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:42 Configure a credential helper to remove this warning. See 18:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:42 18:22:42 Login Succeeded 18:22:42 nexus3.edgexfoundry.org:10004 18:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:42 Configure a credential helper to remove this warning. See 18:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:42 18:22:42 Login Succeeded 18:22:42 docker.io 18:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:42 Configure a credential helper to remove this warning. See 18:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:42 18:22:42 Login Succeeded 18:22:42 ---> docker-login.sh ends [Pipeline] } 18:22:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:22:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:22:42 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 18:22:42 b7cedde85df3692c69591f25206326ca90501e4e 18:22:42 latest 18:22:42 2.3.0-dev.12 18:22:42 b7cedde85df3692c69591f25206326ca90501e4e-2.3.0-dev.12 18:22:42 main 18:22:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:43 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b7cedde85df3692c69591f25206326ca90501e4e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b7cedde85df3692c69591f25206326ca90501e4e 18:22:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:22:43 c3dfa31d2952: Preparing 18:22:43 6a38418a72f6: Preparing 18:22:43 55d3a0589af2: Preparing 18:22:43 5126f16ed364: Preparing 18:22:43 994393dc58e7: Preparing 18:22:43 994393dc58e7: Layer already exists 18:22:43 c3dfa31d2952: Pushed 18:22:43 6a38418a72f6: Pushed 18:22:43 5126f16ed364: Pushed 18:22:47 55d3a0589af2: Pushed 18:22:47 b7cedde85df3692c69591f25206326ca90501e4e: digest: sha256:23e1409fc67865fd1f5964b2aaaffe0cae9367a3a4530b910c854e69409f1762 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:47 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:22:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:22:47 c3dfa31d2952: Preparing 18:22:47 6a38418a72f6: Preparing 18:22:47 55d3a0589af2: Preparing 18:22:47 5126f16ed364: Preparing 18:22:47 994393dc58e7: Preparing 18:22:47 55d3a0589af2: Layer already exists 18:22:47 994393dc58e7: Layer already exists 18:22:47 c3dfa31d2952: Layer already exists 18:22:47 6a38418a72f6: Layer already exists 18:22:47 5126f16ed364: Layer already exists 18:22:47 latest: digest: sha256:23e1409fc67865fd1f5964b2aaaffe0cae9367a3a4530b910c854e69409f1762 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:47 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.12 18:22:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:22:48 c3dfa31d2952: Preparing 18:22:48 6a38418a72f6: Preparing 18:22:48 55d3a0589af2: Preparing 18:22:48 5126f16ed364: Preparing 18:22:48 994393dc58e7: Preparing 18:22:48 55d3a0589af2: Layer already exists 18:22:48 6a38418a72f6: Layer already exists 18:22:48 994393dc58e7: Layer already exists 18:22:48 5126f16ed364: Layer already exists 18:22:48 c3dfa31d2952: Layer already exists 18:22:48 2.3.0-dev.12: digest: sha256:23e1409fc67865fd1f5964b2aaaffe0cae9367a3a4530b910c854e69409f1762 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:48 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b7cedde85df3692c69591f25206326ca90501e4e-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b7cedde85df3692c69591f25206326ca90501e4e-2.3.0-dev.12 18:22:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:22:49 c3dfa31d2952: Preparing 18:22:49 6a38418a72f6: Preparing 18:22:49 55d3a0589af2: Preparing 18:22:49 5126f16ed364: Preparing 18:22:49 994393dc58e7: Preparing 18:22:49 55d3a0589af2: Layer already exists 18:22:49 c3dfa31d2952: Layer already exists 18:22:49 5126f16ed364: Layer already exists 18:22:49 6a38418a72f6: Layer already exists 18:22:49 994393dc58e7: Layer already exists 18:22:49 b7cedde85df3692c69591f25206326ca90501e4e-2.3.0-dev.12: digest: sha256:23e1409fc67865fd1f5964b2aaaffe0cae9367a3a4530b910c854e69409f1762 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:49 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv 18:22:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23787 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 18:22:49 Running in /w/workspace/device-onvif-camera/51 [Pipeline] { [Pipeline] checkout 18:22:49 Selected Git installation does not exist. Using Default 18:22:49 The recommended git tool is: NONE 18:22:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 18:22:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:22:49 c3dfa31d2952: Preparing 18:22:49 6a38418a72f6: Preparing 18:22:49 55d3a0589af2: Preparing 18:22:49 5126f16ed364: Preparing 18:22:49 994393dc58e7: Preparing 18:22:49 6a38418a72f6: Layer already exists 18:22:49 55d3a0589af2: Layer already exists 18:22:49 994393dc58e7: Layer already exists 18:22:49 c3dfa31d2952: Layer already exists 18:22:49 5126f16ed364: Layer already exists 18:22:49 main: digest: sha256:23e1409fc67865fd1f5964b2aaaffe0cae9367a3a4530b910c854e69409f1762 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:22:49 ===================================================== [Pipeline] echo 18:22:49 taggedImages: 18:22:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b7cedde85df3692c69591f25206326ca90501e4e 18:22:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:22:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.12 18:22:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b7cedde85df3692c69591f25206326ca90501e4e-2.3.0-dev.12 18:22:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:22:50 18:22:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:22:50 latest: Pulling from edgex-lftools-log-publisher 18:22:50 5eb5b503b376: Pulling fs layer 18:22:50 5c69ac0246d0: Pulling fs layer 18:22:50 ec43610c2a17: Pulling fs layer 18:22:50 3a2ae6a8a46f: Pulling fs layer 18:22:50 33b1e0a273af: Pulling fs layer 18:22:50 5d3b04190fa2: Pulling fs layer 18:22:50 2f39f015ded8: Pulling fs layer 18:22:50 3a2ae6a8a46f: Waiting 18:22:50 33b1e0a273af: Waiting 18:22:50 5d3b04190fa2: Waiting 18:22:50 2f39f015ded8: Waiting 18:22:50 5c69ac0246d0: Verifying Checksum 18:22:50 5c69ac0246d0: Download complete 18:22:50 3a2ae6a8a46f: Verifying Checksum 18:22:50 3a2ae6a8a46f: Download complete 18:22:50 33b1e0a273af: Verifying Checksum 18:22:50 33b1e0a273af: Download complete 18:22:50 ec43610c2a17: Verifying Checksum 18:22:50 ec43610c2a17: Download complete 18:22:50 5d3b04190fa2: Verifying Checksum 18:22:50 5d3b04190fa2: Download complete 18:22:50 5eb5b503b376: Download complete 18:22:51 2f39f015ded8: Download complete 18:22:52 5eb5b503b376: Pull complete 18:22:52 5c69ac0246d0: Pull complete 18:22:52 ec43610c2a17: Pull complete 18:22:52 3a2ae6a8a46f: Pull complete 18:22:52 33b1e0a273af: Pull complete 18:22:52 5d3b04190fa2: Pull complete 18:22:55 using credential edgex-jenkins-ssh 18:22:55 Cloning the remote Git repository 18:22:55 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:22:55 > git init /w/workspace/device-onvif-camera/51 # timeout=10 18:22:56 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:22:56 > git --version # timeout=10 18:22:56 > git --version # 'git version 2.25.1' 18:22:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:22:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:22:57 Avoid second fetch 18:22:57 Checking out Revision b7cedde85df3692c69591f25206326ca90501e4e (main) 18:22:58 2f39f015ded8: Pull complete 18:22:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:22:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:22:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:22:58 prd-ubuntu20.04-docker-8c-8g-23785 does not seem to be running inside a container 18:22:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:22:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:22:57 > git config core.sparsecheckout # timeout=10 18:22:57 > git checkout -f b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 18:22:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:23:00 $ docker top 3c43e8c9f07a0e255c115fc52edcb30edceae373a80be13e69a223b4628e8a9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:00 ---> job-cost.sh 18:23:00 lf-activate-venv: SKIPPING 18:23:00 INFO: No Stack... 18:23:00 INFO: Retrieving Pricing Info for: v3-standard-8 18:23:01 INFO: Archiving Costs [Pipeline] sh 18:23:01 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#147)" 18:23:01 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 18:23:01 + cut -d, -f6 [Pipeline] lock 18:23:01 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-51-stack-cost] 18:23:01 Resource [jenkins-edgexfoundry-device-onvif-camera-main-51-stack-cost] did not exist. Created. 18:23:01 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:23:02 + echo total: 0.2199999988079071 [Pipeline] stash 18:23:02 Stashed 1 file(s) [Pipeline] } 18:23:02 18:23:02 GitHub has been notified of this commit’s build result 18:23:02 18:23:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 18:23:02 $ docker stop --time=1 3c43e8c9f07a0e255c115fc52edcb30edceae373a80be13e69a223b4628e8a9d 18:23:03 $ docker rm -f 3c43e8c9f07a0e255c115fc52edcb30edceae373a80be13e69a223b4628e8a9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:23:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:23:03 % Total % Received % Xferd Average Speed Time Time Time Current 18:23:03 Dload Upload Total Spent Left Speed 18:23:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 82907 0 --:--:-- --:--:-- --:--:-- 82907 [Pipeline] sh 18:23:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:23:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:23:04 + sudo tee /etc/docker/daemon.new 18:23:04 { 18:23:04 "registry-mirrors": [ 18:23:04 "https://nexus3.edgexfoundry.org:10001" 18:23:04 ], 18:23:04 "bip": "10.250.0.254/24", 18:23:04 "hosts": [ 18:23:04 "tcp://0.0.0.0:5555", 18:23:04 "unix:///var/run/docker.sock" 18:23:04 ], 18:23:04 "mtu": 1458, 18:23:04 "selinux-enabled": true, 18:23:04 "seccomp-profile": "/etc/docker/seccomp.json" 18:23:04 } [Pipeline] sh 18:23:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:23:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:23:24 provisioning config files... 18:23:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/51@tmp/config5165373000860895239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:24 ---> docker-login.sh 18:23:24 nexus3.edgexfoundry.org:10001 18:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:25 Configure a credential helper to remove this warning. See 18:23:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:25 18:23:25 Login Succeeded 18:23:25 nexus3.edgexfoundry.org:10002 18:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:25 Configure a credential helper to remove this warning. See 18:23:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:25 18:23:25 Login Succeeded 18:23:25 nexus3.edgexfoundry.org:10003 18:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:26 Configure a credential helper to remove this warning. See 18:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:26 18:23:26 Login Succeeded 18:23:26 nexus3.edgexfoundry.org:10004 18:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:26 Configure a credential helper to remove this warning. See 18:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:26 18:23:26 Login Succeeded 18:23:26 docker.io 18:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:28 Configure a credential helper to remove this warning. See 18:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:28 18:23:28 Login Succeeded 18:23:28 ---> docker-login.sh ends [Pipeline] } 18:23:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:23:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:23:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:23:29 ========================================================= 18:23:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:23:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:29 + 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 . 18:23:30 Sending build context to Docker daemon 14.04MB 18:23:30 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:23:30 Step 2/13 : FROM ${BASE} AS builder 18:23:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:23:30 b3c136eddcbf: Pulling fs layer 18:23:30 c0a3192eca97: Pulling fs layer 18:23:30 a050256f5b6f: Pulling fs layer 18:23:30 656be50a0ddc: Pulling fs layer 18:23:30 2bbca73fdf42: Pulling fs layer 18:23:30 46d945488cbd: Pulling fs layer 18:23:30 8a5474983e97: Pulling fs layer 18:23:30 329c88fbcd65: Pulling fs layer 18:23:30 2bbca73fdf42: Waiting 18:23:30 46d945488cbd: Waiting 18:23:30 8a5474983e97: Waiting 18:23:30 329c88fbcd65: Waiting 18:23:30 656be50a0ddc: Waiting 18:23:30 a050256f5b6f: Download complete 18:23:30 c0a3192eca97: Verifying Checksum 18:23:30 c0a3192eca97: Download complete 18:23:30 2bbca73fdf42: Verifying Checksum 18:23:30 2bbca73fdf42: Download complete 18:23:30 46d945488cbd: Verifying Checksum 18:23:30 46d945488cbd: Download complete 18:23:30 b3c136eddcbf: Verifying Checksum 18:23:30 b3c136eddcbf: Download complete 18:23:31 b3c136eddcbf: Pull complete 18:23:31 329c88fbcd65: Verifying Checksum 18:23:31 329c88fbcd65: Download complete 18:23:31 c0a3192eca97: Pull complete 18:23:32 a050256f5b6f: Pull complete 18:23:32 8a5474983e97: Verifying Checksum 18:23:32 8a5474983e97: Download complete 18:23:33 656be50a0ddc: Verifying Checksum 18:23:33 656be50a0ddc: Download complete 18:23:48 656be50a0ddc: Pull complete 18:23:48 2bbca73fdf42: Pull complete 18:23:48 46d945488cbd: Pull complete 18:23:52 8a5474983e97: Pull complete 18:23:54 329c88fbcd65: Pull complete 18:23:54 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 18:23:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:23:54 ---> ff4287adb874 18:23:54 Step 3/13 : ARG MAKE="make build" 18:23:56 ---> Running in 1a497cd30f61 18:23:56 Removing intermediate container 1a497cd30f61 18:23:56 ---> a6081fb1eef4 18:23:56 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:23:56 ---> Running in 3a5abf41dd31 18:23:56 Removing intermediate container 3a5abf41dd31 18:23:56 ---> 9df003a9ecbe 18:23:56 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 18:23:57 ---> Running in 6cc26f4e46f6 18:23:57 Removing intermediate container 6cc26f4e46f6 18:23:57 ---> fadfcab4720f 18:23:57 Step 6/13 : LABEL Name=edgex-device-onvif-camera 18:23:57 ---> Running in f2663afd39e8 18:23:57 Removing intermediate container f2663afd39e8 18:23:57 ---> 4db872bef99c 18:23:57 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:23:57 ---> Running in a66a299be0c5 18:24:00 Removing intermediate container a66a299be0c5 18:24:00 ---> 894374eeaa73 18:24:00 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:24:00 ---> Running in 9d799e5c5c47 18:24:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:24:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:24:03 OK: 221 MiB in 51 packages 18:24:04 Removing intermediate container 9d799e5c5c47 18:24:04 ---> 660191c9cfa1 18:24:04 Step 9/13 : WORKDIR /device-onvif-camera 18:24:04 ---> Running in 21c13215b266 18:24:04 Removing intermediate container 21c13215b266 18:24:04 ---> da4d4db1f00c 18:24:04 Step 10/13 : COPY go.mod vendor* ./ 18:24:05 ---> 07c28fe1127d 18:24:05 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:24:05 ---> Running in 7c91ae0ec1cd 18:25:01 Removing intermediate container 7c91ae0ec1cd 18:25:01 ---> 39367da2f111 18:25:01 Step 12/13 : COPY . . 18:25:01 ---> 90f72c57d61c 18:25:01 Step 13/13 : RUN ${MAKE} 18:25:01 ---> Running in c0a25e8034df 18:25:01 noop 18:25:01 Removing intermediate container c0a25e8034df 18:25:01 ---> 0c76ac013e5c 18:25:01 Successfully built 0c76ac013e5c 18:25:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:01 + docker inspect -f . ci-base-image-arm64 18:25:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:02 prd-ubuntu20.04-docker-arm64-4c-16g-23787 does not seem to be running inside a container 18:25:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/51 -v /w/workspace/device-onvif-camera/51:/w/workspace/device-onvif-camera/51:rw,z -v /w/workspace/device-onvif-camera/51@tmp:/w/workspace/device-onvif-camera/51@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 18:25:03 $ docker top 35c23746dcf1bf932a6835b63c724f489aa41d3d5f3c78a95f7faf0febfb9837 -eo pid,comm [Pipeline] { [Pipeline] sh 18:25:04 + go version 18:25:04 go version go1.18.3 linux/arm64 [Pipeline] } 18:25:04 $ docker stop --time=1 35c23746dcf1bf932a6835b63c724f489aa41d3d5f3c78a95f7faf0febfb9837 18:25:06 $ docker rm -f 35c23746dcf1bf932a6835b63c724f489aa41d3d5f3c78a95f7faf0febfb9837 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:06 + docker inspect -f . ci-base-image-arm64 18:25:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:07 prd-ubuntu20.04-docker-arm64-4c-16g-23787 does not seem to be running inside a container 18:25:07 $ 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/51 -v /w/workspace/device-onvif-camera/51:/w/workspace/device-onvif-camera/51:rw,z -v /w/workspace/device-onvif-camera/51@tmp:/w/workspace/device-onvif-camera/51@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 18:25:08 $ docker top 32de8356b1f64835bb9453d17a0e25119fa2fd8a4e262f45746ec865a3e7e414 -eo pid,comm [Pipeline] { [Pipeline] sh 18:25:09 + git config --global --add safe.directory /w/workspace/device-onvif-camera/51 [Pipeline] fileExists [Pipeline] sh 18:25:10 + make test 18:25:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:25:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:26:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:26:48 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.122s coverage: 10.6% of statements 18:26:48 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:27:07 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.191s coverage: 13.8% of statements 18:27:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:27:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:27:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:27:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:27:29 ./bin/test-attribution-txt.sh [Pipeline] echo 18:27:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:27:29 $ docker stop --time=1 32de8356b1f64835bb9453d17a0e25119fa2fd8a4e262f45746ec865a3e7e414 18:27:31 $ docker rm -f 32de8356b1f64835bb9453d17a0e25119fa2fd8a4e262f45746ec865a3e7e414 [Pipeline] // withDockerContainer [Pipeline] sh 18:27:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:27:32 Warning: overwriting stash ‘coverage-report’ 18:27:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:27:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:27:34 + ls -al . 18:27:34 total 228 18:27:34 drwxrwxr-x 9 jenkins jenkins 4096 Aug 29 18:25 . 18:27:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 18:22 .. 18:27:34 drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 18:23 .git 18:27:34 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 18:22 .github 18:27:34 -rw-rw-r-- 1 jenkins jenkins 418 Aug 29 18:22 .gitignore 18:27:34 -rw-rw-r-- 1 jenkins jenkins 42 Aug 29 18:22 .golangci.yml 18:27:34 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 29 18:22 Attribution.txt 18:27:34 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 29 18:22 CHANGELOG.md 18:27:34 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 29 18:22 Dockerfile 18:27:34 -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 18:22 GOVERNANCE.md 18:27:34 -rw-rw-r-- 1 jenkins jenkins 734 Aug 29 18:22 Jenkinsfile 18:27:34 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 29 18:22 LICENSE 18:27:34 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 29 18:22 Makefile 18:27:34 -rw-rw-r-- 1 jenkins jenkins 625 Aug 29 18:22 OWNERS.md 18:27:34 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 29 18:22 README.md 18:27:34 -rw-rw-r-- 1 jenkins jenkins 12 Aug 29 18:20 VERSION 18:27:34 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 18:22 bin 18:27:34 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 18:22 cmd 18:27:34 -rw-r--r-- 1 jenkins jenkins 76854 Aug 29 18:27 coverage.out 18:27:34 drwxrwxr-x 6 jenkins jenkins 4096 Aug 29 18:22 doc 18:27:34 -rw-rw-r-- 1 jenkins jenkins 3747 Aug 29 18:22 go.mod 18:27:34 -rw-rw-r-- 1 jenkins jenkins 39690 Aug 29 18:22 go.sum 18:27:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 18:22 internal 18:27:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 18:22 snap 18:27:34 -rw-rw-r-- 1 jenkins jenkins 236 Aug 29 18:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:34 + 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=b7cedde85df3692c69591f25206326ca90501e4e --label arch=arm64 --label version=2.3.0-dev.12 . 18:27:35 Sending build context to Docker daemon 14.11MB 18:27:35 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:27:35 Step 2/26 : FROM ${BASE} AS builder 18:27:35 ---> 0c76ac013e5c 18:27:35 Step 3/26 : ARG MAKE="make build" 18:27:35 ---> Running in 21cb5c6293d2 18:27:35 Removing intermediate container 21cb5c6293d2 18:27:35 ---> 4e0fd5522cdc 18:27:35 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:27:35 ---> Running in e33de593c0be 18:27:36 Removing intermediate container e33de593c0be 18:27:36 ---> 78841fd24eae 18:27:36 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 18:27:36 ---> Running in 567ee6b4fbc4 18:27:36 Removing intermediate container 567ee6b4fbc4 18:27:36 ---> 88aa3f906b7f 18:27:36 Step 6/26 : LABEL Name=edgex-device-onvif-camera 18:27:36 ---> Running in 0a997be10e2c 18:27:37 Removing intermediate container 0a997be10e2c 18:27:37 ---> 5c2ffc4ea010 18:27:37 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:27:37 ---> Running in af917595ad70 18:27:39 Removing intermediate container af917595ad70 18:27:39 ---> 82eeb286e9fd 18:27:39 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:27:39 ---> Running in 16e48adf1222 18:27:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:27:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:27:41 OK: 221 MiB in 51 packages 18:27:42 Removing intermediate container 16e48adf1222 18:27:42 ---> d8c1e623d471 18:27:42 Step 9/26 : WORKDIR /device-onvif-camera 18:27:42 ---> Running in 37d091417b2b 18:27:42 Removing intermediate container 37d091417b2b 18:27:42 ---> 902a90e12cff 18:27:42 Step 10/26 : COPY go.mod vendor* ./ 18:27:43 ---> 4e8226b6c00e 18:27:43 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:27:43 ---> Running in 411d1586f2a5 18:27:45 Removing intermediate container 411d1586f2a5 18:27:45 ---> 7bebdff07d72 18:27:45 Step 12/26 : COPY . . 18:27:46 ---> ca793cc2708b 18:27:46 Step 13/26 : RUN ${MAKE} 18:27:46 ---> Running in 7322a69283a2 18:27:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 18:30:09 Removing intermediate container 7322a69283a2 18:30:09 ---> adb76258be60 18:30:09 Step 14/26 : FROM alpine:3.16 18:30:09 3.16: Pulling from library/alpine 18:30:09 9b18e9b68314: Pulling fs layer 18:30:09 9b18e9b68314: Verifying Checksum 18:30:09 9b18e9b68314: Download complete 18:30:09 9b18e9b68314: Pull complete 18:30:09 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:30:09 Status: Downloaded newer image for alpine:3.16 18:30:09 ---> a6215f271958 18:30:09 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:30:09 ---> Running in b0f429f69109 18:30:09 Removing intermediate container b0f429f69109 18:30:09 ---> 2aa9ee026d1d 18:30:09 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:30:09 ---> Running in 0506b282471e 18:30:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:30:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:30:09 (1/6) Installing dumb-init (1.2.5-r1) 18:30:09 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:30:09 (3/6) Installing libsodium (1.0.18-r0) 18:30:09 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:30:09 (5/6) Installing libzmq (4.3.4-r0) 18:30:09 (6/6) Installing zeromq (4.3.4-r0) 18:30:09 Executing busybox-1.35.0-r17.trigger 18:30:09 OK: 8 MiB in 20 packages 18:30:09 Removing intermediate container 0506b282471e 18:30:09 ---> d2cf3e663ae3 18:30:09 Step 17/26 : WORKDIR / 18:30:09 ---> Running in dfed847eb6c2 18:30:10 Removing intermediate container dfed847eb6c2 18:30:10 ---> 32deb89f6e2c 18:30:10 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:30:11 ---> 27eaf8ad069a 18:30:11 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:30:12 ---> baab8fe52b25 18:30:12 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:30:12 ---> e7800a236dd9 18:30:12 Step 21/26 : EXPOSE 59984 18:30:12 ---> Running in e1c200408b6b 18:30:13 Removing intermediate container e1c200408b6b 18:30:13 ---> e165c5251ab3 18:30:13 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:30:13 ---> Running in 78c9cd7e8ade 18:30:13 Removing intermediate container 78c9cd7e8ade 18:30:13 ---> 17d02c29bb60 18:30:13 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:30:13 ---> Running in f279e5338cb9 18:30:14 Removing intermediate container f279e5338cb9 18:30:14 ---> 9fe704fe5e78 18:30:14 Step 24/26 : LABEL arch=arm64 18:30:14 ---> Running in 427330dc639b 18:30:14 Removing intermediate container 427330dc639b 18:30:14 ---> 028e455e37fa 18:30:14 Step 25/26 : LABEL git_sha=b7cedde85df3692c69591f25206326ca90501e4e 18:30:14 ---> Running in 80c5b669b9ac 18:30:14 Removing intermediate container 80c5b669b9ac 18:30:14 ---> d179c5b71645 18:30:14 Step 26/26 : LABEL version=2.3.0-dev.12 18:30:14 ---> Running in 3f5cc27fc80e 18:30:15 Removing intermediate container 3f5cc27fc80e 18:30:15 ---> 7392666d1e1e 18:30:15 [Warning] One or more build-args [ARCH] were not consumed 18:30:15 Successfully built 7392666d1e1e 18:30:15 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 18:30:15 provisioning config files... 18:30:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/51@tmp/config7429160212140957352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:30:15 ---> docker-login.sh 18:30:15 nexus3.edgexfoundry.org:10001 18:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:15 Configure a credential helper to remove this warning. See 18:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:15 18:30:15 Login Succeeded 18:30:15 nexus3.edgexfoundry.org:10002 18:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:16 Configure a credential helper to remove this warning. See 18:30:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:16 18:30:16 Login Succeeded 18:30:16 nexus3.edgexfoundry.org:10003 18:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:17 Configure a credential helper to remove this warning. See 18:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:17 18:30:17 Login Succeeded 18:30:17 nexus3.edgexfoundry.org:10004 18:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:17 Configure a credential helper to remove this warning. See 18:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:17 18:30:17 Login Succeeded 18:30:17 docker.io 18:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:18 Configure a credential helper to remove this warning. See 18:30:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:18 18:30:18 Login Succeeded 18:30:18 ---> docker-login.sh ends [Pipeline] } 18:30:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:30:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:30:18 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 18:30:18 b7cedde85df3692c69591f25206326ca90501e4e 18:30:18 latest 18:30:18 2.3.0-dev.12 18:30:18 b7cedde85df3692c69591f25206326ca90501e4e-2.3.0-dev.12 18:30:18 main 18:30:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:18 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b7cedde85df3692c69591f25206326ca90501e4e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b7cedde85df3692c69591f25206326ca90501e4e 18:30:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:30:19 4d99fcaaacf3: Preparing 18:30:19 df31c27623e5: Preparing 18:30:19 3b714a3e3d8c: Preparing 18:30:19 6b11cd9dc227: Preparing 18:30:19 5d3e392a13a0: Preparing 18:30:19 5d3e392a13a0: Layer already exists 18:30:19 4d99fcaaacf3: Pushed 18:30:19 df31c27623e5: Pushed 18:30:20 6b11cd9dc227: Pushed 18:30:25 3b714a3e3d8c: Pushed 18:30:25 b7cedde85df3692c69591f25206326ca90501e4e: digest: sha256:ca1043393bf8ca99c96f8c5082a1c06d87b648089fd635e465eecda32124518a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:26 + 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 18:30:26 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:30:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:30:26 4d99fcaaacf3: Preparing 18:30:26 df31c27623e5: Preparing 18:30:26 3b714a3e3d8c: Preparing 18:30:26 6b11cd9dc227: Preparing 18:30:26 5d3e392a13a0: Preparing 18:30:26 6b11cd9dc227: Layer already exists 18:30:26 3b714a3e3d8c: Layer already exists 18:30:26 df31c27623e5: Layer already exists 18:30:26 4d99fcaaacf3: Layer already exists 18:30:26 5d3e392a13a0: Layer already exists 18:30:26 latest: digest: sha256:ca1043393bf8ca99c96f8c5082a1c06d87b648089fd635e465eecda32124518a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:27 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:27 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.12 18:30:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:30:27 4d99fcaaacf3: Preparing 18:30:27 df31c27623e5: Preparing 18:30:27 3b714a3e3d8c: Preparing 18:30:27 6b11cd9dc227: Preparing 18:30:27 5d3e392a13a0: Preparing 18:30:27 3b714a3e3d8c: Layer already exists 18:30:27 df31c27623e5: Layer already exists 18:30:27 4d99fcaaacf3: Layer already exists 18:30:27 6b11cd9dc227: Layer already exists 18:30:27 5d3e392a13a0: Layer already exists 18:30:27 2.3.0-dev.12: digest: sha256:ca1043393bf8ca99c96f8c5082a1c06d87b648089fd635e465eecda32124518a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:28 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b7cedde85df3692c69591f25206326ca90501e4e-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:28 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b7cedde85df3692c69591f25206326ca90501e4e-2.3.0-dev.12 18:30:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:30:28 4d99fcaaacf3: Preparing 18:30:28 df31c27623e5: Preparing 18:30:28 3b714a3e3d8c: Preparing 18:30:28 6b11cd9dc227: Preparing 18:30:28 5d3e392a13a0: Preparing 18:30:29 df31c27623e5: Layer already exists 18:30:29 4d99fcaaacf3: Layer already exists 18:30:29 3b714a3e3d8c: Layer already exists 18:30:29 5d3e392a13a0: Layer already exists 18:30:29 6b11cd9dc227: Layer already exists 18:30:29 b7cedde85df3692c69591f25206326ca90501e4e-2.3.0-dev.12: digest: sha256:ca1043393bf8ca99c96f8c5082a1c06d87b648089fd635e465eecda32124518a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:29 + 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 18:30:29 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 18:30:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:30:29 4d99fcaaacf3: Preparing 18:30:29 df31c27623e5: Preparing 18:30:29 3b714a3e3d8c: Preparing 18:30:29 6b11cd9dc227: Preparing 18:30:29 5d3e392a13a0: Preparing 18:30:29 5d3e392a13a0: Layer already exists 18:30:29 df31c27623e5: Layer already exists 18:30:29 3b714a3e3d8c: Layer already exists 18:30:29 6b11cd9dc227: Layer already exists 18:30:29 4d99fcaaacf3: Layer already exists 18:30:30 main: digest: sha256:ca1043393bf8ca99c96f8c5082a1c06d87b648089fd635e465eecda32124518a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:30:30 ===================================================== [Pipeline] echo 18:30:30 taggedImages: 18:30:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b7cedde85df3692c69591f25206326ca90501e4e 18:30:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:30:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.12 18:30:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b7cedde85df3692c69591f25206326ca90501e4e-2.3.0-dev.12 18:30:30 - 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 18:30:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:30:30 18:30:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:30:31 arm64: Pulling from edgex-lftools-log-publisher 18:30:31 8998bd30e6a1: Pulling fs layer 18:30:31 04944245beec: Pulling fs layer 18:30:31 699f458cf7ca: Pulling fs layer 18:30:31 765212b225bb: Pulling fs layer 18:30:31 f23df028b6ca: Pulling fs layer 18:30:31 d65c8cfc05b1: Pulling fs layer 18:30:31 2437ff75d9bd: Pulling fs layer 18:30:31 765212b225bb: Waiting 18:30:31 f23df028b6ca: Waiting 18:30:31 d65c8cfc05b1: Waiting 18:30:31 2437ff75d9bd: Waiting 18:30:31 04944245beec: Verifying Checksum 18:30:31 04944245beec: Download complete 18:30:31 765212b225bb: Download complete 18:30:31 f23df028b6ca: Verifying Checksum 18:30:31 f23df028b6ca: Download complete 18:30:31 d65c8cfc05b1: Verifying Checksum 18:30:31 d65c8cfc05b1: Download complete 18:30:31 699f458cf7ca: Verifying Checksum 18:30:31 699f458cf7ca: Download complete 18:30:31 8998bd30e6a1: Download complete 18:30:34 2437ff75d9bd: Verifying Checksum 18:30:34 2437ff75d9bd: Download complete 18:30:36 8998bd30e6a1: Pull complete 18:30:36 04944245beec: Pull complete 18:30:37 699f458cf7ca: Pull complete 18:30:38 765212b225bb: Pull complete 18:30:39 f23df028b6ca: Pull complete 18:30:39 d65c8cfc05b1: Pull complete 18:30:54 2437ff75d9bd: Pull complete 18:30:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:30:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:30:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:30:54 prd-ubuntu20.04-docker-arm64-4c-16g-23787 does not seem to be running inside a container 18:30:54 $ 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/51 -v /w/workspace/device-onvif-camera/51:/w/workspace/device-onvif-camera/51:rw,z -v /w/workspace/device-onvif-camera/51@tmp:/w/workspace/device-onvif-camera/51@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 18:30:57 $ docker top b9a98ec732d0e26da2c5e1c82461a6afada5fdb05b33fe0c0d00eb056b11601e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:30:58 ---> job-cost.sh 18:30:58 lf-activate-venv: SKIPPING 18:30:58 INFO: No Stack... 18:30:59 INFO: Retrieving Pricing Info for: v3-standard-4 18:31:00 INFO: Archiving Costs [Pipeline] sh 18:31:00 + cat /w/workspace/device-onvif-camera/51/archives/cost.csv 18:31:00 + cut -d, -f6 [Pipeline] lock 18:31:00 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-51-stack-cost] 18:31:00 Resource [jenkins-edgexfoundry-device-onvif-camera-main-51-stack-cost] did not exist. Created. 18:31:00 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:31:01 /w/workspace/device-onvif-camera/51@tmp/durable-c33573b3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:31:02 + echo total: 0.10999999940395355 [Pipeline] stash 18:31:02 Warning: overwriting stash ‘stack-cost’ 18:31:02 Stashed 1 file(s) [Pipeline] } 18:31:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 18:31:02 $ docker stop --time=1 b9a98ec732d0e26da2c5e1c82461a6afada5fdb05b33fe0c0d00eb056b11601e 18:31:03 $ docker rm -f b9a98ec732d0e26da2c5e1c82461a6afada5fdb05b33fe0c0d00eb056b11601e [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 18:31:04 provisioning config files... 18:31:04 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5300304281028321977tmp [Pipeline] { [Pipeline] sh 18:31:04 + set +x 18:31:04 + curl -s https://codecov.io/bash 18:31:04 + bash -s -- 18:31:04 18:31:04 _____ _ 18:31:04 / ____| | | 18:31:04 | | ___ __| | ___ ___ _____ __ 18:31:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:31:04 | |___| (_) | (_| | __/ (_| (_) \ V / 18:31:04 \_____\___/ \__,_|\___|\___\___/ \_/ 18:31:04 Bash-1.0.6 18:31:04 18:31:04 18:31:04 ==> git version 2.25.1 found 18:31:04 ==> 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 18:31:04 Release-Date: 2020-01-08 18:31:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:31:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:31:04 ==> Jenkins CI detected. 18:31:04 current dir:  /w/workspace/foundry_device-onvif-camera_main 18:31:04 project root: . 18:31:04 --> token set from env 18:31:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:31:04 ==> Running gcov in . (disable via -X gcov) 18:31:04 ==> Python coveragepy not found 18:31:04 ==> Searching for coverage reports in: 18:31:04 + . 18:31:04 -> Found 1 reports 18:31:04 ==> Detecting git/mercurial file structure 18:31:04 ==> Reading reports 18:31:04 + ./coverage.out bytes=76854 18:31:04 ==> Appending adjustments 18:31:04 https://docs.codecov.io/docs/fixing-reports 18:31:04 + Found adjustments 18:31:04 ==> Gzipping contents 18:31:04 12K /tmp/codecov.Ku3fV7.gz 18:31:04 ==> Uploading reports 18:31:04 url: https://codecov.io 18:31:04 query: branch=main&commit=b7cedde85df3692c69591f25206326ca90501e4e&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:31:04 -> Pinging Codecov 18:31:04 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=b7cedde85df3692c69591f25206326ca90501e4e&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:31:05 -> Uploading to 18:31:05 https://storage.googleapis.com/codecov/v4/raw/2022-08-29/F29A59C45E3A92E06B3E522C9905F8EF/b7cedde85df3692c69591f25206326ca90501e4e/c5991cb9-910a-4339-9181-64b2ba3f953e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220829%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220829T183105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=78c0ee0e202bd819fd3fc0cdfde3bfa6c790a490ccea543da4a2979dba971d91 18:31:05 % Total % Received % Xferd Average Speed Time Time Time Current 18:31:05 Dload Upload Total Spent Left Speed 18:31:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10385 0 0 100 10385 0 47857 --:--:-- --:--:-- --:--:-- 47857 18:31:05 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/b7cedde85df3692c69591f25206326ca90501e4e [Pipeline] } 18:31:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:31:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:31:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:31:06 18:31:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:31:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:31:06 df9b9388f04a: Pulling fs layer 18:31:06 52dc419b0ee2: Pulling fs layer 18:31:06 25bc292e5bac: Pulling fs layer 18:31:06 114826534d7a: Pulling fs layer 18:31:06 4657fd5d0bcf: Pulling fs layer 18:31:06 6ad1cebc031e: Pulling fs layer 18:31:06 8a3aa393b2d8: Pulling fs layer 18:31:06 6ad1cebc031e: Waiting 18:31:06 4657fd5d0bcf: Waiting 18:31:06 8a3aa393b2d8: Waiting 18:31:06 114826534d7a: Waiting 18:31:06 25bc292e5bac: Verifying Checksum 18:31:06 52dc419b0ee2: Download complete 18:31:06 4657fd5d0bcf: Verifying Checksum 18:31:06 4657fd5d0bcf: Download complete 18:31:06 df9b9388f04a: Verifying Checksum 18:31:06 df9b9388f04a: Download complete 18:31:06 6ad1cebc031e: Verifying Checksum 18:31:06 6ad1cebc031e: Download complete 18:31:06 df9b9388f04a: Pull complete 18:31:06 52dc419b0ee2: Pull complete 18:31:06 25bc292e5bac: Pull complete 18:31:07 114826534d7a: Download complete 18:31:07 8a3aa393b2d8: Verifying Checksum 18:31:07 8a3aa393b2d8: Download complete 18:31:10 114826534d7a: Pull complete 18:31:11 4657fd5d0bcf: Pull complete 18:31:11 6ad1cebc031e: Pull complete 18:31:14 8a3aa393b2d8: Pull complete 18:31:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:31:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:31:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:14 prd-ubuntu20.04-docker-8c-8g-23785 does not seem to be running inside a container 18:31:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:31:16 $ docker top adbd5f2dcab2acf0fef211efa6a75b7e94bb26679d009e0817ec25f3b6d6d0dd -eo pid,comm [Pipeline] { [Pipeline] echo 18:31:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 18:31:17 + set -o pipefail 18:31:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 18:31:22 18:31:22 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 18:31:22 18:31:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/62ca6fdf-8f83-4134-a7b1-81497c1ca863 18:31:22 18:31:22 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:31:22 18:31:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:31:22 18:31:22 [Pipeline] } 18:31:22 $ docker stop --time=1 adbd5f2dcab2acf0fef211efa6a75b7e94bb26679d009e0817ec25f3b6d6d0dd 18:31:24 $ docker rm -f adbd5f2dcab2acf0fef211efa6a75b7e94bb26679d009e0817ec25f3b6d6d0dd [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 18:31:24 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:31:24 provisioning config files... 18:31:24 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4298402381749751927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:31:25 --> edgex-publish-swagger.sh 18:31:25 === Publish doc/openapi/v2 API === 18:31:25 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 18:31:25 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 18:31:25 % Total % Received % Xferd Average Speed Time Time Time Current 18:31:25 Dload Upload Total Spent Left Speed 18:31:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 200k --:--:-- --:--:-- --:--:-- 200k 100 139k 0 0 100 139k 0 200k --:--:-- --:--:-- --:--:-- 199k 18:31:25 18:31:25 [Pipeline] } 18:31:25 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 18:31:26 + git log --format=format:%s -1 b7cedde85df3692c69591f25206326ca90501e4e [Pipeline] sh 18:31:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:31:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:31:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:27 prd-ubuntu20.04-docker-8c-8g-23785 does not seem to be running inside a container 18:31:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:31:27 $ docker top aa0f393640a20fad6b94e7ed7250233595388cf0094bd87c8749347d242a4aab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:31:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:31:27 [ssh-agent] Looking for ssh-agent implementation... 18:31:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:31:27 $ docker exec aa0f393640a20fad6b94e7ed7250233595388cf0094bd87c8749347d242a4aab ssh-agent 18:31:27 SSH_AUTH_SOCK=/tmp/ssh-Ix4XDFghsgYv/agent.33 18:31:27 SSH_AGENT_PID=39 18:31:27 Running ssh-add (command line suppressed) 18:31:27 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7831381682348150285.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7831381682348150285.key) 18:31:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:31:28 + git semver tag 18:31:28 2022-08-29 18:31:28,397 [run_tag] DEBUG tag force:False 18:31:28 2022-08-29 18:31:28,397 [check_head_tag] DEBUG check head tag 18:31:28 2022-08-29 18:31:28,398 [execute] INFO git cat-file --batch-check 18:31:28 2022-08-29 18:31:28,398 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:31:28 2022-08-29 18:31:28,402 [execute] INFO git cat-file --batch 18:31:28 2022-08-29 18:31:28,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:31:28 2022-08-29 18:31:28,418 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:31:28 2022-08-29 18:31:28,418 [execute] INFO git tag -a v2.3.0-dev.12 -m v2.3.0-dev.12 18:31:28 2022-08-29 18:31:28,418 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.12', '-m', 'v2.3.0-dev.12'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:31:28 2022-08-29 18:31:28,423 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:31:28 2.3.0-dev.12 [Pipeline] } 18:31:28 $ docker exec --env ******** --env ******** aa0f393640a20fad6b94e7ed7250233595388cf0094bd87c8749347d242a4aab ssh-agent -k 18:31:28 unset SSH_AUTH_SOCK; 18:31:28 unset SSH_AGENT_PID; 18:31:28 echo Agent pid 39 killed; 18:31:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:31:28 + git semver [Pipeline] } 18:31:29 $ docker stop --time=1 aa0f393640a20fad6b94e7ed7250233595388cf0094bd87c8749347d242a4aab 18:31:30 $ docker rm -f aa0f393640a20fad6b94e7ed7250233595388cf0094bd87c8749347d242a4aab [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:31:30 18:31:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:31:31 0.23.1-centos7: Pulling from edgex-lftools 18:31:31 ab5ef0e58194: Pulling fs layer 18:31:31 9712f1f96733: Pulling fs layer 18:31:31 63f879dbbcfc: Pulling fs layer 18:31:31 0d9ebad4ef96: Pulling fs layer 18:31:31 e9a5061849ea: Pulling fs layer 18:31:31 d747dcd14b5f: Pulling fs layer 18:31:31 2de7ff778b66: Pulling fs layer 18:31:31 e9a5061849ea: Waiting 18:31:31 d747dcd14b5f: Waiting 18:31:31 2de7ff778b66: Waiting 18:31:31 9712f1f96733: Verifying Checksum 18:31:31 9712f1f96733: Download complete 18:31:31 63f879dbbcfc: Verifying Checksum 18:31:31 63f879dbbcfc: Download complete 18:31:31 e9a5061849ea: Verifying Checksum 18:31:31 e9a5061849ea: Download complete 18:31:31 d747dcd14b5f: Download complete 18:31:31 ab5ef0e58194: Verifying Checksum 18:31:31 ab5ef0e58194: Download complete 18:31:31 0d9ebad4ef96: Verifying Checksum 18:31:31 0d9ebad4ef96: Download complete 18:31:31 2de7ff778b66: Verifying Checksum 18:31:31 2de7ff778b66: Download complete 18:31:35 ab5ef0e58194: Pull complete 18:31:35 9712f1f96733: Pull complete 18:31:35 63f879dbbcfc: Pull complete 18:31:39 0d9ebad4ef96: Pull complete 18:31:39 e9a5061849ea: Pull complete 18:31:39 d747dcd14b5f: Pull complete 18:31:40 2de7ff778b66: Pull complete 18:31:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:31:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:31:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:40 prd-ubuntu20.04-docker-8c-8g-23785 does not seem to be running inside a container 18:31:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:31:43 $ docker top 4f59016bf04cabe9ad9503977fad1b4e19199b42d2ce097b9dfbb8fe64d492e6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:31:43 provisioning config files... 18:31:43 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3843832733366347480tmp 18:31:43 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4283275798182801403tmp 18:31:43 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2980788369974159652tmp [Pipeline] { [Pipeline] echo 18:31:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:31:43 ---> sigul-configuration.sh 18:31:43 gpg: directory `/root/.gnupg' created 18:31:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:31:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:31:43 gpg: keyring `/root/.gnupg/secring.gpg' created 18:31:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:31:43 gpg: CAST5 encrypted data 18:31:43 gpg: encrypted with 1 passphrase 18:31:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:31:43 + mkdir /home/jenkins 18:31:43 + mkdir /home/jenkins/sigul [Pipeline] sh 18:31:44 + 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 18:31:44 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:31:44 ---> sigul-install.sh 18:31:44 Sigul already installed; skipping installation. [Pipeline] sh 18:31:44 + git tag --list 18:31:44 v0.0.0 18:31:44 v0.0.1-dev.1 18:31:44 v0.0.1-dev.10 18:31:44 v0.0.1-dev.11 18:31:44 v0.0.1-dev.12 18:31:44 v0.0.1-dev.13 18:31:44 v0.0.1-dev.14 18:31:44 v0.0.1-dev.15 18:31:44 v0.0.1-dev.16 18:31:44 v0.0.1-dev.17 18:31:44 v0.0.1-dev.18 18:31:44 v0.0.1-dev.19 18:31:44 v0.0.1-dev.2 18:31:44 v0.0.1-dev.20 18:31:44 v0.0.1-dev.21 18:31:44 v0.0.1-dev.22 18:31:44 v0.0.1-dev.23 18:31:44 v0.0.1-dev.24 18:31:44 v0.0.1-dev.25 18:31:44 v0.0.1-dev.26 18:31:44 v0.0.1-dev.27 18:31:44 v0.0.1-dev.28 18:31:44 v0.0.1-dev.3 18:31:44 v0.0.1-dev.4 18:31:44 v0.0.1-dev.5 18:31:44 v0.0.1-dev.6 18:31:44 v0.0.1-dev.7 18:31:44 v0.0.1-dev.8 18:31:44 v0.0.1-dev.9 18:31:44 v2.2.0 18:31:44 v2.2.0-dev.29 18:31:44 v2.2.0-dev.30 18:31:44 v2.2.0-dev.31 18:31:44 v2.2.0-dev.32 18:31:44 v2.2.0-dev.33 18:31:44 v2.2.0-dev.34 18:31:44 v2.2.0-dev.35 18:31:44 v2.3.0-dev.1 18:31:44 v2.3.0-dev.10 18:31:44 v2.3.0-dev.11 18:31:44 v2.3.0-dev.12 18:31:44 v2.3.0-dev.2 18:31:44 v2.3.0-dev.3 18:31:44 v2.3.0-dev.4 18:31:44 v2.3.0-dev.5 18:31:44 v2.3.0-dev.6 18:31:44 v2.3.0-dev.7 18:31:44 v2.3.0-dev.8 18:31:44 v2.3.0-dev.9 [Pipeline] sh 18:31:45 + lftools sign git-tag v2.3.0-dev.12 18:31:45 Signing Git tag with Sigul... 18:31:45 Signing v2.3.0-dev.12 [Pipeline] echo 18:31:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:31:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:31:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:31:46 $ docker stop --time=1 4f59016bf04cabe9ad9503977fad1b4e19199b42d2ce097b9dfbb8fe64d492e6 18:31:47 $ docker rm -f 4f59016bf04cabe9ad9503977fad1b4e19199b42d2ce097b9dfbb8fe64d492e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:31:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:31:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:31:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:48 prd-ubuntu20.04-docker-8c-8g-23785 does not seem to be running inside a container 18:31:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:31:49 $ docker top 97b80bcdf9d8700374c9e4a519798d8d7258b9abf2794f41934135418e484894 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:31:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:31:49 [ssh-agent] Looking for ssh-agent implementation... 18:31:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:31:49 $ docker exec 97b80bcdf9d8700374c9e4a519798d8d7258b9abf2794f41934135418e484894 ssh-agent 18:31:49 SSH_AUTH_SOCK=/tmp/ssh-DzEQCMjI4fJQ/agent.33 18:31:49 SSH_AGENT_PID=39 18:31:49 Running ssh-add (command line suppressed) 18:31:49 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_380188724552646074.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_380188724552646074.key) 18:31:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:31:49 + git semver bump pre 18:31:50 2022-08-29 18:31:50,015 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:31:50 2022-08-29 18:31:50,015 [bump_version] DEBUG bumping version:2.3.0-dev.12 on axis:pre with prefix:dev 18:31:50 2022-08-29 18:31:50,016 [bump_version] DEBUG bumped version:2.3.0-dev.13 18:31:50 2022-08-29 18:31:50,016 [write_version] DEBUG write version:2.3.0-dev.13 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 18:31:50 2022-08-29 18:31:50,016 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:31:50 2022-08-29 18:31:50,016 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 18:31:50 2022-08-29 18:31:50,018 [execute] INFO git cat-file --batch-check 18:31:50 2022-08-29 18:31:50,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:31:50 2022-08-29 18:31:50,023 [execute] INFO git cat-file --batch 18:31:50 2022-08-29 18:31:50,023 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:31:50 2022-08-29 18:31:50,029 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:31:50 2.3.0-dev.13 [Pipeline] } 18:31:50 $ docker exec --env ******** --env ******** 97b80bcdf9d8700374c9e4a519798d8d7258b9abf2794f41934135418e484894 ssh-agent -k 18:31:50 unset SSH_AUTH_SOCK; 18:31:50 unset SSH_AGENT_PID; 18:31:50 echo Agent pid 39 killed; 18:31:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:31:50 + git semver [Pipeline] } 18:31:50 $ docker stop --time=1 97b80bcdf9d8700374c9e4a519798d8d7258b9abf2794f41934135418e484894 18:31:52 $ docker rm -f 97b80bcdf9d8700374c9e4a519798d8d7258b9abf2794f41934135418e484894 [Pipeline] // withDockerContainer [Pipeline] sh 18:31:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:31:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:31:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:52 prd-ubuntu20.04-docker-8c-8g-23785 does not seem to be running inside a container 18:31:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:31:53 $ docker top 1c0e9db7fe29723f9c232186288e4be75080890057baeaf0810b1a899ad3d6c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:31:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:31:53 [ssh-agent] Looking for ssh-agent implementation... 18:31:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:31:53 $ docker exec 1c0e9db7fe29723f9c232186288e4be75080890057baeaf0810b1a899ad3d6c4 ssh-agent 18:31:53 SSH_AUTH_SOCK=/tmp/ssh-cdCGP3HXOH78/agent.33 18:31:53 SSH_AGENT_PID=39 18:31:53 Running ssh-add (command line suppressed) 18:31:53 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7308232339646871839.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7308232339646871839.key) 18:31:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:31:54 + git semver push 18:31:54 2022-08-29 18:31:54,298 [run_push] DEBUG push 18:31:54 2022-08-29 18:31:54,298 [execute] INFO git cat-file --batch-check 18:31:54 2022-08-29 18:31:54,299 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:31:54 2022-08-29 18:31:54,302 [execute] INFO git rev-list a13a7325bfbc0cc119c23b49e3ab2749c95bd656 -- 18:31:54 2022-08-29 18:31:54,303 [execute] DEBUG Popen(['git', 'rev-list', 'a13a7325bfbc0cc119c23b49e3ab2749c95bd656', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:31:54 2022-08-29 18:31:54,308 [execute] INFO git fetch -v origin 18:31:54 2022-08-29 18:31:54,309 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:31:54 2022-08-29 18:31:54,782 [run_push] DEBUG no remote changes detected 18:31:54 2022-08-29 18:31:54,783 [execute] INFO git push origin semver 18:31:54 2022-08-29 18:31:54,783 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:31:55 2022-08-29 18:31:55,572 [run_push] DEBUG push all version tags 18:31:55 2022-08-29 18:31:55,573 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:31:55 2022-08-29 18:31:55,574 [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) 18:31:56 2022-08-29 18:31:56,279 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:31:56 2.3.0-dev.13 [Pipeline] } 18:31:56 $ docker exec --env ******** --env ******** 1c0e9db7fe29723f9c232186288e4be75080890057baeaf0810b1a899ad3d6c4 ssh-agent -k 18:31:56 unset SSH_AUTH_SOCK; 18:31:56 unset SSH_AGENT_PID; 18:31:56 echo Agent pid 39 killed; 18:31:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:31:56 + git semver [Pipeline] } 18:31:57 $ docker stop --time=1 1c0e9db7fe29723f9c232186288e4be75080890057baeaf0810b1a899ad3d6c4 18:31:58 $ docker rm -f 1c0e9db7fe29723f9c232186288e4be75080890057baeaf0810b1a899ad3d6c4 [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 18:31:59 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 18:31:59 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:31:59 total 16 18:31:59 drwxr-xr-x 3 root root 4096 Aug 29 18:23 . 18:31:59 drwxrwxr-x 11 jenkins jenkins 4096 Aug 29 18:31 .. 18:31:59 drwxr-xr-x 2 root root 4096 Aug 29 18:23 cost 18:31:59 -rw-r--r-- 1 root root 90 Aug 29 18:23 cost.csv 18:31:59 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 18:31:59 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:31:59 total 16 18:31:59 drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 18:23 . 18:31:59 drwxrwxr-x 11 jenkins jenkins 4096 Aug 29 18:31 .. 18:31:59 drwxr-xr-x 2 jenkins jenkins 4096 Aug 29 18:23 cost 18:31:59 -rw-r--r-- 1 jenkins jenkins 90 Aug 29 18:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:31:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:32:00 ---> package-listing.sh 18:32:00 ++ facter osfamily 18:32:00 ++ tr '[:upper:]' '[:lower:]' 18:32:00 + OS_FAMILY=debian 18:32:00 + workspace=/w/workspace/foundry_device-onvif-camera_main 18:32:00 + START_PACKAGES=/tmp/packages_start.txt 18:32:00 + END_PACKAGES=/tmp/packages_end.txt 18:32:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:32:00 + PACKAGES=/tmp/packages_start.txt 18:32:00 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:32:00 + PACKAGES=/tmp/packages_end.txt 18:32:00 + case "${OS_FAMILY}" in 18:32:00 + dpkg -l 18:32:00 + grep '^ii' 18:32:00 + '[' -f /tmp/packages_start.txt ']' 18:32:00 + '[' -f /tmp/packages_end.txt ']' 18:32:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:32:00 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:32:00 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 18:32:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 18:32:00 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 18:32:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:32:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:01 prd-ubuntu20.04-docker-8c-8g-23785 does not seem to be running inside a container 18:32:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:32:01 $ docker top fb779d5665fd649758669fd0350bf0cbeb961c9e5774629903ec05843e5947ee -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:02 + touch /tmp/pre-build-complete [Pipeline] sh 18:32:02 + mkdir -p /var/log/sysstat [Pipeline] sh 18:32:02 + ls /var/log/sa-host 18:32:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:32:02 provisioning config files... 18:32:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8698572027547707696tmp [Pipeline] { [Pipeline] echo 18:32:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:32:03 ---> create-netrc.sh [Pipeline] } 18:32:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:32:03 ---> python-tools-install.sh [Pipeline] echo 18:32:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:32:03 ---> sudo-logs.sh 18:32:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:32:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:32:03 ---> job-cost.sh 18:32:03 lf-activate-venv: SKIPPING 18:32:03 DEBUG: total: 0.2199999988079071 18:32:03 INFO: Retrieving Stack Cost... 18:32:04 INFO: Retrieving Pricing Info for: v3-standard-8 18:32:04 INFO: Archiving Costs [Pipeline] echo 18:32:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:32:05 ---> logs-deploy.sh 18:32:05 lf-activate-venv: SKIPPING 18:32:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/51 18:32:05 INFO: archiving workspace using pattern(s): 18:32:06 Archives upload complete. 18:32:06 INFO: archiving logs to Nexus