Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 650149e901bbd1d5d542720a605977f5c38beceb 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-ssh575383566559314935.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8377710903731857493.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10710528014593236074.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17904897677174456118.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-ssh10392758188380346995.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8661’ Running on prd-ubuntu20.04-docker-8c-8g-8663 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 650149e901bbd1d5d542720a605977f5c38beceb (main) Commit message: "refactor!: Removal of manual code to add provision watchers (#254)" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 650149e901bbd1d5d542720a605977f5c38beceb # timeout=10 > git rev-list --no-walk 5eec883b2bb43bf890ad540a9146487d6a3ec42a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:53:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:53:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:53:24 ========================================================= 22:53:24 EdgeX Global Pipelines Version Info 22:53:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:53:25 ------------------- 22:53:25 stable info: 22:53:25 ------------------- 22:53:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:53:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:53:25 Message: update stable to v1.0.244 22:53:25 ------------------- 22:53:25 experimental info: 22:53:25 ------------------- 22:53:25 Commited By: **** collab-it+edgex@linuxfoundation.org 22:53:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:53:25 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:53:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 650149e901bbd1d5d542720a605977f5c38beceb [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 650149e [Pipeline] echo 22:53:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:53:26 provisioning config files... 22:53:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7667333348220694778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:53:26 ---> docker-login.sh 22:53:26 nexus3.edgexfoundry.org:10001 22:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:26 Configure a credential helper to remove this warning. See 22:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:26 22:53:26 Login Succeeded 22:53:26 nexus3.edgexfoundry.org:10002 22:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:26 Configure a credential helper to remove this warning. See 22:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:26 22:53:26 Login Succeeded 22:53:26 nexus3.edgexfoundry.org:10003 22:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:27 Configure a credential helper to remove this warning. See 22:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:27 22:53:27 Login Succeeded 22:53:27 nexus3.edgexfoundry.org:10004 22:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:27 Configure a credential helper to remove this warning. See 22:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:27 22:53:27 Login Succeeded 22:53:27 docker.io 22:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:27 Configure a credential helper to remove this warning. See 22:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:27 22:53:27 Login Succeeded 22:53:27 ---> docker-login.sh ends [Pipeline] } 22:53:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:53:27 + git rev-list -1 --merges 650149e901bbd1d5d542720a605977f5c38beceb~1..650149e901bbd1d5d542720a605977f5c38beceb [Pipeline] echo 22:53:27 -----------> git rev-list -1 --merges 650149e901bbd1d5d542720a605977f5c38beceb~1..650149e901bbd1d5d542720a605977f5c38beceb 650149e901bbd1d5d542720a605977f5c38beceb [false] [Pipeline] sh 22:53:28 + git log --format=format:%s -1 650149e901bbd1d5d542720a605977f5c38beceb [Pipeline] echo 22:53:28 ========================================================= 22:53:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:53:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:53:28 + git log --format=format:%s -1 650149e901bbd1d5d542720a605977f5c38beceb [Pipeline] echo 22:53:28 [semverPrep] GIT_COMMIT: 650149e901bbd1d5d542720a605977f5c38beceb, Commit Message: refactor!: Removal of manual code to add provision watchers (#254) [Pipeline] echo 22:53:28 [semverPrep] This is not a build commit. [Pipeline] sh 22:53:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:53:28 + grep -v github /etc/ssh/ssh_known_hosts 22:53:28 + [ -e /tmp/ssh_known_hosts ] 22:53:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:53:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:53:28 + sudo tee -a /etc/ssh/ssh_known_hosts 22:53:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:53:29 22:53:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:53:29 0.1.4: Pulling from edgex-devops/py-git-semver 22:53:29 b85a868b505f: Pulling fs layer 22:53:29 e2be974225ed: Pulling fs layer 22:53:29 339a4e72a1f5: Pulling fs layer 22:53:29 988bab9f4d93: Pulling fs layer 22:53:29 1469e6f7b9e6: Pulling fs layer 22:53:29 eaf3925da568: Pulling fs layer 22:53:29 bab4dde63d76: Pulling fs layer 22:53:29 bde34c3a00c8: Pulling fs layer 22:53:29 b352a97aabf1: Pulling fs layer 22:53:29 4872d77fe225: Pulling fs layer 22:53:29 5851b861e8e6: Pulling fs layer 22:53:29 bab4dde63d76: Waiting 22:53:29 bde34c3a00c8: Waiting 22:53:29 b352a97aabf1: Waiting 22:53:29 4872d77fe225: Waiting 22:53:29 5851b861e8e6: Waiting 22:53:29 1469e6f7b9e6: Waiting 22:53:29 eaf3925da568: Waiting 22:53:29 e2be974225ed: Download complete 22:53:29 988bab9f4d93: Download complete 22:53:29 1469e6f7b9e6: Verifying Checksum 22:53:29 1469e6f7b9e6: Download complete 22:53:29 eaf3925da568: Download complete 22:53:29 339a4e72a1f5: Verifying Checksum 22:53:29 339a4e72a1f5: Download complete 22:53:29 bde34c3a00c8: Download complete 22:53:29 b352a97aabf1: Download complete 22:53:29 4872d77fe225: Verifying Checksum 22:53:29 4872d77fe225: Download complete 22:53:29 b85a868b505f: Verifying Checksum 22:53:29 b85a868b505f: Download complete 22:53:29 5851b861e8e6: Verifying Checksum 22:53:29 5851b861e8e6: Download complete 22:53:29 bab4dde63d76: Verifying Checksum 22:53:29 bab4dde63d76: Download complete 22:53:30 b85a868b505f: Pull complete 22:53:31 e2be974225ed: Pull complete 22:53:31 339a4e72a1f5: Pull complete 22:53:31 988bab9f4d93: Pull complete 22:53:31 1469e6f7b9e6: Pull complete 22:53:31 eaf3925da568: Pull complete 22:53:33 bab4dde63d76: Pull complete 22:53:33 bde34c3a00c8: Pull complete 22:53:33 b352a97aabf1: Pull complete 22:53:33 4872d77fe225: Pull complete 22:53:33 5851b861e8e6: Pull complete 22:53:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:53:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:53:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:53:33 prd-ubuntu20.04-docker-8c-8g-8663 does not seem to be running inside a container 22:53:33 $ 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 22:53:35 $ docker top ce441da8ef2c7312edc67dbccb948dba6653e41780ae8b6f011de010783fc1c0 -eo pid,comm 22:53:35 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). 22:53:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:53:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:53:35 [ssh-agent] Looking for ssh-agent implementation... 22:53:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:53:35 $ docker exec ce441da8ef2c7312edc67dbccb948dba6653e41780ae8b6f011de010783fc1c0 ssh-agent 22:53:35 SSH_AUTH_SOCK=/tmp/ssh-FswpAPbog9jA/agent.32 22:53:35 SSH_AGENT_PID=38 22:53:35 Running ssh-add (command line suppressed) 22:53:35 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15057707211727054968.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15057707211727054968.key) 22:53:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:53:35 + git tag --points-at HEAD [Pipeline] } 22:53:35 $ docker exec --env ******** --env ******** ce441da8ef2c7312edc67dbccb948dba6653e41780ae8b6f011de010783fc1c0 ssh-agent -k 22:53:36 unset SSH_AUTH_SOCK; 22:53:36 unset SSH_AGENT_PID; 22:53:36 echo Agent pid 38 killed; 22:53:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:53:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:53:36 [ssh-agent] Looking for ssh-agent implementation... 22:53:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:53:36 $ docker exec ce441da8ef2c7312edc67dbccb948dba6653e41780ae8b6f011de010783fc1c0 ssh-agent 22:53:36 SSH_AUTH_SOCK=/tmp/ssh-hzOfeQukOFUt/agent.70 22:53:36 SSH_AGENT_PID=76 22:53:36 Running ssh-add (command line suppressed) 22:53:36 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_593560616016303916.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_593560616016303916.key) 22:53:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:53:36 + git semver init 22:53:37 2023-03-07 22:53:36,960 [run_init] DEBUG init version:0.0.0 force:False 22:53:37 2023-03-07 22:53:36,962 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 22:53:37 2023-03-07 22:53:36,962 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 22:53:37 2023-03-07 22:53:36,963 [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) 22:53:37 2023-03-07 22:53:37,829 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 22:53:37 2023-03-07 22:53:37,829 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 22:53:37 2023-03-07 22:53:37,830 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:53:37 2023-03-07 22:53:37,830 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:53:37 3.0.0-dev.18 [Pipeline] } 22:53:37 $ docker exec --env ******** --env ******** ce441da8ef2c7312edc67dbccb948dba6653e41780ae8b6f011de010783fc1c0 ssh-agent -k 22:53:38 unset SSH_AUTH_SOCK; 22:53:38 unset SSH_AGENT_PID; 22:53:38 echo Agent pid 76 killed; 22:53:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:53:38 + git semver [Pipeline] } 22:53:38 $ docker stop --time=1 ce441da8ef2c7312edc67dbccb948dba6653e41780ae8b6f011de010783fc1c0 22:53:40 $ docker rm -f --volumes ce441da8ef2c7312edc67dbccb948dba6653e41780ae8b6f011de010783fc1c0 [Pipeline] // withDockerContainer [Pipeline] sh 22:53:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:53:40 Stashed 1 file(s) [Pipeline] echo 22:53:40 [edgeXSemver]: initialized semver on version 3.0.0-dev.18 [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 22:53:40 provisioning config files... 22:53:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11166872517722654695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:53:41 ---> docker-login.sh 22:53:41 nexus3.edgexfoundry.org:10001 22:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:41 Configure a credential helper to remove this warning. See 22:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:41 22:53:41 Login Succeeded 22:53:41 nexus3.edgexfoundry.org:10002 22:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:41 Configure a credential helper to remove this warning. See 22:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:41 22:53:41 Login Succeeded 22:53:41 nexus3.edgexfoundry.org:10003 22:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:41 Configure a credential helper to remove this warning. See 22:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:41 22:53:41 Login Succeeded 22:53:41 nexus3.edgexfoundry.org:10004 22:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:41 Configure a credential helper to remove this warning. See 22:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:41 22:53:41 Login Succeeded 22:53:41 docker.io 22:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:53:41 Configure a credential helper to remove this warning. See 22:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:53:41 22:53:41 Login Succeeded 22:53:41 ---> docker-login.sh ends [Pipeline] } 22:53:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:53:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:53:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:53:41 ========================================================= 22:53:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:53:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:53:41 Sending build context to Docker daemon 27.83MB 22:53:41 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:53:41 Step 2/13 : FROM ${BASE} AS builder 22:53:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:53:42 213ec9aee27d: Pulling fs layer 22:53:42 4583459ba037: Pulling fs layer 22:53:42 93c1e223e6f2: Pulling fs layer 22:53:42 53926ce57604: Pulling fs layer 22:53:42 21b2b0c7a3f4: Pulling fs layer 22:53:42 22ff95d597cd: Pulling fs layer 22:53:42 12d6caf4c0d1: Pulling fs layer 22:53:42 96b7cbca73a9: Pulling fs layer 22:53:42 a7acece74701: Pulling fs layer 22:53:42 22ff95d597cd: Waiting 22:53:42 12d6caf4c0d1: Waiting 22:53:42 96b7cbca73a9: Waiting 22:53:42 a7acece74701: Waiting 22:53:42 53926ce57604: Waiting 22:53:42 21b2b0c7a3f4: Waiting 22:53:42 93c1e223e6f2: Verifying Checksum 22:53:42 93c1e223e6f2: Download complete 22:53:42 4583459ba037: Verifying Checksum 22:53:42 4583459ba037: Download complete 22:53:42 21b2b0c7a3f4: Verifying Checksum 22:53:42 21b2b0c7a3f4: Download complete 22:53:42 22ff95d597cd: Verifying Checksum 22:53:42 22ff95d597cd: Download complete 22:53:42 213ec9aee27d: Verifying Checksum 22:53:42 213ec9aee27d: Download complete 22:53:42 12d6caf4c0d1: Download complete 22:53:42 213ec9aee27d: Pull complete 22:53:42 4583459ba037: Pull complete 22:53:42 93c1e223e6f2: Pull complete 22:53:42 a7acece74701: Verifying Checksum 22:53:42 a7acece74701: Download complete 22:53:43 96b7cbca73a9: Verifying Checksum 22:53:43 96b7cbca73a9: Download complete 22:53:43 53926ce57604: Verifying Checksum 22:53:43 53926ce57604: Download complete 22:53:47 53926ce57604: Pull complete 22:53:47 21b2b0c7a3f4: Pull complete 22:53:47 22ff95d597cd: Pull complete 22:53:47 12d6caf4c0d1: Pull complete 22:53:50 96b7cbca73a9: Pull complete 22:53:50 a7acece74701: Pull complete 22:53:50 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:53:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:53:50 ---> db6d94c90886 22:53:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:53:51 ---> Running in eb7f309c2b43 22:53:51 Removing intermediate container eb7f309c2b43 22:53:51 ---> 809bc0fd9f25 22:53:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:53:52 ---> Running in 93874e3363e4 22:53:52 Removing intermediate container 93874e3363e4 22:53:52 ---> 14a62dfb390c 22:53:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:53:52 ---> Running in bda26029ba6c 22:53:52 Removing intermediate container bda26029ba6c 22:53:52 ---> 62a51836f946 22:53:52 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:53:52 ---> Running in 4d6efb0a5860 22:53:52 Removing intermediate container 4d6efb0a5860 22:53:52 ---> 1835fce40c9e 22:53:52 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:53:52 ---> Running in 61f52878a55d 22:53:52 Removing intermediate container 61f52878a55d 22:53:52 ---> c05ce93f0b5a 22:53:52 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:53:52 ---> Running in 7300693bc187 22:53:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:53:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:53:53 OK: 211 MiB in 51 packages 22:53:53 Removing intermediate container 7300693bc187 22:53:53 ---> 8a4ec804abb8 22:53:53 Step 9/13 : WORKDIR /device-onvif-camera 22:53:53 ---> Running in ab3027936fdd 22:53:53 Removing intermediate container ab3027936fdd 22:53:53 ---> cbb6139cbb7a 22:53:53 Step 10/13 : COPY go.mod vendor* ./ 22:53:53 ---> fcdcf26950ed 22:53:53 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:53:53 ---> Running in c19823262a98 22:53:55 Still waiting to schedule task 22:53:55 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8662’ 22:54:15 Removing intermediate container c19823262a98 22:54:15 ---> 2324d9605e2b 22:54:15 Step 12/13 : COPY . . 22:54:15 ---> 6037c11ec0b9 22:54:15 Step 13/13 : RUN ${MAKE} 22:54:15 ---> Running in f489d8ce3ea4 22:54:15 noop 22:54:15 Removing intermediate container f489d8ce3ea4 22:54:15 ---> 6668558197e1 22:54:15 Successfully built 6668558197e1 22:54:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:16 + docker inspect -f . ci-base-image-x86_64 22:54:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:16 prd-ubuntu20.04-docker-8c-8g-8663 does not seem to be running inside a container 22:54:16 $ 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 22:54:16 $ docker top 9a77a3b5209c5f2a1ce0c0ad44855aa889c45907868cf335769d7a4bc99e5b31 -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:16 + go version 22:54:16 go version go1.18.7 linux/amd64 [Pipeline] } 22:54:16 $ docker stop --time=1 9a77a3b5209c5f2a1ce0c0ad44855aa889c45907868cf335769d7a4bc99e5b31 22:54:18 $ docker rm -f --volumes 9a77a3b5209c5f2a1ce0c0ad44855aa889c45907868cf335769d7a4bc99e5b31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:18 + docker inspect -f . ci-base-image-x86_64 22:54:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:18 prd-ubuntu20.04-docker-8c-8g-8663 does not seem to be running inside a container 22:54:18 $ 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 22:54:18 $ docker top 475988ad7e5473aa0b4c1f113bd3a374bb16ef1a2d3f55513b1cd1b16bf93f3d -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:19 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 22:54:19 + make test 22:54:19 go test ./... -coverprofile=coverage.out ./... 22:54:19 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:54:32 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:54:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 30.5% of statements 22:54:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:54:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.649s coverage: 86.5% of statements 22:54:42 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 22:54:42 go vet ./... 22:54:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:54:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:54:46 ./bin/test-attribution-txt.sh [Pipeline] echo 22:54:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:54:46 $ docker stop --time=1 475988ad7e5473aa0b4c1f113bd3a374bb16ef1a2d3f55513b1cd1b16bf93f3d 22:54:48 $ docker rm -f --volumes 475988ad7e5473aa0b4c1f113bd3a374bb16ef1a2d3f55513b1cd1b16bf93f3d [Pipeline] // withDockerContainer [Pipeline] sh 22:54:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:54:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:54:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:54:49 + ls -al . 22:54:49 total 232 22:54:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 22:54 . 22:54:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 22:53 .. 22:54:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 22:54 .git 22:54:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 22:53 .github 22:54:49 -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 22:53 .gitignore 22:54:49 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 22:53 .golangci.yml 22:54:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 22:53 .semver 22:54:49 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 22:53 Attribution.txt 22:54:49 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 22:53 CHANGELOG.md 22:54:49 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 22:53 Dockerfile 22:54:49 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 22:53 GOVERNANCE.md 22:54:49 -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 22:53 Jenkinsfile 22:54:49 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 22:53 LICENSE 22:54:49 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 22:53 Makefile 22:54:49 -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 22:53 OWNERS.md 22:54:49 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 22:53 README.md 22:54:49 -rw-rw-r-- 1 jenkins jenkins 12 Mar 7 22:53 VERSION 22:54:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 22:53 bin 22:54:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 22:53 cmd 22:54:49 -rw-r--r-- 1 jenkins jenkins 76650 Mar 7 22:54 coverage.out 22:54:49 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 22:53 doc 22:54:49 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 22:53 go.mod 22:54:49 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 7 22:53 go.sum 22:54:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 22:53 internal 22:54:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 22:53 snap 22:54:49 -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 22:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:49 + 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=650149e901bbd1d5d542720a605977f5c38beceb --label arch=amd64 --label version=3.0.0-dev.18 . 22:54:49 Sending build context to Docker daemon 27.91MB 22:54:49 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:54:49 Step 2/26 : FROM ${BASE} AS builder 22:54:49 ---> 6668558197e1 22:54:49 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:54:49 ---> Running in bb3f8ae1da5a 22:54:49 Removing intermediate container bb3f8ae1da5a 22:54:49 ---> cf3b6d95f42d 22:54:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:54:49 ---> Running in 072d755428eb 22:54:50 Removing intermediate container 072d755428eb 22:54:50 ---> 0b2d4fab185e 22:54:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:54:50 ---> Running in 949619d69afd 22:54:50 Removing intermediate container 949619d69afd 22:54:50 ---> 1915e4dde60e 22:54:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:54:50 ---> Running in bc54c98b54ca 22:54:50 Removing intermediate container bc54c98b54ca 22:54:50 ---> 708afa4c068b 22:54:50 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:54:50 ---> Running in 651157421b92 22:54:50 Removing intermediate container 651157421b92 22:54:50 ---> 9798448b00a9 22:54:50 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:54:50 ---> Running in 4deee4de0efa 22:54:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:54:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:54:51 OK: 211 MiB in 51 packages 22:54:51 Removing intermediate container 4deee4de0efa 22:54:51 ---> c41ed5bf7337 22:54:51 Step 9/26 : WORKDIR /device-onvif-camera 22:54:51 ---> Running in b09ddaebe915 22:54:51 Removing intermediate container b09ddaebe915 22:54:51 ---> 3742e11816de 22:54:51 Step 10/26 : COPY go.mod vendor* ./ 22:54:51 ---> 84a1bf4bed47 22:54:51 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:54:51 ---> Running in fc591696455a 22:54:52 Removing intermediate container fc591696455a 22:54:52 ---> f6f2463ad577 22:54:52 Step 12/26 : COPY . . 22:54:53 ---> 5f2ba8ceb872 22:54:53 Step 13/26 : RUN ${MAKE} 22:54:53 ---> Running in 6b39ed8b167d 22:54:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:55:15 Removing intermediate container 6b39ed8b167d 22:55:15 ---> edd42e173af5 22:55:15 Step 14/26 : FROM alpine:3.16 22:55:15 3.16: Pulling from library/alpine 22:55:15 ef5531b6e74e: Pulling fs layer 22:55:15 ef5531b6e74e: Verifying Checksum 22:55:15 ef5531b6e74e: Download complete 22:55:15 ef5531b6e74e: Pull complete 22:55:15 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 22:55:15 Status: Downloaded newer image for alpine:3.16 22:55:15 ---> dfd21b5a31f5 22:55:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:55:15 ---> Running in 0880b0e3d636 22:55:15 Removing intermediate container 0880b0e3d636 22:55:15 ---> d93ca45f4d4a 22:55:15 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:55:15 ---> Running in 1d3fbe7d4d7d 22:55:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:55:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:55:15 (1/1) Installing dumb-init (1.2.5-r1) 22:55:15 Executing busybox-1.35.0-r17.trigger 22:55:15 OK: 6 MiB in 15 packages 22:55:15 Removing intermediate container 1d3fbe7d4d7d 22:55:15 ---> d16466e4b66e 22:55:15 Step 17/26 : WORKDIR / 22:55:15 ---> Running in ba4c39bf3278 22:55:15 Removing intermediate container ba4c39bf3278 22:55:15 ---> eea7df125e0e 22:55:15 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:55:16 ---> d7f16f397cb1 22:55:16 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:55:16 ---> 32c89e84b21f 22:55:16 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:55:16 ---> 683aec31f862 22:55:16 Step 21/26 : EXPOSE 59984 22:55:16 ---> Running in a31df8fbe46b 22:55:16 Removing intermediate container a31df8fbe46b 22:55:16 ---> bd0bd95104c4 22:55:16 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:55:16 ---> Running in d5ecb31572af 22:55:16 Removing intermediate container d5ecb31572af 22:55:16 ---> 226f3b70e0d6 22:55:16 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:55:16 ---> Running in e94f8c891405 22:55:16 Removing intermediate container e94f8c891405 22:55:16 ---> 25631ba9d66d 22:55:16 Step 24/26 : LABEL arch=amd64 22:55:16 ---> Running in 60a16041b8a0 22:55:16 Removing intermediate container 60a16041b8a0 22:55:16 ---> 805cbd2daabd 22:55:16 Step 25/26 : LABEL git_sha=650149e901bbd1d5d542720a605977f5c38beceb 22:55:16 ---> Running in 2cf21e36ee08 22:55:16 Removing intermediate container 2cf21e36ee08 22:55:16 ---> f9fc44009910 22:55:16 Step 26/26 : LABEL version=3.0.0-dev.18 22:55:16 ---> Running in 62830c6e4457 22:55:16 Removing intermediate container 62830c6e4457 22:55:16 ---> c9d3b20f1e7d 22:55:16 [Warning] One or more build-args [ARCH] were not consumed 22:55:16 Successfully built c9d3b20f1e7d 22:55:16 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 22:55:16 provisioning config files... 22:55:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7767745742290081776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:17 ---> docker-login.sh 22:55:17 nexus3.edgexfoundry.org:10001 22:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:17 Configure a credential helper to remove this warning. See 22:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:17 22:55:17 Login Succeeded 22:55:17 nexus3.edgexfoundry.org:10002 22:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:17 Configure a credential helper to remove this warning. See 22:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:17 22:55:17 Login Succeeded 22:55:17 nexus3.edgexfoundry.org:10003 22:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:17 Configure a credential helper to remove this warning. See 22:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:17 22:55:17 Login Succeeded 22:55:17 nexus3.edgexfoundry.org:10004 22:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:17 Configure a credential helper to remove this warning. See 22:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:17 22:55:17 Login Succeeded 22:55:17 docker.io 22:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:17 Configure a credential helper to remove this warning. See 22:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:17 22:55:17 Login Succeeded 22:55:17 ---> docker-login.sh ends [Pipeline] } 22:55:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:55:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:55:17 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 22:55:17 650149e901bbd1d5d542720a605977f5c38beceb 22:55:17 latest 22:55:17 3.0.0-dev.18 22:55:17 650149e901bbd1d5d542720a605977f5c38beceb-3.0.0-dev.18 22:55:17 main 22:55:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:18 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:650149e901bbd1d5d542720a605977f5c38beceb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:650149e901bbd1d5d542720a605977f5c38beceb 22:55:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:55:18 84789e6047db: Preparing 22:55:18 0dbb68bfa0c4: Preparing 22:55:18 5a298fa15756: Preparing 22:55:18 9dae8c9c1145: Preparing 22:55:18 aa5968d388b8: Preparing 22:55:18 aa5968d388b8: Layer already exists 22:55:18 0dbb68bfa0c4: Pushed 22:55:18 84789e6047db: Pushed 22:55:18 9dae8c9c1145: Pushed 22:55:21 5a298fa15756: Pushed 22:55:21 650149e901bbd1d5d542720a605977f5c38beceb: digest: sha256:9d989a15a392fddb4de6c844a1d5e67ec7a7ad8a1818b763a9d0c066ce4a6fa4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:22 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 22:55:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:55:22 84789e6047db: Preparing 22:55:22 0dbb68bfa0c4: Preparing 22:55:22 5a298fa15756: Preparing 22:55:22 9dae8c9c1145: Preparing 22:55:22 aa5968d388b8: Preparing 22:55:22 aa5968d388b8: Layer already exists 22:55:22 0dbb68bfa0c4: Layer already exists 22:55:22 5a298fa15756: Layer already exists 22:55:22 84789e6047db: Layer already exists 22:55:22 9dae8c9c1145: Layer already exists 22:55:22 latest: digest: sha256:9d989a15a392fddb4de6c844a1d5e67ec7a7ad8a1818b763a9d0c066ce4a6fa4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:22 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.18 22:55:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:55:22 84789e6047db: Preparing 22:55:22 0dbb68bfa0c4: Preparing 22:55:22 5a298fa15756: Preparing 22:55:22 9dae8c9c1145: Preparing 22:55:22 aa5968d388b8: Preparing 22:55:22 5a298fa15756: Layer already exists 22:55:22 aa5968d388b8: Layer already exists 22:55:22 9dae8c9c1145: Layer already exists 22:55:22 84789e6047db: Layer already exists 22:55:22 0dbb68bfa0c4: Layer already exists 22:55:22 3.0.0-dev.18: digest: sha256:9d989a15a392fddb4de6c844a1d5e67ec7a7ad8a1818b763a9d0c066ce4a6fa4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:23 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:650149e901bbd1d5d542720a605977f5c38beceb-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:650149e901bbd1d5d542720a605977f5c38beceb-3.0.0-dev.18 22:55:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:55:23 84789e6047db: Preparing 22:55:23 0dbb68bfa0c4: Preparing 22:55:23 5a298fa15756: Preparing 22:55:23 9dae8c9c1145: Preparing 22:55:23 aa5968d388b8: Preparing 22:55:23 0dbb68bfa0c4: Layer already exists 22:55:23 5a298fa15756: Layer already exists 22:55:23 aa5968d388b8: Layer already exists 22:55:23 84789e6047db: Layer already exists 22:55:23 9dae8c9c1145: Layer already exists 22:55:23 650149e901bbd1d5d542720a605977f5c38beceb-3.0.0-dev.18: digest: sha256:9d989a15a392fddb4de6c844a1d5e67ec7a7ad8a1818b763a9d0c066ce4a6fa4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:23 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 22:55:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:55:24 84789e6047db: Preparing 22:55:24 0dbb68bfa0c4: Preparing 22:55:24 5a298fa15756: Preparing 22:55:24 9dae8c9c1145: Preparing 22:55:24 aa5968d388b8: Preparing 22:55:24 9dae8c9c1145: Layer already exists 22:55:24 84789e6047db: Layer already exists 22:55:24 aa5968d388b8: Layer already exists 22:55:24 5a298fa15756: Layer already exists 22:55:24 0dbb68bfa0c4: Layer already exists 22:55:24 main: digest: sha256:9d989a15a392fddb4de6c844a1d5e67ec7a7ad8a1818b763a9d0c066ce4a6fa4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:55:24 ===================================================== [Pipeline] echo 22:55:24 taggedImages: 22:55:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera:650149e901bbd1d5d542720a605977f5c38beceb 22:55:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 22:55:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.18 22:55:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera:650149e901bbd1d5d542720a605977f5c38beceb-3.0.0-dev.18 22:55:24 - 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 22:55:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:55:24 22:55:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:55:24 latest: Pulling from edgex-lftools-log-publisher 22:55:24 5eb5b503b376: Pulling fs layer 22:55:24 5c69ac0246d0: Pulling fs layer 22:55:24 ec43610c2a17: Pulling fs layer 22:55:24 3a2ae6a8a46f: Pulling fs layer 22:55:24 33b1e0a273af: Pulling fs layer 22:55:24 5d3b04190fa2: Pulling fs layer 22:55:24 2f39f015ded8: Pulling fs layer 22:55:24 5d3b04190fa2: Waiting 22:55:24 33b1e0a273af: Waiting 22:55:24 2f39f015ded8: Waiting 22:55:24 3a2ae6a8a46f: Waiting 22:55:24 5c69ac0246d0: Download complete 22:55:24 3a2ae6a8a46f: Verifying Checksum 22:55:24 3a2ae6a8a46f: Download complete 22:55:25 33b1e0a273af: Verifying Checksum 22:55:25 33b1e0a273af: Download complete 22:55:25 ec43610c2a17: Verifying Checksum 22:55:25 ec43610c2a17: Download complete 22:55:25 5d3b04190fa2: Verifying Checksum 22:55:25 5d3b04190fa2: Download complete 22:55:25 5eb5b503b376: Download complete 22:55:25 2f39f015ded8: Download complete 22:55:26 5eb5b503b376: Pull complete 22:55:26 5c69ac0246d0: Pull complete 22:55:26 ec43610c2a17: Pull complete 22:55:27 3a2ae6a8a46f: Pull complete 22:55:27 33b1e0a273af: Pull complete 22:55:27 5d3b04190fa2: Pull complete 22:55:31 2f39f015ded8: Pull complete 22:55:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:55:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:55:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:55:31 prd-ubuntu20.04-docker-8c-8g-8663 does not seem to be running inside a container 22:55:31 $ 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 22:55:33 $ docker top f39b3ef46c8373c81254de336318d7c63f06830f487faecdea58eac451bfc981 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:33 ---> job-cost.sh 22:55:33 lf-activate-venv: SKIPPING 22:55:33 INFO: No Stack... 22:55:34 INFO: Retrieving Pricing Info for: v3-standard-8 22:55:34 INFO: Archiving Costs [Pipeline] sh 22:55:34 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 22:55:34 + cut -d, -f6 [Pipeline] lock 22:55:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-108-stack-cost] 22:55:34 Resource [jenkins-edgexfoundry-device-onvif-camera-main-108-stack-cost] did not exist. Created. 22:55:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:55:35 + echo total: 0.2199999988079071 [Pipeline] stash 22:55:35 Stashed 1 file(s) [Pipeline] } 22:55:35 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-108-stack-cost] [Pipeline] // lock [Pipeline] } 22:55:35 $ docker stop --time=1 f39b3ef46c8373c81254de336318d7c63f06830f487faecdea58eac451bfc981 22:55:36 $ docker rm -f --volumes f39b3ef46c8373c81254de336318d7c63f06830f487faecdea58eac451bfc981 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:56:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8671 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 22:56:31 Running in /w/workspace/device-onvif-camera/108 [Pipeline] { [Pipeline] checkout 22:56:31 The recommended git tool is: git 22:56:38 using credential edgex-jenkins-ssh 22:56:38 Cloning the remote Git repository 22:56:38 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:56:38 > git init /w/workspace/device-onvif-camera/108 # timeout=10 22:56:38 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:56:38 > git --version # timeout=10 22:56:38 > git --version # 'git version 2.25.1' 22:56:38 using GIT_SSH to set credentials SSH Credentials for GitHub 22:56:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:56:40 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:56:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:56:41 Avoid second fetch 22:56:41 Checking out Revision 650149e901bbd1d5d542720a605977f5c38beceb (main) 22:56:42 Commit message: "refactor!: Removal of manual code to add provision watchers (#254)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:56:41 > git config core.sparsecheckout # timeout=10 22:56:41 > git checkout -f 650149e901bbd1d5d542720a605977f5c38beceb # timeout=10 22:56:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:56:43 % Total % Received % Xferd Average Speed Time Time Time Current 22:56:43 Dload Upload Total Spent Left Speed 22:56:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 22:56:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:56:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:56:44 + sudo tee /etc/docker/daemon.new 22:56:44 { 22:56:44 "registry-mirrors": [ 22:56:44 "https://nexus3.edgexfoundry.org:10001" 22:56:44 ], 22:56:44 "bip": "10.250.0.254/24", 22:56:44 "hosts": [ 22:56:44 "tcp://0.0.0.0:5555", 22:56:44 "unix:///var/run/docker.sock" 22:56:44 ], 22:56:44 "mtu": 1458, 22:56:44 "selinux-enabled": true, 22:56:44 "seccomp-profile": "/etc/docker/seccomp.json" 22:56:44 } [Pipeline] sh 22:56:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:56:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:57:03 provisioning config files... 22:57:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/108@tmp/config2962581386121398320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:03 ---> docker-login.sh 22:57:03 nexus3.edgexfoundry.org:10001 22:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:04 Configure a credential helper to remove this warning. See 22:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:04 22:57:04 Login Succeeded 22:57:04 nexus3.edgexfoundry.org:10002 22:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:05 Configure a credential helper to remove this warning. See 22:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:05 22:57:05 Login Succeeded 22:57:05 nexus3.edgexfoundry.org:10003 22:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:05 Configure a credential helper to remove this warning. See 22:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:05 22:57:05 Login Succeeded 22:57:05 nexus3.edgexfoundry.org:10004 22:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:05 Configure a credential helper to remove this warning. See 22:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:05 22:57:05 Login Succeeded 22:57:05 docker.io 22:57:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:06 Configure a credential helper to remove this warning. See 22:57:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:06 22:57:06 Login Succeeded 22:57:06 ---> docker-login.sh ends [Pipeline] } 22:57:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:57:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:57:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:57:06 ========================================================= 22:57:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:57:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:57:07 Sending build context to Docker daemon 20.6MB 22:57:07 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:57:07 Step 2/13 : FROM ${BASE} AS builder 22:57:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:57:08 9b18e9b68314: Pulling fs layer 22:57:08 35d82f9e3411: Pulling fs layer 22:57:08 e16973657156: Pulling fs layer 22:57:08 fc693d55d65f: Pulling fs layer 22:57:08 7e9fc2657dce: Pulling fs layer 22:57:08 dda99020689f: Pulling fs layer 22:57:08 db1c61fa0a46: Pulling fs layer 22:57:08 891c053d2c06: Pulling fs layer 22:57:08 dda99020689f: Waiting 22:57:08 7e9fc2657dce: Waiting 22:57:08 db1c61fa0a46: Waiting 22:57:08 891c053d2c06: Waiting 22:57:08 fc693d55d65f: Waiting 22:57:08 e16973657156: Verifying Checksum 22:57:08 e16973657156: Download complete 22:57:08 35d82f9e3411: Download complete 22:57:08 7e9fc2657dce: Verifying Checksum 22:57:08 7e9fc2657dce: Download complete 22:57:08 dda99020689f: Verifying Checksum 22:57:08 dda99020689f: Download complete 22:57:08 9b18e9b68314: Verifying Checksum 22:57:08 9b18e9b68314: Download complete 22:57:09 9b18e9b68314: Pull complete 22:57:09 891c053d2c06: Verifying Checksum 22:57:09 891c053d2c06: Download complete 22:57:09 35d82f9e3411: Pull complete 22:57:09 e16973657156: Pull complete 22:57:10 db1c61fa0a46: Verifying Checksum 22:57:10 db1c61fa0a46: Download complete 22:57:11 fc693d55d65f: Verifying Checksum 22:57:11 fc693d55d65f: Download complete 22:57:23 fc693d55d65f: Pull complete 22:57:23 7e9fc2657dce: Pull complete 22:57:23 dda99020689f: Pull complete 22:57:28 db1c61fa0a46: Pull complete 22:57:31 891c053d2c06: Pull complete 22:57:31 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:57:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:57:31 ---> f96f9c87975a 22:57:31 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:57:33 ---> Running in 4908a6bc38fa 22:57:33 Removing intermediate container 4908a6bc38fa 22:57:33 ---> 6658a8b30047 22:57:33 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:57:33 ---> Running in e3548fe7ecf1 22:57:34 Removing intermediate container e3548fe7ecf1 22:57:34 ---> 9287d252c68c 22:57:34 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:57:34 ---> Running in 0667c8ce5598 22:57:34 Removing intermediate container 0667c8ce5598 22:57:34 ---> 504c26f84489 22:57:34 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:57:34 ---> Running in 3d1096399636 22:57:34 Removing intermediate container 3d1096399636 22:57:34 ---> b9460eacd91f 22:57:34 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:57:35 ---> Running in 2f6edcdfb4bf 22:57:35 Removing intermediate container 2f6edcdfb4bf 22:57:35 ---> d73c9c855df6 22:57:35 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:57:35 ---> Running in 58e1fa436b56 22:57:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:57:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:57:38 OK: 221 MiB in 51 packages 22:57:39 Removing intermediate container 58e1fa436b56 22:57:39 ---> f3c0e5713682 22:57:39 Step 9/13 : WORKDIR /device-onvif-camera 22:57:39 ---> Running in 485b189522f6 22:57:40 Removing intermediate container 485b189522f6 22:57:40 ---> e5b4b23e4b9f 22:57:40 Step 10/13 : COPY go.mod vendor* ./ 22:57:40 ---> 50a59e5cd220 22:57:40 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:57:40 ---> Running in b9003cc24fa1 22:59:02 Removing intermediate container b9003cc24fa1 22:59:02 ---> 895f9b8fd460 22:59:02 Step 12/13 : COPY . . 22:59:02 ---> b1f47e34af4a 22:59:02 Step 13/13 : RUN ${MAKE} 22:59:02 ---> Running in 61e960c50668 22:59:02 noop 22:59:02 Removing intermediate container 61e960c50668 22:59:02 ---> 64be61be5b9d 22:59:02 Successfully built 64be61be5b9d 22:59:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:03 + docker inspect -f . ci-base-image-arm64 22:59:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:59:03 prd-ubuntu20.04-docker-arm64-4c-16g-8671 does not seem to be running inside a container 22:59:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/108 -v /w/workspace/device-onvif-camera/108:/w/workspace/device-onvif-camera/108:rw,z -v /w/workspace/device-onvif-camera/108@tmp:/w/workspace/device-onvif-camera/108@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 22:59:04 $ docker top 713ab602540344ad741dfdc1ce1ec3a68162c335f70075ab9db25ed569eddcb9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:59:05 + go version 22:59:05 go version go1.18.7 linux/arm64 [Pipeline] } 22:59:05 $ docker stop --time=1 713ab602540344ad741dfdc1ce1ec3a68162c335f70075ab9db25ed569eddcb9 22:59:07 $ docker rm -f --volumes 713ab602540344ad741dfdc1ce1ec3a68162c335f70075ab9db25ed569eddcb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:07 + docker inspect -f . ci-base-image-arm64 22:59:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:59:08 prd-ubuntu20.04-docker-arm64-4c-16g-8671 does not seem to be running inside a container 22:59:08 $ 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/108 -v /w/workspace/device-onvif-camera/108:/w/workspace/device-onvif-camera/108:rw,z -v /w/workspace/device-onvif-camera/108@tmp:/w/workspace/device-onvif-camera/108@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 22:59:09 $ docker top 7315e3fe5c7e7f0c11ca17f4e9634c43d070c4ed184c7c2a0c782ed54fcde047 -eo pid,comm [Pipeline] { [Pipeline] sh 22:59:09 + git config --global --add safe.directory /w/workspace/device-onvif-camera/108 [Pipeline] fileExists [Pipeline] sh 22:59:10 + make test 22:59:10 go test ./... -coverprofile=coverage.out ./... 22:59:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:01:04 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:01:07 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.279s coverage: 30.5% of statements 23:01:07 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:01:22 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.191s coverage: 86.5% of statements 23:01:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:01:22 go vet ./... 23:02:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:02:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:02:01 ./bin/test-attribution-txt.sh [Pipeline] echo 23:02:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:02:01 $ docker stop --time=1 7315e3fe5c7e7f0c11ca17f4e9634c43d070c4ed184c7c2a0c782ed54fcde047 23:02:03 $ docker rm -f --volumes 7315e3fe5c7e7f0c11ca17f4e9634c43d070c4ed184c7c2a0c782ed54fcde047 [Pipeline] // withDockerContainer [Pipeline] sh 23:02:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:02:04 Warning: overwriting stash ‘coverage-report’ 23:02:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:02:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:02:06 + ls -al . 23:02:06 total 228 23:02:06 drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 22:59 . 23:02:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 22:56 .. 23:02:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 22:56 .git 23:02:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 22:56 .github 23:02:06 -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 22:56 .gitignore 23:02:06 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 22:56 .golangci.yml 23:02:06 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 22:56 Attribution.txt 23:02:06 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 22:56 CHANGELOG.md 23:02:06 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 22:56 Dockerfile 23:02:06 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 22:56 GOVERNANCE.md 23:02:06 -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 22:56 Jenkinsfile 23:02:06 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 22:56 LICENSE 23:02:06 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 22:56 Makefile 23:02:06 -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 22:56 OWNERS.md 23:02:06 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 22:56 README.md 23:02:06 -rw-rw-r-- 1 jenkins jenkins 12 Mar 7 22:53 VERSION 23:02:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 22:56 bin 23:02:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 22:56 cmd 23:02:06 -rw-r--r-- 1 jenkins jenkins 76650 Mar 7 23:01 coverage.out 23:02:06 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 22:56 doc 23:02:06 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 22:56 go.mod 23:02:06 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 7 22:56 go.sum 23:02:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 22:56 internal 23:02:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 22:56 snap 23:02:06 -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 22:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:06 + 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=650149e901bbd1d5d542720a605977f5c38beceb --label arch=arm64 --label version=3.0.0-dev.18 . 23:02:07 Sending build context to Docker daemon 20.68MB 23:02:07 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:02:07 Step 2/26 : FROM ${BASE} AS builder 23:02:07 ---> 64be61be5b9d 23:02:07 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:02:07 ---> Running in e7790b8a2975 23:02:08 Removing intermediate container e7790b8a2975 23:02:08 ---> 910b0643c238 23:02:08 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:02:08 ---> Running in cf86d81a8da2 23:02:08 Removing intermediate container cf86d81a8da2 23:02:08 ---> d3889b3b9abb 23:02:08 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:02:08 ---> Running in 554adb53535e 23:02:08 Removing intermediate container 554adb53535e 23:02:08 ---> 1d5f89cb7eee 23:02:08 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:02:08 ---> Running in 412871156df5 23:02:09 Removing intermediate container 412871156df5 23:02:09 ---> f105b62fa154 23:02:09 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:02:09 ---> Running in 0cd50e78e130 23:02:10 Removing intermediate container 0cd50e78e130 23:02:10 ---> d2ff5d2d10d2 23:02:10 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:02:10 ---> Running in bd6f00a3f3a9 23:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:02:13 OK: 221 MiB in 51 packages 23:02:14 Removing intermediate container bd6f00a3f3a9 23:02:14 ---> e569dc21e72c 23:02:14 Step 9/26 : WORKDIR /device-onvif-camera 23:02:14 ---> Running in d74607392594 23:02:14 Removing intermediate container d74607392594 23:02:14 ---> edfbe3f8557a 23:02:14 Step 10/26 : COPY go.mod vendor* ./ 23:02:15 ---> 9219fe33bc13 23:02:15 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:02:15 ---> Running in 0961ec1ac204 23:02:18 Removing intermediate container 0961ec1ac204 23:02:18 ---> 6cdd327c433c 23:02:18 Step 12/26 : COPY . . 23:02:21 ---> 962ff5bb1314 23:02:21 Step 13/26 : RUN ${MAKE} 23:02:21 ---> Running in f74373460b90 23:02:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 23:05:30 Removing intermediate container f74373460b90 23:05:30 ---> 1a6a2bdbfa39 23:05:30 Step 14/26 : FROM alpine:3.16 23:05:30 3.16: Pulling from library/alpine 23:05:30 3760b48202b3: Pulling fs layer 23:05:30 3760b48202b3: Download complete 23:05:30 3760b48202b3: Pull complete 23:05:30 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 23:05:30 Status: Downloaded newer image for alpine:3.16 23:05:30 ---> 4c81e5bf8899 23:05:30 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:05:30 ---> Running in a99bcd64be08 23:05:30 Removing intermediate container a99bcd64be08 23:05:30 ---> b9d7a5cb4ebd 23:05:30 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:05:30 ---> Running in 8522746d0ac6 23:05:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:05:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:05:30 (1/1) Installing dumb-init (1.2.5-r1) 23:05:30 Executing busybox-1.35.0-r17.trigger 23:05:30 OK: 5 MiB in 15 packages 23:05:30 Removing intermediate container 8522746d0ac6 23:05:30 ---> aedaed06f810 23:05:30 Step 17/26 : WORKDIR / 23:05:30 ---> Running in 2a3c583e9b35 23:05:30 Removing intermediate container 2a3c583e9b35 23:05:30 ---> c649f41471dc 23:05:30 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:05:30 ---> 98fd8894ca92 23:05:30 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:05:30 ---> 376f5d67da6e 23:05:30 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:05:30 ---> 439361d7dc61 23:05:30 Step 21/26 : EXPOSE 59984 23:05:30 ---> Running in fc4b7fd5a31c 23:05:30 Removing intermediate container fc4b7fd5a31c 23:05:30 ---> 699074e629a0 23:05:30 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:05:30 ---> Running in 582b152b56ee 23:05:30 Removing intermediate container 582b152b56ee 23:05:30 ---> ed12d9260bd1 23:05:30 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:05:30 ---> Running in a7da2d208a58 23:05:30 Removing intermediate container a7da2d208a58 23:05:30 ---> 77ae7ded8aed 23:05:30 Step 24/26 : LABEL arch=arm64 23:05:30 ---> Running in 9f09d1e40485 23:05:30 Removing intermediate container 9f09d1e40485 23:05:30 ---> 79814a99e3d1 23:05:30 Step 25/26 : LABEL git_sha=650149e901bbd1d5d542720a605977f5c38beceb 23:05:30 ---> Running in e136e178e2ac 23:05:30 Removing intermediate container e136e178e2ac 23:05:30 ---> 23449524768e 23:05:30 Step 26/26 : LABEL version=3.0.0-dev.18 23:05:30 ---> Running in 338367e5fd2a 23:05:30 Removing intermediate container 338367e5fd2a 23:05:30 ---> 2530140d1ea4 23:05:30 [Warning] One or more build-args [ARCH] were not consumed 23:05:30 Successfully built 2530140d1ea4 23:05:30 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 23:05:30 provisioning config files... 23:05:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/108@tmp/config16569135621350707392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:05:30 ---> docker-login.sh 23:05:30 nexus3.edgexfoundry.org:10001 23:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:31 Configure a credential helper to remove this warning. See 23:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:31 23:05:31 Login Succeeded 23:05:31 nexus3.edgexfoundry.org:10002 23:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:31 Configure a credential helper to remove this warning. See 23:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:31 23:05:31 Login Succeeded 23:05:31 nexus3.edgexfoundry.org:10003 23:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:31 Configure a credential helper to remove this warning. See 23:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:31 23:05:31 Login Succeeded 23:05:31 nexus3.edgexfoundry.org:10004 23:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:32 Configure a credential helper to remove this warning. See 23:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:32 23:05:32 Login Succeeded 23:05:32 docker.io 23:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:33 Configure a credential helper to remove this warning. See 23:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:33 23:05:33 Login Succeeded 23:05:33 ---> docker-login.sh ends [Pipeline] } 23:05:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:05:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:05:33 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 23:05:33 650149e901bbd1d5d542720a605977f5c38beceb 23:05:33 latest 23:05:33 3.0.0-dev.18 23:05:33 650149e901bbd1d5d542720a605977f5c38beceb-3.0.0-dev.18 23:05:33 main 23:05:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:33 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:650149e901bbd1d5d542720a605977f5c38beceb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:650149e901bbd1d5d542720a605977f5c38beceb 23:05:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:05:33 1af8022e369a: Preparing 23:05:33 2f0df78faecd: Preparing 23:05:33 6fc32351a65b: Preparing 23:05:33 3bfbbfe492e1: Preparing 23:05:33 f70ee36035b9: Preparing 23:05:33 f70ee36035b9: Layer already exists 23:05:34 1af8022e369a: Pushed 23:05:34 2f0df78faecd: Pushed 23:05:34 3bfbbfe492e1: Pushed 23:05:40 6fc32351a65b: Pushed 23:05:40 650149e901bbd1d5d542720a605977f5c38beceb: digest: sha256:afb7723c12dd4945f0a68ec7606065226c93f3de1b5b25e143dd28ae296ba771 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:41 + 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 23:05:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:05:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:05:41 1af8022e369a: Preparing 23:05:41 2f0df78faecd: Preparing 23:05:41 6fc32351a65b: Preparing 23:05:41 3bfbbfe492e1: Preparing 23:05:41 f70ee36035b9: Preparing 23:05:41 f70ee36035b9: Layer already exists 23:05:41 3bfbbfe492e1: Layer already exists 23:05:41 6fc32351a65b: Layer already exists 23:05:41 2f0df78faecd: Layer already exists 23:05:41 1af8022e369a: Layer already exists 23:05:41 latest: digest: sha256:afb7723c12dd4945f0a68ec7606065226c93f3de1b5b25e143dd28ae296ba771 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:42 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.18 23:05:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:05:42 1af8022e369a: Preparing 23:05:42 2f0df78faecd: Preparing 23:05:42 6fc32351a65b: Preparing 23:05:42 3bfbbfe492e1: Preparing 23:05:42 f70ee36035b9: Preparing 23:05:42 f70ee36035b9: Layer already exists 23:05:42 3bfbbfe492e1: Layer already exists 23:05:42 6fc32351a65b: Layer already exists 23:05:42 1af8022e369a: Layer already exists 23:05:42 2f0df78faecd: Layer already exists 23:05:42 3.0.0-dev.18: digest: sha256:afb7723c12dd4945f0a68ec7606065226c93f3de1b5b25e143dd28ae296ba771 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:43 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:650149e901bbd1d5d542720a605977f5c38beceb-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:650149e901bbd1d5d542720a605977f5c38beceb-3.0.0-dev.18 23:05:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:05:43 1af8022e369a: Preparing 23:05:43 2f0df78faecd: Preparing 23:05:43 6fc32351a65b: Preparing 23:05:43 3bfbbfe492e1: Preparing 23:05:43 f70ee36035b9: Preparing 23:05:43 3bfbbfe492e1: Layer already exists 23:05:43 1af8022e369a: Layer already exists 23:05:43 f70ee36035b9: Layer already exists 23:05:43 6fc32351a65b: Layer already exists 23:05:43 2f0df78faecd: Layer already exists 23:05:43 650149e901bbd1d5d542720a605977f5c38beceb-3.0.0-dev.18: digest: sha256:afb7723c12dd4945f0a68ec7606065226c93f3de1b5b25e143dd28ae296ba771 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:44 + 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 23:05:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 23:05:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:05:44 1af8022e369a: Preparing 23:05:44 2f0df78faecd: Preparing 23:05:44 6fc32351a65b: Preparing 23:05:44 3bfbbfe492e1: Preparing 23:05:44 f70ee36035b9: Preparing 23:05:44 6fc32351a65b: Layer already exists 23:05:44 1af8022e369a: Layer already exists 23:05:44 f70ee36035b9: Layer already exists 23:05:44 3bfbbfe492e1: Layer already exists 23:05:44 2f0df78faecd: Layer already exists 23:05:44 main: digest: sha256:afb7723c12dd4945f0a68ec7606065226c93f3de1b5b25e143dd28ae296ba771 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:05:44 ===================================================== [Pipeline] echo 23:05:44 taggedImages: 23:05:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:650149e901bbd1d5d542720a605977f5c38beceb 23:05:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:05:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.18 23:05:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:650149e901bbd1d5d542720a605977f5c38beceb-3.0.0-dev.18 23:05:44 - 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 23:05:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:05:45 23:05:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:05:45 arm64: Pulling from edgex-lftools-log-publisher 23:05:45 8998bd30e6a1: Pulling fs layer 23:05:45 04944245beec: Pulling fs layer 23:05:45 699f458cf7ca: Pulling fs layer 23:05:45 765212b225bb: Pulling fs layer 23:05:45 f23df028b6ca: Pulling fs layer 23:05:45 d65c8cfc05b1: Pulling fs layer 23:05:45 2437ff75d9bd: Pulling fs layer 23:05:45 765212b225bb: Waiting 23:05:45 d65c8cfc05b1: Waiting 23:05:45 f23df028b6ca: Waiting 23:05:45 04944245beec: Verifying Checksum 23:05:45 04944245beec: Download complete 23:05:45 765212b225bb: Verifying Checksum 23:05:45 765212b225bb: Download complete 23:05:45 f23df028b6ca: Download complete 23:05:45 d65c8cfc05b1: Verifying Checksum 23:05:45 d65c8cfc05b1: Download complete 23:05:46 699f458cf7ca: Verifying Checksum 23:05:46 8998bd30e6a1: Verifying Checksum 23:05:46 8998bd30e6a1: Download complete 23:05:49 2437ff75d9bd: Verifying Checksum 23:05:49 2437ff75d9bd: Download complete 23:05:50 8998bd30e6a1: Pull complete 23:05:51 04944245beec: Pull complete 23:05:52 699f458cf7ca: Pull complete 23:05:52 765212b225bb: Pull complete 23:05:53 f23df028b6ca: Pull complete 23:05:53 d65c8cfc05b1: Pull complete 23:06:09 2437ff75d9bd: Pull complete 23:06:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:06:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:06:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:06:09 prd-ubuntu20.04-docker-arm64-4c-16g-8671 does not seem to be running inside a container 23:06:09 $ 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/108 -v /w/workspace/device-onvif-camera/108:/w/workspace/device-onvif-camera/108:rw,z -v /w/workspace/device-onvif-camera/108@tmp:/w/workspace/device-onvif-camera/108@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 23:06:12 $ docker top ae3fa5890b1ad26e5a0cfbf5faf45e494ec3897cdbf5aae42e79c3693c5cfab4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:06:13 ---> job-cost.sh 23:06:13 lf-activate-venv: SKIPPING 23:06:13 INFO: No Stack... 23:06:14 INFO: Retrieving Pricing Info for: v3-standard-4 23:06:14 INFO: Archiving Costs [Pipeline] sh 23:06:15 + cut -d, -f6 23:06:15 + cat /w/workspace/device-onvif-camera/108/archives/cost.csv [Pipeline] lock 23:06:15 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-108-stack-cost] 23:06:15 Resource [jenkins-edgexfoundry-device-onvif-camera-main-108-stack-cost] did not exist. Created. 23:06:15 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:06:16 /w/workspace/device-onvif-camera/108@tmp/durable-586873b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:06:16 + echo total: 0.10999999940395355 [Pipeline] stash 23:06:16 Warning: overwriting stash ‘stack-cost’ 23:06:16 Stashed 1 file(s) [Pipeline] } 23:06:16 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-108-stack-cost] [Pipeline] // lock [Pipeline] } 23:06:16 $ docker stop --time=1 ae3fa5890b1ad26e5a0cfbf5faf45e494ec3897cdbf5aae42e79c3693c5cfab4 23:06:18 $ docker rm -f --volumes ae3fa5890b1ad26e5a0cfbf5faf45e494ec3897cdbf5aae42e79c3693c5cfab4 [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 23:06:18 provisioning config files... 23:06:18 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14938839261570646191tmp [Pipeline] { [Pipeline] sh 23:06:19 + set +x 23:06:19 + curl -s https://codecov.io/bash 23:06:19 + bash -s -- 23:06:19 23:06:19 _____ _ 23:06:19 / ____| | | 23:06:19 | | ___ __| | ___ ___ _____ __ 23:06:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:06:19 | |___| (_) | (_| | __/ (_| (_) \ V / 23:06:19 \_____\___/ \__,_|\___|\___\___/ \_/ 23:06:19 Bash-1.0.6 23:06:19 23:06:19 23:06:19 ==> git version 2.25.1 found 23:06:19 ==> 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 23:06:19 Release-Date: 2020-01-08 23:06:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:06:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:06:19 ==> Jenkins CI detected. 23:06:19 current dir:  /w/workspace/foundry_device-onvif-camera_main 23:06:19 project root: . 23:06:19 --> token set from env 23:06:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:06:19 ==> Running gcov in . (disable via -X gcov) 23:06:19 ==> Python coveragepy not found 23:06:19 ==> Searching for coverage reports in: 23:06:19 + . 23:06:19 -> Found 1 reports 23:06:19 ==> Detecting git/mercurial file structure 23:06:19 ==> Reading reports 23:06:19 + ./coverage.out bytes=76650 23:06:19 ==> Appending adjustments 23:06:19 https://docs.codecov.io/docs/fixing-reports 23:06:19 + Found adjustments 23:06:19 ==> Gzipping contents 23:06:19 12K /tmp/codecov.CVDlqj.gz 23:06:19 ==> Uploading reports 23:06:19 url: https://codecov.io 23:06:19 query: branch=main&commit=650149e901bbd1d5d542720a605977f5c38beceb&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:06:19 -> Pinging Codecov 23:06:19 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=650149e901bbd1d5d542720a605977f5c38beceb&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:06:19 -> Uploading to 23:06:19 https://storage.googleapis.com/codecov/v4/raw/2023-03-07/F29A59C45E3A92E06B3E522C9905F8EF/650149e901bbd1d5d542720a605977f5c38beceb/bae70a9a-1c36-45a0-a9aa-683a5fc783f6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T230619Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2684cae013467ca66c6b807a3f02d6a8c49e7614fce2c3e2167ca9eaf2ef8874 23:06:19 % Total % Received % Xferd Average Speed Time Time Time Current 23:06:19 Dload Upload Total Spent Left Speed 23:06:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10536 0 0 100 10536 0 35715 --:--:-- --:--:-- --:--:-- 35715 23:06:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/650149e901bbd1d5d542720a605977f5c38beceb [Pipeline] } 23:06:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:06:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:06:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:06:20 23:06:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:06:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:06:20 df9b9388f04a: Pulling fs layer 23:06:20 52dc419b0ee2: Pulling fs layer 23:06:20 25bc292e5bac: Pulling fs layer 23:06:20 114826534d7a: Pulling fs layer 23:06:20 4657fd5d0bcf: Pulling fs layer 23:06:20 6ad1cebc031e: Pulling fs layer 23:06:20 8a3aa393b2d8: Pulling fs layer 23:06:20 114826534d7a: Waiting 23:06:20 4657fd5d0bcf: Waiting 23:06:20 6ad1cebc031e: Waiting 23:06:20 8a3aa393b2d8: Waiting 23:06:20 25bc292e5bac: Verifying Checksum 23:06:20 25bc292e5bac: Download complete 23:06:20 52dc419b0ee2: Download complete 23:06:20 4657fd5d0bcf: Verifying Checksum 23:06:20 4657fd5d0bcf: Download complete 23:06:20 df9b9388f04a: Verifying Checksum 23:06:20 df9b9388f04a: Download complete 23:06:21 df9b9388f04a: Pull complete 23:06:21 6ad1cebc031e: Verifying Checksum 23:06:21 52dc419b0ee2: Pull complete 23:06:21 25bc292e5bac: Pull complete 23:06:21 114826534d7a: Verifying Checksum 23:06:21 114826534d7a: Download complete 23:06:21 8a3aa393b2d8: Verifying Checksum 23:06:21 8a3aa393b2d8: Download complete 23:06:25 114826534d7a: Pull complete 23:06:25 4657fd5d0bcf: Pull complete 23:06:25 6ad1cebc031e: Pull complete 23:06:28 8a3aa393b2d8: Pull complete 23:06:28 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:06:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:06:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:06:28 prd-ubuntu20.04-docker-8c-8g-8663 does not seem to be running inside a container 23:06:28 $ 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 23:06:30 $ docker top 1607656cc1268d0c0d4d0120cf510061dcde6bd553eff73951fb3136a6f66696 -eo pid,comm [Pipeline] { [Pipeline] echo 23:06:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 23:06:30 + set -o pipefail 23:06:30 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 23:06:37 23:06:37 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 23:06:37 23:06:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/ef21c1a9-17ec-4412-bb3c-fc445eaea1dc 23:06:37 23:06:37 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 23:06:37 23:06:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:06:37 23:06:38 23:06:38 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:06:38 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:06:38 More details here: https://snyk.co/ue1NS [Pipeline] } 23:06:38 $ docker stop --time=1 1607656cc1268d0c0d4d0120cf510061dcde6bd553eff73951fb3136a6f66696 23:06:40 $ docker rm -f --volumes 1607656cc1268d0c0d4d0120cf510061dcde6bd553eff73951fb3136a6f66696 [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 23:06:40 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:06:40 provisioning config files... 23:06:40 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16387628899874458133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:06:40 --> edgex-publish-swagger.sh 23:06:40 === Publish doc/openapi/v2 API === 23:06:40 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 23:06:40 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 23:06:40 % Total % Received % Xferd Average Speed Time Time Time Current 23:06:40 Dload Upload Total Spent Left Speed 23:06:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 680k --:--:-- --:--:-- --:--:-- 681k 23:06:41 23:06:41 [Pipeline] } 23:06:41 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 23:06:41 + git log --format=format:%s -1 650149e901bbd1d5d542720a605977f5c38beceb [Pipeline] sh 23:06:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:06:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:06:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:06:42 prd-ubuntu20.04-docker-8c-8g-8663 does not seem to be running inside a container 23:06:42 $ 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 23:06:42 $ docker top ba1a5b7cf1cea0b04b24dd4c9f1e423e785133dfb493c883c9b09c2d3586446f -eo pid,comm 23:06:42 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). 23:06:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:06:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:06:42 [ssh-agent] Looking for ssh-agent implementation... 23:06:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:06:42 $ docker exec ba1a5b7cf1cea0b04b24dd4c9f1e423e785133dfb493c883c9b09c2d3586446f ssh-agent 23:06:43 SSH_AUTH_SOCK=/tmp/ssh-KqwMalTtBu3Q/agent.31 23:06:43 SSH_AGENT_PID=37 23:06:43 Running ssh-add (command line suppressed) 23:06:43 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3445291544815001237.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3445291544815001237.key) 23:06:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:06:43 + git semver tag 23:06:43 2023-03-07 23:06:43,588 [run_tag] DEBUG tag force:False 23:06:43 2023-03-07 23:06:43,589 [check_head_tag] DEBUG check head tag 23:06:43 2023-03-07 23:06:43,590 [execute] INFO git cat-file --batch-check 23:06:43 2023-03-07 23:06:43,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 23:06:43 2023-03-07 23:06:43,594 [execute] INFO git cat-file --batch 23:06:43 2023-03-07 23:06:43,594 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 23:06:43 2023-03-07 23:06:43,625 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:06:43 2023-03-07 23:06:43,625 [execute] INFO git tag -a v3.0.0-dev.18 -m v3.0.0-dev.18 23:06:43 2023-03-07 23:06:43,626 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.18', '-m', 'v3.0.0-dev.18'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 23:06:43 2023-03-07 23:06:43,629 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:06:43 3.0.0-dev.18 [Pipeline] } 23:06:43 $ docker exec --env ******** --env ******** ba1a5b7cf1cea0b04b24dd4c9f1e423e785133dfb493c883c9b09c2d3586446f ssh-agent -k 23:06:43 unset SSH_AUTH_SOCK; 23:06:43 unset SSH_AGENT_PID; 23:06:43 echo Agent pid 37 killed; 23:06:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:06:44 + git semver [Pipeline] } 23:06:44 $ docker stop --time=1 ba1a5b7cf1cea0b04b24dd4c9f1e423e785133dfb493c883c9b09c2d3586446f 23:06:45 $ docker rm -f --volumes ba1a5b7cf1cea0b04b24dd4c9f1e423e785133dfb493c883c9b09c2d3586446f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:06:46 23:06:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:06:46 0.23.1-centos7: Pulling from edgex-lftools 23:06:46 ab5ef0e58194: Pulling fs layer 23:06:46 9712f1f96733: Pulling fs layer 23:06:46 63f879dbbcfc: Pulling fs layer 23:06:46 0d9ebad4ef96: Pulling fs layer 23:06:46 e9a5061849ea: Pulling fs layer 23:06:46 d747dcd14b5f: Pulling fs layer 23:06:46 2de7ff778b66: Pulling fs layer 23:06:46 e9a5061849ea: Waiting 23:06:46 d747dcd14b5f: Waiting 23:06:46 0d9ebad4ef96: Waiting 23:06:46 9712f1f96733: Verifying Checksum 23:06:46 9712f1f96733: Download complete 23:06:46 63f879dbbcfc: Verifying Checksum 23:06:46 63f879dbbcfc: Download complete 23:06:46 e9a5061849ea: Verifying Checksum 23:06:46 e9a5061849ea: Download complete 23:06:46 0d9ebad4ef96: Verifying Checksum 23:06:46 0d9ebad4ef96: Download complete 23:06:46 d747dcd14b5f: Download complete 23:06:46 ab5ef0e58194: Verifying Checksum 23:06:46 ab5ef0e58194: Download complete 23:06:47 2de7ff778b66: Verifying Checksum 23:06:47 2de7ff778b66: Download complete 23:06:50 ab5ef0e58194: Pull complete 23:06:50 9712f1f96733: Pull complete 23:06:50 63f879dbbcfc: Pull complete 23:06:54 0d9ebad4ef96: Pull complete 23:06:54 e9a5061849ea: Pull complete 23:06:54 d747dcd14b5f: Pull complete 23:06:55 2de7ff778b66: Pull complete 23:06:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:06:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:06:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:06:55 prd-ubuntu20.04-docker-8c-8g-8663 does not seem to be running inside a container 23:06:56 $ 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 23:06:57 $ docker top 3f3deae8fad0705f9fc8fe8fe864df8cc57237c5189832f63e38450244f51a58 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:06:57 provisioning config files... 23:06:57 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18211258750856271866tmp 23:06:57 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5566863873531307954tmp 23:06:57 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11304478789444606482tmp [Pipeline] { [Pipeline] echo 23:06:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:06:58 ---> sigul-configuration.sh 23:06:58 gpg: directory `/root/.gnupg' created 23:06:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:06:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:06:58 gpg: keyring `/root/.gnupg/secring.gpg' created 23:06:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:06:58 gpg: CAST5 encrypted data 23:06:58 gpg: encrypted with 1 passphrase 23:06:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:06:58 + mkdir /home/jenkins 23:06:58 + mkdir /home/jenkins/sigul [Pipeline] sh 23:06:58 + 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 23:06:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:06:59 ---> sigul-install.sh 23:06:59 Sigul already installed; skipping installation. [Pipeline] sh 23:06:59 + git tag --list 23:06:59 v0.0.0 23:06:59 v0.0.1-dev.1 23:06:59 v0.0.1-dev.10 23:06:59 v0.0.1-dev.11 23:06:59 v0.0.1-dev.12 23:06:59 v0.0.1-dev.13 23:06:59 v0.0.1-dev.14 23:06:59 v0.0.1-dev.15 23:06:59 v0.0.1-dev.16 23:06:59 v0.0.1-dev.17 23:06:59 v0.0.1-dev.18 23:06:59 v0.0.1-dev.19 23:06:59 v0.0.1-dev.2 23:06:59 v0.0.1-dev.20 23:06:59 v0.0.1-dev.21 23:06:59 v0.0.1-dev.22 23:06:59 v0.0.1-dev.23 23:06:59 v0.0.1-dev.24 23:06:59 v0.0.1-dev.25 23:06:59 v0.0.1-dev.26 23:06:59 v0.0.1-dev.27 23:06:59 v0.0.1-dev.28 23:06:59 v0.0.1-dev.3 23:06:59 v0.0.1-dev.4 23:06:59 v0.0.1-dev.5 23:06:59 v0.0.1-dev.6 23:06:59 v0.0.1-dev.7 23:06:59 v0.0.1-dev.8 23:06:59 v0.0.1-dev.9 23:06:59 v2.2.0 23:06:59 v2.2.0-dev.29 23:06:59 v2.2.0-dev.30 23:06:59 v2.2.0-dev.31 23:06:59 v2.2.0-dev.32 23:06:59 v2.2.0-dev.33 23:06:59 v2.2.0-dev.34 23:06:59 v2.2.0-dev.35 23:06:59 v2.3.0 23:06:59 v2.3.0-dev.1 23:06:59 v2.3.0-dev.10 23:06:59 v2.3.0-dev.11 23:06:59 v2.3.0-dev.12 23:06:59 v2.3.0-dev.13 23:06:59 v2.3.0-dev.14 23:06:59 v2.3.0-dev.15 23:06:59 v2.3.0-dev.16 23:06:59 v2.3.0-dev.17 23:06:59 v2.3.0-dev.18 23:06:59 v2.3.0-dev.19 23:06:59 v2.3.0-dev.2 23:06:59 v2.3.0-dev.20 23:06:59 v2.3.0-dev.21 23:06:59 v2.3.0-dev.22 23:06:59 v2.3.0-dev.23 23:06:59 v2.3.0-dev.24 23:06:59 v2.3.0-dev.25 23:06:59 v2.3.0-dev.26 23:06:59 v2.3.0-dev.27 23:06:59 v2.3.0-dev.28 23:06:59 v2.3.0-dev.29 23:06:59 v2.3.0-dev.3 23:06:59 v2.3.0-dev.30 23:06:59 v2.3.0-dev.31 23:06:59 v2.3.0-dev.32 23:06:59 v2.3.0-dev.33 23:06:59 v2.3.0-dev.34 23:06:59 v2.3.0-dev.35 23:06:59 v2.3.0-dev.36 23:06:59 v2.3.0-dev.37 23:06:59 v2.3.0-dev.38 23:06:59 v2.3.0-dev.39 23:06:59 v2.3.0-dev.4 23:06:59 v2.3.0-dev.40 23:06:59 v2.3.0-dev.41 23:06:59 v2.3.0-dev.42 23:06:59 v2.3.0-dev.43 23:06:59 v2.3.0-dev.44 23:06:59 v2.3.0-dev.45 23:06:59 v2.3.0-dev.5 23:06:59 v2.3.0-dev.6 23:06:59 v2.3.0-dev.7 23:06:59 v2.3.0-dev.8 23:06:59 v2.3.0-dev.9 23:06:59 v2.3.1-dev.1 23:06:59 v3.0.0-dev.1 23:06:59 v3.0.0-dev.10 23:06:59 v3.0.0-dev.11 23:06:59 v3.0.0-dev.12 23:06:59 v3.0.0-dev.13 23:06:59 v3.0.0-dev.14 23:06:59 v3.0.0-dev.15 23:06:59 v3.0.0-dev.16 23:06:59 v3.0.0-dev.17 23:06:59 v3.0.0-dev.18 23:06:59 v3.0.0-dev.2 23:06:59 v3.0.0-dev.3 23:06:59 v3.0.0-dev.4 23:06:59 v3.0.0-dev.5 23:06:59 v3.0.0-dev.6 23:06:59 v3.0.0-dev.7 23:06:59 v3.0.0-dev.8 23:06:59 v3.0.0-dev.9 [Pipeline] sh 23:06:59 + lftools sign git-tag v3.0.0-dev.18 23:07:00 Signing Git tag with Sigul... 23:07:00 Signing v3.0.0-dev.18 [Pipeline] echo 23:07:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:07:01 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:07:01 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:07:01 $ docker stop --time=1 3f3deae8fad0705f9fc8fe8fe864df8cc57237c5189832f63e38450244f51a58 23:07:02 $ docker rm -f --volumes 3f3deae8fad0705f9fc8fe8fe864df8cc57237c5189832f63e38450244f51a58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:07:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:07:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:07:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:07:03 prd-ubuntu20.04-docker-8c-8g-8663 does not seem to be running inside a container 23:07:03 $ 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 23:07:03 $ docker top c358828ec9718127fe1e463b0a39d0d34d4bd21bc046e06ed41d8cdda5b2a280 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:07:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:07:03 [ssh-agent] Looking for ssh-agent implementation... 23:07:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:07:03 $ docker exec c358828ec9718127fe1e463b0a39d0d34d4bd21bc046e06ed41d8cdda5b2a280 ssh-agent 23:07:03 SSH_AUTH_SOCK=/tmp/ssh-toWqMWHrYG55/agent.33 23:07:03 SSH_AGENT_PID=39 23:07:03 Running ssh-add (command line suppressed) 23:07:03 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14309328032369083312.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14309328032369083312.key) 23:07:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:07:04 + git semver bump pre 23:07:04 2023-03-07 23:07:04,397 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:07:04 2023-03-07 23:07:04,397 [bump_version] DEBUG bumping version:3.0.0-dev.18 on axis:pre with prefix:dev 23:07:04 2023-03-07 23:07:04,397 [bump_version] DEBUG bumped version:3.0.0-dev.19 23:07:04 2023-03-07 23:07:04,397 [write_version] DEBUG write version:3.0.0-dev.19 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 23:07:04 2023-03-07 23:07:04,397 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:07:04 2023-03-07 23:07:04,397 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 23:07:04 2023-03-07 23:07:04,399 [execute] INFO git cat-file --batch-check 23:07:04 2023-03-07 23:07:04,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:07:04 2023-03-07 23:07:04,404 [execute] INFO git cat-file --batch 23:07:04 2023-03-07 23:07:04,405 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:07:04 2023-03-07 23:07:04,409 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:07:04 3.0.0-dev.19 [Pipeline] } 23:07:04 $ docker exec --env ******** --env ******** c358828ec9718127fe1e463b0a39d0d34d4bd21bc046e06ed41d8cdda5b2a280 ssh-agent -k 23:07:04 unset SSH_AUTH_SOCK; 23:07:04 unset SSH_AGENT_PID; 23:07:04 echo Agent pid 39 killed; 23:07:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:07:04 + git semver [Pipeline] } 23:07:05 $ docker stop --time=1 c358828ec9718127fe1e463b0a39d0d34d4bd21bc046e06ed41d8cdda5b2a280 23:07:06 $ docker rm -f --volumes c358828ec9718127fe1e463b0a39d0d34d4bd21bc046e06ed41d8cdda5b2a280 [Pipeline] // withDockerContainer [Pipeline] sh 23:07:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:07:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:07:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:07:07 prd-ubuntu20.04-docker-8c-8g-8663 does not seem to be running inside a container 23:07:07 $ 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 23:07:07 $ docker top 215a7d5065c6bba338a8d2e30e4bebcfd49a6cd32fa7522223791ffb8421213e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:07:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:07:07 [ssh-agent] Looking for ssh-agent implementation... 23:07:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:07:07 $ docker exec 215a7d5065c6bba338a8d2e30e4bebcfd49a6cd32fa7522223791ffb8421213e ssh-agent 23:07:07 SSH_AUTH_SOCK=/tmp/ssh-o4vA0uQxbhNv/agent.32 23:07:07 SSH_AGENT_PID=38 23:07:07 Running ssh-add (command line suppressed) 23:07:07 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15636050102697804862.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15636050102697804862.key) 23:07:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:07:08 + git semver push 23:07:08 2023-03-07 23:07:08,481 [run_push] DEBUG push 23:07:08 2023-03-07 23:07:08,481 [execute] INFO git cat-file --batch-check 23:07:08 2023-03-07 23:07:08,481 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:07:08 2023-03-07 23:07:08,485 [execute] INFO git rev-list 9effb2aacd207501b7f6aff6b2e0714f80da683f -- 23:07:08 2023-03-07 23:07:08,486 [execute] DEBUG Popen(['git', 'rev-list', '9effb2aacd207501b7f6aff6b2e0714f80da683f', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 23:07:08 2023-03-07 23:07:08,493 [execute] INFO git fetch -v origin 23:07:08 2023-03-07 23:07:08,493 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 23:07:09 2023-03-07 23:07:09,013 [run_push] DEBUG no remote changes detected 23:07:09 2023-03-07 23:07:09,013 [execute] INFO git push origin semver 23:07:09 2023-03-07 23:07:09,014 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 23:07:10 2023-03-07 23:07:09,820 [run_push] DEBUG push all version tags 23:07:10 2023-03-07 23:07:09,820 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:07:10 2023-03-07 23:07:09,820 [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) 23:07:10 2023-03-07 23:07:10,600 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:07:10 3.0.0-dev.19 [Pipeline] } 23:07:10 $ docker exec --env ******** --env ******** 215a7d5065c6bba338a8d2e30e4bebcfd49a6cd32fa7522223791ffb8421213e ssh-agent -k 23:07:11 unset SSH_AUTH_SOCK; 23:07:11 unset SSH_AGENT_PID; 23:07:11 echo Agent pid 38 killed; 23:07:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:07:11 + git semver [Pipeline] } 23:07:11 $ docker stop --time=1 215a7d5065c6bba338a8d2e30e4bebcfd49a6cd32fa7522223791ffb8421213e 23:07:12 $ docker rm -f --volumes 215a7d5065c6bba338a8d2e30e4bebcfd49a6cd32fa7522223791ffb8421213e [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 23:07:13 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 23:07:13 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 23:07:13 total 16 23:07:13 drwxr-xr-x 3 root root 4096 Mar 7 22:55 . 23:07:13 drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 23:06 .. 23:07:13 drwxr-xr-x 2 root root 4096 Mar 7 22:55 cost 23:07:13 -rw-r--r-- 1 root root 91 Mar 7 22:55 cost.csv 23:07:13 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 23:07:13 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 23:07:13 total 16 23:07:13 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 22:55 . 23:07:13 drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 23:06 .. 23:07:13 drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 22:55 cost 23:07:13 -rw-r--r-- 1 jenkins jenkins 91 Mar 7 22:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:07:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:07:14 ---> package-listing.sh 23:07:14 ++ facter osfamily 23:07:14 ++ tr '[:upper:]' '[:lower:]' 23:07:14 + OS_FAMILY=debian 23:07:14 + workspace=/w/workspace/foundry_device-onvif-camera_main 23:07:14 + START_PACKAGES=/tmp/packages_start.txt 23:07:14 + END_PACKAGES=/tmp/packages_end.txt 23:07:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:07:14 + PACKAGES=/tmp/packages_start.txt 23:07:14 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 23:07:14 + PACKAGES=/tmp/packages_end.txt 23:07:14 + case "${OS_FAMILY}" in 23:07:14 + dpkg -l 23:07:14 + grep '^ii' 23:07:14 + '[' -f /tmp/packages_start.txt ']' 23:07:14 + '[' -f /tmp/packages_end.txt ']' 23:07:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:07:14 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 23:07:14 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 23:07:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 23:07:14 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 23:07:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:07:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:07:15 prd-ubuntu20.04-docker-8c-8g-8663 does not seem to be running inside a container 23:07:15 $ 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 23:07:15 $ docker top 421620e008ce9173ae3e289b278127897133db4aa43ad8302165b20d5c611be8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:07:16 + touch /tmp/pre-build-complete [Pipeline] sh 23:07:16 + mkdir -p /var/log/sysstat [Pipeline] sh 23:07:17 + ls /var/log/sa-host 23:07:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:07:17 provisioning config files... 23:07:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config224732485274571265tmp [Pipeline] { [Pipeline] echo 23:07:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:07:17 ---> create-netrc.sh [Pipeline] } 23:07:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:07:17 ---> python-tools-install.sh [Pipeline] echo 23:07:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:07:18 ---> sudo-logs.sh 23:07:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:07:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:07:18 ---> job-cost.sh 23:07:18 lf-activate-venv: SKIPPING 23:07:18 DEBUG: total: 0.2199999988079071 23:07:18 INFO: Retrieving Stack Cost... 23:07:18 INFO: Retrieving Pricing Info for: v3-standard-8 23:07:19 INFO: Archiving Costs [Pipeline] echo 23:07:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:07:19 ---> logs-deploy.sh 23:07:19 lf-activate-venv: SKIPPING 23:07:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/108 23:07:19 INFO: archiving workspace using pattern(s): 23:07:20 Archives upload complete. 23:07:20 INFO: archiving logs to Nexus