Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 87f15e26a71a8026a682f6867a4ab9a3284585c9 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-ssh4216988449655636776.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-ssh4030992517811092167.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-ssh15639235726957237421.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-ssh7851696397586375608.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-ssh6388897164899432021.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-24317’ Running on prd-ubuntu20.04-docker-8c-8g-24327 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 87f15e26a71a8026a682f6867a4ab9a3284585c9 (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 87f15e26a71a8026a682f6867a4ab9a3284585c9 # timeout=10 Commit message: "feat: remove custom service interface and use sdk interface (#150)" > git rev-list --no-walk 06d0f2addced559a6b629125c025b062c3ce01e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:01:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:01:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:01:30 ========================================================= 17:01:30 EdgeX Global Pipelines Version Info 17:01:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:01:31 ------------------- 17:01:31 stable info: 17:01:31 ------------------- 17:01:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:01:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:01:31 Message: update stable to v1.0.239 17:01:31 ------------------- 17:01:31 experimental info: 17:01:31 ------------------- 17:01:31 Commited By: **** collab-it+edgex@linuxfoundation.org 17:01:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:01:31 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:01:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:01:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:01:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87f15e26a71a8026a682f6867a4ab9a3284585c9 [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87f15e2 [Pipeline] echo 17:01:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:01:32 provisioning config files... 17:01:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7290274176550327284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:32 ---> docker-login.sh 17:01:32 nexus3.edgexfoundry.org:10001 17:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:33 Configure a credential helper to remove this warning. See 17:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:33 17:01:33 Login Succeeded 17:01:33 nexus3.edgexfoundry.org:10002 17:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:33 Configure a credential helper to remove this warning. See 17:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:33 17:01:33 Login Succeeded 17:01:33 nexus3.edgexfoundry.org:10003 17:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:33 Configure a credential helper to remove this warning. See 17:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:33 17:01:33 Login Succeeded 17:01:33 nexus3.edgexfoundry.org:10004 17:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:33 Configure a credential helper to remove this warning. See 17:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:33 17:01:33 Login Succeeded 17:01:33 docker.io 17:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:34 Configure a credential helper to remove this warning. See 17:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:34 17:01:34 Login Succeeded 17:01:34 ---> docker-login.sh ends [Pipeline] } 17:01:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:01:34 + git rev-list -1 --merges 87f15e26a71a8026a682f6867a4ab9a3284585c9~1..87f15e26a71a8026a682f6867a4ab9a3284585c9 [Pipeline] echo 17:01:34 -----------> git rev-list -1 --merges 87f15e26a71a8026a682f6867a4ab9a3284585c9~1..87f15e26a71a8026a682f6867a4ab9a3284585c9 87f15e26a71a8026a682f6867a4ab9a3284585c9 [false] [Pipeline] sh 17:01:35 + git log --format=format:%s -1 87f15e26a71a8026a682f6867a4ab9a3284585c9 [Pipeline] echo 17:01:35 ========================================================= 17:01:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:01:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:01:35 + git log --format=format:%s -1 87f15e26a71a8026a682f6867a4ab9a3284585c9 [Pipeline] echo 17:01:35 [semverPrep] GIT_COMMIT: 87f15e26a71a8026a682f6867a4ab9a3284585c9, Commit Message: feat: remove custom service interface and use sdk interface (#150) [Pipeline] echo 17:01:35 [semverPrep] This is not a build commit. [Pipeline] sh 17:01:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:01:35 + grep -v github /etc/ssh/ssh_known_hosts 17:01:35 + [ -e /tmp/ssh_known_hosts ] 17:01:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:01:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:01:35 + sudo tee -a /etc/ssh/ssh_known_hosts 17:01:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:01:36 17:01:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:01:36 0.1.4: Pulling from edgex-devops/py-git-semver 17:01:36 b85a868b505f: Pulling fs layer 17:01:36 e2be974225ed: Pulling fs layer 17:01:36 339a4e72a1f5: Pulling fs layer 17:01:36 988bab9f4d93: Pulling fs layer 17:01:36 1469e6f7b9e6: Pulling fs layer 17:01:36 eaf3925da568: Pulling fs layer 17:01:36 bab4dde63d76: Pulling fs layer 17:01:36 bde34c3a00c8: Pulling fs layer 17:01:36 b352a97aabf1: Pulling fs layer 17:01:36 4872d77fe225: Pulling fs layer 17:01:36 5851b861e8e6: Pulling fs layer 17:01:36 bab4dde63d76: Waiting 17:01:36 bde34c3a00c8: Waiting 17:01:36 b352a97aabf1: Waiting 17:01:36 5851b861e8e6: Waiting 17:01:36 4872d77fe225: Waiting 17:01:36 988bab9f4d93: Waiting 17:01:36 eaf3925da568: Waiting 17:01:36 1469e6f7b9e6: Waiting 17:01:36 e2be974225ed: Verifying Checksum 17:01:36 e2be974225ed: Download complete 17:01:36 988bab9f4d93: Verifying Checksum 17:01:36 988bab9f4d93: Download complete 17:01:36 1469e6f7b9e6: Verifying Checksum 17:01:36 1469e6f7b9e6: Download complete 17:01:36 339a4e72a1f5: Verifying Checksum 17:01:36 339a4e72a1f5: Download complete 17:01:36 eaf3925da568: Verifying Checksum 17:01:36 eaf3925da568: Download complete 17:01:36 bde34c3a00c8: Verifying Checksum 17:01:36 bde34c3a00c8: Download complete 17:01:36 b352a97aabf1: Verifying Checksum 17:01:36 b352a97aabf1: Download complete 17:01:36 4872d77fe225: Download complete 17:01:36 5851b861e8e6: Verifying Checksum 17:01:36 5851b861e8e6: Download complete 17:01:36 b85a868b505f: Verifying Checksum 17:01:36 b85a868b505f: Download complete 17:01:37 bab4dde63d76: Verifying Checksum 17:01:38 b85a868b505f: Pull complete 17:01:38 e2be974225ed: Pull complete 17:01:38 339a4e72a1f5: Pull complete 17:01:38 988bab9f4d93: Pull complete 17:01:39 1469e6f7b9e6: Pull complete 17:01:39 eaf3925da568: Pull complete 17:01:41 bab4dde63d76: Pull complete 17:01:41 bde34c3a00c8: Pull complete 17:01:41 b352a97aabf1: Pull complete 17:01:41 4872d77fe225: Pull complete 17:01:41 5851b861e8e6: Pull complete 17:01:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:01:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:01:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:41 prd-ubuntu20.04-docker-8c-8g-24327 does not seem to be running inside a container 17:01:41 $ 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 17:01:46 $ docker top 24c44aff1b03a94329ed1edd1790be32f232af1a20160982f200f9fd8079ba67 -eo pid,comm 17:01:46 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). 17:01:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:01:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:01:46 [ssh-agent] Looking for ssh-agent implementation... 17:01:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:01:46 $ docker exec 24c44aff1b03a94329ed1edd1790be32f232af1a20160982f200f9fd8079ba67 ssh-agent 17:01:46 SSH_AUTH_SOCK=/tmp/ssh-XJN83BtxjOOg/agent.34 17:01:46 SSH_AGENT_PID=40 17:01:46 Running ssh-add (command line suppressed) 17:01:46 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4321359235962569177.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4321359235962569177.key) 17:01:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:01:47 + git tag --points-at HEAD [Pipeline] } 17:01:47 $ docker exec --env ******** --env ******** 24c44aff1b03a94329ed1edd1790be32f232af1a20160982f200f9fd8079ba67 ssh-agent -k 17:01:47 unset SSH_AUTH_SOCK; 17:01:47 unset SSH_AGENT_PID; 17:01:47 echo Agent pid 40 killed; 17:01:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:01:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:01:47 [ssh-agent] Looking for ssh-agent implementation... 17:01:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:01:47 $ docker exec 24c44aff1b03a94329ed1edd1790be32f232af1a20160982f200f9fd8079ba67 ssh-agent 17:01:47 SSH_AUTH_SOCK=/tmp/ssh-1UF6V8nh4x5J/agent.73 17:01:47 SSH_AGENT_PID=80 17:01:47 Running ssh-add (command line suppressed) 17:01:47 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_913781985818084539.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_913781985818084539.key) 17:01:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:01:48 + git semver init 17:01:48 2022-09-01 17:01:48,470 [run_init] DEBUG init version:0.0.0 force:False 17:01:48 2022-09-01 17:01:48,471 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:01:48 2022-09-01 17:01:48,472 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:01:48 2022-09-01 17:01:48,472 [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) 17:01:49 2022-09-01 17:01:49,424 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:01:49 2022-09-01 17:01:49,424 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:01:49 2022-09-01 17:01:49,425 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:01:49 2022-09-01 17:01:49,425 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:01:49 2.3.0-dev.15 [Pipeline] } 17:01:49 $ docker exec --env ******** --env ******** 24c44aff1b03a94329ed1edd1790be32f232af1a20160982f200f9fd8079ba67 ssh-agent -k 17:01:49 unset SSH_AUTH_SOCK; 17:01:49 unset SSH_AGENT_PID; 17:01:49 echo Agent pid 80 killed; 17:01:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:01:50 + git semver [Pipeline] } 17:01:50 $ docker stop --time=1 24c44aff1b03a94329ed1edd1790be32f232af1a20160982f200f9fd8079ba67 17:01:52 $ docker rm -f 24c44aff1b03a94329ed1edd1790be32f232af1a20160982f200f9fd8079ba67 [Pipeline] // withDockerContainer [Pipeline] sh 17:01:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:01:52 Stashed 1 file(s) [Pipeline] echo 17:01:52 [edgeXSemver]: initialized semver on version 2.3.0-dev.15 [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 17:01:53 provisioning config files... 17:01:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6637487272199523964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:53 ---> docker-login.sh 17:01:53 nexus3.edgexfoundry.org:10001 17:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:53 Configure a credential helper to remove this warning. See 17:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:53 17:01:53 Login Succeeded 17:01:53 nexus3.edgexfoundry.org:10002 17:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:53 Configure a credential helper to remove this warning. See 17:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:53 17:01:53 Login Succeeded 17:01:53 nexus3.edgexfoundry.org:10003 17:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:53 Configure a credential helper to remove this warning. See 17:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:53 17:01:53 Login Succeeded 17:01:53 nexus3.edgexfoundry.org:10004 17:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:53 Configure a credential helper to remove this warning. See 17:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:53 17:01:53 Login Succeeded 17:01:53 docker.io 17:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:54 Configure a credential helper to remove this warning. See 17:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:54 17:01:54 Login Succeeded 17:01:54 ---> docker-login.sh ends [Pipeline] } 17:01:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:01:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:01:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:01:54 ========================================================= 17:01:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:01:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:54 + 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 . 17:01:54 Sending build context to Docker daemon 20.61MB 17:01:54 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:01:54 Step 2/13 : FROM ${BASE} AS builder 17:01:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:01:54 2408cc74d12b: Pulling fs layer 17:01:54 ea60b727a1ce: Pulling fs layer 17:01:54 30c4a7721957: Pulling fs layer 17:01:54 370296b7ddb6: Pulling fs layer 17:01:54 7c6cee850709: Pulling fs layer 17:01:54 39a5fcdaea64: Pulling fs layer 17:01:54 d94ebbe4e438: Pulling fs layer 17:01:54 bcfd1f05c69d: Pulling fs layer 17:01:54 59ccb84bbe0f: Pulling fs layer 17:01:54 7c6cee850709: Waiting 17:01:54 39a5fcdaea64: Waiting 17:01:54 d94ebbe4e438: Waiting 17:01:54 bcfd1f05c69d: Waiting 17:01:54 370296b7ddb6: Waiting 17:01:54 59ccb84bbe0f: Waiting 17:01:54 30c4a7721957: Download complete 17:01:54 ea60b727a1ce: Verifying Checksum 17:01:54 ea60b727a1ce: Download complete 17:01:54 7c6cee850709: Verifying Checksum 17:01:54 7c6cee850709: Download complete 17:01:54 39a5fcdaea64: Verifying Checksum 17:01:54 39a5fcdaea64: Download complete 17:01:54 2408cc74d12b: Verifying Checksum 17:01:54 d94ebbe4e438: Download complete 17:01:55 2408cc74d12b: Pull complete 17:01:55 ea60b727a1ce: Pull complete 17:01:55 30c4a7721957: Pull complete 17:01:55 59ccb84bbe0f: Verifying Checksum 17:01:55 59ccb84bbe0f: Download complete 17:01:55 bcfd1f05c69d: Verifying Checksum 17:01:55 bcfd1f05c69d: Download complete 17:01:55 370296b7ddb6: Verifying Checksum 17:01:55 370296b7ddb6: Download complete 17:01:59 370296b7ddb6: Pull complete 17:01:59 7c6cee850709: Pull complete 17:01:59 39a5fcdaea64: Pull complete 17:01:59 d94ebbe4e438: Pull complete 17:02:01 bcfd1f05c69d: Pull complete 17:02:02 59ccb84bbe0f: Pull complete 17:02:02 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 17:02:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:02:02 ---> a4fb48ad2a94 17:02:02 Step 3/13 : ARG MAKE="make build" 17:02:08 Still waiting to schedule task 17:02:08 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24320’ 17:02:08 ---> Running in 719c1c4a3deb 17:02:08 Removing intermediate container 719c1c4a3deb 17:02:08 ---> 5a6cd1f2ecd9 17:02:08 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:02:08 ---> Running in 67e931a05cc8 17:02:09 Removing intermediate container 67e931a05cc8 17:02:09 ---> 22094323960f 17:02:09 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:02:09 ---> Running in feef74e4f186 17:02:09 Removing intermediate container feef74e4f186 17:02:09 ---> 81bf79c6c4d2 17:02:09 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:02:09 ---> Running in 6d658d2c3651 17:02:09 Removing intermediate container 6d658d2c3651 17:02:09 ---> d73e3076a3d5 17:02:09 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:02:09 ---> Running in 14fc31be1c0d 17:02:10 Removing intermediate container 14fc31be1c0d 17:02:10 ---> 3a5f85c1a5e9 17:02:10 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:02:10 ---> Running in f9a278cee090 17:02:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:02:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:02:11 OK: 211 MiB in 51 packages 17:02:11 Removing intermediate container f9a278cee090 17:02:11 ---> 3133df2ae617 17:02:11 Step 9/13 : WORKDIR /device-onvif-camera 17:02:11 ---> Running in 61ba6271277c 17:02:11 Removing intermediate container 61ba6271277c 17:02:11 ---> d3d6edb9b869 17:02:11 Step 10/13 : COPY go.mod vendor* ./ 17:02:12 ---> b64454d6a2a0 17:02:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:02:12 ---> Running in 47a067208e2c 17:02:38 Removing intermediate container 47a067208e2c 17:02:38 ---> a87fc4ba3aeb 17:02:38 Step 12/13 : COPY . . 17:02:39 ---> b5ccc5513d44 17:02:39 Step 13/13 : RUN ${MAKE} 17:02:39 ---> Running in c1a21f168e04 17:02:39 noop 17:02:40 Removing intermediate container c1a21f168e04 17:02:40 ---> 038bd3453bde 17:02:40 Successfully built 038bd3453bde 17:02:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:40 + docker inspect -f . ci-base-image-x86_64 17:02:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:40 prd-ubuntu20.04-docker-8c-8g-24327 does not seem to be running inside a container 17:02: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 ******** -e ******** ci-base-image-x86_64 cat 17:02:40 $ docker top 9e8caf4252ad4060322c4e3669f087d8c409bb871822c6371ae1403ae485b8c4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:41 + go version 17:02:41 go version go1.18.3 linux/amd64 [Pipeline] } 17:02:41 $ docker stop --time=1 9e8caf4252ad4060322c4e3669f087d8c409bb871822c6371ae1403ae485b8c4 17:02:42 $ docker rm -f 9e8caf4252ad4060322c4e3669f087d8c409bb871822c6371ae1403ae485b8c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:43 + docker inspect -f . ci-base-image-x86_64 17:02:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:43 prd-ubuntu20.04-docker-8c-8g-24327 does not seem to be running inside a container 17:02:43 $ 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 17:02:43 $ docker top 14f557cec298ec4756432366361f85fa94ba7b1fed55f8ff821cb0a70b03e85a -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:44 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:02:44 + make test 17:02:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:02:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:02:54 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:02:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.028s coverage: 28.6% of statements 17:02:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:02:58 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.640s coverage: 13.8% of statements 17:03:05 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." 17:03:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:03:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:03:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:03:08 ./bin/test-attribution-txt.sh [Pipeline] echo 17:03:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:03:08 $ docker stop --time=1 14f557cec298ec4756432366361f85fa94ba7b1fed55f8ff821cb0a70b03e85a 17:03:11 $ docker rm -f 14f557cec298ec4756432366361f85fa94ba7b1fed55f8ff821cb0a70b03e85a [Pipeline] // withDockerContainer [Pipeline] sh 17:03:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:03:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:03:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:03:13 + ls -al . 17:03:13 total 232 17:03:13 drwxrwxr-x 10 jenkins jenkins 4096 Sep 1 17:02 . 17:03:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 17:01 .. 17:03:13 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 17:02 .git 17:03:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 17:01 .github 17:03:13 -rw-rw-r-- 1 jenkins jenkins 418 Sep 1 17:01 .gitignore 17:03:13 -rw-rw-r-- 1 jenkins jenkins 42 Sep 1 17:01 .golangci.yml 17:03:13 drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 17:01 .semver 17:03:13 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 1 17:01 Attribution.txt 17:03:13 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 1 17:01 CHANGELOG.md 17:03:13 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 1 17:01 Dockerfile 17:03:13 -rw-rw-r-- 1 jenkins jenkins 677 Sep 1 17:01 GOVERNANCE.md 17:03:13 -rw-rw-r-- 1 jenkins jenkins 734 Sep 1 17:01 Jenkinsfile 17:03:13 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 17:01 LICENSE 17:03:13 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 1 17:01 Makefile 17:03:13 -rw-rw-r-- 1 jenkins jenkins 625 Sep 1 17:01 OWNERS.md 17:03:13 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 1 17:01 README.md 17:03:13 -rw-rw-r-- 1 jenkins jenkins 12 Sep 1 17:01 VERSION 17:03:13 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 17:01 bin 17:03:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 17:01 cmd 17:03:13 -rw-r--r-- 1 jenkins jenkins 77283 Sep 1 17:02 coverage.out 17:03:13 drwxrwxr-x 6 jenkins jenkins 4096 Sep 1 17:01 doc 17:03:13 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 1 17:01 go.mod 17:03:13 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 1 17:01 go.sum 17:03:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 17:01 internal 17:03:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 17:01 snap 17:03:13 -rw-rw-r-- 1 jenkins jenkins 236 Sep 1 17:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:13 + 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=87f15e26a71a8026a682f6867a4ab9a3284585c9 --label arch=amd64 --label version=2.3.0-dev.15 . 17:03:13 Sending build context to Docker daemon 20.69MB 17:03:13 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:03:13 Step 2/26 : FROM ${BASE} AS builder 17:03:13 ---> 038bd3453bde 17:03:13 Step 3/26 : ARG MAKE="make build" 17:03:13 ---> Running in e2073331f47c 17:03:13 Removing intermediate container e2073331f47c 17:03:13 ---> d37e4bab9af2 17:03:13 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:03:13 ---> Running in db37a3b3bb07 17:03:13 Removing intermediate container db37a3b3bb07 17:03:13 ---> dfded5e1be4e 17:03:13 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 17:03:13 ---> Running in 4db5ffc57780 17:03:14 Removing intermediate container 4db5ffc57780 17:03:14 ---> 87bfc1543ec2 17:03:14 Step 6/26 : LABEL Name=edgex-device-onvif-camera 17:03:14 ---> Running in f95ba1ff05c2 17:03:14 Removing intermediate container f95ba1ff05c2 17:03:14 ---> ad49f6bb02fa 17:03:14 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:03:14 ---> Running in 9f41f69084ae 17:03:14 Removing intermediate container 9f41f69084ae 17:03:14 ---> 6d7e3f66729b 17:03:14 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:03:14 ---> Running in 3092f3d3a057 17:03:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:03:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:03:16 OK: 211 MiB in 51 packages 17:03:16 Removing intermediate container 3092f3d3a057 17:03:16 ---> 7edb1ae56543 17:03:16 Step 9/26 : WORKDIR /device-onvif-camera 17:03:16 ---> Running in b2190d86e3d6 17:03:16 Removing intermediate container b2190d86e3d6 17:03:16 ---> c7562bec153a 17:03:16 Step 10/26 : COPY go.mod vendor* ./ 17:03:17 ---> 5d7ef7dbf787 17:03:17 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:03:17 ---> Running in 3638b510b467 17:03:17 Removing intermediate container 3638b510b467 17:03:17 ---> ee618b96337f 17:03:17 Step 12/26 : COPY . . 17:03:18 ---> 9e6e201287f2 17:03:18 Step 13/26 : RUN ${MAKE} 17:03:18 ---> Running in 80a904c370f6 17:03:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.15 -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 17:03:40 Removing intermediate container 80a904c370f6 17:03:40 ---> 0b6e606e10e1 17:03:40 Step 14/26 : FROM alpine:3.16 17:03:42 3.16: Pulling from library/alpine 17:03:42 213ec9aee27d: Pulling fs layer 17:03:42 213ec9aee27d: Verifying Checksum 17:03:42 213ec9aee27d: Download complete 17:03:42 213ec9aee27d: Pull complete 17:03:42 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:03:42 Status: Downloaded newer image for alpine:3.16 17:03:42 ---> 9c6f07244728 17:03:42 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:03:42 ---> Running in ca7530fe1c01 17:03:42 Removing intermediate container ca7530fe1c01 17:03:42 ---> 2d87e741038d 17:03:42 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:03:42 ---> Running in a5ffc2ba9394 17:03:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:03:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:03:43 (1/6) Installing dumb-init (1.2.5-r1) 17:03:43 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:03:43 (3/6) Installing libsodium (1.0.18-r0) 17:03:43 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:03:43 (5/6) Installing libzmq (4.3.4-r0) 17:03:43 (6/6) Installing zeromq (4.3.4-r0) 17:03:43 Executing busybox-1.35.0-r17.trigger 17:03:43 OK: 8 MiB in 20 packages 17:03:43 Removing intermediate container a5ffc2ba9394 17:03:43 ---> fadc6ae0cb15 17:03:43 Step 17/26 : WORKDIR / 17:03:44 ---> Running in 437628f29aa1 17:03:44 Removing intermediate container 437628f29aa1 17:03:44 ---> c308af6689c4 17:03:44 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:03:45 ---> e35cf36cb943 17:03:45 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:03:45 ---> 954a5261e919 17:03:45 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:03:45 ---> 83698419ed25 17:03:45 Step 21/26 : EXPOSE 59984 17:03:45 ---> Running in 550aa06e4c7d 17:03:45 Removing intermediate container 550aa06e4c7d 17:03:45 ---> e1656862ff9c 17:03:45 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:03:45 ---> Running in 2b3fb5849ed2 17:03:45 Removing intermediate container 2b3fb5849ed2 17:03:45 ---> 6141858a372d 17:03:45 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:03:45 ---> Running in e2955395e922 17:03:45 Removing intermediate container e2955395e922 17:03:45 ---> 89d91f0264ba 17:03:45 Step 24/26 : LABEL arch=amd64 17:03:45 ---> Running in 2ab198157db4 17:03:45 Removing intermediate container 2ab198157db4 17:03:45 ---> 66a1a8726a06 17:03:45 Step 25/26 : LABEL git_sha=87f15e26a71a8026a682f6867a4ab9a3284585c9 17:03:45 ---> Running in 0884255e71f5 17:03:45 Removing intermediate container 0884255e71f5 17:03:45 ---> 4b936e4d166d 17:03:45 Step 26/26 : LABEL version=2.3.0-dev.15 17:03:45 ---> Running in a53e1ae2fc81 17:03:45 Removing intermediate container a53e1ae2fc81 17:03:45 ---> 4cdda51059eb 17:03:45 [Warning] One or more build-args [ARCH] were not consumed 17:03:45 Successfully built 4cdda51059eb 17:03:45 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 17:03:45 provisioning config files... 17:03:45 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1097071632011648557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:03:46 ---> docker-login.sh 17:03:46 nexus3.edgexfoundry.org:10001 17:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:46 Configure a credential helper to remove this warning. See 17:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:46 17:03:46 Login Succeeded 17:03:46 nexus3.edgexfoundry.org:10002 17:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:46 Configure a credential helper to remove this warning. See 17:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:46 17:03:46 Login Succeeded 17:03:46 nexus3.edgexfoundry.org:10003 17:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:46 Configure a credential helper to remove this warning. See 17:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:46 17:03:46 Login Succeeded 17:03:46 nexus3.edgexfoundry.org:10004 17:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:46 Configure a credential helper to remove this warning. See 17:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:46 17:03:46 Login Succeeded 17:03:46 docker.io 17:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:47 Configure a credential helper to remove this warning. See 17:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:47 17:03:47 Login Succeeded 17:03:47 ---> docker-login.sh ends [Pipeline] } 17:03:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:03:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:03:47 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:03:47 87f15e26a71a8026a682f6867a4ab9a3284585c9 17:03:47 latest 17:03:47 2.3.0-dev.15 17:03:47 87f15e26a71a8026a682f6867a4ab9a3284585c9-2.3.0-dev.15 17:03:47 main 17:03:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:47 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:87f15e26a71a8026a682f6867a4ab9a3284585c9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:87f15e26a71a8026a682f6867a4ab9a3284585c9 17:03:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:03:47 022e0acab035: Preparing 17:03:47 8eb900c8df8f: Preparing 17:03:47 368f6388fe06: Preparing 17:03:47 2b7a9872e5a9: Preparing 17:03:47 994393dc58e7: Preparing 17:03:47 994393dc58e7: Layer already exists 17:03:47 022e0acab035: Pushed 17:03:47 8eb900c8df8f: Pushed 17:03:48 2b7a9872e5a9: Pushed 17:03:50 368f6388fe06: Pushed 17:03:50 87f15e26a71a8026a682f6867a4ab9a3284585c9: digest: sha256:03316cfdb863260c12f8d6719c3be531b2bb51fccca1c7a9c862f12932bb26c0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:50 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:03:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:03:51 022e0acab035: Preparing 17:03:51 8eb900c8df8f: Preparing 17:03:51 368f6388fe06: Preparing 17:03:51 2b7a9872e5a9: Preparing 17:03:51 994393dc58e7: Preparing 17:03:51 994393dc58e7: Layer already exists 17:03:51 2b7a9872e5a9: Layer already exists 17:03:51 022e0acab035: Layer already exists 17:03:51 368f6388fe06: Layer already exists 17:03:51 8eb900c8df8f: Layer already exists 17:03:51 latest: digest: sha256:03316cfdb863260c12f8d6719c3be531b2bb51fccca1c7a9c862f12932bb26c0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:51 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.15 17:03:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:03:51 022e0acab035: Preparing 17:03:51 8eb900c8df8f: Preparing 17:03:51 368f6388fe06: Preparing 17:03:51 2b7a9872e5a9: Preparing 17:03:51 994393dc58e7: Preparing 17:03:51 2b7a9872e5a9: Layer already exists 17:03:51 368f6388fe06: Layer already exists 17:03:51 022e0acab035: Layer already exists 17:03:51 8eb900c8df8f: Layer already exists 17:03:51 994393dc58e7: Layer already exists 17:03:51 2.3.0-dev.15: digest: sha256:03316cfdb863260c12f8d6719c3be531b2bb51fccca1c7a9c862f12932bb26c0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:52 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:87f15e26a71a8026a682f6867a4ab9a3284585c9-2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:87f15e26a71a8026a682f6867a4ab9a3284585c9-2.3.0-dev.15 17:03:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:03:52 022e0acab035: Preparing 17:03:52 8eb900c8df8f: Preparing 17:03:52 368f6388fe06: Preparing 17:03:52 2b7a9872e5a9: Preparing 17:03:52 994393dc58e7: Preparing 17:03:52 368f6388fe06: Layer already exists 17:03:52 2b7a9872e5a9: Layer already exists 17:03:52 8eb900c8df8f: Layer already exists 17:03:52 994393dc58e7: Layer already exists 17:03:52 022e0acab035: Layer already exists 17:03:52 87f15e26a71a8026a682f6867a4ab9a3284585c9-2.3.0-dev.15: digest: sha256:03316cfdb863260c12f8d6719c3be531b2bb51fccca1c7a9c862f12932bb26c0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:52 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:03:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:03:53 022e0acab035: Preparing 17:03:53 8eb900c8df8f: Preparing 17:03:53 368f6388fe06: Preparing 17:03:53 2b7a9872e5a9: Preparing 17:03:53 994393dc58e7: Preparing 17:03:53 8eb900c8df8f: Layer already exists 17:03:53 994393dc58e7: Layer already exists 17:03:53 2b7a9872e5a9: Layer already exists 17:03:53 368f6388fe06: Layer already exists 17:03:53 022e0acab035: Layer already exists 17:03:53 main: digest: sha256:03316cfdb863260c12f8d6719c3be531b2bb51fccca1c7a9c862f12932bb26c0 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:03:53 ===================================================== [Pipeline] echo 17:03:53 taggedImages: 17:03:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera:87f15e26a71a8026a682f6867a4ab9a3284585c9 17:03:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:03:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.15 17:03:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera:87f15e26a71a8026a682f6867a4ab9a3284585c9-2.3.0-dev.15 17:03:53 - 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 17:03:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:03:53 17:03:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:03:54 latest: Pulling from edgex-lftools-log-publisher 17:03:54 5eb5b503b376: Pulling fs layer 17:03:54 5c69ac0246d0: Pulling fs layer 17:03:54 ec43610c2a17: Pulling fs layer 17:03:54 3a2ae6a8a46f: Pulling fs layer 17:03:54 33b1e0a273af: Pulling fs layer 17:03:54 5d3b04190fa2: Pulling fs layer 17:03:54 2f39f015ded8: Pulling fs layer 17:03:54 33b1e0a273af: Waiting 17:03:54 5d3b04190fa2: Waiting 17:03:54 3a2ae6a8a46f: Waiting 17:03:54 2f39f015ded8: Waiting 17:03:54 5c69ac0246d0: Download complete 17:03:54 3a2ae6a8a46f: Download complete 17:03:54 ec43610c2a17: Verifying Checksum 17:03:54 ec43610c2a17: Download complete 17:03:54 5d3b04190fa2: Download complete 17:03:54 33b1e0a273af: Verifying Checksum 17:03:54 33b1e0a273af: Download complete 17:03:54 5eb5b503b376: Verifying Checksum 17:03:54 5eb5b503b376: Download complete 17:03:55 2f39f015ded8: Download complete 17:03:55 5eb5b503b376: Pull complete 17:03:55 5c69ac0246d0: Pull complete 17:03:56 ec43610c2a17: Pull complete 17:03:56 3a2ae6a8a46f: Pull complete 17:03:56 33b1e0a273af: Pull complete 17:03:56 5d3b04190fa2: Pull complete 17:04:01 2f39f015ded8: Pull complete 17:04:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:04:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:04:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:04:01 prd-ubuntu20.04-docker-8c-8g-24327 does not seem to be running inside a container 17:04:01 $ 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 17:04:06 $ docker top b3bcafb4ba59d6364f1d2ddb545b6829812a3e21f12250a7c139febb893cef0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:04:07 ---> job-cost.sh 17:04:07 lf-activate-venv: SKIPPING 17:04:07 INFO: No Stack... 17:04:07 INFO: Retrieving Pricing Info for: v3-standard-8 17:04:08 INFO: Archiving Costs [Pipeline] sh 17:04:08 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 17:04:08 + cut -d, -f6 [Pipeline] lock 17:04:08 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-54-stack-cost] 17:04:08 Resource [jenkins-edgexfoundry-device-onvif-camera-main-54-stack-cost] did not exist. Created. 17:04:08 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:04:08 + echo total: 0.2199999988079071 [Pipeline] stash 17:04:08 Stashed 1 file(s) [Pipeline] } 17:04:08 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-54-stack-cost] [Pipeline] // lock [Pipeline] } 17:04:09 $ docker stop --time=1 b3bcafb4ba59d6364f1d2ddb545b6829812a3e21f12250a7c139febb893cef0a 17:04:10 $ docker rm -f b3bcafb4ba59d6364f1d2ddb545b6829812a3e21f12250a7c139febb893cef0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:05:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24330 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:05:44 Running in /w/workspace/device-onvif-camera/54 [Pipeline] { [Pipeline] checkout 17:05:44 Selected Git installation does not exist. Using Default 17:05:44 The recommended git tool is: NONE 17:05:49 using credential edgex-jenkins-ssh 17:05:49 Cloning the remote Git repository 17:05:49 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:05:49 > git init /w/workspace/device-onvif-camera/54 # timeout=10 17:05:49 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:05:49 > git --version # timeout=10 17:05:49 > git --version # 'git version 2.25.1' 17:05:49 using GIT_SSH to set credentials SSH Credentials for GitHub 17:05:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:05:50 Avoid second fetch 17:05:50 Checking out Revision 87f15e26a71a8026a682f6867a4ab9a3284585c9 (main) 17:05:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:05:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:05:50 > git config core.sparsecheckout # timeout=10 17:05:50 > git checkout -f 87f15e26a71a8026a682f6867a4ab9a3284585c9 # timeout=10 17:05:55 Commit message: "feat: remove custom service interface and use sdk interface (#150)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:05:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:05:55 % Total % Received % Xferd Average Speed Time Time Time Current 17:05:55 Dload Upload Total Spent Left Speed 17:05:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 60009 0 --:--:-- --:--:-- --:--:-- 60296 [Pipeline] sh 17:05:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:05:56 + sudo tee /etc/docker/daemon.new 17:05:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:05:56 { 17:05:56 "registry-mirrors": [ 17:05:56 "https://nexus3.edgexfoundry.org:10001" 17:05:56 ], 17:05:56 "bip": "10.250.0.254/24", 17:05:56 "hosts": [ 17:05:56 "tcp://0.0.0.0:5555", 17:05:56 "unix:///var/run/docker.sock" 17:05:56 ], 17:05:56 "mtu": 1458, 17:05:56 "selinux-enabled": true, 17:05:56 "seccomp-profile": "/etc/docker/seccomp.json" 17:05:56 } [Pipeline] sh 17:05:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:05:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:06:16 provisioning config files... 17:06:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/54@tmp/config1932484230778592706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:06:16 ---> docker-login.sh 17:06:16 nexus3.edgexfoundry.org:10001 17:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:17 Configure a credential helper to remove this warning. See 17:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:17 17:06:17 Login Succeeded 17:06:17 nexus3.edgexfoundry.org:10002 17:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:17 Configure a credential helper to remove this warning. See 17:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:17 17:06:17 Login Succeeded 17:06:17 nexus3.edgexfoundry.org:10003 17:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:18 Configure a credential helper to remove this warning. See 17:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:18 17:06:18 Login Succeeded 17:06:18 nexus3.edgexfoundry.org:10004 17:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:18 Configure a credential helper to remove this warning. See 17:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:18 17:06:18 Login Succeeded 17:06:18 docker.io 17:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:19 Configure a credential helper to remove this warning. See 17:06:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:19 17:06:19 Login Succeeded 17:06:19 ---> docker-login.sh ends [Pipeline] } 17:06:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:06:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:06:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:06:19 ========================================================= 17:06:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:06:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:20 + 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 . 17:06:20 Sending build context to Docker daemon 14.11MB 17:06:20 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:06:20 Step 2/13 : FROM ${BASE} AS builder 17:06:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:06:20 b3c136eddcbf: Pulling fs layer 17:06:20 c0a3192eca97: Pulling fs layer 17:06:20 a050256f5b6f: Pulling fs layer 17:06:20 656be50a0ddc: Pulling fs layer 17:06:20 2bbca73fdf42: Pulling fs layer 17:06:20 46d945488cbd: Pulling fs layer 17:06:20 8a5474983e97: Pulling fs layer 17:06:20 329c88fbcd65: Pulling fs layer 17:06:20 656be50a0ddc: Waiting 17:06:20 2bbca73fdf42: Waiting 17:06:20 46d945488cbd: Waiting 17:06:20 8a5474983e97: Waiting 17:06:20 329c88fbcd65: Waiting 17:06:20 a050256f5b6f: Verifying Checksum 17:06:20 c0a3192eca97: Verifying Checksum 17:06:20 c0a3192eca97: Download complete 17:06:21 2bbca73fdf42: Verifying Checksum 17:06:21 2bbca73fdf42: Download complete 17:06:21 46d945488cbd: Verifying Checksum 17:06:21 46d945488cbd: Download complete 17:06:21 b3c136eddcbf: Verifying Checksum 17:06:21 b3c136eddcbf: Download complete 17:06:22 b3c136eddcbf: Pull complete 17:06:22 329c88fbcd65: Verifying Checksum 17:06:22 329c88fbcd65: Download complete 17:06:22 c0a3192eca97: Pull complete 17:06:23 a050256f5b6f: Pull complete 17:06:23 8a5474983e97: Verifying Checksum 17:06:23 8a5474983e97: Download complete 17:06:23 656be50a0ddc: Verifying Checksum 17:06:23 656be50a0ddc: Download complete 17:06:39 656be50a0ddc: Pull complete 17:06:39 2bbca73fdf42: Pull complete 17:06:39 46d945488cbd: Pull complete 17:06:43 8a5474983e97: Pull complete 17:06:45 329c88fbcd65: Pull complete 17:06:45 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:06:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:06:45 ---> ff4287adb874 17:06:45 Step 3/13 : ARG MAKE="make build" 17:06:47 ---> Running in 04177c874b35 17:06:47 Removing intermediate container 04177c874b35 17:06:47 ---> 22e5a3f48a05 17:06:47 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:06:47 ---> Running in 13ba2c532781 17:06:47 Removing intermediate container 13ba2c532781 17:06:47 ---> 3f2ebf9adfdf 17:06:47 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:06:47 ---> Running in c72bd8dd30d2 17:06:49 Removing intermediate container c72bd8dd30d2 17:06:49 ---> 710a7a7d3ac1 17:06:49 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:06:49 ---> Running in a02ee29e3e0f 17:06:49 Removing intermediate container a02ee29e3e0f 17:06:49 ---> b53fde4ed19c 17:06:49 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:06:49 ---> Running in d823acec6c34 17:06:51 Removing intermediate container d823acec6c34 17:06:51 ---> a8e8f541fd19 17:06:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:06:51 ---> Running in 45af0088ad6a 17:06:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:06:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:06:54 OK: 221 MiB in 51 packages 17:06:55 Removing intermediate container 45af0088ad6a 17:06:55 ---> bcbac6880a7d 17:06:55 Step 9/13 : WORKDIR /device-onvif-camera 17:06:55 ---> Running in b71f98c18b39 17:06:55 Removing intermediate container b71f98c18b39 17:06:55 ---> 8ab4727c309c 17:06:55 Step 10/13 : COPY go.mod vendor* ./ 17:06:55 ---> be4737c9e178 17:06:55 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:06:55 ---> Running in 7c6bd9bb5604 17:07:52 Removing intermediate container 7c6bd9bb5604 17:07:52 ---> 36c7e88af858 17:07:52 Step 12/13 : COPY . . 17:07:52 ---> 432fdd1ab6f4 17:07:52 Step 13/13 : RUN ${MAKE} 17:07:52 ---> Running in 076aa7fdfa72 17:07:52 noop 17:07:52 Removing intermediate container 076aa7fdfa72 17:07:52 ---> c88b9ede9e51 17:07:52 Successfully built c88b9ede9e51 17:07:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:52 + docker inspect -f . ci-base-image-arm64 17:07:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:52 prd-ubuntu20.04-docker-arm64-4c-16g-24330 does not seem to be running inside a container 17:07:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/54 -v /w/workspace/device-onvif-camera/54:/w/workspace/device-onvif-camera/54:rw,z -v /w/workspace/device-onvif-camera/54@tmp:/w/workspace/device-onvif-camera/54@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 17:07:54 $ docker top b068f10325946673f575756b73108a273d4021b554b48859c74619949c5d42b4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:07:55 + go version 17:07:55 go version go1.18.3 linux/arm64 [Pipeline] } 17:07:55 $ docker stop --time=1 b068f10325946673f575756b73108a273d4021b554b48859c74619949c5d42b4 17:07:56 $ docker rm -f b068f10325946673f575756b73108a273d4021b554b48859c74619949c5d42b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:57 + docker inspect -f . ci-base-image-arm64 17:07:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:57 prd-ubuntu20.04-docker-arm64-4c-16g-24330 does not seem to be running inside a container 17:07:57 $ 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/54 -v /w/workspace/device-onvif-camera/54:/w/workspace/device-onvif-camera/54:rw,z -v /w/workspace/device-onvif-camera/54@tmp:/w/workspace/device-onvif-camera/54@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 17:07:59 $ docker top d0a8daced0587125b9b87a6d03402ef270cfc0fdb75e97310d5c747cca592b40 -eo pid,comm [Pipeline] { [Pipeline] sh 17:08:00 + git config --global --add safe.directory /w/workspace/device-onvif-camera/54 [Pipeline] fileExists [Pipeline] sh 17:08:00 + make test 17:08:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:08:02 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:09:24 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:09:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.184s coverage: 28.6% of statements 17:09:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:09:56 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.768s coverage: 13.8% of statements 17:09:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:09:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:10:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:10:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:10:18 ./bin/test-attribution-txt.sh [Pipeline] echo 17:10:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:10:18 $ docker stop --time=1 d0a8daced0587125b9b87a6d03402ef270cfc0fdb75e97310d5c747cca592b40 17:10:20 $ docker rm -f d0a8daced0587125b9b87a6d03402ef270cfc0fdb75e97310d5c747cca592b40 [Pipeline] // withDockerContainer [Pipeline] sh 17:10:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:10:21 Warning: overwriting stash ‘coverage-report’ 17:10:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:10:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:10:22 + ls -al . 17:10:22 total 228 17:10:22 drwxrwxr-x 9 jenkins jenkins 4096 Sep 1 17:08 . 17:10:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 17:05 .. 17:10:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 17:05 .git 17:10:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 17:05 .github 17:10:22 -rw-rw-r-- 1 jenkins jenkins 418 Sep 1 17:05 .gitignore 17:10:22 -rw-rw-r-- 1 jenkins jenkins 42 Sep 1 17:05 .golangci.yml 17:10:22 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 1 17:05 Attribution.txt 17:10:22 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 1 17:05 CHANGELOG.md 17:10:22 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 1 17:05 Dockerfile 17:10:22 -rw-rw-r-- 1 jenkins jenkins 677 Sep 1 17:05 GOVERNANCE.md 17:10:22 -rw-rw-r-- 1 jenkins jenkins 734 Sep 1 17:05 Jenkinsfile 17:10:22 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 17:05 LICENSE 17:10:22 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 1 17:05 Makefile 17:10:22 -rw-rw-r-- 1 jenkins jenkins 625 Sep 1 17:05 OWNERS.md 17:10:22 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 1 17:05 README.md 17:10:22 -rw-rw-r-- 1 jenkins jenkins 12 Sep 1 17:01 VERSION 17:10:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 17:05 bin 17:10:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 17:05 cmd 17:10:22 -rw-r--r-- 1 jenkins jenkins 77283 Sep 1 17:09 coverage.out 17:10:22 drwxrwxr-x 6 jenkins jenkins 4096 Sep 1 17:05 doc 17:10:22 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 1 17:05 go.mod 17:10:22 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 1 17:05 go.sum 17:10:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 17:05 internal 17:10:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 17:05 snap 17:10:22 -rw-rw-r-- 1 jenkins jenkins 236 Sep 1 17:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:22 + 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=87f15e26a71a8026a682f6867a4ab9a3284585c9 --label arch=arm64 --label version=2.3.0-dev.15 . 17:10:23 Sending build context to Docker daemon 14.19MB 17:10:23 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:10:23 Step 2/26 : FROM ${BASE} AS builder 17:10:23 ---> c88b9ede9e51 17:10:23 Step 3/26 : ARG MAKE="make build" 17:10:23 ---> Running in 6918a8729caf 17:10:23 Removing intermediate container 6918a8729caf 17:10:23 ---> b76a20ffaa88 17:10:23 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:10:23 ---> Running in 4515be0a6249 17:10:24 Removing intermediate container 4515be0a6249 17:10:24 ---> 7f7603ec7a71 17:10:24 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 17:10:24 ---> Running in a1ee69c3d6ad 17:10:24 Removing intermediate container a1ee69c3d6ad 17:10:24 ---> 42187310f4f6 17:10:24 Step 6/26 : LABEL Name=edgex-device-onvif-camera 17:10:24 ---> Running in febbf00e0a26 17:10:24 Removing intermediate container febbf00e0a26 17:10:24 ---> fa8109cfabbb 17:10:24 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:10:25 ---> Running in 1941d59cd0c5 17:10:26 Removing intermediate container 1941d59cd0c5 17:10:26 ---> 000a7ae7b5ec 17:10:26 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:10:26 ---> Running in d7b80551ff53 17:10:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:10:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:10:29 OK: 221 MiB in 51 packages 17:10:30 Removing intermediate container d7b80551ff53 17:10:30 ---> fa55bb82ff9f 17:10:30 Step 9/26 : WORKDIR /device-onvif-camera 17:10:30 ---> Running in 4914eead5d73 17:10:30 Removing intermediate container 4914eead5d73 17:10:30 ---> c350c96a1ebb 17:10:30 Step 10/26 : COPY go.mod vendor* ./ 17:10:30 ---> 7c29b4caeb0b 17:10:30 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:10:31 ---> Running in 58442575e45d 17:10:33 Removing intermediate container 58442575e45d 17:10:33 ---> 9adb401681c4 17:10:33 Step 12/26 : COPY . . 17:10:34 ---> 9a7bb215a8a4 17:10:34 Step 13/26 : RUN ${MAKE} 17:10:34 ---> Running in 90ef7ed11f73 17:10:35 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.15 -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 17:12:57 Removing intermediate container 90ef7ed11f73 17:12:57 ---> b18fa4343ea3 17:12:57 Step 14/26 : FROM alpine:3.16 17:12:57 3.16: Pulling from library/alpine 17:12:57 9b18e9b68314: Pulling fs layer 17:12:57 9b18e9b68314: Download complete 17:12:57 9b18e9b68314: Pull complete 17:12:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:12:57 Status: Downloaded newer image for alpine:3.16 17:12:57 ---> a6215f271958 17:12:57 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:12:57 ---> Running in dd042685ef93 17:12:57 Removing intermediate container dd042685ef93 17:12:57 ---> d706c8b6328d 17:12:57 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:12:57 ---> Running in 0cc0130709e5 17:12:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:12:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:12:57 (1/6) Installing dumb-init (1.2.5-r1) 17:12:57 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:12:57 (3/6) Installing libsodium (1.0.18-r0) 17:12:57 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:12:57 (5/6) Installing libzmq (4.3.4-r0) 17:12:57 (6/6) Installing zeromq (4.3.4-r0) 17:12:57 Executing busybox-1.35.0-r17.trigger 17:12:57 OK: 8 MiB in 20 packages 17:12:57 Removing intermediate container 0cc0130709e5 17:12:57 ---> cbf4dcca23dc 17:12:57 Step 17/26 : WORKDIR / 17:12:57 ---> Running in fd1365b157c4 17:12:57 Removing intermediate container fd1365b157c4 17:12:57 ---> 96587fc49114 17:12:57 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:12:57 ---> 950ff429aea3 17:12:57 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:12:57 ---> 65a0e8b8e6da 17:12:57 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:12:57 ---> cc659b86fbce 17:12:57 Step 21/26 : EXPOSE 59984 17:12:57 ---> Running in bb05cfc513c4 17:12:57 Removing intermediate container bb05cfc513c4 17:12:57 ---> bf871bd8ce31 17:12:57 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:12:57 ---> Running in 4228ee536d0f 17:12:57 Removing intermediate container 4228ee536d0f 17:12:57 ---> cb65003e7e44 17:12:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:12:57 ---> Running in a9927a2b87de 17:12:57 Removing intermediate container a9927a2b87de 17:12:57 ---> a03be34136c0 17:12:57 Step 24/26 : LABEL arch=arm64 17:12:57 ---> Running in a73a2ffb8309 17:12:57 Removing intermediate container a73a2ffb8309 17:12:57 ---> de2be6d79da8 17:12:57 Step 25/26 : LABEL git_sha=87f15e26a71a8026a682f6867a4ab9a3284585c9 17:12:57 ---> Running in c808ec68d2d2 17:12:57 Removing intermediate container c808ec68d2d2 17:12:57 ---> c73f718c6bc7 17:12:57 Step 26/26 : LABEL version=2.3.0-dev.15 17:12:57 ---> Running in a5e79295ed26 17:12:57 Removing intermediate container a5e79295ed26 17:12:57 ---> 133ba3db0535 17:12:57 [Warning] One or more build-args [ARCH] were not consumed 17:12:57 Successfully built 133ba3db0535 17:12:57 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 17:12:57 provisioning config files... 17:12:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/54@tmp/config3197723837967784061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:12:58 ---> docker-login.sh 17:12:58 nexus3.edgexfoundry.org:10001 17:12:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:58 Configure a credential helper to remove this warning. See 17:12:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:58 17:12:58 Login Succeeded 17:12:58 nexus3.edgexfoundry.org:10002 17:12:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:58 Configure a credential helper to remove this warning. See 17:12:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:58 17:12:58 Login Succeeded 17:12:58 nexus3.edgexfoundry.org:10003 17:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:59 Configure a credential helper to remove this warning. See 17:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:59 17:12:59 Login Succeeded 17:12:59 nexus3.edgexfoundry.org:10004 17:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:59 Configure a credential helper to remove this warning. See 17:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:59 17:12:59 Login Succeeded 17:12:59 docker.io 17:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:00 Configure a credential helper to remove this warning. See 17:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:00 17:13:00 Login Succeeded 17:13:00 ---> docker-login.sh ends [Pipeline] } 17:13:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:13:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:13:00 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 17:13:00 87f15e26a71a8026a682f6867a4ab9a3284585c9 17:13:00 latest 17:13:00 2.3.0-dev.15 17:13:00 87f15e26a71a8026a682f6867a4ab9a3284585c9-2.3.0-dev.15 17:13:00 main 17:13:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:01 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:87f15e26a71a8026a682f6867a4ab9a3284585c9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:87f15e26a71a8026a682f6867a4ab9a3284585c9 17:13:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:13:01 1d3dffc79e97: Preparing 17:13:01 efc7ff3bb730: Preparing 17:13:01 c53bc5190e1b: Preparing 17:13:01 dec84432e167: Preparing 17:13:01 5d3e392a13a0: Preparing 17:13:01 5d3e392a13a0: Layer already exists 17:13:01 efc7ff3bb730: Pushed 17:13:01 1d3dffc79e97: Pushed 17:13:02 dec84432e167: Pushed 17:13:07 c53bc5190e1b: Pushed 17:13:07 87f15e26a71a8026a682f6867a4ab9a3284585c9: digest: sha256:5c8abb56285646b50c0b6b3887e048b8e700b3aa6433040b02d483ae6dba4eb4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:08 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:13:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:13:08 1d3dffc79e97: Preparing 17:13:08 efc7ff3bb730: Preparing 17:13:08 c53bc5190e1b: Preparing 17:13:08 dec84432e167: Preparing 17:13:08 5d3e392a13a0: Preparing 17:13:08 efc7ff3bb730: Layer already exists 17:13:08 dec84432e167: Layer already exists 17:13:08 1d3dffc79e97: Layer already exists 17:13:08 c53bc5190e1b: Layer already exists 17:13:08 5d3e392a13a0: Layer already exists 17:13:09 latest: digest: sha256:5c8abb56285646b50c0b6b3887e048b8e700b3aa6433040b02d483ae6dba4eb4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:09 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.15 17:13:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:13:09 1d3dffc79e97: Preparing 17:13:09 efc7ff3bb730: Preparing 17:13:09 c53bc5190e1b: Preparing 17:13:09 dec84432e167: Preparing 17:13:09 5d3e392a13a0: Preparing 17:13:09 c53bc5190e1b: Layer already exists 17:13:09 5d3e392a13a0: Layer already exists 17:13:09 1d3dffc79e97: Layer already exists 17:13:09 efc7ff3bb730: Layer already exists 17:13:09 dec84432e167: Layer already exists 17:13:10 2.3.0-dev.15: digest: sha256:5c8abb56285646b50c0b6b3887e048b8e700b3aa6433040b02d483ae6dba4eb4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:10 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:87f15e26a71a8026a682f6867a4ab9a3284585c9-2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:10 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:87f15e26a71a8026a682f6867a4ab9a3284585c9-2.3.0-dev.15 17:13:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:13:10 1d3dffc79e97: Preparing 17:13:10 efc7ff3bb730: Preparing 17:13:10 c53bc5190e1b: Preparing 17:13:10 dec84432e167: Preparing 17:13:10 5d3e392a13a0: Preparing 17:13:10 efc7ff3bb730: Layer already exists 17:13:10 dec84432e167: Layer already exists 17:13:10 c53bc5190e1b: Layer already exists 17:13:10 5d3e392a13a0: Layer already exists 17:13:10 1d3dffc79e97: Layer already exists 17:13:11 87f15e26a71a8026a682f6867a4ab9a3284585c9-2.3.0-dev.15: digest: sha256:5c8abb56285646b50c0b6b3887e048b8e700b3aa6433040b02d483ae6dba4eb4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:11 + 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 17:13:11 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 17:13:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:13:11 1d3dffc79e97: Preparing 17:13:11 efc7ff3bb730: Preparing 17:13:11 c53bc5190e1b: Preparing 17:13:11 dec84432e167: Preparing 17:13:11 5d3e392a13a0: Preparing 17:13:11 dec84432e167: Layer already exists 17:13:11 5d3e392a13a0: Layer already exists 17:13:11 1d3dffc79e97: Layer already exists 17:13:11 efc7ff3bb730: Layer already exists 17:13:11 c53bc5190e1b: Layer already exists 17:13:12 main: digest: sha256:5c8abb56285646b50c0b6b3887e048b8e700b3aa6433040b02d483ae6dba4eb4 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:13:12 ===================================================== [Pipeline] echo 17:13:12 taggedImages: 17:13:12 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:87f15e26a71a8026a682f6867a4ab9a3284585c9 17:13:12 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:13:12 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.15 17:13:12 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:87f15e26a71a8026a682f6867a4ab9a3284585c9-2.3.0-dev.15 17:13:12 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:13:12 17:13:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:13:12 arm64: Pulling from edgex-lftools-log-publisher 17:13:12 8998bd30e6a1: Pulling fs layer 17:13:12 04944245beec: Pulling fs layer 17:13:12 699f458cf7ca: Pulling fs layer 17:13:12 765212b225bb: Pulling fs layer 17:13:12 f23df028b6ca: Pulling fs layer 17:13:12 d65c8cfc05b1: Pulling fs layer 17:13:12 2437ff75d9bd: Pulling fs layer 17:13:12 f23df028b6ca: Waiting 17:13:12 d65c8cfc05b1: Waiting 17:13:12 2437ff75d9bd: Waiting 17:13:12 765212b225bb: Waiting 17:13:13 04944245beec: Verifying Checksum 17:13:13 04944245beec: Download complete 17:13:13 765212b225bb: Verifying Checksum 17:13:13 765212b225bb: Download complete 17:13:13 f23df028b6ca: Verifying Checksum 17:13:13 f23df028b6ca: Download complete 17:13:13 d65c8cfc05b1: Verifying Checksum 17:13:13 d65c8cfc05b1: Download complete 17:13:13 699f458cf7ca: Verifying Checksum 17:13:13 699f458cf7ca: Download complete 17:13:13 8998bd30e6a1: Verifying Checksum 17:13:13 8998bd30e6a1: Download complete 17:13:16 2437ff75d9bd: Verifying Checksum 17:13:16 2437ff75d9bd: Download complete 17:13:17 8998bd30e6a1: Pull complete 17:13:18 04944245beec: Pull complete 17:13:19 699f458cf7ca: Pull complete 17:13:20 765212b225bb: Pull complete 17:13:21 f23df028b6ca: Pull complete 17:13:21 d65c8cfc05b1: Pull complete 17:13:36 2437ff75d9bd: Pull complete 17:13:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:13:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:13:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:13:36 prd-ubuntu20.04-docker-arm64-4c-16g-24330 does not seem to be running inside a container 17:13:36 $ 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/54 -v /w/workspace/device-onvif-camera/54:/w/workspace/device-onvif-camera/54:rw,z -v /w/workspace/device-onvif-camera/54@tmp:/w/workspace/device-onvif-camera/54@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 17:13:39 $ docker top 78477ef41d9a71d436375c97dece6c6fe2bdab9682183051c3d9716346592c00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:13:39 ---> job-cost.sh 17:13:39 lf-activate-venv: SKIPPING 17:13:39 INFO: No Stack... 17:13:40 INFO: Retrieving Pricing Info for: v3-standard-4 17:13:41 INFO: Archiving Costs [Pipeline] sh 17:13:41 + cat /w/workspace/device-onvif-camera/54/archives/cost.csv 17:13:41 + cut -d, -f6 [Pipeline] lock 17:13:41 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-54-stack-cost] 17:13:41 Resource [jenkins-edgexfoundry-device-onvif-camera-main-54-stack-cost] did not exist. Created. 17:13:41 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:13:42 /w/workspace/device-onvif-camera/54@tmp/durable-bf231712/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:13:43 + echo total: 0.10999999940395355 [Pipeline] stash 17:13:43 Warning: overwriting stash ‘stack-cost’ 17:13:43 Stashed 1 file(s) [Pipeline] } 17:13:43 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-54-stack-cost] [Pipeline] // lock [Pipeline] } 17:13:43 $ docker stop --time=1 78477ef41d9a71d436375c97dece6c6fe2bdab9682183051c3d9716346592c00 17:13:44 $ docker rm -f 78477ef41d9a71d436375c97dece6c6fe2bdab9682183051c3d9716346592c00 [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 17:13:45 provisioning config files... 17:13:45 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config359838596498840453tmp [Pipeline] { [Pipeline] sh 17:13:45 + set +x 17:13:45 + curl -s https://codecov.io/bash 17:13:45 + bash -s -- 17:13:45 17:13:45 _____ _ 17:13:45 / ____| | | 17:13:45 | | ___ __| | ___ ___ _____ __ 17:13:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:13:45 | |___| (_) | (_| | __/ (_| (_) \ V / 17:13:45 \_____\___/ \__,_|\___|\___\___/ \_/ 17:13:45 Bash-1.0.6 17:13:45 17:13:45 17:13:45 ==> git version 2.25.1 found 17:13:45 ==> 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 17:13:45 Release-Date: 2020-01-08 17:13:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:13:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:13:45 ==> Jenkins CI detected. 17:13:45 current dir:  /w/workspace/foundry_device-onvif-camera_main 17:13:45 project root: . 17:13:45 --> token set from env 17:13:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:13:45 ==> Running gcov in . (disable via -X gcov) 17:13:45 ==> Python coveragepy not found 17:13:45 ==> Searching for coverage reports in: 17:13:45 + . 17:13:45 -> Found 1 reports 17:13:45 ==> Detecting git/mercurial file structure 17:13:45 ==> Reading reports 17:13:45 + ./coverage.out bytes=77283 17:13:45 ==> Appending adjustments 17:13:45 https://docs.codecov.io/docs/fixing-reports 17:13:45 + Found adjustments 17:13:45 ==> Gzipping contents 17:13:45 12K /tmp/codecov.sNSTNa.gz 17:13:45 ==> Uploading reports 17:13:45 url: https://codecov.io 17:13:45 query: branch=main&commit=87f15e26a71a8026a682f6867a4ab9a3284585c9&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:13:45 -> Pinging Codecov 17:13:45 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=87f15e26a71a8026a682f6867a4ab9a3284585c9&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:13:46 -> Uploading to 17:13:46 https://storage.googleapis.com/codecov/v4/raw/2022-09-01/F29A59C45E3A92E06B3E522C9905F8EF/87f15e26a71a8026a682f6867a4ab9a3284585c9/58c14006-2685-4613-b658-9d48a40d75b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220901%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220901T171346Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9c5a7b511f57db5fde1eb160b07514fe27a8cd6f6f80b8325d13a762b2969275 17:13:46 % Total % Received % Xferd Average Speed Time Time Time Current 17:13:46 Dload Upload Total Spent Left Speed 17:13:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10568 0 0 100 10568 0 39729 --:--:-- --:--:-- --:--:-- 39580 17:13:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/87f15e26a71a8026a682f6867a4ab9a3284585c9 [Pipeline] } 17:13:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:13:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:13:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:13:47 17:13:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:13:47 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:13:47 df9b9388f04a: Pulling fs layer 17:13:47 52dc419b0ee2: Pulling fs layer 17:13:47 25bc292e5bac: Pulling fs layer 17:13:47 114826534d7a: Pulling fs layer 17:13:47 4657fd5d0bcf: Pulling fs layer 17:13:47 6ad1cebc031e: Pulling fs layer 17:13:47 8a3aa393b2d8: Pulling fs layer 17:13:47 4657fd5d0bcf: Waiting 17:13:47 6ad1cebc031e: Waiting 17:13:47 8a3aa393b2d8: Waiting 17:13:47 114826534d7a: Waiting 17:13:47 25bc292e5bac: Download complete 17:13:47 52dc419b0ee2: Verifying Checksum 17:13:47 52dc419b0ee2: Download complete 17:13:47 4657fd5d0bcf: Download complete 17:13:47 df9b9388f04a: Download complete 17:13:47 6ad1cebc031e: Verifying Checksum 17:13:47 6ad1cebc031e: Download complete 17:13:47 df9b9388f04a: Pull complete 17:13:47 52dc419b0ee2: Pull complete 17:13:47 25bc292e5bac: Pull complete 17:13:48 114826534d7a: Download complete 17:13:48 8a3aa393b2d8: Verifying Checksum 17:13:48 8a3aa393b2d8: Download complete 17:13:52 114826534d7a: Pull complete 17:13:52 4657fd5d0bcf: Pull complete 17:13:52 6ad1cebc031e: Pull complete 17:13:55 8a3aa393b2d8: Pull complete 17:13:55 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:13:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:13:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:13:56 prd-ubuntu20.04-docker-8c-8g-24327 does not seem to be running inside a container 17:13:56 $ 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 17:14:01 $ docker top 7c558e081ef1591d13ddda3d2c478312aeefba7cfa8c2de1f04889aa9a4c099b -eo pid,comm [Pipeline] { [Pipeline] echo 17:14:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 17:14:02 + set -o pipefail 17:14:02 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 17:14:08 17:14:08 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 17:14:08 17:14:08 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/e31b2f63-7c0a-49d0-8417-57e3cd5ad19f 17:14:08 17:14:08 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:14:08 17:14:08 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:14:08 17:14:08 [Pipeline] } 17:14:08 $ docker stop --time=1 7c558e081ef1591d13ddda3d2c478312aeefba7cfa8c2de1f04889aa9a4c099b 17:14:12 $ docker rm -f 7c558e081ef1591d13ddda3d2c478312aeefba7cfa8c2de1f04889aa9a4c099b [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 17:14:13 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:14:13 provisioning config files... 17:14:13 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config805100220582870493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:14:13 --> edgex-publish-swagger.sh 17:14:13 === Publish doc/openapi/v2 API === 17:14:13 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 17:14:13 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 17:14:13 % Total % Received % Xferd Average Speed Time Time Time Current 17:14:13 Dload Upload Total Spent Left Speed 17:14:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 194k --:--:-- --:--:-- --:--:-- 194k 17:14:14 17:14:14 [Pipeline] } 17:14:14 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 17:14:14 + git log --format=format:%s -1 87f15e26a71a8026a682f6867a4ab9a3284585c9 [Pipeline] sh 17:14:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:14:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:14:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:15 prd-ubuntu20.04-docker-8c-8g-24327 does not seem to be running inside a container 17:14:15 $ 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 17:14:15 $ docker top 46e165532be4a65dfaaebb3955677a8ee1f1aab76774fab3969d94fb2de00576 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:14:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:14:15 [ssh-agent] Looking for ssh-agent implementation... 17:14:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:14:15 $ docker exec 46e165532be4a65dfaaebb3955677a8ee1f1aab76774fab3969d94fb2de00576 ssh-agent 17:14:16 SSH_AUTH_SOCK=/tmp/ssh-IU7VG7k4cWQo/agent.32 17:14:16 SSH_AGENT_PID=38 17:14:16 Running ssh-add (command line suppressed) 17:14:16 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2910944923823393851.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2910944923823393851.key) 17:14:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:14:16 + git semver tag 17:14:16 2022-09-01 17:14:16,663 [run_tag] DEBUG tag force:False 17:14:16 2022-09-01 17:14:16,663 [check_head_tag] DEBUG check head tag 17:14:16 2022-09-01 17:14:16,664 [execute] INFO git cat-file --batch-check 17:14:16 2022-09-01 17:14:16,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:14:16 2022-09-01 17:14:16,669 [execute] INFO git cat-file --batch 17:14:16 2022-09-01 17:14:16,669 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:14:16 2022-09-01 17:14:16,691 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:14:16 2022-09-01 17:14:16,691 [execute] INFO git tag -a v2.3.0-dev.15 -m v2.3.0-dev.15 17:14:16 2022-09-01 17:14:16,691 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.15', '-m', 'v2.3.0-dev.15'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:14:16 2022-09-01 17:14:16,696 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:14:16 2.3.0-dev.15 [Pipeline] } 17:14:16 $ docker exec --env ******** --env ******** 46e165532be4a65dfaaebb3955677a8ee1f1aab76774fab3969d94fb2de00576 ssh-agent -k 17:14:16 unset SSH_AUTH_SOCK; 17:14:16 unset SSH_AGENT_PID; 17:14:16 echo Agent pid 38 killed; 17:14:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:14:17 + git semver [Pipeline] } 17:14:17 $ docker stop --time=1 46e165532be4a65dfaaebb3955677a8ee1f1aab76774fab3969d94fb2de00576 17:14:18 $ docker rm -f 46e165532be4a65dfaaebb3955677a8ee1f1aab76774fab3969d94fb2de00576 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:14:19 17:14:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:14:19 0.23.1-centos7: Pulling from edgex-lftools 17:14:19 ab5ef0e58194: Pulling fs layer 17:14:19 9712f1f96733: Pulling fs layer 17:14:19 63f879dbbcfc: Pulling fs layer 17:14:19 0d9ebad4ef96: Pulling fs layer 17:14:19 e9a5061849ea: Pulling fs layer 17:14:19 d747dcd14b5f: Pulling fs layer 17:14:19 2de7ff778b66: Pulling fs layer 17:14:19 e9a5061849ea: Waiting 17:14:19 0d9ebad4ef96: Waiting 17:14:19 d747dcd14b5f: Waiting 17:14:19 2de7ff778b66: Waiting 17:14:19 9712f1f96733: Verifying Checksum 17:14:19 9712f1f96733: Download complete 17:14:19 63f879dbbcfc: Verifying Checksum 17:14:19 63f879dbbcfc: Download complete 17:14:20 e9a5061849ea: Verifying Checksum 17:14:20 e9a5061849ea: Download complete 17:14:20 d747dcd14b5f: Verifying Checksum 17:14:20 d747dcd14b5f: Download complete 17:14:20 0d9ebad4ef96: Verifying Checksum 17:14:20 0d9ebad4ef96: Download complete 17:14:20 ab5ef0e58194: Verifying Checksum 17:14:20 ab5ef0e58194: Download complete 17:14:20 2de7ff778b66: Verifying Checksum 17:14:20 2de7ff778b66: Download complete 17:14:23 ab5ef0e58194: Pull complete 17:14:23 9712f1f96733: Pull complete 17:14:23 63f879dbbcfc: Pull complete 17:14:27 0d9ebad4ef96: Pull complete 17:14:27 e9a5061849ea: Pull complete 17:14:27 d747dcd14b5f: Pull complete 17:14:29 2de7ff778b66: Pull complete 17:14:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:14:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:14:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:29 prd-ubuntu20.04-docker-8c-8g-24327 does not seem to be running inside a container 17:14:29 $ 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 17:14:35 $ docker top cc84856c2a0a7e41ec5ad7f02cdfa75bbec8c78f249cec1d9014700333fbd503 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:14:35 provisioning config files... 17:14:35 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5459414190642320990tmp 17:14:35 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8490081529812337711tmp 17:14:35 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8156722285887415812tmp [Pipeline] { [Pipeline] echo 17:14:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:14:35 ---> sigul-configuration.sh 17:14:35 gpg: directory `/root/.gnupg' created 17:14:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:14:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:14:35 gpg: keyring `/root/.gnupg/secring.gpg' created 17:14:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:14:35 gpg: CAST5 encrypted data 17:14:35 gpg: encrypted with 1 passphrase 17:14:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:14:36 + mkdir /home/jenkins 17:14:36 + mkdir /home/jenkins/sigul [Pipeline] sh 17:14:36 + 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 17:14:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:14:36 ---> sigul-install.sh 17:14:36 Sigul already installed; skipping installation. [Pipeline] sh 17:14:36 + git tag --list 17:14:36 v0.0.0 17:14:36 v0.0.1-dev.1 17:14:36 v0.0.1-dev.10 17:14:36 v0.0.1-dev.11 17:14:36 v0.0.1-dev.12 17:14:36 v0.0.1-dev.13 17:14:36 v0.0.1-dev.14 17:14:36 v0.0.1-dev.15 17:14:36 v0.0.1-dev.16 17:14:36 v0.0.1-dev.17 17:14:36 v0.0.1-dev.18 17:14:36 v0.0.1-dev.19 17:14:36 v0.0.1-dev.2 17:14:36 v0.0.1-dev.20 17:14:36 v0.0.1-dev.21 17:14:36 v0.0.1-dev.22 17:14:36 v0.0.1-dev.23 17:14:36 v0.0.1-dev.24 17:14:36 v0.0.1-dev.25 17:14:36 v0.0.1-dev.26 17:14:36 v0.0.1-dev.27 17:14:36 v0.0.1-dev.28 17:14:36 v0.0.1-dev.3 17:14:36 v0.0.1-dev.4 17:14:36 v0.0.1-dev.5 17:14:36 v0.0.1-dev.6 17:14:36 v0.0.1-dev.7 17:14:36 v0.0.1-dev.8 17:14:36 v0.0.1-dev.9 17:14:36 v2.2.0 17:14:36 v2.2.0-dev.29 17:14:36 v2.2.0-dev.30 17:14:36 v2.2.0-dev.31 17:14:36 v2.2.0-dev.32 17:14:36 v2.2.0-dev.33 17:14:36 v2.2.0-dev.34 17:14:36 v2.2.0-dev.35 17:14:36 v2.3.0-dev.1 17:14:36 v2.3.0-dev.10 17:14:36 v2.3.0-dev.11 17:14:36 v2.3.0-dev.12 17:14:36 v2.3.0-dev.13 17:14:36 v2.3.0-dev.14 17:14:36 v2.3.0-dev.15 17:14:36 v2.3.0-dev.2 17:14:36 v2.3.0-dev.3 17:14:36 v2.3.0-dev.4 17:14:36 v2.3.0-dev.5 17:14:36 v2.3.0-dev.6 17:14:36 v2.3.0-dev.7 17:14:36 v2.3.0-dev.8 17:14:36 v2.3.0-dev.9 [Pipeline] sh 17:14:37 + lftools sign git-tag v2.3.0-dev.15 17:14:37 Signing Git tag with Sigul... 17:14:37 Signing v2.3.0-dev.15 [Pipeline] echo 17:14:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:14:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:14:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:14:38 $ docker stop --time=1 cc84856c2a0a7e41ec5ad7f02cdfa75bbec8c78f249cec1d9014700333fbd503 17:14:40 $ docker rm -f cc84856c2a0a7e41ec5ad7f02cdfa75bbec8c78f249cec1d9014700333fbd503 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:14:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:14:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:14:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:40 prd-ubuntu20.04-docker-8c-8g-24327 does not seem to be running inside a container 17:14:40 $ 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 17:14:41 $ docker top 4cecfe46ed9c258184436ff536b15f81ff616609c8ad7d8ca92c8f6583c57dc1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:14:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:14:41 [ssh-agent] Looking for ssh-agent implementation... 17:14:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:14:41 $ docker exec 4cecfe46ed9c258184436ff536b15f81ff616609c8ad7d8ca92c8f6583c57dc1 ssh-agent 17:14:41 SSH_AUTH_SOCK=/tmp/ssh-Qf2s9vujWt0l/agent.33 17:14:41 SSH_AGENT_PID=39 17:14:41 Running ssh-add (command line suppressed) 17:14:41 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8544247022613846104.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8544247022613846104.key) 17:14:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:14:41 + git semver bump pre 17:14:42 2022-09-01 17:14:42,218 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:14:42 2022-09-01 17:14:42,218 [bump_version] DEBUG bumping version:2.3.0-dev.15 on axis:pre with prefix:dev 17:14:42 2022-09-01 17:14:42,218 [bump_version] DEBUG bumped version:2.3.0-dev.16 17:14:42 2022-09-01 17:14:42,218 [write_version] DEBUG write version:2.3.0-dev.16 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 17:14:42 2022-09-01 17:14:42,218 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:14:42 2022-09-01 17:14:42,218 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 17:14:42 2022-09-01 17:14:42,220 [execute] INFO git cat-file --batch-check 17:14:42 2022-09-01 17:14:42,221 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:14:42 2022-09-01 17:14:42,226 [execute] INFO git cat-file --batch 17:14:42 2022-09-01 17:14:42,226 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:14:42 2022-09-01 17:14:42,231 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:14:42 2.3.0-dev.16 [Pipeline] } 17:14:42 $ docker exec --env ******** --env ******** 4cecfe46ed9c258184436ff536b15f81ff616609c8ad7d8ca92c8f6583c57dc1 ssh-agent -k 17:14:42 unset SSH_AUTH_SOCK; 17:14:42 unset SSH_AGENT_PID; 17:14:42 echo Agent pid 39 killed; 17:14:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:14:42 + git semver [Pipeline] } 17:14:42 $ docker stop --time=1 4cecfe46ed9c258184436ff536b15f81ff616609c8ad7d8ca92c8f6583c57dc1 17:14:44 $ docker rm -f 4cecfe46ed9c258184436ff536b15f81ff616609c8ad7d8ca92c8f6583c57dc1 [Pipeline] // withDockerContainer [Pipeline] sh 17:14:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:14:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:14:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:44 prd-ubuntu20.04-docker-8c-8g-24327 does not seem to be running inside a container 17:14:45 $ 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 17:14:45 $ docker top d3398bff2dfe89bf4619e2d7ba44467537d74db8a7572d22feac0f6b2e88de8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:14:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:14:45 [ssh-agent] Looking for ssh-agent implementation... 17:14:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:14:45 $ docker exec d3398bff2dfe89bf4619e2d7ba44467537d74db8a7572d22feac0f6b2e88de8d ssh-agent 17:14:45 SSH_AUTH_SOCK=/tmp/ssh-tJCsyLnGAZ9k/agent.33 17:14:45 SSH_AGENT_PID=39 17:14:45 Running ssh-add (command line suppressed) 17:14:45 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_706985292723805467.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_706985292723805467.key) 17:14:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:14:46 + git semver push 17:14:46 2022-09-01 17:14:46,316 [run_push] DEBUG push 17:14:46 2022-09-01 17:14:46,316 [execute] INFO git cat-file --batch-check 17:14:46 2022-09-01 17:14:46,317 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:14:46 2022-09-01 17:14:46,321 [execute] INFO git rev-list 2da8ac1044f0104cc95e764cb2c474bd1852e7c1 -- 17:14:46 2022-09-01 17:14:46,321 [execute] DEBUG Popen(['git', 'rev-list', '2da8ac1044f0104cc95e764cb2c474bd1852e7c1', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:14:46 2022-09-01 17:14:46,328 [execute] INFO git fetch -v origin 17:14:46 2022-09-01 17:14:46,329 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:14:46 2022-09-01 17:14:46,824 [run_push] DEBUG no remote changes detected 17:14:46 2022-09-01 17:14:46,825 [execute] INFO git push origin semver 17:14:46 2022-09-01 17:14:46,825 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:14:47 2022-09-01 17:14:47,599 [run_push] DEBUG push all version tags 17:14:47 2022-09-01 17:14:47,600 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:14:47 2022-09-01 17:14:47,600 [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) 17:14:48 2022-09-01 17:14:48,320 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:14:48 2.3.0-dev.16 [Pipeline] } 17:14:48 $ docker exec --env ******** --env ******** d3398bff2dfe89bf4619e2d7ba44467537d74db8a7572d22feac0f6b2e88de8d ssh-agent -k 17:14:48 unset SSH_AUTH_SOCK; 17:14:48 unset SSH_AGENT_PID; 17:14:48 echo Agent pid 39 killed; 17:14:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:14:48 + git semver [Pipeline] } 17:14:49 $ docker stop --time=1 d3398bff2dfe89bf4619e2d7ba44467537d74db8a7572d22feac0f6b2e88de8d 17:14:50 $ docker rm -f d3398bff2dfe89bf4619e2d7ba44467537d74db8a7572d22feac0f6b2e88de8d [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 17:14:51 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 17:14:51 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:14:51 total 16 17:14:51 drwxr-xr-x 3 root root 4096 Sep 1 17:04 . 17:14:51 drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 17:14 .. 17:14:51 drwxr-xr-x 2 root root 4096 Sep 1 17:04 cost 17:14:51 -rw-r--r-- 1 root root 90 Sep 1 17:04 cost.csv 17:14:51 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 17:14:51 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:14:51 total 16 17:14:51 drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 17:04 . 17:14:51 drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 17:14 .. 17:14:51 drwxr-xr-x 2 jenkins jenkins 4096 Sep 1 17:04 cost 17:14:51 -rw-r--r-- 1 jenkins jenkins 90 Sep 1 17:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:14:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:14:52 ---> package-listing.sh 17:14:52 ++ facter osfamily 17:14:52 ++ tr '[:upper:]' '[:lower:]' 17:14:52 + OS_FAMILY=debian 17:14:52 + workspace=/w/workspace/foundry_device-onvif-camera_main 17:14:52 + START_PACKAGES=/tmp/packages_start.txt 17:14:52 + END_PACKAGES=/tmp/packages_end.txt 17:14:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:14:52 + PACKAGES=/tmp/packages_start.txt 17:14:52 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:14:52 + PACKAGES=/tmp/packages_end.txt 17:14:52 + case "${OS_FAMILY}" in 17:14:52 + dpkg -l 17:14:52 + grep '^ii' 17:14:52 + '[' -f /tmp/packages_start.txt ']' 17:14:52 + '[' -f /tmp/packages_end.txt ']' 17:14:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:14:52 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:14:52 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 17:14:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 17:14:52 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 17:14:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:14:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:53 prd-ubuntu20.04-docker-8c-8g-24327 does not seem to be running inside a container 17:14:53 $ 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 17:14:53 $ docker top b21c898d0bdb23adff103808cb3311bfde062346057037edc25829f4eedd30da -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:54 + touch /tmp/pre-build-complete [Pipeline] sh 17:14:54 + mkdir -p /var/log/sysstat [Pipeline] sh 17:14:54 + ls /var/log/sa-host 17:14:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:14:54 provisioning config files... 17:14:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8033255556865194304tmp [Pipeline] { [Pipeline] echo 17:14:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:14:55 ---> create-netrc.sh [Pipeline] } 17:14:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:14:55 ---> python-tools-install.sh [Pipeline] echo 17:14:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:14:55 ---> sudo-logs.sh 17:14:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:14:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:14:56 ---> job-cost.sh 17:14:56 lf-activate-venv: SKIPPING 17:14:56 DEBUG: total: 0.2199999988079071 17:14:56 INFO: Retrieving Stack Cost... 17:14:56 INFO: Retrieving Pricing Info for: v3-standard-8 17:14:56 INFO: Archiving Costs [Pipeline] echo 17:14:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:14:57 ---> logs-deploy.sh 17:14:57 lf-activate-venv: SKIPPING 17:14:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/54 17:14:57 INFO: archiving workspace using pattern(s): 17:14:58 Archives upload complete. 17:14:58 INFO: archiving logs to Nexus