Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5c7909d1b5ebfe861b0cb262d6892a9f2879389b 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-ssh8101782149639221100.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3121570931568029375.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh8138490039459423007.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh15750281179944702628.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-ssh15685264060441799973.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.20 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6705 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Avoid second fetch Checking out Revision 5c7909d1b5ebfe861b0cb262d6892a9f2879389b (main) Commit message: "fix: obsolete code removed (#297)" > git config core.sparsecheckout # timeout=10 > git checkout -f 5c7909d1b5ebfe861b0cb262d6892a9f2879389b # timeout=10 > git rev-list --no-walk 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:53:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:53:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:53:20 ========================================================= 15:53:20 EdgeX Global Pipelines Version Info 15:53:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:53:20 ------------------- 15:53:20 stable info: 15:53:20 ------------------- 15:53:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:53:20 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 15:53:20 Message: update stable to v1.0.245 15:53:21 ------------------- 15:53:21 experimental info: 15:53:21 ------------------- 15:53:21 Commited By: **** collab-it+edgex@linuxfoundation.org 15:53:21 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 15:53:21 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c7909d1b5ebfe861b0cb262d6892a9f2879389b [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c7909d [Pipeline] echo 15:53:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:53:22 provisioning config files... 15:53:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14196148564219159596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:53:22 ---> docker-login.sh 15:53:22 nexus3.edgexfoundry.org:10001 15:53:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:22 Configure a credential helper to remove this warning. See 15:53:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:22 15:53:22 Login Succeeded 15:53:22 nexus3.edgexfoundry.org:10002 15:53:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:22 Configure a credential helper to remove this warning. See 15:53:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:22 15:53:22 Login Succeeded 15:53:22 nexus3.edgexfoundry.org:10003 15:53:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:22 Configure a credential helper to remove this warning. See 15:53:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:22 15:53:22 Login Succeeded 15:53:22 nexus3.edgexfoundry.org:10004 15:53:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:22 Configure a credential helper to remove this warning. See 15:53:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:22 15:53:22 Login Succeeded 15:53:22 docker.io 15:53:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:23 Configure a credential helper to remove this warning. See 15:53:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:23 15:53:23 Login Succeeded 15:53:23 ---> docker-login.sh ends [Pipeline] } 15:53:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:53:23 + git rev-list -1 --merges 5c7909d1b5ebfe861b0cb262d6892a9f2879389b~1..5c7909d1b5ebfe861b0cb262d6892a9f2879389b [Pipeline] echo 15:53:23 -----------> git rev-list -1 --merges 5c7909d1b5ebfe861b0cb262d6892a9f2879389b~1..5c7909d1b5ebfe861b0cb262d6892a9f2879389b 5c7909d1b5ebfe861b0cb262d6892a9f2879389b [false] [Pipeline] sh 15:53:23 + git log --format=format:%s -1 5c7909d1b5ebfe861b0cb262d6892a9f2879389b [Pipeline] echo 15:53:23 ========================================================= 15:53:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:53:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:53:24 + git log --format=format:%s -1 5c7909d1b5ebfe861b0cb262d6892a9f2879389b [Pipeline] echo 15:53:24 [semverPrep] GIT_COMMIT: 5c7909d1b5ebfe861b0cb262d6892a9f2879389b, Commit Message: fix: obsolete code removed (#297) [Pipeline] echo 15:53:24 [semverPrep] This is not a build commit. [Pipeline] sh 15:53:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:53:24 + grep -v github /etc/ssh/ssh_known_hosts 15:53:24 + [ -e /tmp/ssh_known_hosts ] 15:53:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:53:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:53:24 + sudo tee -a /etc/ssh/ssh_known_hosts 15:53:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:53:24 15:53:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:53:25 0.1.4: Pulling from edgex-devops/py-git-semver 15:53:25 b85a868b505f: Pulling fs layer 15:53:25 e2be974225ed: Pulling fs layer 15:53:25 339a4e72a1f5: Pulling fs layer 15:53:25 988bab9f4d93: Pulling fs layer 15:53:25 1469e6f7b9e6: Pulling fs layer 15:53:25 eaf3925da568: Pulling fs layer 15:53:25 bab4dde63d76: Pulling fs layer 15:53:25 bde34c3a00c8: Pulling fs layer 15:53:25 b352a97aabf1: Pulling fs layer 15:53:25 4872d77fe225: Pulling fs layer 15:53:25 5851b861e8e6: Pulling fs layer 15:53:25 988bab9f4d93: Waiting 15:53:25 1469e6f7b9e6: Waiting 15:53:25 eaf3925da568: Waiting 15:53:25 bab4dde63d76: Waiting 15:53:25 b352a97aabf1: Waiting 15:53:25 bde34c3a00c8: Waiting 15:53:25 5851b861e8e6: Waiting 15:53:25 e2be974225ed: Download complete 15:53:25 988bab9f4d93: Download complete 15:53:25 1469e6f7b9e6: Verifying Checksum 15:53:25 1469e6f7b9e6: Download complete 15:53:25 eaf3925da568: Download complete 15:53:25 339a4e72a1f5: Verifying Checksum 15:53:25 339a4e72a1f5: Download complete 15:53:25 bde34c3a00c8: Download complete 15:53:25 b352a97aabf1: Verifying Checksum 15:53:25 b352a97aabf1: Download complete 15:53:25 4872d77fe225: Verifying Checksum 15:53:25 4872d77fe225: Download complete 15:53:25 5851b861e8e6: Verifying Checksum 15:53:25 5851b861e8e6: Download complete 15:53:25 b85a868b505f: Verifying Checksum 15:53:25 b85a868b505f: Download complete 15:53:25 bab4dde63d76: Verifying Checksum 15:53:25 bab4dde63d76: Download complete 15:53:26 b85a868b505f: Pull complete 15:53:26 e2be974225ed: Pull complete 15:53:27 339a4e72a1f5: Pull complete 15:53:27 988bab9f4d93: Pull complete 15:53:27 1469e6f7b9e6: Pull complete 15:53:27 eaf3925da568: Pull complete 15:53:29 bab4dde63d76: Pull complete 15:53:29 bde34c3a00c8: Pull complete 15:53:29 b352a97aabf1: Pull complete 15:53:29 4872d77fe225: Pull complete 15:53:29 5851b861e8e6: Pull complete 15:53:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:53:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:53:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:30 prd-ubuntu20.04-docker-8c-8g-6705 does not seem to be running inside a container 15:53:30 $ 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 15:53:31 $ docker top a01645230fdcbc7ad9602e589c7144adb8e364ff6d0f794d715ef9164b7371b3 -eo pid,comm 15:53:31 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). 15:53:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:53:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:31 [ssh-agent] Looking for ssh-agent implementation... 15:53:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:32 $ docker exec a01645230fdcbc7ad9602e589c7144adb8e364ff6d0f794d715ef9164b7371b3 ssh-agent 15:53:32 SSH_AUTH_SOCK=/tmp/ssh-2srdHLZKavtD/agent.34 15:53:32 SSH_AGENT_PID=40 15:53:32 Running ssh-add (command line suppressed) 15:53:32 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4729409463423384653.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4729409463423384653.key) 15:53:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:32 + git tag --points-at HEAD [Pipeline] } 15:53:32 $ docker exec --env ******** --env ******** a01645230fdcbc7ad9602e589c7144adb8e364ff6d0f794d715ef9164b7371b3 ssh-agent -k 15:53:32 unset SSH_AUTH_SOCK; 15:53:32 unset SSH_AGENT_PID; 15:53:32 echo Agent pid 40 killed; 15:53:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:53:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:32 [ssh-agent] Looking for ssh-agent implementation... 15:53:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:32 $ docker exec a01645230fdcbc7ad9602e589c7144adb8e364ff6d0f794d715ef9164b7371b3 ssh-agent 15:53:33 SSH_AUTH_SOCK=/tmp/ssh-Dv38cIbRKxak/agent.72 15:53:33 SSH_AGENT_PID=78 15:53:33 Running ssh-add (command line suppressed) 15:53:33 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1924178075151929688.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1924178075151929688.key) 15:53:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:33 + git semver init 15:53:33 2023-04-03 15:53:33,635 [run_init] DEBUG init version:0.0.0 force:False 15:53:33 2023-04-03 15:53:33,636 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 15:53:33 2023-04-03 15:53:33,637 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 15:53:33 2023-04-03 15:53:33,637 [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) 15:53:34 2023-04-03 15:53:34,566 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 15:53:34 2023-04-03 15:53:34,566 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 15:53:34 2023-04-03 15:53:34,567 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:53:34 2023-04-03 15:53:34,567 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:53:34 3.0.0-dev.27 [Pipeline] } 15:53:34 $ docker exec --env ******** --env ******** a01645230fdcbc7ad9602e589c7144adb8e364ff6d0f794d715ef9164b7371b3 ssh-agent -k 15:53:34 unset SSH_AUTH_SOCK; 15:53:34 unset SSH_AGENT_PID; 15:53:34 echo Agent pid 78 killed; 15:53:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:53:35 + git semver [Pipeline] } 15:53:35 $ docker stop --time=1 a01645230fdcbc7ad9602e589c7144adb8e364ff6d0f794d715ef9164b7371b3 15:53:36 $ docker rm -f --volumes a01645230fdcbc7ad9602e589c7144adb8e364ff6d0f794d715ef9164b7371b3 [Pipeline] // withDockerContainer [Pipeline] sh 15:53:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:53:37 Stashed 1 file(s) [Pipeline] echo 15:53:37 [edgeXSemver]: initialized semver on version 3.0.0-dev.27 [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 15:53:37 provisioning config files... 15:53:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5775943788592910180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:53:37 ---> docker-login.sh 15:53:37 nexus3.edgexfoundry.org:10001 15:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:37 Configure a credential helper to remove this warning. See 15:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:37 15:53:37 Login Succeeded 15:53:37 nexus3.edgexfoundry.org:10002 15:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:37 Configure a credential helper to remove this warning. See 15:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:37 15:53:37 Login Succeeded 15:53:37 nexus3.edgexfoundry.org:10003 15:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:37 Configure a credential helper to remove this warning. See 15:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:37 15:53:37 Login Succeeded 15:53:37 nexus3.edgexfoundry.org:10004 15:53:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:37 Configure a credential helper to remove this warning. See 15:53:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:37 15:53:37 Login Succeeded 15:53:37 docker.io 15:53:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:38 Configure a credential helper to remove this warning. See 15:53:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:38 15:53:38 Login Succeeded 15:53:38 ---> docker-login.sh ends [Pipeline] } 15:53:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:53:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:53:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:53:38 ========================================================= 15:53:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:53:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:53:38 Sending build context to Docker daemon 27.02MB 15:53:38 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 15:53:38 Step 2/13 : FROM ${BASE} AS builder 15:53:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:53:39 63b65145d645: Pulling fs layer 15:53:39 a2d21d5440eb: Pulling fs layer 15:53:39 935e6c44a52c: Pulling fs layer 15:53:39 94cc34f8dd06: Pulling fs layer 15:53:39 30dea6a524f1: Pulling fs layer 15:53:39 a2aff8979fd8: Pulling fs layer 15:53:39 6808be2612f2: Pulling fs layer 15:53:39 f25807f1079a: Pulling fs layer 15:53:39 94cc34f8dd06: Waiting 15:53:39 f25807f1079a: Waiting 15:53:39 30dea6a524f1: Waiting 15:53:39 6808be2612f2: Waiting 15:53:39 a2aff8979fd8: Waiting 15:53:39 a2d21d5440eb: Verifying Checksum 15:53:39 a2d21d5440eb: Download complete 15:53:39 94cc34f8dd06: Download complete 15:53:39 30dea6a524f1: Verifying Checksum 15:53:39 30dea6a524f1: Download complete 15:53:39 63b65145d645: Verifying Checksum 15:53:39 63b65145d645: Download complete 15:53:39 a2aff8979fd8: Verifying Checksum 15:53:39 a2aff8979fd8: Download complete 15:53:39 63b65145d645: Pull complete 15:53:39 a2d21d5440eb: Pull complete 15:53:39 f25807f1079a: Verifying Checksum 15:53:39 f25807f1079a: Download complete 15:53:39 935e6c44a52c: Verifying Checksum 15:53:39 935e6c44a52c: Download complete 15:53:39 6808be2612f2: Verifying Checksum 15:53:39 6808be2612f2: Download complete 15:53:44 935e6c44a52c: Pull complete 15:53:44 94cc34f8dd06: Pull complete 15:53:44 30dea6a524f1: Pull complete 15:53:44 a2aff8979fd8: Pull complete 15:53:46 6808be2612f2: Pull complete 15:53:47 f25807f1079a: Pull complete 15:53:47 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:53:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:53:47 ---> 3b553350e43f 15:53:47 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:53:49 ---> Running in cfe82599d406 15:53:49 Removing intermediate container cfe82599d406 15:53:49 ---> cf4c2b0c6d95 15:53:49 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:53:49 ---> Running in 0ad9d862807d 15:53:49 Removing intermediate container 0ad9d862807d 15:53:49 ---> 8da8ec55212f 15:53:49 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 15:53:49 ---> Running in 8f83f285d3ae 15:53:49 Removing intermediate container 8f83f285d3ae 15:53:49 ---> 1cf187b129ba 15:53:49 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:53:49 ---> Running in 53a5cdc28723 15:53:49 Removing intermediate container 53a5cdc28723 15:53:49 ---> 013d4e2402d3 15:53:49 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:53:49 ---> Running in f1143d5403e4 15:53:49 Removing intermediate container f1143d5403e4 15:53:49 ---> 717690aa558a 15:53:49 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:53:49 ---> Running in 3ecc1ad83f02 15:53:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:53:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:53:50 OK: 265 MiB in 53 packages 15:53:51 Removing intermediate container 3ecc1ad83f02 15:53:51 ---> 722001011a6c 15:53:51 Step 9/13 : WORKDIR /device-onvif-camera 15:53:51 ---> Running in c8d5e4c3c7e0 15:53:51 Removing intermediate container c8d5e4c3c7e0 15:53:51 ---> dcd89c4363bd 15:53:51 Step 10/13 : COPY go.mod vendor* ./ 15:53:51 ---> 054769c1a306 15:53:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:53:51 ---> Running in 6d686e4a2237 15:53:52 Still waiting to schedule task 15:53:52 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6703’ 15:54:18 Removing intermediate container 6d686e4a2237 15:54:18 ---> 357cdb6e8afa 15:54:18 Step 12/13 : COPY . . 15:54:18 ---> da5124a8665f 15:54:18 Step 13/13 : RUN ${MAKE} 15:54:18 ---> Running in 2d145c3d0d70 15:54:18 noop 15:54:18 Removing intermediate container 2d145c3d0d70 15:54:18 ---> 75aec0e9b785 15:54:18 Successfully built 75aec0e9b785 15:54:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:18 + docker inspect -f . ci-base-image-x86_64 15:54:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:18 prd-ubuntu20.04-docker-8c-8g-6705 does not seem to be running inside a container 15:54:18 $ 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 15:54:18 $ docker top e179e47a36442cbda076fb601e38cc99e5655739c7a493fe43190a3298bf5993 -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:19 + go version 15:54:19 go version go1.20.2 linux/amd64 [Pipeline] } 15:54:19 $ docker stop --time=1 e179e47a36442cbda076fb601e38cc99e5655739c7a493fe43190a3298bf5993 15:54:20 $ docker rm -f --volumes e179e47a36442cbda076fb601e38cc99e5655739c7a493fe43190a3298bf5993 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:20 + docker inspect -f . ci-base-image-x86_64 15:54:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:21 prd-ubuntu20.04-docker-8c-8g-6705 does not seem to be running inside a container 15:54:21 $ 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 15:54:21 $ docker top 89d05dc838b2739fda840f952160b42c1ca9ff9802a1893a63d6665e7a832e91 -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:21 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 15:54:22 + make test 15:54:22 go test ./... -coverprofile=coverage.out ./... 15:54:27 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:54:39 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:54:39 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:54:40 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.7% of statements 15:54:40 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.208s coverage: 86.5% of statements 15:54:48 go vet ./... 15:54:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:54:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:54:52 ./bin/test-attribution-txt.sh [Pipeline] echo 15:54:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:54:52 $ docker stop --time=1 89d05dc838b2739fda840f952160b42c1ca9ff9802a1893a63d6665e7a832e91 15:54:54 $ docker rm -f --volumes 89d05dc838b2739fda840f952160b42c1ca9ff9802a1893a63d6665e7a832e91 [Pipeline] // withDockerContainer [Pipeline] sh 15:54:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:54:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:54:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:54:55 + ls -al . 15:54:55 total 232 15:54:55 drwxrwxr-x 10 jenkins jenkins 4096 Apr 3 15:54 . 15:54:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 3 15:53 .. 15:54:55 drwxrwxr-x 8 jenkins jenkins 4096 Apr 3 15:53 .git 15:54:55 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:53 .github 15:54:55 -rw-rw-r-- 1 jenkins jenkins 496 Apr 3 15:53 .gitignore 15:54:55 -rw-rw-r-- 1 jenkins jenkins 42 Apr 3 15:53 .golangci.yml 15:54:55 drwxr-xr-x 3 jenkins jenkins 4096 Apr 3 15:53 .semver 15:54:55 -rw-rw-r-- 1 jenkins jenkins 9732 Apr 3 15:53 Attribution.txt 15:54:55 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 3 15:53 CHANGELOG.md 15:54:55 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 3 15:53 Dockerfile 15:54:55 -rw-rw-r-- 1 jenkins jenkins 677 Apr 3 15:53 GOVERNANCE.md 15:54:55 -rw-rw-r-- 1 jenkins jenkins 734 Apr 3 15:53 Jenkinsfile 15:54:55 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 3 15:53 LICENSE 15:54:55 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 3 15:53 Makefile 15:54:55 -rw-rw-r-- 1 jenkins jenkins 625 Apr 3 15:53 OWNERS.md 15:54:55 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 3 15:53 README.md 15:54:55 -rw-rw-r-- 1 jenkins jenkins 12 Apr 3 15:53 VERSION 15:54:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 3 15:53 bin 15:54:55 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:53 cmd 15:54:55 -rw-r--r-- 1 jenkins jenkins 78485 Apr 3 15:54 coverage.out 15:54:55 drwxrwxr-x 6 jenkins jenkins 4096 Apr 3 15:53 doc 15:54:55 -rw-rw-r-- 1 jenkins jenkins 3554 Apr 3 15:53 go.mod 15:54:55 -rw-rw-r-- 1 jenkins jenkins 32657 Apr 3 15:53 go.sum 15:54:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 3 15:53 internal 15:54:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 3 15:53 snap 15:54:55 -rw-rw-r-- 1 jenkins jenkins 236 Apr 3 15:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:56 + 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=5c7909d1b5ebfe861b0cb262d6892a9f2879389b --label arch=amd64 --label version=3.0.0-dev.27 . 15:54:56 Sending build context to Docker daemon 27.1MB 15:54:56 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 15:54:56 Step 2/26 : FROM ${BASE} AS builder 15:54:56 ---> 75aec0e9b785 15:54:56 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:54:56 ---> Running in 83282bd1f06b 15:54:56 Removing intermediate container 83282bd1f06b 15:54:56 ---> cc68d994f686 15:54:56 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:54:56 ---> Running in 8c4660a4cdb6 15:54:56 Removing intermediate container 8c4660a4cdb6 15:54:56 ---> 2f23805de6dd 15:54:56 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 15:54:56 ---> Running in b9640b3d5ac8 15:54:56 Removing intermediate container b9640b3d5ac8 15:54:56 ---> 8d3c8417f874 15:54:56 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:54:57 ---> Running in 954ebc92658d 15:54:57 Removing intermediate container 954ebc92658d 15:54:57 ---> 957dd5204a19 15:54:57 Step 7/26 : LABEL Name=edgex-device-onvif-camera 15:54:57 ---> Running in ff0c02012c79 15:54:57 Removing intermediate container ff0c02012c79 15:54:57 ---> 328418ce9248 15:54:57 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:54:57 ---> Running in 2d7a6ccb2ef2 15:54:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:54:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:54:57 OK: 265 MiB in 53 packages 15:54:58 Removing intermediate container 2d7a6ccb2ef2 15:54:58 ---> 1abe7eba84b3 15:54:58 Step 9/26 : WORKDIR /device-onvif-camera 15:54:58 ---> Running in ea35777c345b 15:54:58 Removing intermediate container ea35777c345b 15:54:58 ---> a2ae223d8490 15:54:58 Step 10/26 : COPY go.mod vendor* ./ 15:54:58 ---> 8584ecc7a4d7 15:54:58 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:54:58 ---> Running in a4ca5eb6093c 15:54:59 Removing intermediate container a4ca5eb6093c 15:54:59 ---> 938288aa42a8 15:54:59 Step 12/26 : COPY . . 15:55:00 ---> 5bb732d910e2 15:55:00 Step 13/26 : RUN ${MAKE} 15:55:00 ---> Running in ea58b0af0bc8 15:55:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.27" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 15:55:22 Removing intermediate container ea58b0af0bc8 15:55:22 ---> aa1eba0975ee 15:55:22 Step 14/26 : FROM alpine:3.17 15:55:22 3.17: Pulling from library/alpine 15:55:22 f56be85fc22e: Pulling fs layer 15:55:22 f56be85fc22e: Verifying Checksum 15:55:22 f56be85fc22e: Download complete 15:55:22 f56be85fc22e: Pull complete 15:55:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:55:22 Status: Downloaded newer image for alpine:3.17 15:55:22 ---> 9ed4aefc74f6 15:55:22 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:55:22 ---> Running in cafdebdc67ca 15:55:22 Removing intermediate container cafdebdc67ca 15:55:22 ---> 7eb2729a76d6 15:55:22 Step 16/26 : RUN apk add --update --no-cache dumb-init 15:55:22 ---> Running in 3906f3e5428f 15:55:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:55:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:55:22 (1/1) Installing dumb-init (1.2.5-r2) 15:55:22 Executing busybox-1.35.0-r29.trigger 15:55:22 OK: 7 MiB in 16 packages 15:55:22 Removing intermediate container 3906f3e5428f 15:55:22 ---> e7527834badd 15:55:22 Step 17/26 : WORKDIR / 15:55:22 ---> Running in 9bd4997110d3 15:55:22 Removing intermediate container 9bd4997110d3 15:55:22 ---> c16ebb99e9ef 15:55:22 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:55:22 ---> 5c31314d4d96 15:55:22 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:55:23 ---> d862494d045e 15:55:23 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:55:23 ---> e21541758604 15:55:23 Step 21/26 : EXPOSE 59984 15:55:23 ---> Running in 0b01e1b6ff1a 15:55:23 Removing intermediate container 0b01e1b6ff1a 15:55:23 ---> 96b5e3fb1ffb 15:55:23 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:55:23 ---> Running in 3d4edb20ca0c 15:55:23 Removing intermediate container 3d4edb20ca0c 15:55:23 ---> 3c74a601284f 15:55:23 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:55:23 ---> Running in 5e487e1e0f7c 15:55:23 Removing intermediate container 5e487e1e0f7c 15:55:23 ---> 7bd2bc5623d8 15:55:23 Step 24/26 : LABEL arch=amd64 15:55:23 ---> Running in f46bf33d7078 15:55:23 Removing intermediate container f46bf33d7078 15:55:23 ---> c75abeb99ca3 15:55:23 Step 25/26 : LABEL git_sha=5c7909d1b5ebfe861b0cb262d6892a9f2879389b 15:55:23 ---> Running in 5d57ab18bd85 15:55:23 Removing intermediate container 5d57ab18bd85 15:55:23 ---> ebd5ab790426 15:55:23 Step 26/26 : LABEL version=3.0.0-dev.27 15:55:23 ---> Running in dd61b5774779 15:55:24 Removing intermediate container dd61b5774779 15:55:24 ---> 83517c8e6ce4 15:55:24 [Warning] One or more build-args [ARCH] were not consumed 15:55:24 Successfully built 83517c8e6ce4 15:55:24 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 15:55:24 provisioning config files... 15:55:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13989026130742125628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:24 ---> docker-login.sh 15:55:24 nexus3.edgexfoundry.org:10001 15:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:24 Configure a credential helper to remove this warning. See 15:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:24 15:55:24 Login Succeeded 15:55:24 nexus3.edgexfoundry.org:10002 15:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:24 Configure a credential helper to remove this warning. See 15:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:24 15:55:24 Login Succeeded 15:55:24 nexus3.edgexfoundry.org:10003 15:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:24 Configure a credential helper to remove this warning. See 15:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:24 15:55:24 Login Succeeded 15:55:24 nexus3.edgexfoundry.org:10004 15:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:24 Configure a credential helper to remove this warning. See 15:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:24 15:55:24 Login Succeeded 15:55:24 docker.io 15:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:25 Configure a credential helper to remove this warning. See 15:55:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:25 15:55:25 Login Succeeded 15:55:25 ---> docker-login.sh ends [Pipeline] } 15:55:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:55:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:55:25 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 15:55:25 5c7909d1b5ebfe861b0cb262d6892a9f2879389b 15:55:25 latest 15:55:25 3.0.0-dev.27 15:55:25 5c7909d1b5ebfe861b0cb262d6892a9f2879389b-3.0.0-dev.27 15:55:25 main 15:55:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:25 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:5c7909d1b5ebfe861b0cb262d6892a9f2879389b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:5c7909d1b5ebfe861b0cb262d6892a9f2879389b 15:55:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:55:25 c2be957fd7f4: Preparing 15:55:25 9b255d10ce9a: Preparing 15:55:25 ce6af25f83d3: Preparing 15:55:25 75dc83d772e4: Preparing 15:55:25 f1417ff83b31: Preparing 15:55:25 f1417ff83b31: Layer already exists 15:55:25 9b255d10ce9a: Pushed 15:55:25 75dc83d772e4: Pushed 15:55:25 c2be957fd7f4: Pushed 15:55:28 ce6af25f83d3: Pushed 15:55:28 5c7909d1b5ebfe861b0cb262d6892a9f2879389b: digest: sha256:86408f2e80e150c81b261a02d46d2c319b17284819625ae9342aee1e0ba6678d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:28 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:28 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 15:55:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:55:28 c2be957fd7f4: Preparing 15:55:28 9b255d10ce9a: Preparing 15:55:28 ce6af25f83d3: Preparing 15:55:28 75dc83d772e4: Preparing 15:55:28 f1417ff83b31: Preparing 15:55:28 c2be957fd7f4: Layer already exists 15:55:28 f1417ff83b31: Layer already exists 15:55:28 9b255d10ce9a: Layer already exists 15:55:28 75dc83d772e4: Layer already exists 15:55:28 ce6af25f83d3: Layer already exists 15:55:28 latest: digest: sha256:86408f2e80e150c81b261a02d46d2c319b17284819625ae9342aee1e0ba6678d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:29 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:29 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.27 15:55:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:55:29 c2be957fd7f4: Preparing 15:55:29 9b255d10ce9a: Preparing 15:55:29 ce6af25f83d3: Preparing 15:55:29 75dc83d772e4: Preparing 15:55:29 f1417ff83b31: Preparing 15:55:29 9b255d10ce9a: Layer already exists 15:55:29 ce6af25f83d3: Layer already exists 15:55:29 f1417ff83b31: Layer already exists 15:55:29 c2be957fd7f4: Layer already exists 15:55:29 75dc83d772e4: Layer already exists 15:55:29 3.0.0-dev.27: digest: sha256:86408f2e80e150c81b261a02d46d2c319b17284819625ae9342aee1e0ba6678d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:29 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:5c7909d1b5ebfe861b0cb262d6892a9f2879389b-3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:5c7909d1b5ebfe861b0cb262d6892a9f2879389b-3.0.0-dev.27 15:55:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:55:30 c2be957fd7f4: Preparing 15:55:30 9b255d10ce9a: Preparing 15:55:30 ce6af25f83d3: Preparing 15:55:30 75dc83d772e4: Preparing 15:55:30 f1417ff83b31: Preparing 15:55:30 f1417ff83b31: Layer already exists 15:55:30 75dc83d772e4: Layer already exists 15:55:30 ce6af25f83d3: Layer already exists 15:55:30 9b255d10ce9a: Layer already exists 15:55:30 c2be957fd7f4: Layer already exists 15:55:30 5c7909d1b5ebfe861b0cb262d6892a9f2879389b-3.0.0-dev.27: digest: sha256:86408f2e80e150c81b261a02d46d2c319b17284819625ae9342aee1e0ba6678d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:30 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 15:55:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:55:30 c2be957fd7f4: Preparing 15:55:30 9b255d10ce9a: Preparing 15:55:30 ce6af25f83d3: Preparing 15:55:30 75dc83d772e4: Preparing 15:55:30 f1417ff83b31: Preparing 15:55:30 9b255d10ce9a: Layer already exists 15:55:30 f1417ff83b31: Layer already exists 15:55:30 ce6af25f83d3: Layer already exists 15:55:30 75dc83d772e4: Layer already exists 15:55:30 c2be957fd7f4: Layer already exists 15:55:30 main: digest: sha256:86408f2e80e150c81b261a02d46d2c319b17284819625ae9342aee1e0ba6678d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:55:30 ===================================================== [Pipeline] echo 15:55:30 taggedImages: 15:55:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera:5c7909d1b5ebfe861b0cb262d6892a9f2879389b 15:55:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 15:55:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.27 15:55:30 - nexus3.edgexfoundry.org:10004/device-onvif-camera:5c7909d1b5ebfe861b0cb262d6892a9f2879389b-3.0.0-dev.27 15:55:30 - 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 15:55:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:31 15:55:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:31 latest: Pulling from edgex-lftools-log-publisher 15:55:31 5eb5b503b376: Pulling fs layer 15:55:31 5c69ac0246d0: Pulling fs layer 15:55:31 ec43610c2a17: Pulling fs layer 15:55:31 3a2ae6a8a46f: Pulling fs layer 15:55:31 33b1e0a273af: Pulling fs layer 15:55:31 5d3b04190fa2: Pulling fs layer 15:55:31 2f39f015ded8: Pulling fs layer 15:55:31 3a2ae6a8a46f: Waiting 15:55:31 33b1e0a273af: Waiting 15:55:31 2f39f015ded8: Waiting 15:55:31 5d3b04190fa2: Waiting 15:55:31 5c69ac0246d0: Download complete 15:55:31 3a2ae6a8a46f: Verifying Checksum 15:55:31 3a2ae6a8a46f: Download complete 15:55:31 33b1e0a273af: Verifying Checksum 15:55:31 33b1e0a273af: Download complete 15:55:31 ec43610c2a17: Verifying Checksum 15:55:31 ec43610c2a17: Download complete 15:55:31 5d3b04190fa2: Download complete 15:55:31 5eb5b503b376: Verifying Checksum 15:55:31 5eb5b503b376: Download complete 15:55:32 2f39f015ded8: Download complete 15:55:32 5eb5b503b376: Pull complete 15:55:33 5c69ac0246d0: Pull complete 15:55:33 ec43610c2a17: Pull complete 15:55:33 3a2ae6a8a46f: Pull complete 15:55:33 33b1e0a273af: Pull complete 15:55:33 5d3b04190fa2: Pull complete 15:55:38 2f39f015ded8: Pull complete 15:55:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:55:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:55:38 prd-ubuntu20.04-docker-8c-8g-6705 does not seem to be running inside a container 15:55:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 15:55:41 $ docker top 30867e60ca344a7eccf36408837e449ccfe559825d94a10ebe073eea2c11753f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:41 ---> job-cost.sh 15:55:41 lf-activate-venv: SKIPPING 15:55:41 INFO: No Stack... 15:55:42 INFO: Retrieving Pricing Info for: v3-standard-8 15:55:42 INFO: Archiving Costs [Pipeline] sh 15:55:43 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 15:55:43 + cut -d, -f6 [Pipeline] lock 15:55:43 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-121-stack-cost] 15:55:43 Resource [jenkins-edgexfoundry-device-onvif-camera-main-121-stack-cost] did not exist. Created. 15:55:43 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:55:43 + echo total: 0.2199999988079071 [Pipeline] stash 15:55:43 Stashed 1 file(s) [Pipeline] } 15:55:43 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-121-stack-cost] [Pipeline] // lock [Pipeline] } 15:55:43 $ docker stop --time=1 30867e60ca344a7eccf36408837e449ccfe559825d94a10ebe073eea2c11753f 15:55:44 $ docker rm -f --volumes 30867e60ca344a7eccf36408837e449ccfe559825d94a10ebe073eea2c11753f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:56:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6711 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 15:56:33 Running in /w/workspace/device-onvif-camera/121 [Pipeline] { [Pipeline] checkout 15:56:33 The recommended git tool is: git 15:56:41 using credential edgex-jenkins-ssh 15:56:41 Cloning the remote Git repository 15:56:41 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 15:56:41 > git init /w/workspace/device-onvif-camera/121 # timeout=10 15:56:41 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:56:41 > git --version # timeout=10 15:56:41 > git --version # 'git version 2.25.1' 15:56:41 using GIT_SSH to set credentials SSH Credentials for GitHub 15:56:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:56:43 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:56:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:56:44 Avoid second fetch 15:56:44 Checking out Revision 5c7909d1b5ebfe861b0cb262d6892a9f2879389b (main) 15:56:44 > git config core.sparsecheckout # timeout=10 15:56:44 > git checkout -f 5c7909d1b5ebfe861b0cb262d6892a9f2879389b # timeout=10 15:56:45 Commit message: "fix: obsolete code removed (#297)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:56:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:56:46 % Total % Received % Xferd Average Speed Time Time Time Current 15:56:46 Dload Upload Total Spent Left Speed 15:56:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 153k 0 --:--:-- --:--:-- --:--:-- 153k [Pipeline] sh 15:56:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:56:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:56:47 + sudo tee /etc/docker/daemon.new 15:56:47 { 15:56:47 "registry-mirrors": [ 15:56:47 "https://nexus3.edgexfoundry.org:10001" 15:56:47 ], 15:56:47 "bip": "10.250.0.254/24", 15:56:47 "hosts": [ 15:56:47 "tcp://0.0.0.0:5555", 15:56:47 "unix:///var/run/docker.sock" 15:56:47 ], 15:56:47 "mtu": 1458, 15:56:47 "selinux-enabled": true, 15:56:47 "seccomp-profile": "/etc/docker/seccomp.json" 15:56:47 } [Pipeline] sh 15:56:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:56:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:57:06 provisioning config files... 15:57:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/121@tmp/config6362052168622188882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:57:07 ---> docker-login.sh 15:57:07 nexus3.edgexfoundry.org:10001 15:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:08 Configure a credential helper to remove this warning. See 15:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:08 15:57:08 Login Succeeded 15:57:08 nexus3.edgexfoundry.org:10002 15:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:08 Configure a credential helper to remove this warning. See 15:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:08 15:57:08 Login Succeeded 15:57:08 nexus3.edgexfoundry.org:10003 15:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:09 Configure a credential helper to remove this warning. See 15:57:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:09 15:57:09 Login Succeeded 15:57:09 nexus3.edgexfoundry.org:10004 15:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:09 Configure a credential helper to remove this warning. See 15:57:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:09 15:57:09 Login Succeeded 15:57:09 docker.io 15:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:57:09 Configure a credential helper to remove this warning. See 15:57:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:57:09 15:57:09 Login Succeeded 15:57:09 ---> docker-login.sh ends [Pipeline] } 15:57:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:57:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:57:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:57:10 ========================================================= 15:57:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:57:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:57:11 Sending build context to Docker daemon 19.7MB 15:57:11 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 15:57:11 Step 2/13 : FROM ${BASE} AS builder 15:57:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:57:11 af6eaf76a39c: Pulling fs layer 15:57:11 55522c791124: Pulling fs layer 15:57:11 ce5c4a1c91eb: Pulling fs layer 15:57:11 169dfbe0d373: Pulling fs layer 15:57:11 e1ff8fa3b103: Pulling fs layer 15:57:11 52ebb69f0ebf: Pulling fs layer 15:57:11 5abe8eddf0d5: Pulling fs layer 15:57:11 169dfbe0d373: Waiting 15:57:11 e1ff8fa3b103: Waiting 15:57:11 52ebb69f0ebf: Waiting 15:57:11 5abe8eddf0d5: Waiting 15:57:11 55522c791124: Verifying Checksum 15:57:11 55522c791124: Download complete 15:57:11 169dfbe0d373: Verifying Checksum 15:57:11 169dfbe0d373: Download complete 15:57:11 e1ff8fa3b103: Verifying Checksum 15:57:11 e1ff8fa3b103: Download complete 15:57:11 af6eaf76a39c: Verifying Checksum 15:57:11 af6eaf76a39c: Download complete 15:57:14 af6eaf76a39c: Pull complete 15:57:14 5abe8eddf0d5: Verifying Checksum 15:57:14 5abe8eddf0d5: Download complete 15:57:14 55522c791124: Pull complete 15:57:15 ce5c4a1c91eb: Verifying Checksum 15:57:15 ce5c4a1c91eb: Download complete 15:57:15 52ebb69f0ebf: Verifying Checksum 15:57:15 52ebb69f0ebf: Download complete 15:57:27 ce5c4a1c91eb: Pull complete 15:57:27 169dfbe0d373: Pull complete 15:57:27 e1ff8fa3b103: Pull complete 15:57:34 52ebb69f0ebf: Pull complete 15:57:35 5abe8eddf0d5: Pull complete 15:57:35 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:57:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:57:35 ---> 6cb57ee374ae 15:57:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:57:38 ---> Running in b83f0730066c 15:57:38 Removing intermediate container b83f0730066c 15:57:38 ---> 1933dff55e53 15:57:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:57:38 ---> Running in 543f08c0fb46 15:57:39 Removing intermediate container 543f08c0fb46 15:57:39 ---> b3d67dbe353f 15:57:39 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 15:57:39 ---> Running in 6e3c829d00d0 15:57:39 Removing intermediate container 6e3c829d00d0 15:57:39 ---> 98e4f1e81466 15:57:39 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:57:39 ---> Running in 40b75906b0a2 15:57:39 Removing intermediate container 40b75906b0a2 15:57:39 ---> 5af9781d566e 15:57:39 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:57:39 ---> Running in 3d2fd686732e 15:57:40 Removing intermediate container 3d2fd686732e 15:57:40 ---> c8b05a909836 15:57:40 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:57:40 ---> Running in 14ebeb009f99 15:57:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:57:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:57:43 OK: 263 MiB in 53 packages 15:57:44 Removing intermediate container 14ebeb009f99 15:57:44 ---> 8684a34ed8e4 15:57:44 Step 9/13 : WORKDIR /device-onvif-camera 15:57:44 ---> Running in cc916e23fb76 15:57:45 Removing intermediate container cc916e23fb76 15:57:45 ---> ceea85c7e53c 15:57:45 Step 10/13 : COPY go.mod vendor* ./ 15:57:45 ---> 1d09438d5f2f 15:57:45 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:57:46 ---> Running in 52c40f56303a 15:58:54 Removing intermediate container 52c40f56303a 15:58:54 ---> 1759a8feb872 15:58:54 Step 12/13 : COPY . . 15:58:55 ---> 1183121690c7 15:58:55 Step 13/13 : RUN ${MAKE} 15:58:55 ---> Running in 5752a60dac07 15:58:56 noop 15:58:57 Removing intermediate container 5752a60dac07 15:58:57 ---> 9b9c3b55fe07 15:58:57 Successfully built 9b9c3b55fe07 15:58:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:57 + docker inspect -f . ci-base-image-arm64 15:58:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:57 prd-ubuntu20.04-docker-arm64-4c-16g-6711 does not seem to be running inside a container 15:58:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/121 -v /w/workspace/device-onvif-camera/121:/w/workspace/device-onvif-camera/121:rw,z -v /w/workspace/device-onvif-camera/121@tmp:/w/workspace/device-onvif-camera/121@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 15:58:59 $ docker top acd7f522e1be6eccf71ba56041693a0fd8e4f8ad024e1229d50acb155aee7387 -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:00 + go version 15:59:00 go version go1.20.2 linux/arm64 [Pipeline] } 15:59:00 $ docker stop --time=1 acd7f522e1be6eccf71ba56041693a0fd8e4f8ad024e1229d50acb155aee7387 15:59:02 $ docker rm -f --volumes acd7f522e1be6eccf71ba56041693a0fd8e4f8ad024e1229d50acb155aee7387 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:02 + docker inspect -f . ci-base-image-arm64 15:59:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:02 prd-ubuntu20.04-docker-arm64-4c-16g-6711 does not seem to be running inside a container 15:59:03 $ 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/121 -v /w/workspace/device-onvif-camera/121:/w/workspace/device-onvif-camera/121:rw,z -v /w/workspace/device-onvif-camera/121@tmp:/w/workspace/device-onvif-camera/121@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 15:59:04 $ docker top 73b6eda61c16cbee6972d4966e7285a25a623d2ec472976657c81073c6d9a859 -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:05 + git config --global --add safe.directory /w/workspace/device-onvif-camera/121 [Pipeline] fileExists [Pipeline] sh 15:59:06 + make test 15:59:06 go test ./... -coverprofile=coverage.out ./... 15:59:52 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:02:44 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:02:44 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:02:46 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.218s coverage: 31.7% of statements 16:03:13 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.327s coverage: 86.5% of statements 16:03:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:03:13 go vet ./... 16:03:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:03:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:03:45 ./bin/test-attribution-txt.sh [Pipeline] echo 16:03:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:03:46 $ docker stop --time=1 73b6eda61c16cbee6972d4966e7285a25a623d2ec472976657c81073c6d9a859 16:03:48 $ docker rm -f --volumes 73b6eda61c16cbee6972d4966e7285a25a623d2ec472976657c81073c6d9a859 [Pipeline] // withDockerContainer [Pipeline] sh 16:03:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:03:49 Warning: overwriting stash ‘coverage-report’ 16:03:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:03:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:03:50 + ls -al . 16:03:50 total 228 16:03:50 drwxrwxr-x 9 jenkins jenkins 4096 Apr 3 15:59 . 16:03:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 3 15:56 .. 16:03:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 3 15:56 .git 16:03:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:56 .github 16:03:50 -rw-rw-r-- 1 jenkins jenkins 496 Apr 3 15:56 .gitignore 16:03:50 -rw-rw-r-- 1 jenkins jenkins 42 Apr 3 15:56 .golangci.yml 16:03:50 -rw-rw-r-- 1 jenkins jenkins 9732 Apr 3 15:56 Attribution.txt 16:03:50 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 3 15:56 CHANGELOG.md 16:03:50 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 3 15:56 Dockerfile 16:03:50 -rw-rw-r-- 1 jenkins jenkins 677 Apr 3 15:56 GOVERNANCE.md 16:03:50 -rw-rw-r-- 1 jenkins jenkins 734 Apr 3 15:56 Jenkinsfile 16:03:50 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 3 15:56 LICENSE 16:03:50 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 3 15:56 Makefile 16:03:50 -rw-rw-r-- 1 jenkins jenkins 625 Apr 3 15:56 OWNERS.md 16:03:50 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 3 15:56 README.md 16:03:50 -rw-rw-r-- 1 jenkins jenkins 12 Apr 3 15:53 VERSION 16:03:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 3 15:56 bin 16:03:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 3 15:56 cmd 16:03:50 -rw-r--r-- 1 jenkins jenkins 78485 Apr 3 16:03 coverage.out 16:03:50 drwxrwxr-x 6 jenkins jenkins 4096 Apr 3 15:56 doc 16:03:50 -rw-rw-r-- 1 jenkins jenkins 3554 Apr 3 15:56 go.mod 16:03:50 -rw-rw-r-- 1 jenkins jenkins 32657 Apr 3 15:56 go.sum 16:03:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 3 15:56 internal 16:03:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 3 15:56 snap 16:03:50 -rw-rw-r-- 1 jenkins jenkins 236 Apr 3 15:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:51 + 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=5c7909d1b5ebfe861b0cb262d6892a9f2879389b --label arch=arm64 --label version=3.0.0-dev.27 . 16:03:51 Sending build context to Docker daemon 19.78MB 16:03:51 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:03:51 Step 2/26 : FROM ${BASE} AS builder 16:03:51 ---> 9b9c3b55fe07 16:03:51 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:03:52 ---> Running in 8cdd0bfbc877 16:03:52 Removing intermediate container 8cdd0bfbc877 16:03:52 ---> 28864db780ca 16:03:52 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:03:52 ---> Running in ae3fdb10f0d2 16:03:53 Removing intermediate container ae3fdb10f0d2 16:03:53 ---> cfdfca57339f 16:03:53 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 16:03:53 ---> Running in 6ad3b9cfb293 16:03:53 Removing intermediate container 6ad3b9cfb293 16:03:53 ---> 28bae7c60dcb 16:03:53 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:03:53 ---> Running in 4b960ae7b75c 16:03:53 Removing intermediate container 4b960ae7b75c 16:03:53 ---> b41ffe22d9f7 16:03:53 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:03:53 ---> Running in 933c955f72cf 16:03:54 Removing intermediate container 933c955f72cf 16:03:54 ---> c18ce237f786 16:03:54 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:03:54 ---> Running in 055aac7b3f69 16:03:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:03:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:03:57 OK: 263 MiB in 53 packages 16:03:58 Removing intermediate container 055aac7b3f69 16:03:58 ---> 44ad4a20aba7 16:03:58 Step 9/26 : WORKDIR /device-onvif-camera 16:03:58 ---> Running in 7c38e3fa411d 16:03:59 Removing intermediate container 7c38e3fa411d 16:03:59 ---> 6ad723fe94f6 16:03:59 Step 10/26 : COPY go.mod vendor* ./ 16:03:59 ---> 112a8e749a0d 16:03:59 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:03:59 ---> Running in 4ff256548ad3 16:04:02 Removing intermediate container 4ff256548ad3 16:04:02 ---> bcbfb5569cd8 16:04:02 Step 12/26 : COPY . . 16:04:04 ---> 647bd54a4e5e 16:04:04 Step 13/26 : RUN ${MAKE} 16:04:04 ---> Running in 0de32a944249 16:04:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.27" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 16:06:42 Removing intermediate container 0de32a944249 16:06:42 ---> f563f3a4cde8 16:06:42 Step 14/26 : FROM alpine:3.17 16:06:42 3.17: Pulling from library/alpine 16:06:42 c41833b44d91: Pulling fs layer 16:06:42 c41833b44d91: Verifying Checksum 16:06:42 c41833b44d91: Download complete 16:06:43 c41833b44d91: Pull complete 16:06:43 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:06:43 Status: Downloaded newer image for alpine:3.17 16:06:43 ---> 51e60588ff2c 16:06:43 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:06:43 ---> Running in 0a02d7ea9c17 16:06:44 Removing intermediate container 0a02d7ea9c17 16:06:44 ---> 94d9c21232ef 16:06:44 Step 16/26 : RUN apk add --update --no-cache dumb-init 16:06:44 ---> Running in abcc25b9c4e1 16:06:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:06:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:06:47 (1/1) Installing dumb-init (1.2.5-r2) 16:06:47 Executing busybox-1.35.0-r29.trigger 16:06:47 OK: 8 MiB in 16 packages 16:06:47 Removing intermediate container abcc25b9c4e1 16:06:47 ---> 00cf18b9933d 16:06:47 Step 17/26 : WORKDIR / 16:06:48 ---> Running in 468e9ae27da9 16:06:48 Removing intermediate container 468e9ae27da9 16:06:48 ---> a2696fc19913 16:06:48 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:06:49 ---> 584550dcdacd 16:06:49 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:06:50 ---> 96f631839dc4 16:06:50 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:06:51 ---> d57f60b2f7fc 16:06:51 Step 21/26 : EXPOSE 59984 16:06:51 ---> Running in 73b26cd789f0 16:06:51 Removing intermediate container 73b26cd789f0 16:06:51 ---> c294ce75b71c 16:06:51 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:06:51 ---> Running in 3169769913ab 16:06:51 Removing intermediate container 3169769913ab 16:06:51 ---> f70e7ce002db 16:06:51 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:06:51 ---> Running in 98e50cb1c1f8 16:06:52 Removing intermediate container 98e50cb1c1f8 16:06:52 ---> e8e9bf4ed4ff 16:06:52 Step 24/26 : LABEL arch=arm64 16:06:52 ---> Running in 30b0d22158c6 16:06:52 Removing intermediate container 30b0d22158c6 16:06:52 ---> 2f1023bb2868 16:06:52 Step 25/26 : LABEL git_sha=5c7909d1b5ebfe861b0cb262d6892a9f2879389b 16:06:52 ---> Running in dbb85ff80c8f 16:06:52 Removing intermediate container dbb85ff80c8f 16:06:52 ---> 35f507ca0106 16:06:52 Step 26/26 : LABEL version=3.0.0-dev.27 16:06:52 ---> Running in f50195d1eff0 16:06:53 Removing intermediate container f50195d1eff0 16:06:53 ---> 79c516f03a63 16:06:53 [Warning] One or more build-args [ARCH] were not consumed 16:06:53 Successfully built 79c516f03a63 16:06:53 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 16:06:53 provisioning config files... 16:06:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/121@tmp/config1302545676128237835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:06:53 ---> docker-login.sh 16:06:53 nexus3.edgexfoundry.org:10001 16:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:54 Configure a credential helper to remove this warning. See 16:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:54 16:06:54 Login Succeeded 16:06:54 nexus3.edgexfoundry.org:10002 16:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:54 Configure a credential helper to remove this warning. See 16:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:54 16:06:54 Login Succeeded 16:06:54 nexus3.edgexfoundry.org:10003 16:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:55 Configure a credential helper to remove this warning. See 16:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:55 16:06:55 Login Succeeded 16:06:55 nexus3.edgexfoundry.org:10004 16:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:55 Configure a credential helper to remove this warning. See 16:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:55 16:06:55 Login Succeeded 16:06:55 docker.io 16:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:06:56 Configure a credential helper to remove this warning. See 16:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:06:56 16:06:56 Login Succeeded 16:06:56 ---> docker-login.sh ends [Pipeline] } 16:06:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:06:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:06:56 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 16:06:56 5c7909d1b5ebfe861b0cb262d6892a9f2879389b 16:06:56 latest 16:06:56 3.0.0-dev.27 16:06:56 5c7909d1b5ebfe861b0cb262d6892a9f2879389b-3.0.0-dev.27 16:06:56 main 16:06:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:56 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5c7909d1b5ebfe861b0cb262d6892a9f2879389b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5c7909d1b5ebfe861b0cb262d6892a9f2879389b 16:06:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:06:56 a83a67df9d43: Preparing 16:06:56 58256470cd28: Preparing 16:06:56 9e14394ced36: Preparing 16:06:56 ee754aa7a428: Preparing 16:06:56 26cbea5cba74: Preparing 16:06:56 26cbea5cba74: Layer already exists 16:06:57 a83a67df9d43: Pushed 16:06:57 58256470cd28: Pushed 16:06:57 ee754aa7a428: Pushed 16:07:02 9e14394ced36: Pushed 16:07:02 5c7909d1b5ebfe861b0cb262d6892a9f2879389b: digest: sha256:1f04d1912e88c17dd9db79e090fdaf3971739874ebefc002311fbfec3c626312 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:02 + 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 16:07:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 16:07:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:07:03 a83a67df9d43: Preparing 16:07:03 58256470cd28: Preparing 16:07:03 9e14394ced36: Preparing 16:07:03 ee754aa7a428: Preparing 16:07:03 26cbea5cba74: Preparing 16:07:03 26cbea5cba74: Layer already exists 16:07:03 58256470cd28: Layer already exists 16:07:03 ee754aa7a428: Layer already exists 16:07:03 9e14394ced36: Layer already exists 16:07:03 a83a67df9d43: Layer already exists 16:07:03 latest: digest: sha256:1f04d1912e88c17dd9db79e090fdaf3971739874ebefc002311fbfec3c626312 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:03 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.27 16:07:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:07:04 a83a67df9d43: Preparing 16:07:04 58256470cd28: Preparing 16:07:04 9e14394ced36: Preparing 16:07:04 ee754aa7a428: Preparing 16:07:04 26cbea5cba74: Preparing 16:07:04 ee754aa7a428: Layer already exists 16:07:04 a83a67df9d43: Layer already exists 16:07:04 9e14394ced36: Layer already exists 16:07:04 26cbea5cba74: Layer already exists 16:07:04 58256470cd28: Layer already exists 16:07:04 3.0.0-dev.27: digest: sha256:1f04d1912e88c17dd9db79e090fdaf3971739874ebefc002311fbfec3c626312 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:04 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5c7909d1b5ebfe861b0cb262d6892a9f2879389b-3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5c7909d1b5ebfe861b0cb262d6892a9f2879389b-3.0.0-dev.27 16:07:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:07:05 a83a67df9d43: Preparing 16:07:05 58256470cd28: Preparing 16:07:05 9e14394ced36: Preparing 16:07:05 ee754aa7a428: Preparing 16:07:05 26cbea5cba74: Preparing 16:07:05 a83a67df9d43: Layer already exists 16:07:05 58256470cd28: Layer already exists 16:07:05 9e14394ced36: Layer already exists 16:07:05 ee754aa7a428: Layer already exists 16:07:05 26cbea5cba74: Layer already exists 16:07:05 5c7909d1b5ebfe861b0cb262d6892a9f2879389b-3.0.0-dev.27: digest: sha256:1f04d1912e88c17dd9db79e090fdaf3971739874ebefc002311fbfec3c626312 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:05 + 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 16:07:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 16:07:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:07:06 a83a67df9d43: Preparing 16:07:06 58256470cd28: Preparing 16:07:06 9e14394ced36: Preparing 16:07:06 ee754aa7a428: Preparing 16:07:06 26cbea5cba74: Preparing 16:07:06 58256470cd28: Layer already exists 16:07:06 ee754aa7a428: Layer already exists 16:07:06 a83a67df9d43: Layer already exists 16:07:06 9e14394ced36: Layer already exists 16:07:06 26cbea5cba74: Layer already exists 16:07:06 main: digest: sha256:1f04d1912e88c17dd9db79e090fdaf3971739874ebefc002311fbfec3c626312 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:07:06 ===================================================== [Pipeline] echo 16:07:06 taggedImages: 16:07:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5c7909d1b5ebfe861b0cb262d6892a9f2879389b 16:07:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 16:07:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.27 16:07:06 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5c7909d1b5ebfe861b0cb262d6892a9f2879389b-3.0.0-dev.27 16:07:06 - 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 16:07:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:06 16:07:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:07 arm64: Pulling from edgex-lftools-log-publisher 16:07:07 8998bd30e6a1: Pulling fs layer 16:07:07 04944245beec: Pulling fs layer 16:07:07 699f458cf7ca: Pulling fs layer 16:07:07 765212b225bb: Pulling fs layer 16:07:07 f23df028b6ca: Pulling fs layer 16:07:07 d65c8cfc05b1: Pulling fs layer 16:07:07 2437ff75d9bd: Pulling fs layer 16:07:07 f23df028b6ca: Waiting 16:07:07 765212b225bb: Waiting 16:07:07 d65c8cfc05b1: Waiting 16:07:07 2437ff75d9bd: Waiting 16:07:07 04944245beec: Verifying Checksum 16:07:07 04944245beec: Download complete 16:07:07 765212b225bb: Verifying Checksum 16:07:07 765212b225bb: Download complete 16:07:07 f23df028b6ca: Verifying Checksum 16:07:07 f23df028b6ca: Download complete 16:07:07 d65c8cfc05b1: Verifying Checksum 16:07:07 d65c8cfc05b1: Download complete 16:07:07 699f458cf7ca: Verifying Checksum 16:07:07 699f458cf7ca: Download complete 16:07:08 8998bd30e6a1: Verifying Checksum 16:07:08 8998bd30e6a1: Download complete 16:07:10 2437ff75d9bd: Verifying Checksum 16:07:10 2437ff75d9bd: Download complete 16:07:12 8998bd30e6a1: Pull complete 16:07:12 04944245beec: Pull complete 16:07:13 699f458cf7ca: Pull complete 16:07:14 765212b225bb: Pull complete 16:07:15 f23df028b6ca: Pull complete 16:07:15 d65c8cfc05b1: Pull complete 16:07:30 2437ff75d9bd: Pull complete 16:07:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:07:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:30 prd-ubuntu20.04-docker-arm64-4c-16g-6711 does not seem to be running inside a container 16:07:30 $ 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/121 -v /w/workspace/device-onvif-camera/121:/w/workspace/device-onvif-camera/121:rw,z -v /w/workspace/device-onvif-camera/121@tmp:/w/workspace/device-onvif-camera/121@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 16:07:32 $ docker top 197d56828dca170979551b27eab720912786c8c426eddff72e16187d0869e3e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:33 ---> job-cost.sh 16:07:33 lf-activate-venv: SKIPPING 16:07:33 INFO: No Stack... 16:07:34 INFO: Retrieving Pricing Info for: v3-standard-4 16:07:35 INFO: Archiving Costs [Pipeline] sh 16:07:35 + cat /w/workspace/device-onvif-camera/121/archives/cost.csv 16:07:35 + cut -d, -f6 [Pipeline] lock 16:07:35 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-121-stack-cost] 16:07:35 Resource [jenkins-edgexfoundry-device-onvif-camera-main-121-stack-cost] did not exist. Created. 16:07:35 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:07:35 /w/workspace/device-onvif-camera/121@tmp/durable-98071392/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:07:36 + echo total: 0.10999999940395355 [Pipeline] stash 16:07:36 Warning: overwriting stash ‘stack-cost’ 16:07:36 Stashed 1 file(s) [Pipeline] } 16:07:36 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-121-stack-cost] [Pipeline] // lock [Pipeline] } 16:07:36 $ docker stop --time=1 197d56828dca170979551b27eab720912786c8c426eddff72e16187d0869e3e8 16:07:37 $ docker rm -f --volumes 197d56828dca170979551b27eab720912786c8c426eddff72e16187d0869e3e8 [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 16:07:38 provisioning config files... 16:07:38 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18010433043758783984tmp [Pipeline] { [Pipeline] sh 16:07:38 + set +x 16:07:38 + bash -s -- 16:07:38 + curl -s https://codecov.io/bash 16:07:38 16:07:38 _____ _ 16:07:38 / ____| | | 16:07:38 | | ___ __| | ___ ___ _____ __ 16:07:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:07:38 | |___| (_) | (_| | __/ (_| (_) \ V / 16:07:38 \_____\___/ \__,_|\___|\___\___/ \_/ 16:07:38 Bash-1.0.6 16:07:38 16:07:38 16:07:38 ==> git version 2.25.1 found 16:07:38 ==> 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 16:07:38 Release-Date: 2020-01-08 16:07:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:07:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:07:38 ==> Jenkins CI detected. 16:07:38 current dir:  /w/workspace/foundry_device-onvif-camera_main 16:07:38 project root: . 16:07:38 --> token set from env 16:07:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:07:38 ==> Running gcov in . (disable via -X gcov) 16:07:38 ==> Python coveragepy not found 16:07:38 ==> Searching for coverage reports in: 16:07:38 + . 16:07:38 -> Found 1 reports 16:07:38 ==> Detecting git/mercurial file structure 16:07:38 ==> Reading reports 16:07:38 + ./coverage.out bytes=78485 16:07:38 ==> Appending adjustments 16:07:38 https://docs.codecov.io/docs/fixing-reports 16:07:38 + Found adjustments 16:07:38 ==> Gzipping contents 16:07:38 12K /tmp/codecov.jt1idX.gz 16:07:38 ==> Uploading reports 16:07:38 url: https://codecov.io 16:07:38 query: branch=main&commit=5c7909d1b5ebfe861b0cb262d6892a9f2879389b&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:07:38 -> Pinging Codecov 16:07:38 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=5c7909d1b5ebfe861b0cb262d6892a9f2879389b&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:07:38 -> Uploading to 16:07:38 https://storage.googleapis.com/codecov/v4/raw/2023-04-03/F29A59C45E3A92E06B3E522C9905F8EF/5c7909d1b5ebfe861b0cb262d6892a9f2879389b/8b056c06-4107-4842-bc05-226a93884009.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230403%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230403T160738Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1dc3784e7cfcac4102e4dc6cc4f3d9ace9c7e02e7d86fb59628e5caa7f45c99 16:07:38 % Total % Received % Xferd Average Speed Time Time Time Current 16:07:38 Dload Upload Total Spent Left Speed 16:07:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10464 0 0 100 10464 0 35835 --:--:-- --:--:-- --:--:-- 35958 16:07:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/5c7909d1b5ebfe861b0cb262d6892a9f2879389b [Pipeline] } 16:07:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:07:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:07:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:07:39 16:07:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:07:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:07:39 df9b9388f04a: Pulling fs layer 16:07:39 52dc419b0ee2: Pulling fs layer 16:07:39 25bc292e5bac: Pulling fs layer 16:07:39 114826534d7a: Pulling fs layer 16:07:39 4657fd5d0bcf: Pulling fs layer 16:07:39 6ad1cebc031e: Pulling fs layer 16:07:39 8a3aa393b2d8: Pulling fs layer 16:07:39 4657fd5d0bcf: Waiting 16:07:39 6ad1cebc031e: Waiting 16:07:39 8a3aa393b2d8: Waiting 16:07:39 114826534d7a: Waiting 16:07:39 25bc292e5bac: Download complete 16:07:39 52dc419b0ee2: Verifying Checksum 16:07:39 52dc419b0ee2: Download complete 16:07:39 4657fd5d0bcf: Verifying Checksum 16:07:39 4657fd5d0bcf: Download complete 16:07:39 df9b9388f04a: Verifying Checksum 16:07:39 df9b9388f04a: Download complete 16:07:40 6ad1cebc031e: Verifying Checksum 16:07:40 6ad1cebc031e: Download complete 16:07:40 df9b9388f04a: Pull complete 16:07:40 52dc419b0ee2: Pull complete 16:07:40 25bc292e5bac: Pull complete 16:07:40 114826534d7a: Verifying Checksum 16:07:40 114826534d7a: Download complete 16:07:40 8a3aa393b2d8: Verifying Checksum 16:07:40 8a3aa393b2d8: Download complete 16:07:44 114826534d7a: Pull complete 16:07:44 4657fd5d0bcf: Pull complete 16:07:44 6ad1cebc031e: Pull complete 16:07:46 8a3aa393b2d8: Pull complete 16:07:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:07:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:07:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:46 prd-ubuntu20.04-docker-8c-8g-6705 does not seem to be running inside a container 16:07:46 $ 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 16:07:49 $ docker top aa026ccd202a34ec4a7d6951a1ce98fe95b51ddedc030a387b41959b4e3c9b5e -eo pid,comm [Pipeline] { [Pipeline] echo 16:07:49 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 16:07:49 + set -o pipefail 16:07:49 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 16:07:57 16:07:57 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 16:07:57 16:07:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/c9c5abaf-16c7-4785-8bc6-5fd80096a3a8 16:07:57 16:07:57 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 16:07:57 16:07:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:07:57 16:07:57 16:07:57 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:07:57 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:07:57 More details here: https://snyk.co/ue1NS [Pipeline] } 16:07:57 $ docker stop --time=1 aa026ccd202a34ec4a7d6951a1ce98fe95b51ddedc030a387b41959b4e3c9b5e 16:07:59 $ docker rm -f --volumes aa026ccd202a34ec4a7d6951a1ce98fe95b51ddedc030a387b41959b4e3c9b5e [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 16:08:00 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:08:00 provisioning config files... 16:08:00 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15360924880210869885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:00 --> edgex-publish-swagger.sh 16:08:00 === Publish doc/openapi/v2 API === 16:08:00 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 16:08:00 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 16:08:00 % Total % Received % Xferd Average Speed Time Time Time Current 16:08:00 Dload Upload Total Spent Left Speed 16:08:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 3726k --:--:-- --:--:-- --:--:-- 3697k 100 469k 0 0 100 469k 0 672k --:--:-- --:--:-- --:--:-- 671k 16:08:01 16:08:01 [Pipeline] } 16:08:01 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 16:08:01 + git log --format=format:%s -1 5c7909d1b5ebfe861b0cb262d6892a9f2879389b [Pipeline] sh 16:08:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:02 prd-ubuntu20.04-docker-8c-8g-6705 does not seem to be running inside a container 16:08:02 $ 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 16:08:02 $ docker top 160c4bf11952c59f862bacd80b31b9b2011dc77137be158bbe662a4aea33c11e -eo pid,comm 16:08:02 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). 16:08:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:02 [ssh-agent] Looking for ssh-agent implementation... 16:08:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:02 $ docker exec 160c4bf11952c59f862bacd80b31b9b2011dc77137be158bbe662a4aea33c11e ssh-agent 16:08:03 SSH_AUTH_SOCK=/tmp/ssh-ekH8URSf3OvJ/agent.32 16:08:03 SSH_AGENT_PID=39 16:08:03 Running ssh-add (command line suppressed) 16:08:03 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13134585523663182383.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13134585523663182383.key) 16:08:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:03 + git semver tag 16:08:03 2023-04-03 16:08:03,659 [run_tag] DEBUG tag force:False 16:08:03 2023-04-03 16:08:03,659 [check_head_tag] DEBUG check head tag 16:08:03 2023-04-03 16:08:03,663 [execute] INFO git cat-file --batch-check 16:08:03 2023-04-03 16:08:03,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 16:08:03 2023-04-03 16:08:03,667 [execute] INFO git cat-file --batch 16:08:03 2023-04-03 16:08:03,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 16:08:03 2023-04-03 16:08:03,696 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:08:03 2023-04-03 16:08:03,696 [execute] INFO git tag -a v3.0.0-dev.27 -m v3.0.0-dev.27 16:08:03 2023-04-03 16:08:03,697 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.27', '-m', 'v3.0.0-dev.27'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 16:08:03 2023-04-03 16:08:03,700 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:08:03 3.0.0-dev.27 [Pipeline] } 16:08:03 $ docker exec --env ******** --env ******** 160c4bf11952c59f862bacd80b31b9b2011dc77137be158bbe662a4aea33c11e ssh-agent -k 16:08:03 unset SSH_AUTH_SOCK; 16:08:03 unset SSH_AGENT_PID; 16:08:03 echo Agent pid 39 killed; 16:08:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:04 + git semver [Pipeline] } 16:08:04 $ docker stop --time=1 160c4bf11952c59f862bacd80b31b9b2011dc77137be158bbe662a4aea33c11e 16:08:05 $ docker rm -f --volumes 160c4bf11952c59f862bacd80b31b9b2011dc77137be158bbe662a4aea33c11e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:06 16:08:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:06 0.23.1-centos7: Pulling from edgex-lftools 16:08:06 ab5ef0e58194: Pulling fs layer 16:08:06 9712f1f96733: Pulling fs layer 16:08:06 63f879dbbcfc: Pulling fs layer 16:08:06 0d9ebad4ef96: Pulling fs layer 16:08:06 e9a5061849ea: Pulling fs layer 16:08:06 d747dcd14b5f: Pulling fs layer 16:08:06 2de7ff778b66: Pulling fs layer 16:08:06 0d9ebad4ef96: Waiting 16:08:06 e9a5061849ea: Waiting 16:08:06 d747dcd14b5f: Waiting 16:08:06 2de7ff778b66: Waiting 16:08:06 9712f1f96733: Verifying Checksum 16:08:06 9712f1f96733: Download complete 16:08:07 63f879dbbcfc: Verifying Checksum 16:08:07 63f879dbbcfc: Download complete 16:08:07 0d9ebad4ef96: Verifying Checksum 16:08:07 0d9ebad4ef96: Download complete 16:08:07 e9a5061849ea: Verifying Checksum 16:08:07 e9a5061849ea: Download complete 16:08:07 ab5ef0e58194: Verifying Checksum 16:08:07 ab5ef0e58194: Download complete 16:08:07 2de7ff778b66: Verifying Checksum 16:08:07 2de7ff778b66: Download complete 16:08:09 ab5ef0e58194: Pull complete 16:08:09 9712f1f96733: Pull complete 16:08:10 63f879dbbcfc: Pull complete 16:08:14 0d9ebad4ef96: Pull complete 16:08:14 e9a5061849ea: Pull complete 16:08:14 d747dcd14b5f: Pull complete 16:08:15 2de7ff778b66: Pull complete 16:08:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:08:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:15 prd-ubuntu20.04-docker-8c-8g-6705 does not seem to be running inside a container 16:08:15 $ 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 16:08:17 $ docker top 19d59f96d6648a67fa0def376a98ab5e94607612835fb15a76fdb6e3da313d34 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:08:17 provisioning config files... 16:08:17 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17143730175495088359tmp 16:08:17 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9127277335351907856tmp 16:08:17 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12175545831682336904tmp [Pipeline] { [Pipeline] echo 16:08:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:08:18 ---> sigul-configuration.sh 16:08:18 gpg: directory `/root/.gnupg' created 16:08:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:08:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:08:18 gpg: keyring `/root/.gnupg/secring.gpg' created 16:08:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:08:18 gpg: CAST5 encrypted data 16:08:18 gpg: encrypted with 1 passphrase 16:08:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:08:18 + mkdir /home/jenkins 16:08:18 + mkdir /home/jenkins/sigul [Pipeline] sh 16:08:18 + 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 16:08:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:08:18 ---> sigul-install.sh 16:08:18 Sigul already installed; skipping installation. [Pipeline] sh 16:08:19 + git tag --list 16:08:19 v0.0.0 16:08:19 v0.0.1-dev.1 16:08:19 v0.0.1-dev.10 16:08:19 v0.0.1-dev.11 16:08:19 v0.0.1-dev.12 16:08:19 v0.0.1-dev.13 16:08:19 v0.0.1-dev.14 16:08:19 v0.0.1-dev.15 16:08:19 v0.0.1-dev.16 16:08:19 v0.0.1-dev.17 16:08:19 v0.0.1-dev.18 16:08:19 v0.0.1-dev.19 16:08:19 v0.0.1-dev.2 16:08:19 v0.0.1-dev.20 16:08:19 v0.0.1-dev.21 16:08:19 v0.0.1-dev.22 16:08:19 v0.0.1-dev.23 16:08:19 v0.0.1-dev.24 16:08:19 v0.0.1-dev.25 16:08:19 v0.0.1-dev.26 16:08:19 v0.0.1-dev.27 16:08:19 v0.0.1-dev.28 16:08:19 v0.0.1-dev.3 16:08:19 v0.0.1-dev.4 16:08:19 v0.0.1-dev.5 16:08:19 v0.0.1-dev.6 16:08:19 v0.0.1-dev.7 16:08:19 v0.0.1-dev.8 16:08:19 v0.0.1-dev.9 16:08:19 v2.2.0 16:08:19 v2.2.0-dev.29 16:08:19 v2.2.0-dev.30 16:08:19 v2.2.0-dev.31 16:08:19 v2.2.0-dev.32 16:08:19 v2.2.0-dev.33 16:08:19 v2.2.0-dev.34 16:08:19 v2.2.0-dev.35 16:08:19 v2.3.0 16:08:19 v2.3.0-dev.1 16:08:19 v2.3.0-dev.10 16:08:19 v2.3.0-dev.11 16:08:19 v2.3.0-dev.12 16:08:19 v2.3.0-dev.13 16:08:19 v2.3.0-dev.14 16:08:19 v2.3.0-dev.15 16:08:19 v2.3.0-dev.16 16:08:19 v2.3.0-dev.17 16:08:19 v2.3.0-dev.18 16:08:19 v2.3.0-dev.19 16:08:19 v2.3.0-dev.2 16:08:19 v2.3.0-dev.20 16:08:19 v2.3.0-dev.21 16:08:19 v2.3.0-dev.22 16:08:19 v2.3.0-dev.23 16:08:19 v2.3.0-dev.24 16:08:19 v2.3.0-dev.25 16:08:19 v2.3.0-dev.26 16:08:19 v2.3.0-dev.27 16:08:19 v2.3.0-dev.28 16:08:19 v2.3.0-dev.29 16:08:19 v2.3.0-dev.3 16:08:19 v2.3.0-dev.30 16:08:19 v2.3.0-dev.31 16:08:19 v2.3.0-dev.32 16:08:19 v2.3.0-dev.33 16:08:19 v2.3.0-dev.34 16:08:19 v2.3.0-dev.35 16:08:19 v2.3.0-dev.36 16:08:19 v2.3.0-dev.37 16:08:19 v2.3.0-dev.38 16:08:19 v2.3.0-dev.39 16:08:19 v2.3.0-dev.4 16:08:19 v2.3.0-dev.40 16:08:19 v2.3.0-dev.41 16:08:19 v2.3.0-dev.42 16:08:19 v2.3.0-dev.43 16:08:19 v2.3.0-dev.44 16:08:19 v2.3.0-dev.45 16:08:19 v2.3.0-dev.5 16:08:19 v2.3.0-dev.6 16:08:19 v2.3.0-dev.7 16:08:19 v2.3.0-dev.8 16:08:19 v2.3.0-dev.9 16:08:19 v2.3.1 16:08:19 v2.3.1-dev.1 16:08:19 v2.3.1-dev.4 16:08:19 v2.3.1-dev.5 16:08:19 v3.0.0-dev.1 16:08:19 v3.0.0-dev.10 16:08:19 v3.0.0-dev.11 16:08:19 v3.0.0-dev.12 16:08:19 v3.0.0-dev.13 16:08:19 v3.0.0-dev.14 16:08:19 v3.0.0-dev.15 16:08:19 v3.0.0-dev.16 16:08:19 v3.0.0-dev.17 16:08:19 v3.0.0-dev.18 16:08:19 v3.0.0-dev.19 16:08:19 v3.0.0-dev.2 16:08:19 v3.0.0-dev.20 16:08:19 v3.0.0-dev.21 16:08:19 v3.0.0-dev.22 16:08:19 v3.0.0-dev.23 16:08:19 v3.0.0-dev.24 16:08:19 v3.0.0-dev.25 16:08:19 v3.0.0-dev.26 16:08:19 v3.0.0-dev.27 16:08:19 v3.0.0-dev.3 16:08:19 v3.0.0-dev.4 16:08:19 v3.0.0-dev.5 16:08:19 v3.0.0-dev.6 16:08:19 v3.0.0-dev.7 16:08:19 v3.0.0-dev.8 16:08:19 v3.0.0-dev.9 [Pipeline] sh 16:08:19 + lftools sign git-tag v3.0.0-dev.27 16:08:20 Signing Git tag with Sigul... 16:08:20 Signing v3.0.0-dev.27 [Pipeline] echo 16:08:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:08:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:08:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:08:20 $ docker stop --time=1 19d59f96d6648a67fa0def376a98ab5e94607612835fb15a76fdb6e3da313d34 16:08:22 $ docker rm -f --volumes 19d59f96d6648a67fa0def376a98ab5e94607612835fb15a76fdb6e3da313d34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:08:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:22 prd-ubuntu20.04-docker-8c-8g-6705 does not seem to be running inside a container 16:08:22 $ 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 16:08:23 $ docker top 69cdf7cf5be53cd64f5bf1dff71b5315832ad9414170c5f3e6c601dfddc8ef97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:23 [ssh-agent] Looking for ssh-agent implementation... 16:08:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:23 $ docker exec 69cdf7cf5be53cd64f5bf1dff71b5315832ad9414170c5f3e6c601dfddc8ef97 ssh-agent 16:08:23 SSH_AUTH_SOCK=/tmp/ssh-AMND1ynhnOAR/agent.31 16:08:23 SSH_AGENT_PID=37 16:08:23 Running ssh-add (command line suppressed) 16:08:23 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10048765473785990352.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10048765473785990352.key) 16:08:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:23 + git semver bump pre 16:08:24 2023-04-03 16:08:24,113 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:08:24 2023-04-03 16:08:24,113 [bump_version] DEBUG bumping version:3.0.0-dev.27 on axis:pre with prefix:dev 16:08:24 2023-04-03 16:08:24,113 [bump_version] DEBUG bumped version:3.0.0-dev.28 16:08:24 2023-04-03 16:08:24,113 [write_version] DEBUG write version:3.0.0-dev.28 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 16:08:24 2023-04-03 16:08:24,113 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:08:24 2023-04-03 16:08:24,113 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 16:08:24 2023-04-03 16:08:24,115 [execute] INFO git cat-file --batch-check 16:08:24 2023-04-03 16:08:24,115 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:08:24 2023-04-03 16:08:24,120 [execute] INFO git cat-file --batch 16:08:24 2023-04-03 16:08:24,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:08:24 2023-04-03 16:08:24,125 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:08:24 3.0.0-dev.28 [Pipeline] } 16:08:24 $ docker exec --env ******** --env ******** 69cdf7cf5be53cd64f5bf1dff71b5315832ad9414170c5f3e6c601dfddc8ef97 ssh-agent -k 16:08:24 unset SSH_AUTH_SOCK; 16:08:24 unset SSH_AGENT_PID; 16:08:24 echo Agent pid 37 killed; 16:08:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:24 + git semver [Pipeline] } 16:08:24 $ docker stop --time=1 69cdf7cf5be53cd64f5bf1dff71b5315832ad9414170c5f3e6c601dfddc8ef97 16:08:26 $ docker rm -f --volumes 69cdf7cf5be53cd64f5bf1dff71b5315832ad9414170c5f3e6c601dfddc8ef97 [Pipeline] // withDockerContainer [Pipeline] sh 16:08:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:26 prd-ubuntu20.04-docker-8c-8g-6705 does not seem to be running inside a container 16:08:26 $ 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 16:08:27 $ docker top 8031c67eabe0485697b8da7452b88c7756276c6e08d0afa0d76eac52e6c9de55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:27 [ssh-agent] Looking for ssh-agent implementation... 16:08:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:27 $ docker exec 8031c67eabe0485697b8da7452b88c7756276c6e08d0afa0d76eac52e6c9de55 ssh-agent 16:08:27 SSH_AUTH_SOCK=/tmp/ssh-O4JZ9laS8oRs/agent.32 16:08:27 SSH_AGENT_PID=38 16:08:27 Running ssh-add (command line suppressed) 16:08:27 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17444594655962390689.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17444594655962390689.key) 16:08:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:28 + git semver push 16:08:28 2023-04-03 16:08:28,248 [run_push] DEBUG push 16:08:28 2023-04-03 16:08:28,249 [execute] INFO git cat-file --batch-check 16:08:28 2023-04-03 16:08:28,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:08:28 2023-04-03 16:08:28,253 [execute] INFO git rev-list 4b1fd4c89ab2268589ef9211630cad0e6700a5e4 -- 16:08:28 2023-04-03 16:08:28,253 [execute] DEBUG Popen(['git', 'rev-list', '4b1fd4c89ab2268589ef9211630cad0e6700a5e4', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:08:28 2023-04-03 16:08:28,260 [execute] INFO git fetch -v origin 16:08:28 2023-04-03 16:08:28,260 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 16:08:28 2023-04-03 16:08:28,720 [run_push] DEBUG no remote changes detected 16:08:28 2023-04-03 16:08:28,720 [execute] INFO git push origin semver 16:08:28 2023-04-03 16:08:28,720 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:08:29 2023-04-03 16:08:29,474 [run_push] DEBUG push all version tags 16:08:29 2023-04-03 16:08:29,475 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:08:29 2023-04-03 16:08:29,475 [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) 16:08:30 2023-04-03 16:08:30,258 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:08:30 3.0.0-dev.28 [Pipeline] } 16:08:30 $ docker exec --env ******** --env ******** 8031c67eabe0485697b8da7452b88c7756276c6e08d0afa0d76eac52e6c9de55 ssh-agent -k 16:08:30 unset SSH_AUTH_SOCK; 16:08:30 unset SSH_AGENT_PID; 16:08:30 echo Agent pid 38 killed; 16:08:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:30 + git semver [Pipeline] } 16:08:31 $ docker stop --time=1 8031c67eabe0485697b8da7452b88c7756276c6e08d0afa0d76eac52e6c9de55 16:08:32 $ docker rm -f --volumes 8031c67eabe0485697b8da7452b88c7756276c6e08d0afa0d76eac52e6c9de55 [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 16:08:32 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 16:08:32 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 16:08:32 total 16 16:08:32 drwxr-xr-x 3 root root 4096 Apr 3 15:55 . 16:08:32 drwxrwxr-x 11 jenkins jenkins 4096 Apr 3 16:08 .. 16:08:32 drwxr-xr-x 2 root root 4096 Apr 3 15:55 cost 16:08:32 -rw-r--r-- 1 root root 91 Apr 3 15:55 cost.csv 16:08:32 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 16:08:32 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 16:08:32 total 16 16:08:32 drwxr-xr-x 3 jenkins jenkins 4096 Apr 3 15:55 . 16:08:32 drwxrwxr-x 11 jenkins jenkins 4096 Apr 3 16:08 .. 16:08:32 drwxr-xr-x 2 jenkins jenkins 4096 Apr 3 15:55 cost 16:08:32 -rw-r--r-- 1 jenkins jenkins 91 Apr 3 15:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:08:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:08:34 ---> package-listing.sh 16:08:34 ++ facter osfamily 16:08:34 ++ tr '[:upper:]' '[:lower:]' 16:08:34 + OS_FAMILY=debian 16:08:34 + workspace=/w/workspace/foundry_device-onvif-camera_main 16:08:34 + START_PACKAGES=/tmp/packages_start.txt 16:08:34 + END_PACKAGES=/tmp/packages_end.txt 16:08:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:08:34 + PACKAGES=/tmp/packages_start.txt 16:08:34 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 16:08:34 + PACKAGES=/tmp/packages_end.txt 16:08:34 + case "${OS_FAMILY}" in 16:08:34 + dpkg -l 16:08:34 + grep '^ii' 16:08:34 + '[' -f /tmp/packages_start.txt ']' 16:08:34 + '[' -f /tmp/packages_end.txt ']' 16:08:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:08:34 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 16:08:34 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 16:08:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 16:08:34 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 16:08:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:35 prd-ubuntu20.04-docker-8c-8g-6705 does not seem to be running inside a container 16:08:35 $ 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 16:08:35 $ docker top 3c49bcb667220f9bba72097a289558ca213a8d8ebbe8f62a8f9b2bc07257339b -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:36 + touch /tmp/pre-build-complete [Pipeline] sh 16:08:36 + mkdir -p /var/log/sysstat [Pipeline] sh 16:08:36 + ls /var/log/sa-host 16:08:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:08:36 provisioning config files... 16:08:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16662186990254949792tmp [Pipeline] { [Pipeline] echo 16:08:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:08:36 ---> create-netrc.sh [Pipeline] } 16:08:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:08:37 ---> python-tools-install.sh [Pipeline] echo 16:08:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:08:37 ---> sudo-logs.sh 16:08:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:08:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:08:37 ---> job-cost.sh 16:08:37 lf-activate-venv: SKIPPING 16:08:37 DEBUG: total: 0.2199999988079071 16:08:37 INFO: Retrieving Stack Cost... 16:08:38 INFO: Retrieving Pricing Info for: v3-standard-8 16:08:38 INFO: Archiving Costs [Pipeline] echo 16:08:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:08:39 ---> logs-deploy.sh 16:08:39 lf-activate-venv: SKIPPING 16:08:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/121 16:08:39 INFO: archiving workspace using pattern(s): 16:08:39 Archives upload complete. 16:08:39 INFO: archiving logs to Nexus