Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 81966fae257ec8aee1d7557002cb31a67ebedcc1 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-ssh462030446516689439.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-ssh7919265632732572303.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-ssh9559696039827403326.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-ssh14332049998414271649.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-ssh18404430362852492691.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4009 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 81966fae257ec8aee1d7557002cb31a67ebedcc1 (main) Commit message: "docs: update docker compose download instructions to the latest version (#223)" > 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 81966fae257ec8aee1d7557002cb31a67ebedcc1 # timeout=10 > git rev-list --no-walk 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:38:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:38:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:38:39 ========================================================= 18:38:39 EdgeX Global Pipelines Version Info 18:38:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:38:40 ------------------- 18:38:40 stable info: 18:38:40 ------------------- 18:38:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:38:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:38:40 Message: update stable to v1.0.244 18:38:40 ------------------- 18:38:40 experimental info: 18:38:40 ------------------- 18:38:40 Commited By: **** collab-it+edgex@linuxfoundation.org 18:38:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:38:40 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:38:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:38:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:38:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:38:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:38:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:38:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:38:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:38:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 81966fae257ec8aee1d7557002cb31a67ebedcc1 [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 81966fa [Pipeline] echo 18:38:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:38:41 provisioning config files... 18:38:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config103358776849272580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:38:41 ---> docker-login.sh 18:38:41 nexus3.edgexfoundry.org:10001 18:38:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:41 Configure a credential helper to remove this warning. See 18:38:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:41 18:38:41 Login Succeeded 18:38:41 nexus3.edgexfoundry.org:10002 18:38:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:42 Configure a credential helper to remove this warning. See 18:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:42 18:38:42 Login Succeeded 18:38:42 nexus3.edgexfoundry.org:10003 18:38:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:42 Configure a credential helper to remove this warning. See 18:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:42 18:38:42 Login Succeeded 18:38:42 nexus3.edgexfoundry.org:10004 18:38:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:42 Configure a credential helper to remove this warning. See 18:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:42 18:38:42 Login Succeeded 18:38:42 docker.io 18:38:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:42 Configure a credential helper to remove this warning. See 18:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:42 18:38:42 Login Succeeded 18:38:42 ---> docker-login.sh ends [Pipeline] } 18:38:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:38:43 + git rev-list -1 --merges 81966fae257ec8aee1d7557002cb31a67ebedcc1~1..81966fae257ec8aee1d7557002cb31a67ebedcc1 [Pipeline] echo 18:38:43 -----------> git rev-list -1 --merges 81966fae257ec8aee1d7557002cb31a67ebedcc1~1..81966fae257ec8aee1d7557002cb31a67ebedcc1 81966fae257ec8aee1d7557002cb31a67ebedcc1 [false] [Pipeline] sh 18:38:43 + git log --format=format:%s -1 81966fae257ec8aee1d7557002cb31a67ebedcc1 [Pipeline] echo 18:38:43 ========================================================= 18:38:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:38:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:38:43 + git log --format=format:%s -1 81966fae257ec8aee1d7557002cb31a67ebedcc1 [Pipeline] echo 18:38:43 [semverPrep] GIT_COMMIT: 81966fae257ec8aee1d7557002cb31a67ebedcc1, Commit Message: docs: update docker compose download instructions to the latest version (#223) [Pipeline] echo 18:38:43 [semverPrep] This is not a build commit. [Pipeline] sh 18:38:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:38:44 + grep -v github /etc/ssh/ssh_known_hosts 18:38:44 + [ -e /tmp/ssh_known_hosts ] 18:38:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:38:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:38:44 + sudo tee -a /etc/ssh/ssh_known_hosts 18:38:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:38:44 18:38:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:38:44 0.1.4: Pulling from edgex-devops/py-git-semver 18:38:44 b85a868b505f: Pulling fs layer 18:38:44 e2be974225ed: Pulling fs layer 18:38:44 339a4e72a1f5: Pulling fs layer 18:38:44 988bab9f4d93: Pulling fs layer 18:38:44 1469e6f7b9e6: Pulling fs layer 18:38:44 eaf3925da568: Pulling fs layer 18:38:44 bab4dde63d76: Pulling fs layer 18:38:44 bde34c3a00c8: Pulling fs layer 18:38:44 b352a97aabf1: Pulling fs layer 18:38:44 1469e6f7b9e6: Waiting 18:38:44 eaf3925da568: Waiting 18:38:44 bab4dde63d76: Waiting 18:38:44 bde34c3a00c8: Waiting 18:38:44 988bab9f4d93: Waiting 18:38:44 4872d77fe225: Pulling fs layer 18:38:44 b352a97aabf1: Waiting 18:38:44 5851b861e8e6: Pulling fs layer 18:38:44 4872d77fe225: Waiting 18:38:44 e2be974225ed: Verifying Checksum 18:38:44 e2be974225ed: Download complete 18:38:44 988bab9f4d93: Verifying Checksum 18:38:44 988bab9f4d93: Download complete 18:38:45 339a4e72a1f5: Verifying Checksum 18:38:45 339a4e72a1f5: Download complete 18:38:45 1469e6f7b9e6: Verifying Checksum 18:38:45 1469e6f7b9e6: Download complete 18:38:45 eaf3925da568: Verifying Checksum 18:38:45 eaf3925da568: Download complete 18:38:45 bde34c3a00c8: Verifying Checksum 18:38:45 bde34c3a00c8: Download complete 18:38:45 b352a97aabf1: Verifying Checksum 18:38:45 b352a97aabf1: Download complete 18:38:45 4872d77fe225: Verifying Checksum 18:38:45 4872d77fe225: Download complete 18:38:45 5851b861e8e6: Verifying Checksum 18:38:45 5851b861e8e6: Download complete 18:38:45 b85a868b505f: Verifying Checksum 18:38:45 b85a868b505f: Download complete 18:38:45 bab4dde63d76: Verifying Checksum 18:38:45 bab4dde63d76: Download complete 18:38:46 b85a868b505f: Pull complete 18:38:46 e2be974225ed: Pull complete 18:38:47 339a4e72a1f5: Pull complete 18:38:47 988bab9f4d93: Pull complete 18:38:47 1469e6f7b9e6: Pull complete 18:38:47 eaf3925da568: Pull complete 18:38:49 bab4dde63d76: Pull complete 18:38:49 bde34c3a00c8: Pull complete 18:38:49 b352a97aabf1: Pull complete 18:38:49 4872d77fe225: Pull complete 18:38:49 5851b861e8e6: Pull complete 18:38:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:38:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:38:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:49 prd-ubuntu20.04-docker-8c-8g-4009 does not seem to be running inside a container 18:38:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:38:52 $ docker top f6708c7286bba8e3453b34df44730336950a84672fffa6790f567ab602988749 -eo pid,comm 18:38:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:38:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:38:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:38:52 [ssh-agent] Looking for ssh-agent implementation... 18:38:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:38:52 $ docker exec f6708c7286bba8e3453b34df44730336950a84672fffa6790f567ab602988749 ssh-agent 18:38:52 SSH_AUTH_SOCK=/tmp/ssh-jcokQdu37vI7/agent.32 18:38:52 SSH_AGENT_PID=38 18:38:52 Running ssh-add (command line suppressed) 18:38:52 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3573724424678733286.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3573724424678733286.key) 18:38:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:38:53 + git tag --points-at HEAD [Pipeline] } 18:38:53 $ docker exec --env ******** --env ******** f6708c7286bba8e3453b34df44730336950a84672fffa6790f567ab602988749 ssh-agent -k 18:38:53 unset SSH_AUTH_SOCK; 18:38:53 unset SSH_AGENT_PID; 18:38:53 echo Agent pid 38 killed; 18:38:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:38:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:38:53 [ssh-agent] Looking for ssh-agent implementation... 18:38:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:38:53 $ docker exec f6708c7286bba8e3453b34df44730336950a84672fffa6790f567ab602988749 ssh-agent 18:38:53 SSH_AUTH_SOCK=/tmp/ssh-Xan3CcJlkju5/agent.70 18:38:53 SSH_AGENT_PID=76 18:38:53 Running ssh-add (command line suppressed) 18:38:53 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16992610829640443875.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16992610829640443875.key) 18:38:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:38:53 + git semver init 18:38:54 2023-01-30 18:38:54,075 [run_init] DEBUG init version:0.0.0 force:False 18:38:54 2023-01-30 18:38:54,075 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 18:38:54 2023-01-30 18:38:54,076 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 18:38:54 2023-01-30 18:38:54,076 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:38:55 2023-01-30 18:38:55,059 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 18:38:55 2023-01-30 18:38:55,060 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 18:38:55 2023-01-30 18:38:55,060 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:38:55 2023-01-30 18:38:55,060 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:38:55 3.0.0-dev.10 [Pipeline] } 18:38:55 $ docker exec --env ******** --env ******** f6708c7286bba8e3453b34df44730336950a84672fffa6790f567ab602988749 ssh-agent -k 18:38:55 unset SSH_AUTH_SOCK; 18:38:55 unset SSH_AGENT_PID; 18:38:55 echo Agent pid 76 killed; 18:38:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:38:55 + git semver [Pipeline] } 18:38:55 $ docker stop --time=1 f6708c7286bba8e3453b34df44730336950a84672fffa6790f567ab602988749 18:38:57 $ docker rm -f --volumes f6708c7286bba8e3453b34df44730336950a84672fffa6790f567ab602988749 [Pipeline] // withDockerContainer [Pipeline] sh 18:38:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:38:57 Stashed 1 file(s) [Pipeline] echo 18:38:57 [edgeXSemver]: initialized semver on version 3.0.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:38:57 provisioning config files... 18:38:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14331236202435152588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:38:58 ---> docker-login.sh 18:38:58 nexus3.edgexfoundry.org:10001 18:38:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:58 Configure a credential helper to remove this warning. See 18:38:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:58 18:38:58 Login Succeeded 18:38:58 nexus3.edgexfoundry.org:10002 18:38:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:58 Configure a credential helper to remove this warning. See 18:38:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:58 18:38:58 Login Succeeded 18:38:58 nexus3.edgexfoundry.org:10003 18:38:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:58 Configure a credential helper to remove this warning. See 18:38:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:58 18:38:58 Login Succeeded 18:38:58 nexus3.edgexfoundry.org:10004 18:38:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:58 Configure a credential helper to remove this warning. See 18:38:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:58 18:38:58 Login Succeeded 18:38:58 docker.io 18:38:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:58 Configure a credential helper to remove this warning. See 18:38:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:58 18:38:58 Login Succeeded 18:38:58 ---> docker-login.sh ends [Pipeline] } 18:38:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:38:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:38:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:38:58 ========================================================= 18:38:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:38:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:38:58 Sending build context to Docker daemon 27.69MB 18:38:58 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:38:58 Step 2/13 : FROM ${BASE} AS builder 18:38:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:38:59 213ec9aee27d: Pulling fs layer 18:38:59 4583459ba037: Pulling fs layer 18:38:59 93c1e223e6f2: Pulling fs layer 18:38:59 53926ce57604: Pulling fs layer 18:38:59 21b2b0c7a3f4: Pulling fs layer 18:38:59 53926ce57604: Waiting 18:38:59 21b2b0c7a3f4: Waiting 18:38:59 22ff95d597cd: Pulling fs layer 18:38:59 12d6caf4c0d1: Pulling fs layer 18:38:59 22ff95d597cd: Waiting 18:38:59 96b7cbca73a9: Pulling fs layer 18:38:59 a7acece74701: Pulling fs layer 18:38:59 96b7cbca73a9: Waiting 18:38:59 12d6caf4c0d1: Waiting 18:38:59 a7acece74701: Waiting 18:38:59 93c1e223e6f2: Verifying Checksum 18:38:59 93c1e223e6f2: Download complete 18:38:59 4583459ba037: Download complete 18:38:59 21b2b0c7a3f4: Verifying Checksum 18:38:59 21b2b0c7a3f4: Download complete 18:38:59 22ff95d597cd: Verifying Checksum 18:38:59 22ff95d597cd: Download complete 18:38:59 213ec9aee27d: Verifying Checksum 18:38:59 213ec9aee27d: Download complete 18:38:59 12d6caf4c0d1: Download complete 18:38:59 213ec9aee27d: Pull complete 18:38:59 4583459ba037: Pull complete 18:38:59 93c1e223e6f2: Pull complete 18:39:00 53926ce57604: Verifying Checksum 18:39:00 53926ce57604: Download complete 18:39:00 a7acece74701: Verifying Checksum 18:39:00 a7acece74701: Download complete 18:39:00 96b7cbca73a9: Verifying Checksum 18:39:00 96b7cbca73a9: Download complete 18:39:04 53926ce57604: Pull complete 18:39:04 21b2b0c7a3f4: Pull complete 18:39:04 22ff95d597cd: Pull complete 18:39:04 12d6caf4c0d1: Pull complete 18:39:07 96b7cbca73a9: Pull complete 18:39:08 a7acece74701: Pull complete 18:39:08 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:39:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:39:08 ---> db6d94c90886 18:39:08 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:39:12 Still waiting to schedule task 18:39:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:39:13 ---> Running in c0037cf80d18 18:39:13 Removing intermediate container c0037cf80d18 18:39:13 ---> fad0008aeba6 18:39:13 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:39:13 ---> Running in cc1a0762855e 18:39:13 Removing intermediate container cc1a0762855e 18:39:13 ---> b06c9153a1fe 18:39:13 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:39:13 ---> Running in 7a1faea23a3d 18:39:13 Removing intermediate container 7a1faea23a3d 18:39:13 ---> 9b6f9b7e47c4 18:39:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:39:13 ---> Running in 5e6954faa4e7 18:39:13 Removing intermediate container 5e6954faa4e7 18:39:13 ---> a0de97dabfdf 18:39:13 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:39:13 ---> Running in 0b30085b66c8 18:39:13 Removing intermediate container 0b30085b66c8 18:39:13 ---> d85b3d922807 18:39:13 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:13 ---> Running in 1f17355377a8 18:39:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:39:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:39:14 OK: 211 MiB in 51 packages 18:39:14 Removing intermediate container 1f17355377a8 18:39:14 ---> b31a70853445 18:39:14 Step 9/13 : WORKDIR /device-onvif-camera 18:39:14 ---> Running in 13c8b7f6cf92 18:39:14 Removing intermediate container 13c8b7f6cf92 18:39:14 ---> cb93a13024fe 18:39:14 Step 10/13 : COPY go.mod vendor* ./ 18:39:15 ---> 5cf74eb2b59a 18:39:15 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:39:15 ---> Running in 0b5a1efaedfd 18:39:47 Removing intermediate container 0b5a1efaedfd 18:39:47 ---> c3f07791d3a2 18:39:47 Step 12/13 : COPY . . 18:39:47 ---> e69c19dc92d1 18:39:47 Step 13/13 : RUN ${MAKE} 18:39:47 ---> Running in a3e7f4d47bef 18:39:47 noop 18:39:47 Removing intermediate container a3e7f4d47bef 18:39:47 ---> 811761294369 18:39:47 Successfully built 811761294369 18:39:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:47 + docker inspect -f . ci-base-image-x86_64 18:39:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:47 prd-ubuntu20.04-docker-8c-8g-4009 does not seem to be running inside a container 18:39:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:39:48 $ docker top 504e8108f6217c72c626b2c708eb846d6955777ed96f2f50a5fa6d84b2a9c811 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:48 + go version 18:39:48 go version go1.18.7 linux/amd64 [Pipeline] } 18:39:48 $ docker stop --time=1 504e8108f6217c72c626b2c708eb846d6955777ed96f2f50a5fa6d84b2a9c811 18:39:49 $ docker rm -f --volumes 504e8108f6217c72c626b2c708eb846d6955777ed96f2f50a5fa6d84b2a9c811 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:50 + docker inspect -f . ci-base-image-x86_64 18:39:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:50 prd-ubuntu20.04-docker-8c-8g-4009 does not seem to be running inside a container 18:39:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:39:50 $ docker top 84d7ba561c822264e8f58db1b4659426b89794a1791866bf2a5f1d77c06642a5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:50 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 18:39:51 + make test 18:39:51 go test ./... -coverprofile=coverage.out ./... 18:39:51 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:40:03 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:40:05 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 29.3% of statements 18:40:05 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:40:05 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.581s coverage: 86.5% of statements 18:40:13 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:40:13 go vet ./... 18:40:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:40:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:40:17 ./bin/test-attribution-txt.sh [Pipeline] echo 18:40:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:40:17 $ docker stop --time=1 84d7ba561c822264e8f58db1b4659426b89794a1791866bf2a5f1d77c06642a5 18:40:19 $ docker rm -f --volumes 84d7ba561c822264e8f58db1b4659426b89794a1791866bf2a5f1d77c06642a5 [Pipeline] // withDockerContainer [Pipeline] sh 18:40:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:40:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:40:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:40:21 + ls -al . 18:40:21 total 248 18:40:21 drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 18:39 . 18:40:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:38 .. 18:40:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 18:40 .git 18:40:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 18:38 .github 18:40:21 -rw-rw-r-- 1 jenkins jenkins 496 Jan 30 18:38 .gitignore 18:40:21 -rw-rw-r-- 1 jenkins jenkins 42 Jan 30 18:38 .golangci.yml 18:40:21 drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 18:38 .semver 18:40:21 -rw-rw-r-- 1 jenkins jenkins 9638 Jan 30 18:38 Attribution.txt 18:40:21 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 30 18:38 CHANGELOG.md 18:40:21 -rw-rw-r-- 1 jenkins jenkins 1574 Jan 30 18:38 Dockerfile 18:40:21 -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 18:38 GOVERNANCE.md 18:40:21 -rw-rw-r-- 1 jenkins jenkins 734 Jan 30 18:38 Jenkinsfile 18:40:21 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 30 18:38 LICENSE 18:40:21 -rw-rw-r-- 1 jenkins jenkins 2577 Jan 30 18:38 Makefile 18:40:21 -rw-rw-r-- 1 jenkins jenkins 625 Jan 30 18:38 OWNERS.md 18:40:21 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 30 18:38 README.md 18:40:21 -rw-rw-r-- 1 jenkins jenkins 12 Jan 30 18:38 VERSION 18:40:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 18:38 bin 18:40:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 18:38 cmd 18:40:21 -rw-r--r-- 1 jenkins jenkins 79184 Jan 30 18:40 coverage.out 18:40:21 drwxrwxr-x 6 jenkins jenkins 4096 Jan 30 18:38 doc 18:40:21 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 30 18:38 go.mod 18:40:21 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 30 18:38 go.sum 18:40:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:38 internal 18:40:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:38 snap 18:40:21 -rw-rw-r-- 1 jenkins jenkins 236 Jan 30 18:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:21 + 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=81966fae257ec8aee1d7557002cb31a67ebedcc1 --label arch=amd64 --label version=3.0.0-dev.10 . 18:40:21 Sending build context to Docker daemon 27.77MB 18:40:21 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:40:21 Step 2/26 : FROM ${BASE} AS builder 18:40:21 ---> 811761294369 18:40:21 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:40:21 ---> Running in a1ceef04ead2 18:40:21 Removing intermediate container a1ceef04ead2 18:40:21 ---> 3dfc369478ec 18:40:21 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:40:21 ---> Running in e271f5b87922 18:40:21 Removing intermediate container e271f5b87922 18:40:21 ---> 2ecad833b4f7 18:40:21 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:40:21 ---> Running in f704d88d3173 18:40:21 Removing intermediate container f704d88d3173 18:40:21 ---> 2fbbc78b8fd6 18:40:21 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:40:21 ---> Running in 5a0185f8bd9a 18:40:22 Removing intermediate container 5a0185f8bd9a 18:40:22 ---> 58d8beb62c90 18:40:22 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:40:22 ---> Running in 61b0fd9caa9c 18:40:22 Removing intermediate container 61b0fd9caa9c 18:40:22 ---> f5f6ba428a6d 18:40:22 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:40:22 ---> Running in 042d2b151997 18:40:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:40:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:40:22 OK: 211 MiB in 51 packages 18:40:23 Removing intermediate container 042d2b151997 18:40:23 ---> 1b6975d5d087 18:40:23 Step 9/26 : WORKDIR /device-onvif-camera 18:40:23 ---> Running in a050fc8ded23 18:40:23 Removing intermediate container a050fc8ded23 18:40:23 ---> 48e1a18ef808 18:40:23 Step 10/26 : COPY go.mod vendor* ./ 18:40:23 ---> 9a68a44d0043 18:40:23 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:40:23 ---> Running in 8adaf30df398 18:40:24 Removing intermediate container 8adaf30df398 18:40:24 ---> 49d38480566c 18:40:24 Step 12/26 : COPY . . 18:40:25 ---> a78214f2f43c 18:40:25 Step 13/26 : RUN ${MAKE} 18:40:25 ---> Running in b4b693867b8d 18:40:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:40:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4010 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 18:40:41 Running in /w/workspace/device-onvif-camera/99 [Pipeline] { [Pipeline] checkout 18:40:41 The recommended git tool is: git 18:40:46 using credential edgex-jenkins-ssh 18:40:46 Cloning the remote Git repository 18:40:47 Removing intermediate container b4b693867b8d 18:40:47 ---> 0167f7cff466 18:40:47 Step 14/26 : FROM alpine:3.16 18:40:47 3.16: Pulling from library/alpine 18:40:47 ca7dd9ec2225: Pulling fs layer 18:40:47 ca7dd9ec2225: Verifying Checksum 18:40:47 ca7dd9ec2225: Download complete 18:40:47 ca7dd9ec2225: Pull complete 18:40:47 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:40:47 Status: Downloaded newer image for alpine:3.16 18:40:47 ---> bfe296a52501 18:40:47 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:40:47 ---> Running in 96df2591bac4 18:40:47 Removing intermediate container 96df2591bac4 18:40:47 ---> 233f8bf16359 18:40:47 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:40:47 ---> Running in f8e7ff4ea698 18:40:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:40:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:40:47 (1/1) Installing dumb-init (1.2.5-r1) 18:40:47 Executing busybox-1.35.0-r17.trigger 18:40:47 OK: 6 MiB in 15 packages 18:40:46 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:40:46 > git init /w/workspace/device-onvif-camera/99 # timeout=10 18:40:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:40:46 > git --version # timeout=10 18:40:46 > git --version # 'git version 2.25.1' 18:40:46 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:48 Removing intermediate container f8e7ff4ea698 18:40:48 ---> 1d3a6d3b7d90 18:40:48 Step 17/26 : WORKDIR / 18:40:48 ---> Running in 8938b47ce6f3 18:40:48 Removing intermediate container 8938b47ce6f3 18:40:48 ---> 2fd539e85c24 18:40:48 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:40:48 ---> 1b4723bf3a9d 18:40:48 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:40:48 ---> 631d5f8cab3c 18:40:48 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:40:48 ---> 734e51a3628d 18:40:48 Step 21/26 : EXPOSE 59984 18:40:48 ---> Running in 7370973e401b 18:40:49 Avoid second fetch 18:40:49 Checking out Revision 81966fae257ec8aee1d7557002cb31a67ebedcc1 (main) 18:40:49 Removing intermediate container 7370973e401b 18:40:49 ---> c3d67e67832e 18:40:49 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:40:49 ---> Running in 1a7dc004c4c8 18:40:49 Removing intermediate container 1a7dc004c4c8 18:40:49 ---> 29958c193c77 18:40:49 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:40:49 ---> Running in 13d00659519f 18:40:49 Removing intermediate container 13d00659519f 18:40:49 ---> eed5cd2f596c 18:40:49 Step 24/26 : LABEL arch=amd64 18:40:49 ---> Running in c2000ecd6c3b 18:40:48 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:40:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:49 > git config core.sparsecheckout # timeout=10 18:40:49 > git checkout -f 81966fae257ec8aee1d7557002cb31a67ebedcc1 # timeout=10 18:40:49 Removing intermediate container c2000ecd6c3b 18:40:49 ---> 9ea7c043d194 18:40:49 Step 25/26 : LABEL git_sha=81966fae257ec8aee1d7557002cb31a67ebedcc1 18:40:49 ---> Running in 71e7df84de45 18:40:49 Removing intermediate container 71e7df84de45 18:40:49 ---> cfc5bbb8ab3e 18:40:49 Step 26/26 : LABEL version=3.0.0-dev.10 18:40:49 ---> Running in b545a16637f7 18:40:49 Removing intermediate container b545a16637f7 18:40:49 ---> 63c53cd6a26b 18:40:49 [Warning] One or more build-args [ARCH] were not consumed 18:40:49 Successfully built 63c53cd6a26b 18:40:49 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 18:40:49 Commit message: "docs: update docker compose download instructions to the latest version (#223)" [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:40:49 provisioning config files... 18:40:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17911131423980896011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:50 ---> docker-login.sh 18:40:50 nexus3.edgexfoundry.org:10001 18:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:50 Configure a credential helper to remove this warning. See 18:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:50 18:40:50 Login Succeeded 18:40:50 nexus3.edgexfoundry.org:10002 18:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:50 Configure a credential helper to remove this warning. See 18:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:50 18:40:50 Login Succeeded 18:40:50 nexus3.edgexfoundry.org:10003 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:50 Configure a credential helper to remove this warning. See 18:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:50 18:40:50 Login Succeeded 18:40:50 nexus3.edgexfoundry.org:10004 18:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:50 Configure a credential helper to remove this warning. See 18:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:50 18:40:50 Login Succeeded 18:40:50 docker.io 18:40:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:40:50 % Total % Received % Xferd Average Speed Time Time Time Current 18:40:50 Dload Upload Total Spent Left Speed 18:40:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 91078 18:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:50 Configure a credential helper to remove this warning. See 18:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:50 18:40:50 Login Succeeded 18:40:50 ---> docker-login.sh ends [Pipeline] } 18:40:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:40:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:40:50 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 18:40:50 81966fae257ec8aee1d7557002cb31a67ebedcc1 18:40:50 latest 18:40:50 3.0.0-dev.10 18:40:50 81966fae257ec8aee1d7557002cb31a67ebedcc1-3.0.0-dev.10 18:40:50 main 18:40:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 18:40:51 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:81966fae257ec8aee1d7557002cb31a67ebedcc1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:40:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:81966fae257ec8aee1d7557002cb31a67ebedcc1 18:40:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:40:51 82faba484bde: Preparing 18:40:51 a00e2ee09f9a: Preparing 18:40:51 f0d338d29f5a: Preparing 18:40:51 5958e78c4750: Preparing 18:40:51 e5e13b0c77cb: Preparing 18:40:51 e5e13b0c77cb: Layer already exists 18:40:51 82faba484bde: Pushed 18:40:51 a00e2ee09f9a: Pushed 18:40:51 5958e78c4750: Pushed 18:40:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:40:51 + sudo tee /etc/docker/daemon.new 18:40:51 { 18:40:51 "registry-mirrors": [ 18:40:51 "https://nexus3.edgexfoundry.org:10001" 18:40:51 ], 18:40:51 "bip": "10.250.0.254/24", 18:40:51 "hosts": [ 18:40:51 "tcp://0.0.0.0:5555", 18:40:51 "unix:///var/run/docker.sock" 18:40:51 ], 18:40:51 "mtu": 1458, 18:40:51 "selinux-enabled": true, 18:40:51 "seccomp-profile": "/etc/docker/seccomp.json" 18:40:51 } [Pipeline] sh 18:40:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:40:52 + sudo service docker restart 18:40:54 f0d338d29f5a: Pushed 18:40:54 81966fae257ec8aee1d7557002cb31a67ebedcc1: digest: sha256:f6595efdc45af7de9854f89c1d366818f3cdfa7375dc39c7a20ee063c90782fb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:54 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:40:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:40:55 82faba484bde: Preparing 18:40:55 a00e2ee09f9a: Preparing 18:40:55 f0d338d29f5a: Preparing 18:40:55 5958e78c4750: Preparing 18:40:55 e5e13b0c77cb: Preparing 18:40:55 e5e13b0c77cb: Layer already exists 18:40:55 f0d338d29f5a: Layer already exists 18:40:55 a00e2ee09f9a: Layer already exists 18:40:55 82faba484bde: Layer already exists 18:40:55 5958e78c4750: Layer already exists 18:40:55 latest: digest: sha256:f6595efdc45af7de9854f89c1d366818f3cdfa7375dc39c7a20ee063c90782fb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:55 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.10 18:40:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:40:55 82faba484bde: Preparing 18:40:55 a00e2ee09f9a: Preparing 18:40:55 f0d338d29f5a: Preparing 18:40:55 5958e78c4750: Preparing 18:40:55 e5e13b0c77cb: Preparing 18:40:55 5958e78c4750: Layer already exists 18:40:55 f0d338d29f5a: Layer already exists 18:40:55 a00e2ee09f9a: Layer already exists 18:40:55 e5e13b0c77cb: Layer already exists 18:40:55 82faba484bde: Layer already exists 18:40:55 3.0.0-dev.10: digest: sha256:f6595efdc45af7de9854f89c1d366818f3cdfa7375dc39c7a20ee063c90782fb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:55 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:81966fae257ec8aee1d7557002cb31a67ebedcc1-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:81966fae257ec8aee1d7557002cb31a67ebedcc1-3.0.0-dev.10 18:40:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:40:56 82faba484bde: Preparing 18:40:56 a00e2ee09f9a: Preparing 18:40:56 f0d338d29f5a: Preparing 18:40:56 5958e78c4750: Preparing 18:40:56 e5e13b0c77cb: Preparing 18:40:56 e5e13b0c77cb: Layer already exists 18:40:56 f0d338d29f5a: Layer already exists 18:40:56 a00e2ee09f9a: Layer already exists 18:40:56 5958e78c4750: Layer already exists 18:40:56 82faba484bde: Layer already exists 18:40:56 81966fae257ec8aee1d7557002cb31a67ebedcc1-3.0.0-dev.10: digest: sha256:f6595efdc45af7de9854f89c1d366818f3cdfa7375dc39c7a20ee063c90782fb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:56 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 18:40:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:40:56 82faba484bde: Preparing 18:40:56 a00e2ee09f9a: Preparing 18:40:56 f0d338d29f5a: Preparing 18:40:56 5958e78c4750: Preparing 18:40:56 e5e13b0c77cb: Preparing 18:40:56 f0d338d29f5a: Layer already exists 18:40:56 e5e13b0c77cb: Layer already exists 18:40:56 a00e2ee09f9a: Layer already exists 18:40:56 5958e78c4750: Layer already exists 18:40:56 82faba484bde: Layer already exists 18:40:56 main: digest: sha256:f6595efdc45af7de9854f89c1d366818f3cdfa7375dc39c7a20ee063c90782fb size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:40:56 ===================================================== [Pipeline] echo 18:40:56 taggedImages: 18:40:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera:81966fae257ec8aee1d7557002cb31a67ebedcc1 18:40:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:40:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.10 18:40:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera:81966fae257ec8aee1d7557002cb31a67ebedcc1-3.0.0-dev.10 18:40:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:40:57 18:40:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:40:57 latest: Pulling from edgex-lftools-log-publisher 18:40:57 5eb5b503b376: Pulling fs layer 18:40:57 5c69ac0246d0: Pulling fs layer 18:40:57 ec43610c2a17: Pulling fs layer 18:40:57 3a2ae6a8a46f: Pulling fs layer 18:40:57 33b1e0a273af: Pulling fs layer 18:40:57 5d3b04190fa2: Pulling fs layer 18:40:57 2f39f015ded8: Pulling fs layer 18:40:57 3a2ae6a8a46f: Waiting 18:40:57 33b1e0a273af: Waiting 18:40:57 5d3b04190fa2: Waiting 18:40:57 2f39f015ded8: Waiting 18:40:57 5c69ac0246d0: Verifying Checksum 18:40:57 5c69ac0246d0: Download complete 18:40:57 3a2ae6a8a46f: Verifying Checksum 18:40:57 3a2ae6a8a46f: Download complete 18:40:57 33b1e0a273af: Verifying Checksum 18:40:57 33b1e0a273af: Download complete 18:40:57 ec43610c2a17: Verifying Checksum 18:40:57 ec43610c2a17: Download complete 18:40:57 5d3b04190fa2: Download complete 18:40:58 5eb5b503b376: Verifying Checksum 18:40:58 5eb5b503b376: Download complete 18:40:58 2f39f015ded8: Download complete 18:40:59 5eb5b503b376: Pull complete 18:40:59 5c69ac0246d0: Pull complete 18:40:59 ec43610c2a17: Pull complete 18:40:59 3a2ae6a8a46f: Pull complete 18:41:00 33b1e0a273af: Pull complete 18:41:00 5d3b04190fa2: Pull complete 18:41:05 2f39f015ded8: Pull complete 18:41:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:41:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:41:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:05 prd-ubuntu20.04-docker-8c-8g-4009 does not seem to be running inside a container 18:41:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:41:08 $ docker top 3305f26646e76237d502910d119a7d6bda3b560b6dd9ff70184bc552435be7aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:08 ---> job-cost.sh 18:41:08 lf-activate-venv: SKIPPING 18:41:08 INFO: No Stack... 18:41:09 INFO: Retrieving Pricing Info for: v3-standard-8 18:41:09 INFO: Archiving Costs [Pipeline] sh 18:41:09 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 18:41:09 + cut -d, -f6 [Pipeline] lock 18:41:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-99-stack-cost] 18:41:09 Resource [jenkins-edgexfoundry-device-onvif-camera-main-99-stack-cost] did not exist. Created. 18:41:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:41:09 + echo total: 0.2199999988079071 [Pipeline] stash 18:41:09 Stashed 1 file(s) [Pipeline] } 18:41:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-99-stack-cost] [Pipeline] // lock [Pipeline] } 18:41:09 $ docker stop --time=1 3305f26646e76237d502910d119a7d6bda3b560b6dd9ff70184bc552435be7aa 18:41:11 $ docker rm -f --volumes 3305f26646e76237d502910d119a7d6bda3b560b6dd9ff70184bc552435be7aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 18:41:11 provisioning config files... [Pipeline] } [Pipeline] // withEnv [Pipeline] } 18:41:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/99@tmp/config10259681269049248889tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:11 ---> docker-login.sh 18:41:11 nexus3.edgexfoundry.org:10001 18:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:13 Configure a credential helper to remove this warning. See 18:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:13 18:41:13 Login Succeeded 18:41:13 nexus3.edgexfoundry.org:10002 18:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:13 Configure a credential helper to remove this warning. See 18:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:13 18:41:13 Login Succeeded 18:41:13 nexus3.edgexfoundry.org:10003 18:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:13 Configure a credential helper to remove this warning. See 18:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:13 18:41:13 Login Succeeded 18:41:13 nexus3.edgexfoundry.org:10004 18:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:14 Configure a credential helper to remove this warning. See 18:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:14 18:41:14 Login Succeeded 18:41:14 docker.io 18:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:14 Configure a credential helper to remove this warning. See 18:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:14 18:41:14 Login Succeeded 18:41:14 ---> docker-login.sh ends [Pipeline] } 18:41:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:41:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:14 ========================================================= 18:41:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:41:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:15 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:41:15 Sending build context to Docker daemon 20.54MB 18:41:15 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:41:15 Step 2/13 : FROM ${BASE} AS builder 18:41:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:41:15 9b18e9b68314: Pulling fs layer 18:41:15 35d82f9e3411: Pulling fs layer 18:41:15 e16973657156: Pulling fs layer 18:41:15 fc693d55d65f: Pulling fs layer 18:41:15 7e9fc2657dce: Pulling fs layer 18:41:15 dda99020689f: Pulling fs layer 18:41:15 db1c61fa0a46: Pulling fs layer 18:41:15 891c053d2c06: Pulling fs layer 18:41:15 fc693d55d65f: Waiting 18:41:15 7e9fc2657dce: Waiting 18:41:15 dda99020689f: Waiting 18:41:15 db1c61fa0a46: Waiting 18:41:15 891c053d2c06: Waiting 18:41:15 e16973657156: Verifying Checksum 18:41:15 e16973657156: Download complete 18:41:15 35d82f9e3411: Verifying Checksum 18:41:15 35d82f9e3411: Download complete 18:41:15 7e9fc2657dce: Verifying Checksum 18:41:15 7e9fc2657dce: Download complete 18:41:16 dda99020689f: Verifying Checksum 18:41:16 dda99020689f: Download complete 18:41:16 9b18e9b68314: Verifying Checksum 18:41:16 9b18e9b68314: Download complete 18:41:17 9b18e9b68314: Pull complete 18:41:17 891c053d2c06: Verifying Checksum 18:41:17 891c053d2c06: Download complete 18:41:17 35d82f9e3411: Pull complete 18:41:17 e16973657156: Pull complete 18:41:18 db1c61fa0a46: Verifying Checksum 18:41:18 db1c61fa0a46: Download complete 18:41:18 fc693d55d65f: Verifying Checksum 18:41:18 fc693d55d65f: Download complete 18:41:30 fc693d55d65f: Pull complete 18:41:30 7e9fc2657dce: Pull complete 18:41:30 dda99020689f: Pull complete 18:41:34 db1c61fa0a46: Pull complete 18:41:36 891c053d2c06: Pull complete 18:41:36 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:41:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:41:36 ---> f96f9c87975a 18:41:36 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:41:38 ---> Running in 1a77600b111f 18:41:38 Removing intermediate container 1a77600b111f 18:41:38 ---> 540cba71c900 18:41:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:41:38 ---> Running in f25dfc31c39e 18:41:38 Removing intermediate container f25dfc31c39e 18:41:38 ---> 5037bab3f4f3 18:41:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 18:41:38 ---> Running in 5b4b8cf3dc51 18:41:38 Removing intermediate container 5b4b8cf3dc51 18:41:38 ---> 315d41e03cf3 18:41:38 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 18:41:39 ---> Running in 51474054846a 18:41:39 Removing intermediate container 51474054846a 18:41:39 ---> adc47dca6888 18:41:39 Step 7/13 : LABEL Name=edgex-device-onvif-camera 18:41:39 ---> Running in 1a281c5b05e0 18:41:39 Removing intermediate container 1a281c5b05e0 18:41:39 ---> 8a06ff305a38 18:41:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:41:39 ---> Running in ec876900c042 18:41:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:41:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:41:42 OK: 221 MiB in 51 packages 18:41:43 Removing intermediate container ec876900c042 18:41:43 ---> 9d5b54e79730 18:41:43 Step 9/13 : WORKDIR /device-onvif-camera 18:41:43 ---> Running in bfdd2de84243 18:41:43 Removing intermediate container bfdd2de84243 18:41:43 ---> 9a0cb296c5dc 18:41:43 Step 10/13 : COPY go.mod vendor* ./ 18:41:44 ---> 39d22d7e3f36 18:41:44 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:41:44 ---> Running in 754f0dc5b065 18:42:51 Removing intermediate container 754f0dc5b065 18:42:51 ---> 8db9760a106c 18:42:51 Step 12/13 : COPY . . 18:42:51 ---> b5ab5602a035 18:42:51 Step 13/13 : RUN ${MAKE} 18:42:51 ---> Running in dda3060f310a 18:42:51 noop 18:42:51 Removing intermediate container dda3060f310a 18:42:51 ---> ef12af84b68a 18:42:51 Successfully built ef12af84b68a 18:42:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:52 + docker inspect -f . ci-base-image-arm64 18:42:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:52 prd-ubuntu20.04-docker-arm64-4c-16g-4010 does not seem to be running inside a container 18:42:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/99 -v /w/workspace/device-onvif-camera/99:/w/workspace/device-onvif-camera/99:rw,z -v /w/workspace/device-onvif-camera/99@tmp:/w/workspace/device-onvif-camera/99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:42:53 $ docker top 81037a6031545252eddc42a63aa34a71facef22a4e2d9f6548f712297e654a84 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:54 + go version 18:42:54 go version go1.18.7 linux/arm64 [Pipeline] } 18:42:54 $ docker stop --time=1 81037a6031545252eddc42a63aa34a71facef22a4e2d9f6548f712297e654a84 18:42:56 $ docker rm -f --volumes 81037a6031545252eddc42a63aa34a71facef22a4e2d9f6548f712297e654a84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:56 + docker inspect -f . ci-base-image-arm64 18:42:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:56 prd-ubuntu20.04-docker-arm64-4c-16g-4010 does not seem to be running inside a container 18:42:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/99 -v /w/workspace/device-onvif-camera/99:/w/workspace/device-onvif-camera/99:rw,z -v /w/workspace/device-onvif-camera/99@tmp:/w/workspace/device-onvif-camera/99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:42:58 $ docker top 05ba23f959c1d574065e55bec3979e59ff2f676cd93f217d544c0d74e232aca7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:59 + git config --global --add safe.directory /w/workspace/device-onvif-camera/99 [Pipeline] fileExists [Pipeline] sh 18:42:59 + make test 18:42:59 go test ./... -coverprofile=coverage.out ./... 18:43:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:44:37 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:44:38 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.194s coverage: 29.3% of statements 18:44:38 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:44:49 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.988s coverage: 86.5% of statements 18:44:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:44:49 go vet ./... 18:45:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:45:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:45:21 ./bin/test-attribution-txt.sh [Pipeline] echo 18:45:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:45:21 $ docker stop --time=1 05ba23f959c1d574065e55bec3979e59ff2f676cd93f217d544c0d74e232aca7 18:45:23 $ docker rm -f --volumes 05ba23f959c1d574065e55bec3979e59ff2f676cd93f217d544c0d74e232aca7 [Pipeline] // withDockerContainer [Pipeline] sh 18:45:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:45:24 Warning: overwriting stash ‘coverage-report’ 18:45:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:45:25 + ls -al . 18:45:25 total 244 18:45:25 drwxrwxr-x 9 jenkins jenkins 4096 Jan 30 18:43 . 18:45:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:40 .. 18:45:25 drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 18:40 .git 18:45:25 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 18:40 .github 18:45:25 -rw-rw-r-- 1 jenkins jenkins 496 Jan 30 18:40 .gitignore 18:45:25 -rw-rw-r-- 1 jenkins jenkins 42 Jan 30 18:40 .golangci.yml 18:45:25 -rw-rw-r-- 1 jenkins jenkins 9638 Jan 30 18:40 Attribution.txt 18:45:25 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 30 18:40 CHANGELOG.md 18:45:25 -rw-rw-r-- 1 jenkins jenkins 1574 Jan 30 18:40 Dockerfile 18:45:25 -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 18:40 GOVERNANCE.md 18:45:25 -rw-rw-r-- 1 jenkins jenkins 734 Jan 30 18:40 Jenkinsfile 18:45:25 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 30 18:40 LICENSE 18:45:25 -rw-rw-r-- 1 jenkins jenkins 2577 Jan 30 18:40 Makefile 18:45:25 -rw-rw-r-- 1 jenkins jenkins 625 Jan 30 18:40 OWNERS.md 18:45:25 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 30 18:40 README.md 18:45:25 -rw-rw-r-- 1 jenkins jenkins 12 Jan 30 18:38 VERSION 18:45:25 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 18:40 bin 18:45:25 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 18:40 cmd 18:45:25 -rw-r--r-- 1 jenkins jenkins 79184 Jan 30 18:44 coverage.out 18:45:25 drwxrwxr-x 6 jenkins jenkins 4096 Jan 30 18:40 doc 18:45:25 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 30 18:40 go.mod 18:45:25 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 30 18:40 go.sum 18:45:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:40 internal 18:45:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 18:40 snap 18:45:25 -rw-rw-r-- 1 jenkins jenkins 236 Jan 30 18:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:26 + 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=81966fae257ec8aee1d7557002cb31a67ebedcc1 --label arch=arm64 --label version=3.0.0-dev.10 . 18:45:27 Sending build context to Docker daemon 20.62MB 18:45:27 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:45:27 Step 2/26 : FROM ${BASE} AS builder 18:45:27 ---> ef12af84b68a 18:45:27 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:45:27 ---> Running in df675693cf7e 18:45:27 Removing intermediate container df675693cf7e 18:45:27 ---> 2c15fe01877b 18:45:27 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:45:27 ---> Running in 527ecd9114b7 18:45:28 Removing intermediate container 527ecd9114b7 18:45:28 ---> 124a303d3a60 18:45:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:45:28 ---> Running in ade0aec77898 18:45:29 Removing intermediate container ade0aec77898 18:45:29 ---> ef19b9804d6b 18:45:29 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:45:29 ---> Running in 63e982e46ce4 18:45:29 Removing intermediate container 63e982e46ce4 18:45:29 ---> 6602cf53f22a 18:45:29 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:45:29 ---> Running in d58d3a19f4a1 18:45:29 Removing intermediate container d58d3a19f4a1 18:45:29 ---> a13e34ddda32 18:45:29 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:45:29 ---> Running in 330a1abb5df7 18:45:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:45:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:45:32 OK: 221 MiB in 51 packages 18:45:33 Removing intermediate container 330a1abb5df7 18:45:33 ---> a788c58f80e6 18:45:33 Step 9/26 : WORKDIR /device-onvif-camera 18:45:33 ---> Running in b643f1bf93db 18:45:33 Removing intermediate container b643f1bf93db 18:45:33 ---> 1cd58109cb51 18:45:33 Step 10/26 : COPY go.mod vendor* ./ 18:45:34 ---> 4a9d58865d70 18:45:34 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:45:34 ---> Running in c93ac6f50009 18:45:38 Removing intermediate container c93ac6f50009 18:45:38 ---> 97bb5e0f4018 18:45:38 Step 12/26 : COPY . . 18:45:39 ---> 0a9f24d24558 18:45:39 Step 13/26 : RUN ${MAKE} 18:45:39 ---> Running in cb7118990aa5 18:45:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.10" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:48:17 Removing intermediate container cb7118990aa5 18:48:17 ---> acea298da183 18:48:17 Step 14/26 : FROM alpine:3.16 18:48:17 3.16: Pulling from library/alpine 18:48:17 6875df1f5354: Pulling fs layer 18:48:17 6875df1f5354: Verifying Checksum 18:48:17 6875df1f5354: Download complete 18:48:17 6875df1f5354: Pull complete 18:48:17 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:48:17 Status: Downloaded newer image for alpine:3.16 18:48:17 ---> 2b4661558fb8 18:48:17 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:48:17 ---> Running in edd4c7713ec1 18:48:17 Removing intermediate container edd4c7713ec1 18:48:17 ---> f2162100aad5 18:48:17 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:48:17 ---> Running in f8f80af7f654 18:48:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:48:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:48:17 (1/1) Installing dumb-init (1.2.5-r1) 18:48:17 Executing busybox-1.35.0-r17.trigger 18:48:17 OK: 5 MiB in 15 packages 18:48:18 Removing intermediate container f8f80af7f654 18:48:18 ---> 525b9b1edab4 18:48:18 Step 17/26 : WORKDIR / 18:48:18 ---> Running in 8b5d57023440 18:48:19 Removing intermediate container 8b5d57023440 18:48:19 ---> b73acc1c8d08 18:48:19 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:48:21 ---> 795ea0ca5644 18:48:21 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:48:21 ---> 1a4c8870a8d5 18:48:21 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:48:22 ---> 411c3228f8d0 18:48:22 Step 21/26 : EXPOSE 59984 18:48:22 ---> Running in 0abb1c2d391c 18:48:22 Removing intermediate container 0abb1c2d391c 18:48:22 ---> 7354ad21ce26 18:48:22 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:48:22 ---> Running in f05476e1c390 18:48:23 Removing intermediate container f05476e1c390 18:48:23 ---> b1b2f14a4a1c 18:48:23 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:48:23 ---> Running in eb8272ad2322 18:48:23 Removing intermediate container eb8272ad2322 18:48:23 ---> fcb9000f0da8 18:48:23 Step 24/26 : LABEL arch=arm64 18:48:23 ---> Running in 8e5c01a5e227 18:48:23 Removing intermediate container 8e5c01a5e227 18:48:23 ---> 813bff9f5669 18:48:23 Step 25/26 : LABEL git_sha=81966fae257ec8aee1d7557002cb31a67ebedcc1 18:48:24 ---> Running in 9233715934bc 18:48:24 Removing intermediate container 9233715934bc 18:48:24 ---> a534438c98bd 18:48:24 Step 26/26 : LABEL version=3.0.0-dev.10 18:48:24 ---> Running in f5edf3e397c2 18:48:24 Removing intermediate container f5edf3e397c2 18:48:24 ---> f9380df07313 18:48:24 [Warning] One or more build-args [ARCH] were not consumed 18:48:24 Successfully built f9380df07313 18:48:24 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:25 provisioning config files... 18:48:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/99@tmp/config6068837656393605608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:25 ---> docker-login.sh 18:48:25 nexus3.edgexfoundry.org:10001 18:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:25 Configure a credential helper to remove this warning. See 18:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:25 18:48:25 Login Succeeded 18:48:25 nexus3.edgexfoundry.org:10002 18:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:25 Configure a credential helper to remove this warning. See 18:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:25 18:48:25 Login Succeeded 18:48:25 nexus3.edgexfoundry.org:10003 18:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:26 Configure a credential helper to remove this warning. See 18:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:26 18:48:26 Login Succeeded 18:48:26 nexus3.edgexfoundry.org:10004 18:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:26 Configure a credential helper to remove this warning. See 18:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:26 18:48:26 Login Succeeded 18:48:26 docker.io 18:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:27 Configure a credential helper to remove this warning. See 18:48:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:27 18:48:27 Login Succeeded 18:48:27 ---> docker-login.sh ends [Pipeline] } 18:48:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:48:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:27 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 18:48:27 81966fae257ec8aee1d7557002cb31a67ebedcc1 18:48:27 latest 18:48:27 3.0.0-dev.10 18:48:27 81966fae257ec8aee1d7557002cb31a67ebedcc1-3.0.0-dev.10 18:48:27 main 18:48:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:27 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:81966fae257ec8aee1d7557002cb31a67ebedcc1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:28 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:81966fae257ec8aee1d7557002cb31a67ebedcc1 18:48:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:48:28 3d8bc876110f: Preparing 18:48:28 9524835f068e: Preparing 18:48:28 9859001dab2e: Preparing 18:48:28 a2786c8c0b04: Preparing 18:48:28 17bec77d7fdc: Preparing 18:48:28 17bec77d7fdc: Layer already exists 18:48:28 9524835f068e: Pushed 18:48:28 3d8bc876110f: Pushed 18:48:28 a2786c8c0b04: Pushed 18:48:33 9859001dab2e: Pushed 18:48:33 81966fae257ec8aee1d7557002cb31a67ebedcc1: digest: sha256:ac34dfb98504893736ac74266f1f406299f0a8b60d07c8793ce5a5f90e843858 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:34 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:48:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:48:34 3d8bc876110f: Preparing 18:48:34 9524835f068e: Preparing 18:48:34 9859001dab2e: Preparing 18:48:34 a2786c8c0b04: Preparing 18:48:34 17bec77d7fdc: Preparing 18:48:34 3d8bc876110f: Layer already exists 18:48:34 17bec77d7fdc: Layer already exists 18:48:34 a2786c8c0b04: Layer already exists 18:48:34 9859001dab2e: Layer already exists 18:48:34 9524835f068e: Layer already exists 18:48:34 latest: digest: sha256:ac34dfb98504893736ac74266f1f406299f0a8b60d07c8793ce5a5f90e843858 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:35 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:35 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.10 18:48:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:48:35 3d8bc876110f: Preparing 18:48:35 9524835f068e: Preparing 18:48:35 9859001dab2e: Preparing 18:48:35 a2786c8c0b04: Preparing 18:48:35 17bec77d7fdc: Preparing 18:48:35 9859001dab2e: Layer already exists 18:48:35 a2786c8c0b04: Layer already exists 18:48:35 17bec77d7fdc: Layer already exists 18:48:35 9524835f068e: Layer already exists 18:48:35 3d8bc876110f: Layer already exists 18:48:35 3.0.0-dev.10: digest: sha256:ac34dfb98504893736ac74266f1f406299f0a8b60d07c8793ce5a5f90e843858 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:36 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:81966fae257ec8aee1d7557002cb31a67ebedcc1-3.0.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:36 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:81966fae257ec8aee1d7557002cb31a67ebedcc1-3.0.0-dev.10 18:48:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:48:36 3d8bc876110f: Preparing 18:48:36 9524835f068e: Preparing 18:48:36 9859001dab2e: Preparing 18:48:36 a2786c8c0b04: Preparing 18:48:36 17bec77d7fdc: Preparing 18:48:36 3d8bc876110f: Layer already exists 18:48:36 a2786c8c0b04: Layer already exists 18:48:36 9859001dab2e: Layer already exists 18:48:36 9524835f068e: Layer already exists 18:48:36 17bec77d7fdc: Layer already exists 18:48:36 81966fae257ec8aee1d7557002cb31a67ebedcc1-3.0.0-dev.10: digest: sha256:ac34dfb98504893736ac74266f1f406299f0a8b60d07c8793ce5a5f90e843858 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:36 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 18:48:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:48:37 3d8bc876110f: Preparing 18:48:37 9524835f068e: Preparing 18:48:37 9859001dab2e: Preparing 18:48:37 a2786c8c0b04: Preparing 18:48:37 17bec77d7fdc: Preparing 18:48:37 17bec77d7fdc: Layer already exists 18:48:37 3d8bc876110f: Layer already exists 18:48:37 a2786c8c0b04: Layer already exists 18:48:37 9524835f068e: Layer already exists 18:48:37 9859001dab2e: Layer already exists 18:48:37 main: digest: sha256:ac34dfb98504893736ac74266f1f406299f0a8b60d07c8793ce5a5f90e843858 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:48:37 ===================================================== [Pipeline] echo 18:48:37 taggedImages: 18:48:37 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:81966fae257ec8aee1d7557002cb31a67ebedcc1 18:48:37 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:48:37 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.10 18:48:37 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:81966fae257ec8aee1d7557002cb31a67ebedcc1-3.0.0-dev.10 18:48:37 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:48:37 18:48:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:48:38 arm64: Pulling from edgex-lftools-log-publisher 18:48:38 8998bd30e6a1: Pulling fs layer 18:48:38 04944245beec: Pulling fs layer 18:48:38 699f458cf7ca: Pulling fs layer 18:48:38 765212b225bb: Pulling fs layer 18:48:38 f23df028b6ca: Pulling fs layer 18:48:38 d65c8cfc05b1: Pulling fs layer 18:48:38 2437ff75d9bd: Pulling fs layer 18:48:38 f23df028b6ca: Waiting 18:48:38 d65c8cfc05b1: Waiting 18:48:38 2437ff75d9bd: Waiting 18:48:38 765212b225bb: Waiting 18:48:38 04944245beec: Verifying Checksum 18:48:38 04944245beec: Download complete 18:48:38 765212b225bb: Verifying Checksum 18:48:38 765212b225bb: Download complete 18:48:38 f23df028b6ca: Verifying Checksum 18:48:38 f23df028b6ca: Download complete 18:48:38 d65c8cfc05b1: Verifying Checksum 18:48:38 d65c8cfc05b1: Download complete 18:48:38 699f458cf7ca: Verifying Checksum 18:48:38 699f458cf7ca: Download complete 18:48:38 8998bd30e6a1: Verifying Checksum 18:48:38 8998bd30e6a1: Download complete 18:48:41 2437ff75d9bd: Verifying Checksum 18:48:41 2437ff75d9bd: Download complete 18:48:42 8998bd30e6a1: Pull complete 18:48:43 04944245beec: Pull complete 18:48:44 699f458cf7ca: Pull complete 18:48:44 765212b225bb: Pull complete 18:48:46 f23df028b6ca: Pull complete 18:48:47 d65c8cfc05b1: Pull complete 18:49:02 2437ff75d9bd: Pull complete 18:49:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:49:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:49:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:02 prd-ubuntu20.04-docker-arm64-4c-16g-4010 does not seem to be running inside a container 18:49:02 $ 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/99 -v /w/workspace/device-onvif-camera/99:/w/workspace/device-onvif-camera/99:rw,z -v /w/workspace/device-onvif-camera/99@tmp:/w/workspace/device-onvif-camera/99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:49:05 $ docker top 2828e9bb2ff52f322119e996dac2a4b98f023e9b0b6524cba905ac247f1f42e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:49:06 ---> job-cost.sh 18:49:06 lf-activate-venv: SKIPPING 18:49:06 INFO: No Stack... 18:49:06 INFO: Retrieving Pricing Info for: v3-standard-4 18:49:07 INFO: Archiving Costs [Pipeline] sh 18:49:07 + cat /w/workspace/device-onvif-camera/99/archives/cost.csv 18:49:07 + cut -d, -f6 [Pipeline] lock 18:49:07 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-99-stack-cost] 18:49:07 Resource [jenkins-edgexfoundry-device-onvif-camera-main-99-stack-cost] did not exist. Created. 18:49:07 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:49:08 /w/workspace/device-onvif-camera/99@tmp/durable-e5336c08/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:49:09 + echo total: 0.10999999940395355 [Pipeline] stash 18:49:09 Warning: overwriting stash ‘stack-cost’ 18:49:09 Stashed 1 file(s) [Pipeline] } 18:49:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-99-stack-cost] [Pipeline] // lock [Pipeline] } 18:49:09 $ docker stop --time=1 2828e9bb2ff52f322119e996dac2a4b98f023e9b0b6524cba905ac247f1f42e9 18:49:11 $ docker rm -f --volumes 2828e9bb2ff52f322119e996dac2a4b98f023e9b0b6524cba905ac247f1f42e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:49:12 provisioning config files... 18:49:12 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4418199049071119269tmp [Pipeline] { [Pipeline] sh 18:49:12 + set +x 18:49:12 + + curl -s https://codecov.io/bash 18:49:12 bash -s -- 18:49:12 18:49:12 _____ _ 18:49:12 / ____| | | 18:49:12 | | ___ __| | ___ ___ _____ __ 18:49:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:49:12 | |___| (_) | (_| | __/ (_| (_) \ V / 18:49:12 \_____\___/ \__,_|\___|\___\___/ \_/ 18:49:12 Bash-1.0.6 18:49:12 18:49:12 18:49:12 ==> git version 2.25.1 found 18:49:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:49:12 Release-Date: 2020-01-08 18:49:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:49:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:49:12 ==> Jenkins CI detected. 18:49:12 current dir:  /w/workspace/foundry_device-onvif-camera_main 18:49:12 project root: . 18:49:12 --> token set from env 18:49:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:49:12 ==> Running gcov in . (disable via -X gcov) 18:49:12 ==> Python coveragepy not found 18:49:12 ==> Searching for coverage reports in: 18:49:12 + . 18:49:12 -> Found 1 reports 18:49:12 ==> Detecting git/mercurial file structure 18:49:12 ==> Reading reports 18:49:12 + ./coverage.out bytes=79184 18:49:12 ==> Appending adjustments 18:49:12 https://docs.codecov.io/docs/fixing-reports 18:49:12 + Found adjustments 18:49:12 ==> Gzipping contents 18:49:12 12K /tmp/codecov.O3jj1M.gz 18:49:12 ==> Uploading reports 18:49:12 url: https://codecov.io 18:49:12 query: branch=main&commit=81966fae257ec8aee1d7557002cb31a67ebedcc1&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:49:12 -> Pinging Codecov 18:49:12 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=81966fae257ec8aee1d7557002cb31a67ebedcc1&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:49:13 -> Uploading to 18:49:13 https://storage.googleapis.com/codecov/v4/raw/2023-01-30/F29A59C45E3A92E06B3E522C9905F8EF/81966fae257ec8aee1d7557002cb31a67ebedcc1/2e249116-cd09-42d3-be1a-384c73f6fb93.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230130T184913Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=90c8d6f633e92306f2bc54068a9071df4e2bcb9ff15160f16dcaf50374763da8 18:49:13 % Total % Received % Xferd Average Speed Time Time Time Current 18:49:13 Dload Upload Total Spent Left Speed 18:49:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10863 0 0 100 10863 0 53512 --:--:-- --:--:-- --:--:-- 53250 100 10863 0 0 100 10863 0 37202 --:--:-- --:--:-- --:--:-- 37075 18:49:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/81966fae257ec8aee1d7557002cb31a67ebedcc1 [Pipeline] } 18:49:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:49:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:49:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:49:14 18:49:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:49:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:49:14 df9b9388f04a: Pulling fs layer 18:49:14 52dc419b0ee2: Pulling fs layer 18:49:14 25bc292e5bac: Pulling fs layer 18:49:14 114826534d7a: Pulling fs layer 18:49:14 4657fd5d0bcf: Pulling fs layer 18:49:14 114826534d7a: Waiting 18:49:14 6ad1cebc031e: Pulling fs layer 18:49:14 4657fd5d0bcf: Waiting 18:49:14 8a3aa393b2d8: Pulling fs layer 18:49:14 25bc292e5bac: Verifying Checksum 18:49:14 25bc292e5bac: Download complete 18:49:14 52dc419b0ee2: Verifying Checksum 18:49:14 52dc419b0ee2: Download complete 18:49:14 4657fd5d0bcf: Download complete 18:49:14 df9b9388f04a: Download complete 18:49:15 df9b9388f04a: Pull complete 18:49:15 6ad1cebc031e: Verifying Checksum 18:49:15 6ad1cebc031e: Download complete 18:49:15 52dc419b0ee2: Pull complete 18:49:15 25bc292e5bac: Pull complete 18:49:15 114826534d7a: Verifying Checksum 18:49:15 114826534d7a: Download complete 18:49:16 8a3aa393b2d8: Verifying Checksum 18:49:16 8a3aa393b2d8: Download complete 18:49:19 114826534d7a: Pull complete 18:49:19 4657fd5d0bcf: Pull complete 18:49:19 6ad1cebc031e: Pull complete 18:49:23 8a3aa393b2d8: Pull complete 18:49:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:49:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:49:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:23 prd-ubuntu20.04-docker-8c-8g-4009 does not seem to be running inside a container 18:49:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:49:26 $ docker top c4ba4c00244a9269784415cb31f3b702464a52878a3d3e9b792d11be741caaf3 -eo pid,comm [Pipeline] { [Pipeline] echo 18:49:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 18:49:26 + set -o pipefail 18:49:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 18:49:34 18:49:34 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 18:49:34 18:49:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/bd9945d5-385d-4a9c-a9b3-9c51b420c5bf 18:49:34 18:49:34 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 18:49:34 18:49:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:49:34 18:49:35 18:49:35 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:49:35 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:49:35 More details here: https://snyk.co/ue1NS [Pipeline] } 18:49:35 $ docker stop --time=1 c4ba4c00244a9269784415cb31f3b702464a52878a3d3e9b792d11be741caaf3 18:49:37 $ docker rm -f --volumes c4ba4c00244a9269784415cb31f3b702464a52878a3d3e9b792d11be741caaf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 18:49:38 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:49:38 provisioning config files... 18:49:38 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config549990450139823119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:49:38 --> edgex-publish-swagger.sh 18:49:38 === Publish doc/openapi/v2 API === 18:49:38 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 18:49:38 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 18:49:38 % Total % Received % Xferd Average Speed Time Time Time Current 18:49:38 Dload Upload Total Spent Left Speed 18:49:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 100 38 100 469k 64 797k --:--:-- --:--:-- --:--:-- 797k 18:49:39 {"code":403,"message":"Access Denied"} 18:49:39 [Pipeline] } 18:49:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:49:39 + git log --format=format:%s -1 81966fae257ec8aee1d7557002cb31a67ebedcc1 [Pipeline] sh 18:49:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:49:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:49:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:40 prd-ubuntu20.04-docker-8c-8g-4009 does not seem to be running inside a container 18:49:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:49:40 $ docker top 7eb2354ef0489b851d1a0b17681a9f72723066abda5177488b6d7e8c653e1a97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:49:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:49:40 [ssh-agent] Looking for ssh-agent implementation... 18:49:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:49:40 $ docker exec 7eb2354ef0489b851d1a0b17681a9f72723066abda5177488b6d7e8c653e1a97 ssh-agent 18:49:41 SSH_AUTH_SOCK=/tmp/ssh-spkqaa0gh9ed/agent.32 18:49:41 SSH_AGENT_PID=38 18:49:41 Running ssh-add (command line suppressed) 18:49:41 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5591038451735532800.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5591038451735532800.key) 18:49:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:49:41 + git semver tag 18:49:41 2023-01-30 18:49:41,702 [run_tag] DEBUG tag force:False 18:49:41 2023-01-30 18:49:41,702 [check_head_tag] DEBUG check head tag 18:49:41 2023-01-30 18:49:41,703 [execute] INFO git cat-file --batch-check 18:49:41 2023-01-30 18:49:41,703 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:49:41 2023-01-30 18:49:41,707 [execute] INFO git cat-file --batch 18:49:41 2023-01-30 18:49:41,707 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:49:41 2023-01-30 18:49:41,734 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:49:41 2023-01-30 18:49:41,735 [execute] INFO git tag -a v3.0.0-dev.10 -m v3.0.0-dev.10 18:49:41 2023-01-30 18:49:41,735 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.10', '-m', 'v3.0.0-dev.10'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:49:41 2023-01-30 18:49:41,740 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:49:41 3.0.0-dev.10 [Pipeline] } 18:49:41 $ docker exec --env ******** --env ******** 7eb2354ef0489b851d1a0b17681a9f72723066abda5177488b6d7e8c653e1a97 ssh-agent -k 18:49:41 unset SSH_AUTH_SOCK; 18:49:41 unset SSH_AGENT_PID; 18:49:41 echo Agent pid 38 killed; 18:49:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:49:42 + git semver [Pipeline] } 18:49:42 $ docker stop --time=1 7eb2354ef0489b851d1a0b17681a9f72723066abda5177488b6d7e8c653e1a97 18:49:43 $ docker rm -f --volumes 7eb2354ef0489b851d1a0b17681a9f72723066abda5177488b6d7e8c653e1a97 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:49:44 18:49:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:49:44 0.23.1-centos7: Pulling from edgex-lftools 18:49:44 ab5ef0e58194: Pulling fs layer 18:49:44 9712f1f96733: Pulling fs layer 18:49:44 63f879dbbcfc: Pulling fs layer 18:49:44 0d9ebad4ef96: Pulling fs layer 18:49:44 e9a5061849ea: Pulling fs layer 18:49:44 d747dcd14b5f: Pulling fs layer 18:49:44 2de7ff778b66: Pulling fs layer 18:49:44 d747dcd14b5f: Waiting 18:49:44 0d9ebad4ef96: Waiting 18:49:44 2de7ff778b66: Waiting 18:49:44 e9a5061849ea: Waiting 18:49:44 9712f1f96733: Download complete 18:49:45 63f879dbbcfc: Verifying Checksum 18:49:45 63f879dbbcfc: Download complete 18:49:45 e9a5061849ea: Verifying Checksum 18:49:45 e9a5061849ea: Download complete 18:49:45 d747dcd14b5f: Verifying Checksum 18:49:45 d747dcd14b5f: Download complete 18:49:45 ab5ef0e58194: Download complete 18:49:45 2de7ff778b66: Verifying Checksum 18:49:45 2de7ff778b66: Download complete 18:49:45 0d9ebad4ef96: Verifying Checksum 18:49:45 0d9ebad4ef96: Download complete 18:49:48 ab5ef0e58194: Pull complete 18:49:48 9712f1f96733: Pull complete 18:49:49 63f879dbbcfc: Pull complete 18:49:53 0d9ebad4ef96: Pull complete 18:49:53 e9a5061849ea: Pull complete 18:49:53 d747dcd14b5f: Pull complete 18:49:54 2de7ff778b66: Pull complete 18:49:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:49:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:49:54 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:54 prd-ubuntu20.04-docker-8c-8g-4009 does not seem to be running inside a container 18:49:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:49:57 $ docker top 535afd5c8a9c09ee9236240791a1adb754f82a1baada436bcbe96784a0631016 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:49:57 provisioning config files... 18:49:57 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9616220133124021286tmp 18:49:57 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12052485689493737254tmp 18:49:57 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15420193897766568860tmp [Pipeline] { [Pipeline] echo 18:49:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:49:58 ---> sigul-configuration.sh 18:49:58 gpg: directory `/root/.gnupg' created 18:49:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:49:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:49:58 gpg: keyring `/root/.gnupg/secring.gpg' created 18:49:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:49:58 gpg: CAST5 encrypted data 18:49:58 gpg: encrypted with 1 passphrase 18:49:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:49:58 + mkdir /home/jenkins 18:49:58 + mkdir /home/jenkins/sigul [Pipeline] sh 18:49: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 18:49:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:49:58 ---> sigul-install.sh 18:49:58 Sigul already installed; skipping installation. [Pipeline] sh 18:49:59 + git tag --list 18:49:59 v0.0.0 18:49:59 v0.0.1-dev.1 18:49:59 v0.0.1-dev.10 18:49:59 v0.0.1-dev.11 18:49:59 v0.0.1-dev.12 18:49:59 v0.0.1-dev.13 18:49:59 v0.0.1-dev.14 18:49:59 v0.0.1-dev.15 18:49:59 v0.0.1-dev.16 18:49:59 v0.0.1-dev.17 18:49:59 v0.0.1-dev.18 18:49:59 v0.0.1-dev.19 18:49:59 v0.0.1-dev.2 18:49:59 v0.0.1-dev.20 18:49:59 v0.0.1-dev.21 18:49:59 v0.0.1-dev.22 18:49:59 v0.0.1-dev.23 18:49:59 v0.0.1-dev.24 18:49:59 v0.0.1-dev.25 18:49:59 v0.0.1-dev.26 18:49:59 v0.0.1-dev.27 18:49:59 v0.0.1-dev.28 18:49:59 v0.0.1-dev.3 18:49:59 v0.0.1-dev.4 18:49:59 v0.0.1-dev.5 18:49:59 v0.0.1-dev.6 18:49:59 v0.0.1-dev.7 18:49:59 v0.0.1-dev.8 18:49:59 v0.0.1-dev.9 18:49:59 v2.2.0 18:49:59 v2.2.0-dev.29 18:49:59 v2.2.0-dev.30 18:49:59 v2.2.0-dev.31 18:49:59 v2.2.0-dev.32 18:49:59 v2.2.0-dev.33 18:49:59 v2.2.0-dev.34 18:49:59 v2.2.0-dev.35 18:49:59 v2.3.0 18:49:59 v2.3.0-dev.1 18:49:59 v2.3.0-dev.10 18:49:59 v2.3.0-dev.11 18:49:59 v2.3.0-dev.12 18:49:59 v2.3.0-dev.13 18:49:59 v2.3.0-dev.14 18:49:59 v2.3.0-dev.15 18:49:59 v2.3.0-dev.16 18:49:59 v2.3.0-dev.17 18:49:59 v2.3.0-dev.18 18:49:59 v2.3.0-dev.19 18:49:59 v2.3.0-dev.2 18:49:59 v2.3.0-dev.20 18:49:59 v2.3.0-dev.21 18:49:59 v2.3.0-dev.22 18:49:59 v2.3.0-dev.23 18:49:59 v2.3.0-dev.24 18:49:59 v2.3.0-dev.25 18:49:59 v2.3.0-dev.26 18:49:59 v2.3.0-dev.27 18:49:59 v2.3.0-dev.28 18:49:59 v2.3.0-dev.29 18:49:59 v2.3.0-dev.3 18:49:59 v2.3.0-dev.30 18:49:59 v2.3.0-dev.31 18:49:59 v2.3.0-dev.32 18:49:59 v2.3.0-dev.33 18:49:59 v2.3.0-dev.34 18:49:59 v2.3.0-dev.35 18:49:59 v2.3.0-dev.36 18:49:59 v2.3.0-dev.37 18:49:59 v2.3.0-dev.38 18:49:59 v2.3.0-dev.39 18:49:59 v2.3.0-dev.4 18:49:59 v2.3.0-dev.40 18:49:59 v2.3.0-dev.41 18:49:59 v2.3.0-dev.42 18:49:59 v2.3.0-dev.43 18:49:59 v2.3.0-dev.44 18:49:59 v2.3.0-dev.45 18:49:59 v2.3.0-dev.5 18:49:59 v2.3.0-dev.6 18:49:59 v2.3.0-dev.7 18:49:59 v2.3.0-dev.8 18:49:59 v2.3.0-dev.9 18:49:59 v2.3.1-dev.1 18:49:59 v3.0.0-dev.1 18:49:59 v3.0.0-dev.10 18:49:59 v3.0.0-dev.2 18:49:59 v3.0.0-dev.3 18:49:59 v3.0.0-dev.4 18:49:59 v3.0.0-dev.5 18:49:59 v3.0.0-dev.6 18:49:59 v3.0.0-dev.7 18:49:59 v3.0.0-dev.8 18:49:59 v3.0.0-dev.9 [Pipeline] sh 18:49:59 + lftools sign git-tag v3.0.0-dev.10 18:50:00 Signing Git tag with Sigul... 18:50:00 Signing v3.0.0-dev.10 [Pipeline] echo 18:50:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:50:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:50:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:50:00 $ docker stop --time=1 535afd5c8a9c09ee9236240791a1adb754f82a1baada436bcbe96784a0631016 18:50:01 $ docker rm -f --volumes 535afd5c8a9c09ee9236240791a1adb754f82a1baada436bcbe96784a0631016 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:50:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:50:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:50:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:02 prd-ubuntu20.04-docker-8c-8g-4009 does not seem to be running inside a container 18:50:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:50:03 $ docker top 5722b4e0971ff121f1d443b04c0ad1bc4123cd7643d1740dbca8a8b15dbf7da0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:50:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:50:03 [ssh-agent] Looking for ssh-agent implementation... 18:50:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:50:03 $ docker exec 5722b4e0971ff121f1d443b04c0ad1bc4123cd7643d1740dbca8a8b15dbf7da0 ssh-agent 18:50:03 SSH_AUTH_SOCK=/tmp/ssh-Bg08a8Pfzywj/agent.32 18:50:03 SSH_AGENT_PID=38 18:50:03 Running ssh-add (command line suppressed) 18:50:03 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2672822039985239757.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2672822039985239757.key) 18:50:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:50:03 + git semver bump pre 18:50:04 2023-01-30 18:50:04,035 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:50:04 2023-01-30 18:50:04,035 [bump_version] DEBUG bumping version:3.0.0-dev.10 on axis:pre with prefix:dev 18:50:04 2023-01-30 18:50:04,035 [bump_version] DEBUG bumped version:3.0.0-dev.11 18:50:04 2023-01-30 18:50:04,036 [write_version] DEBUG write version:3.0.0-dev.11 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 18:50:04 2023-01-30 18:50:04,036 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:50:04 2023-01-30 18:50:04,036 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 18:50:04 2023-01-30 18:50:04,037 [execute] INFO git cat-file --batch-check 18:50:04 2023-01-30 18:50:04,038 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:50:04 2023-01-30 18:50:04,043 [execute] INFO git cat-file --batch 18:50:04 2023-01-30 18:50:04,044 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:50:04 2023-01-30 18:50:04,050 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:50:04 3.0.0-dev.11 [Pipeline] } 18:50:04 $ docker exec --env ******** --env ******** 5722b4e0971ff121f1d443b04c0ad1bc4123cd7643d1740dbca8a8b15dbf7da0 ssh-agent -k 18:50:04 unset SSH_AUTH_SOCK; 18:50:04 unset SSH_AGENT_PID; 18:50:04 echo Agent pid 38 killed; 18:50:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:50:04 + git semver [Pipeline] } 18:50:04 $ docker stop --time=1 5722b4e0971ff121f1d443b04c0ad1bc4123cd7643d1740dbca8a8b15dbf7da0 18:50:06 $ docker rm -f --volumes 5722b4e0971ff121f1d443b04c0ad1bc4123cd7643d1740dbca8a8b15dbf7da0 [Pipeline] // withDockerContainer [Pipeline] sh 18:50:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:50:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:50:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:06 prd-ubuntu20.04-docker-8c-8g-4009 does not seem to be running inside a container 18:50:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:50:07 $ docker top e7789821bc6612552b56c71128a7c8b23661239062f4740713a908e12694672b -eo pid,comm 18:50:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:50:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:50:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:50:07 [ssh-agent] Looking for ssh-agent implementation... 18:50:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:50:07 $ docker exec e7789821bc6612552b56c71128a7c8b23661239062f4740713a908e12694672b ssh-agent 18:50:07 SSH_AUTH_SOCK=/tmp/ssh-px08yFIJns2W/agent.31 18:50:07 SSH_AGENT_PID=37 18:50:07 Running ssh-add (command line suppressed) 18:50:07 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13800389745198567425.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13800389745198567425.key) 18:50:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:50:07 + git semver push 18:50:08 2023-01-30 18:50:08,146 [run_push] DEBUG push 18:50:08 2023-01-30 18:50:08,147 [execute] INFO git cat-file --batch-check 18:50:08 2023-01-30 18:50:08,147 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:50:08 2023-01-30 18:50:08,152 [execute] INFO git rev-list a0acc7a2b7ad18fea5166c927b3d58c0f86bf452 -- 18:50:08 2023-01-30 18:50:08,152 [execute] DEBUG Popen(['git', 'rev-list', 'a0acc7a2b7ad18fea5166c927b3d58c0f86bf452', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:50:08 2023-01-30 18:50:08,159 [execute] INFO git fetch -v origin 18:50:08 2023-01-30 18:50:08,159 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:50:08 2023-01-30 18:50:08,711 [run_push] DEBUG no remote changes detected 18:50:08 2023-01-30 18:50:08,711 [execute] INFO git push origin semver 18:50:08 2023-01-30 18:50:08,711 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:50:09 2023-01-30 18:50:09,496 [run_push] DEBUG push all version tags 18:50:09 2023-01-30 18:50:09,496 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:50:09 2023-01-30 18:50:09,497 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:50:10 2023-01-30 18:50:10,302 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:50:10 3.0.0-dev.11 [Pipeline] } 18:50:10 $ docker exec --env ******** --env ******** e7789821bc6612552b56c71128a7c8b23661239062f4740713a908e12694672b ssh-agent -k 18:50:10 unset SSH_AUTH_SOCK; 18:50:10 unset SSH_AGENT_PID; 18:50:10 echo Agent pid 37 killed; 18:50:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:50:11 + git semver [Pipeline] } 18:50:11 $ docker stop --time=1 e7789821bc6612552b56c71128a7c8b23661239062f4740713a908e12694672b 18:50:12 $ docker rm -f --volumes e7789821bc6612552b56c71128a7c8b23661239062f4740713a908e12694672b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:50:13 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 18:50:13 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:50:13 total 16 18:50:13 drwxr-xr-x 3 root root 4096 Jan 30 18:41 . 18:50:13 drwxrwxr-x 11 jenkins jenkins 4096 Jan 30 18:49 .. 18:50:13 drwxr-xr-x 2 root root 4096 Jan 30 18:41 cost 18:50:13 -rw-r--r-- 1 root root 90 Jan 30 18:41 cost.csv 18:50:13 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 18:50:13 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:50:13 total 16 18:50:13 drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 18:41 . 18:50:13 drwxrwxr-x 11 jenkins jenkins 4096 Jan 30 18:49 .. 18:50:13 drwxr-xr-x 2 jenkins jenkins 4096 Jan 30 18:41 cost 18:50:13 -rw-r--r-- 1 jenkins jenkins 90 Jan 30 18:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:50:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:50:14 ---> package-listing.sh 18:50:14 ++ facter osfamily 18:50:14 ++ tr '[:upper:]' '[:lower:]' 18:50:14 + OS_FAMILY=debian 18:50:14 + workspace=/w/workspace/foundry_device-onvif-camera_main 18:50:14 + START_PACKAGES=/tmp/packages_start.txt 18:50:14 + END_PACKAGES=/tmp/packages_end.txt 18:50:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:50:14 + PACKAGES=/tmp/packages_start.txt 18:50:14 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:50:14 + PACKAGES=/tmp/packages_end.txt 18:50:14 + case "${OS_FAMILY}" in 18:50:14 + dpkg -l 18:50:14 + grep '^ii' 18:50:14 + '[' -f /tmp/packages_start.txt ']' 18:50:14 + '[' -f /tmp/packages_end.txt ']' 18:50:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:50:14 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:50:14 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 18:50: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 18:50: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 18:50:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:15 prd-ubuntu20.04-docker-8c-8g-4009 does not seem to be running inside a container 18:50: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:50:15 $ docker top 08669afa741a62b131148fc59654811f6e519a3a0aa43218caab75f65ef30173 -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:16 + touch /tmp/pre-build-complete [Pipeline] sh 18:50:16 + mkdir -p /var/log/sysstat [Pipeline] sh 18:50:16 + ls /var/log/sa-host 18:50:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:50:16 provisioning config files... 18:50:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6722774349242203512tmp [Pipeline] { [Pipeline] echo 18:50:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:50:17 ---> create-netrc.sh [Pipeline] } 18:50:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:50:17 ---> python-tools-install.sh [Pipeline] echo 18:50:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:50:17 ---> sudo-logs.sh 18:50:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:50:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:50:18 ---> job-cost.sh 18:50:18 lf-activate-venv: SKIPPING 18:50:18 DEBUG: total: 0.2199999988079071 18:50:18 INFO: Retrieving Stack Cost... 18:50:18 INFO: Retrieving Pricing Info for: v3-standard-8 18:50:19 INFO: Archiving Costs [Pipeline] echo 18:50:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:50:19 ---> logs-deploy.sh 18:50:19 lf-activate-venv: SKIPPING 18:50:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/99 18:50:19 INFO: archiving workspace using pattern(s): 18:50:20 Archives upload complete. 18:50:20 INFO: archiving logs to Nexus