Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 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-ssh12514005165678726868.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-ssh2497518727048131106.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-ssh8878225350424024514.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-ssh786072586941962750.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-ssh3343595713341603102.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8831’ Running on prd-ubuntu20.04-docker-8c-8g-8833 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 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 # timeout=10 Commit message: "refactor!: Rename path to secret name (#255)" > git rev-list --no-walk f65ca887385793521c5f561c8b8ec0758ab43644 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:29:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:29:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:29:37 ========================================================= 17:29:37 EdgeX Global Pipelines Version Info 17:29:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:29:38 ------------------- 17:29:38 stable info: 17:29:38 ------------------- 17:29:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:29:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:29:38 Message: update stable to v1.0.244 17:29:38 ------------------- 17:29:38 experimental info: 17:29:38 ------------------- 17:29:38 Commited By: **** collab-it+edgex@linuxfoundation.org 17:29:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:29:38 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:29:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:29:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:29:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:29:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:29:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:29:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33d7f92 [Pipeline] echo 17:29:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:39 provisioning config files... 17:29:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2792966163679960707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:39 ---> docker-login.sh 17:29:39 nexus3.edgexfoundry.org:10001 17:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:39 Configure a credential helper to remove this warning. See 17:29:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:39 17:29:39 Login Succeeded 17:29:39 nexus3.edgexfoundry.org:10002 17:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:40 Configure a credential helper to remove this warning. See 17:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:40 17:29:40 Login Succeeded 17:29:40 nexus3.edgexfoundry.org:10003 17:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:40 Configure a credential helper to remove this warning. See 17:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:40 17:29:40 Login Succeeded 17:29:40 nexus3.edgexfoundry.org:10004 17:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:40 Configure a credential helper to remove this warning. See 17:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:40 17:29:40 Login Succeeded 17:29:40 docker.io 17:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:40 Configure a credential helper to remove this warning. See 17:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:40 17:29:40 Login Succeeded 17:29:40 ---> docker-login.sh ends [Pipeline] } 17:29:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:29:41 + git rev-list -1 --merges 33d7f92d5661b99b9b96e2663b29a2bf689d0f01~1..33d7f92d5661b99b9b96e2663b29a2bf689d0f01 [Pipeline] echo 17:29:41 -----------> git rev-list -1 --merges 33d7f92d5661b99b9b96e2663b29a2bf689d0f01~1..33d7f92d5661b99b9b96e2663b29a2bf689d0f01 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 [false] [Pipeline] sh 17:29:41 + git log --format=format:%s -1 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 [Pipeline] echo 17:29:41 ========================================================= 17:29:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:29:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:41 + git log --format=format:%s -1 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 [Pipeline] echo 17:29:41 [semverPrep] GIT_COMMIT: 33d7f92d5661b99b9b96e2663b29a2bf689d0f01, Commit Message: refactor!: Rename path to secret name (#255) [Pipeline] echo 17:29:41 [semverPrep] This is not a build commit. [Pipeline] sh 17:29:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:29:42 + grep -v github /etc/ssh/ssh_known_hosts 17:29:42 + [ -e /tmp/ssh_known_hosts ] 17:29:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:29:42 + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a 17:29:42 /etc/ssh/ssh_known_hosts 17:29:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:42 17:29:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:42 0.1.4: Pulling from edgex-devops/py-git-semver 17:29:42 b85a868b505f: Pulling fs layer 17:29:42 e2be974225ed: Pulling fs layer 17:29:42 339a4e72a1f5: Pulling fs layer 17:29:42 988bab9f4d93: Pulling fs layer 17:29:42 1469e6f7b9e6: Pulling fs layer 17:29:42 eaf3925da568: Pulling fs layer 17:29:42 bab4dde63d76: Pulling fs layer 17:29:42 bde34c3a00c8: Pulling fs layer 17:29:42 b352a97aabf1: Pulling fs layer 17:29:42 4872d77fe225: Pulling fs layer 17:29:42 5851b861e8e6: Pulling fs layer 17:29:42 988bab9f4d93: Waiting 17:29:42 1469e6f7b9e6: Waiting 17:29:42 eaf3925da568: Waiting 17:29:42 bab4dde63d76: Waiting 17:29:42 bde34c3a00c8: Waiting 17:29:42 b352a97aabf1: Waiting 17:29:42 4872d77fe225: Waiting 17:29:42 5851b861e8e6: Waiting 17:29:42 e2be974225ed: Verifying Checksum 17:29:42 e2be974225ed: Download complete 17:29:42 988bab9f4d93: Download complete 17:29:43 1469e6f7b9e6: Verifying Checksum 17:29:43 1469e6f7b9e6: Download complete 17:29:43 339a4e72a1f5: Verifying Checksum 17:29:43 339a4e72a1f5: Download complete 17:29:43 eaf3925da568: Download complete 17:29:43 bde34c3a00c8: Download complete 17:29:43 b352a97aabf1: Verifying Checksum 17:29:43 b352a97aabf1: Download complete 17:29:43 4872d77fe225: Verifying Checksum 17:29:43 4872d77fe225: Download complete 17:29:43 5851b861e8e6: Download complete 17:29:43 b85a868b505f: Download complete 17:29:43 bab4dde63d76: Verifying Checksum 17:29:43 bab4dde63d76: Download complete 17:29:44 b85a868b505f: Pull complete 17:29:44 e2be974225ed: Pull complete 17:29:45 339a4e72a1f5: Pull complete 17:29:45 988bab9f4d93: Pull complete 17:29:45 1469e6f7b9e6: Pull complete 17:29:45 eaf3925da568: Pull complete 17:29:47 bab4dde63d76: Pull complete 17:29:47 bde34c3a00c8: Pull complete 17:29:47 b352a97aabf1: Pull complete 17:29:47 4872d77fe225: Pull complete 17:29:47 5851b861e8e6: Pull complete 17:29:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:29:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:48 prd-ubuntu20.04-docker-8c-8g-8833 does not seem to be running inside a container 17:29:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:29:49 $ docker top a9ae4b3973b8e008a404379e41177345b7b83064787a2427c29dd1c7268eaffc -eo pid,comm 17:29:49 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:29:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:29:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:49 [ssh-agent] Looking for ssh-agent implementation... 17:29:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:49 $ docker exec a9ae4b3973b8e008a404379e41177345b7b83064787a2427c29dd1c7268eaffc ssh-agent 17:29:49 SSH_AUTH_SOCK=/tmp/ssh-8FZpVNGD4Riy/agent.32 17:29:49 SSH_AGENT_PID=38 17:29:49 Running ssh-add (command line suppressed) 17:29:49 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18434633361089900234.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18434633361089900234.key) 17:29:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:50 + git tag --points-at HEAD [Pipeline] } 17:29:50 $ docker exec --env ******** --env ******** a9ae4b3973b8e008a404379e41177345b7b83064787a2427c29dd1c7268eaffc ssh-agent -k 17:29:50 unset SSH_AUTH_SOCK; 17:29:50 unset SSH_AGENT_PID; 17:29:50 echo Agent pid 38 killed; 17:29:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:29:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:50 [ssh-agent] Looking for ssh-agent implementation... 17:29:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:50 $ docker exec a9ae4b3973b8e008a404379e41177345b7b83064787a2427c29dd1c7268eaffc ssh-agent 17:29:50 SSH_AUTH_SOCK=/tmp/ssh-Eslsd5dljQ1u/agent.70 17:29:50 SSH_AGENT_PID=76 17:29:50 Running ssh-add (command line suppressed) 17:29:50 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6459345375188055992.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6459345375188055992.key) 17:29:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:51 + git semver init 17:29:51 2023-03-08 17:29:51,294 [run_init] DEBUG init version:0.0.0 force:False 17:29:51 2023-03-08 17:29:51,295 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:29:51 2023-03-08 17:29:51,295 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:29:51 2023-03-08 17:29:51,295 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:29:52 2023-03-08 17:29:52,188 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:29:52 2023-03-08 17:29:52,189 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:29:52 2023-03-08 17:29:52,189 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:29:52 2023-03-08 17:29:52,189 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:29:52 3.0.0-dev.20 [Pipeline] } 17:29:52 $ docker exec --env ******** --env ******** a9ae4b3973b8e008a404379e41177345b7b83064787a2427c29dd1c7268eaffc ssh-agent -k 17:29:52 unset SSH_AUTH_SOCK; 17:29:52 unset SSH_AGENT_PID; 17:29:52 echo Agent pid 76 killed; 17:29:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:29:52 + git semver [Pipeline] } 17:29:53 $ docker stop --time=1 a9ae4b3973b8e008a404379e41177345b7b83064787a2427c29dd1c7268eaffc 17:29:54 $ docker rm -f --volumes a9ae4b3973b8e008a404379e41177345b7b83064787a2427c29dd1c7268eaffc [Pipeline] // withDockerContainer [Pipeline] sh 17:29:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:29:55 Stashed 1 file(s) [Pipeline] echo 17:29:55 [edgeXSemver]: initialized semver on version 3.0.0-dev.20 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:55 provisioning config files... 17:29:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13070201938973071328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:55 ---> docker-login.sh 17:29:55 nexus3.edgexfoundry.org:10001 17:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:55 Configure a credential helper to remove this warning. See 17:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:55 17:29:55 Login Succeeded 17:29:55 nexus3.edgexfoundry.org:10002 17:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:55 Configure a credential helper to remove this warning. See 17:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:55 17:29:55 Login Succeeded 17:29:55 nexus3.edgexfoundry.org:10003 17:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:55 Configure a credential helper to remove this warning. See 17:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:55 17:29:55 Login Succeeded 17:29:55 nexus3.edgexfoundry.org:10004 17:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:55 Configure a credential helper to remove this warning. See 17:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:55 17:29:55 Login Succeeded 17:29:55 docker.io 17:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:56 Configure a credential helper to remove this warning. See 17:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:56 17:29:56 Login Succeeded 17:29:56 ---> docker-login.sh ends [Pipeline] } 17:29:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:29:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:56 ========================================================= 17:29:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:29:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:29:56 Sending build context to Docker daemon 27.84MB 17:29:56 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:29:56 Step 2/13 : FROM ${BASE} AS builder 17:29:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:29:56 213ec9aee27d: Pulling fs layer 17:29:56 4583459ba037: Pulling fs layer 17:29:56 93c1e223e6f2: Pulling fs layer 17:29:56 53926ce57604: Pulling fs layer 17:29:56 21b2b0c7a3f4: Pulling fs layer 17:29:56 22ff95d597cd: Pulling fs layer 17:29:56 12d6caf4c0d1: Pulling fs layer 17:29:56 96b7cbca73a9: Pulling fs layer 17:29:56 a7acece74701: Pulling fs layer 17:29:56 22ff95d597cd: Waiting 17:29:56 12d6caf4c0d1: Waiting 17:29:56 53926ce57604: Waiting 17:29:56 96b7cbca73a9: Waiting 17:29:56 a7acece74701: Waiting 17:29:56 21b2b0c7a3f4: Waiting 17:29:56 93c1e223e6f2: Verifying Checksum 17:29:56 93c1e223e6f2: Download complete 17:29:56 4583459ba037: Verifying Checksum 17:29:56 4583459ba037: Download complete 17:29:56 21b2b0c7a3f4: Verifying Checksum 17:29:56 21b2b0c7a3f4: Download complete 17:29:56 22ff95d597cd: Verifying Checksum 17:29:56 22ff95d597cd: Download complete 17:29:56 213ec9aee27d: Verifying Checksum 17:29:56 213ec9aee27d: Download complete 17:29:56 12d6caf4c0d1: Verifying Checksum 17:29:56 12d6caf4c0d1: Download complete 17:29:57 213ec9aee27d: Pull complete 17:29:57 4583459ba037: Pull complete 17:29:57 93c1e223e6f2: Pull complete 17:29:57 a7acece74701: Verifying Checksum 17:29:57 a7acece74701: Download complete 17:29:57 96b7cbca73a9: Verifying Checksum 17:29:57 96b7cbca73a9: Download complete 17:29:57 53926ce57604: Verifying Checksum 17:29:57 53926ce57604: Download complete 17:30:02 53926ce57604: Pull complete 17:30:02 21b2b0c7a3f4: Pull complete 17:30:02 22ff95d597cd: Pull complete 17:30:02 12d6caf4c0d1: Pull complete 17:30:04 96b7cbca73a9: Pull complete 17:30:05 a7acece74701: Pull complete 17:30:05 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:30:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:30:05 ---> db6d94c90886 17:30:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:30:07 ---> Running in 5da19701c538 17:30:07 Removing intermediate container 5da19701c538 17:30:07 ---> 1666c5fd011d 17:30:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:30:07 ---> Running in 86416714e980 17:30:07 Removing intermediate container 86416714e980 17:30:07 ---> 7a4f467a81e8 17:30:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:30:07 ---> Running in 44402bb77e17 17:30:07 Removing intermediate container 44402bb77e17 17:30:07 ---> c30a6fb0a4fd 17:30:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:30:07 ---> Running in d9274f118396 17:30:07 Removing intermediate container d9274f118396 17:30:07 ---> cbfccb7ae02a 17:30:07 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:30:07 ---> Running in 65a4bded3b78 17:30:07 Removing intermediate container 65a4bded3b78 17:30:07 ---> b34e64b5d0c0 17:30:07 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:30:07 ---> Running in 342250288f93 17:30:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:30:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:30:08 OK: 211 MiB in 51 packages 17:30:09 Removing intermediate container 342250288f93 17:30:09 ---> 2fb6f41f6d63 17:30:09 Step 9/13 : WORKDIR /device-onvif-camera 17:30:09 ---> Running in 7d52add10903 17:30:09 Removing intermediate container 7d52add10903 17:30:09 ---> 51b3bf3187eb 17:30:09 Step 10/13 : COPY go.mod vendor* ./ 17:30:09 ---> 9ddae536224a 17:30:09 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:09 ---> Running in 2408f9c2b5cd 17:30:10 Still waiting to schedule task 17:30:10 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8832’ 17:30:48 Removing intermediate container 2408f9c2b5cd 17:30:48 ---> 3101e88c3a57 17:30:48 Step 12/13 : COPY . . 17:30:48 ---> 4986aee7248f 17:30:48 Step 13/13 : RUN ${MAKE} 17:30:48 ---> Running in 856fd733a7fa 17:30:48 noop 17:30:48 Removing intermediate container 856fd733a7fa 17:30:48 ---> 47b18a5d99e1 17:30:48 Successfully built 47b18a5d99e1 17:30:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:48 + docker inspect -f . ci-base-image-x86_64 17:30:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:48 prd-ubuntu20.04-docker-8c-8g-8833 does not seem to be running inside a container 17:30:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:48 $ docker top 0679963c9af093e78c8152600204073d00b2f69e649ed87e06d8583fbc02a8d7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:49 + go version 17:30:49 go version go1.18.7 linux/amd64 [Pipeline] } 17:30:49 $ docker stop --time=1 0679963c9af093e78c8152600204073d00b2f69e649ed87e06d8583fbc02a8d7 17:30:50 $ docker rm -f --volumes 0679963c9af093e78c8152600204073d00b2f69e649ed87e06d8583fbc02a8d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:51 + docker inspect -f . ci-base-image-x86_64 17:30:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:51 prd-ubuntu20.04-docker-8c-8g-8833 does not seem to be running inside a container 17:30:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:51 $ docker top 06106744da5dae49384b6d925fa09e2a14624b5f9f2d8a9f01af30cc576a8064 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:51 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:30:52 + make test 17:30:52 go test ./... -coverprofile=coverage.out ./... 17:30:52 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:31:04 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:31:07 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.029s coverage: 30.5% of statements 17:31:07 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:31:07 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 3.016s coverage: 86.5% of statements 17:31:17 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:31:17 go vet ./... 17:31:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:31:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:31:20 ./bin/test-attribution-txt.sh [Pipeline] echo 17:31:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:31:20 $ docker stop --time=1 06106744da5dae49384b6d925fa09e2a14624b5f9f2d8a9f01af30cc576a8064 17:31:22 $ docker rm -f --volumes 06106744da5dae49384b6d925fa09e2a14624b5f9f2d8a9f01af30cc576a8064 [Pipeline] // withDockerContainer [Pipeline] sh 17:31:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:31:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:31:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:31:23 + ls -al . 17:31:23 total 232 17:31:23 drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 17:30 . 17:31:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 17:29 .. 17:31:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 17:31 .git 17:31:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 17:29 .github 17:31:23 -rw-rw-r-- 1 jenkins jenkins 496 Mar 8 17:29 .gitignore 17:31:23 -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 17:29 .golangci.yml 17:31:23 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 17:29 .semver 17:31:23 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 8 17:29 Attribution.txt 17:31:23 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 8 17:29 CHANGELOG.md 17:31:23 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 8 17:29 Dockerfile 17:31:23 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 17:29 GOVERNANCE.md 17:31:23 -rw-rw-r-- 1 jenkins jenkins 734 Mar 8 17:29 Jenkinsfile 17:31:23 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 8 17:29 LICENSE 17:31:23 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 8 17:29 Makefile 17:31:23 -rw-rw-r-- 1 jenkins jenkins 625 Mar 8 17:29 OWNERS.md 17:31:23 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 8 17:29 README.md 17:31:23 -rw-rw-r-- 1 jenkins jenkins 12 Mar 8 17:29 VERSION 17:31:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 17:29 bin 17:31:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 17:29 cmd 17:31:23 -rw-r--r-- 1 jenkins jenkins 76650 Mar 8 17:31 coverage.out 17:31:23 drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 17:29 doc 17:31:23 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 8 17:29 go.mod 17:31:23 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 8 17:29 go.sum 17:31:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 17:29 internal 17:31:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 17:29 snap 17:31:23 -rw-rw-r-- 1 jenkins jenkins 236 Mar 8 17:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:23 + 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=33d7f92d5661b99b9b96e2663b29a2bf689d0f01 --label arch=amd64 --label version=3.0.0-dev.20 . 17:31:23 Sending build context to Docker daemon 27.92MB 17:31:23 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:31:23 Step 2/26 : FROM ${BASE} AS builder 17:31:23 ---> 47b18a5d99e1 17:31:23 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:31:24 ---> Running in bde66e7a4c45 17:31:24 Removing intermediate container bde66e7a4c45 17:31:24 ---> 643f06142189 17:31:24 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:31:24 ---> Running in c71117b39560 17:31:24 Removing intermediate container c71117b39560 17:31:24 ---> 86eaf7b07ceb 17:31:24 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:31:24 ---> Running in 5cd859525637 17:31:24 Removing intermediate container 5cd859525637 17:31:24 ---> 4ddf016daf1f 17:31:24 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:31:24 ---> Running in a99023db1a49 17:31:24 Removing intermediate container a99023db1a49 17:31:24 ---> e26eb9f89476 17:31:24 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:31:24 ---> Running in 5b573b17662d 17:31:24 Removing intermediate container 5b573b17662d 17:31:24 ---> 60f560e98afd 17:31:24 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:31:24 ---> Running in 723dc760b550 17:31:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:31:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:31:25 OK: 211 MiB in 51 packages 17:31:25 Removing intermediate container 723dc760b550 17:31:25 ---> e3abd0266580 17:31:25 Step 9/26 : WORKDIR /device-onvif-camera 17:31:25 ---> Running in 16b203cf7215 17:31:25 Removing intermediate container 16b203cf7215 17:31:25 ---> dec0c0b72110 17:31:25 Step 10/26 : COPY go.mod vendor* ./ 17:31:26 ---> c83f725be6cf 17:31:26 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:31:26 ---> Running in 574f34b69bdc 17:31:27 Removing intermediate container 574f34b69bdc 17:31:27 ---> 6fc20b8e3c6d 17:31:27 Step 12/26 : COPY . . 17:31:28 ---> a6eeda6e05be 17:31:28 Step 13/26 : RUN ${MAKE} 17:31:28 ---> Running in 7d9266736024 17:31:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.20" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:31:55 Removing intermediate container 7d9266736024 17:31:55 ---> 8b26b9ecb97b 17:31:55 Step 14/26 : FROM alpine:3.16 17:31:55 3.16: Pulling from library/alpine 17:31:55 ef5531b6e74e: Pulling fs layer 17:31:55 ef5531b6e74e: Download complete 17:31:55 ef5531b6e74e: Pull complete 17:31:55 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:31:55 Status: Downloaded newer image for alpine:3.16 17:31:55 ---> dfd21b5a31f5 17:31:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:31:55 ---> Running in 9b944cd4a8bf 17:31:55 Removing intermediate container 9b944cd4a8bf 17:31:55 ---> 46c017aeeba7 17:31:55 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:31:55 ---> Running in 8365baa85b4c 17:31:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:31:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:31:55 (1/1) Installing dumb-init (1.2.5-r1) 17:31:55 Executing busybox-1.35.0-r17.trigger 17:31:55 OK: 6 MiB in 15 packages 17:31:55 Removing intermediate container 8365baa85b4c 17:31:55 ---> cf3c57b1fe35 17:31:55 Step 17/26 : WORKDIR / 17:31:55 ---> Running in bbd289d46e66 17:31:55 Removing intermediate container bbd289d46e66 17:31:55 ---> e159a5abe3ac 17:31:55 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:31:55 ---> fb8e2b57589d 17:31:55 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:31:55 ---> 24440fd96853 17:31:55 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:31:55 ---> 9654dbb40121 17:31:55 Step 21/26 : EXPOSE 59984 17:31:55 ---> Running in 603e706ce5d6 17:31:55 Removing intermediate container 603e706ce5d6 17:31:55 ---> 3e5cb5abd738 17:31:55 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:31:55 ---> Running in 3a4d28a9e424 17:31:55 Removing intermediate container 3a4d28a9e424 17:31:55 ---> f1628eee5be9 17:31:55 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:31:55 ---> Running in f6a8eeb5de75 17:31:55 Removing intermediate container f6a8eeb5de75 17:31:55 ---> 778a93a5fe33 17:31:55 Step 24/26 : LABEL arch=amd64 17:31:55 ---> Running in a209dcbe24af 17:31:55 Removing intermediate container a209dcbe24af 17:31:55 ---> 7205ef47f149 17:31:55 Step 25/26 : LABEL git_sha=33d7f92d5661b99b9b96e2663b29a2bf689d0f01 17:31:55 ---> Running in 1a5aee895a66 17:31:55 Removing intermediate container 1a5aee895a66 17:31:55 ---> d77d197a82c3 17:31:55 Step 26/26 : LABEL version=3.0.0-dev.20 17:31:55 ---> Running in 6a6b8e87afa9 17:31:55 Removing intermediate container 6a6b8e87afa9 17:31:55 ---> eeb66274d22e 17:31:55 [Warning] One or more build-args [ARCH] were not consumed 17:31:55 Successfully built eeb66274d22e 17:31:55 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:55 provisioning config files... 17:31:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7739463820592615617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:55 ---> docker-login.sh 17:31:55 nexus3.edgexfoundry.org:10001 17:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:55 Configure a credential helper to remove this warning. See 17:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:55 17:31:55 Login Succeeded 17:31:55 nexus3.edgexfoundry.org:10002 17:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:55 Configure a credential helper to remove this warning. See 17:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:55 17:31:55 Login Succeeded 17:31:55 nexus3.edgexfoundry.org:10003 17:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:55 Configure a credential helper to remove this warning. See 17:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:55 17:31:55 Login Succeeded 17:31:55 nexus3.edgexfoundry.org:10004 17:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:56 Configure a credential helper to remove this warning. See 17:31:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:56 17:31:56 Login Succeeded 17:31:56 docker.io 17:31:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:56 Configure a credential helper to remove this warning. See 17:31:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:56 17:31:56 Login Succeeded 17:31:56 ---> docker-login.sh ends [Pipeline] } 17:31:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:31:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:31:56 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:31:56 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 17:31:56 latest 17:31:56 3.0.0-dev.20 17:31:56 33d7f92d5661b99b9b96e2663b29a2bf689d0f01-3.0.0-dev.20 17:31:56 main 17:31:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:56 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:33d7f92d5661b99b9b96e2663b29a2bf689d0f01 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:33d7f92d5661b99b9b96e2663b29a2bf689d0f01 17:31:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:31:56 686212bfd7e7: Preparing 17:31:56 a2452a2380f8: Preparing 17:31:56 caf95ca146f6: Preparing 17:31:56 bc4f3d6a6d50: Preparing 17:31:56 aa5968d388b8: Preparing 17:31:56 aa5968d388b8: Layer already exists 17:31:56 bc4f3d6a6d50: Pushed 17:31:56 a2452a2380f8: Pushed 17:31:56 686212bfd7e7: Pushed 17:32:00 caf95ca146f6: Pushed 17:32:00 33d7f92d5661b99b9b96e2663b29a2bf689d0f01: digest: sha256:08bbc29fd49868d7a3404a3790c14981f00fe4fe890238a6ea214ae632f4825a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:00 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:32:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:32:00 686212bfd7e7: Preparing 17:32:00 a2452a2380f8: Preparing 17:32:00 caf95ca146f6: Preparing 17:32:00 bc4f3d6a6d50: Preparing 17:32:00 aa5968d388b8: Preparing 17:32:00 aa5968d388b8: Layer already exists 17:32:00 caf95ca146f6: Layer already exists 17:32:00 a2452a2380f8: Layer already exists 17:32:00 bc4f3d6a6d50: Layer already exists 17:32:00 686212bfd7e7: Layer already exists 17:32:00 latest: digest: sha256:08bbc29fd49868d7a3404a3790c14981f00fe4fe890238a6ea214ae632f4825a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:01 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.20 17:32:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:32:01 686212bfd7e7: Preparing 17:32:01 a2452a2380f8: Preparing 17:32:01 caf95ca146f6: Preparing 17:32:01 bc4f3d6a6d50: Preparing 17:32:01 aa5968d388b8: Preparing 17:32:01 bc4f3d6a6d50: Layer already exists 17:32:01 a2452a2380f8: Layer already exists 17:32:01 686212bfd7e7: Layer already exists 17:32:01 aa5968d388b8: Layer already exists 17:32:01 caf95ca146f6: Layer already exists 17:32:01 3.0.0-dev.20: digest: sha256:08bbc29fd49868d7a3404a3790c14981f00fe4fe890238a6ea214ae632f4825a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:01 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:33d7f92d5661b99b9b96e2663b29a2bf689d0f01-3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:33d7f92d5661b99b9b96e2663b29a2bf689d0f01-3.0.0-dev.20 17:32:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:32:02 686212bfd7e7: Preparing 17:32:02 a2452a2380f8: Preparing 17:32:02 caf95ca146f6: Preparing 17:32:02 bc4f3d6a6d50: Preparing 17:32:02 aa5968d388b8: Preparing 17:32:02 aa5968d388b8: Layer already exists 17:32:02 caf95ca146f6: Layer already exists 17:32:02 bc4f3d6a6d50: Layer already exists 17:32:02 686212bfd7e7: Layer already exists 17:32:02 a2452a2380f8: Layer already exists 17:32:02 33d7f92d5661b99b9b96e2663b29a2bf689d0f01-3.0.0-dev.20: digest: sha256:08bbc29fd49868d7a3404a3790c14981f00fe4fe890238a6ea214ae632f4825a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:02 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:32:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:32:02 686212bfd7e7: Preparing 17:32:02 a2452a2380f8: Preparing 17:32:02 caf95ca146f6: Preparing 17:32:02 bc4f3d6a6d50: Preparing 17:32:02 aa5968d388b8: Preparing 17:32:02 bc4f3d6a6d50: Layer already exists 17:32:02 a2452a2380f8: Layer already exists 17:32:02 caf95ca146f6: Layer already exists 17:32:02 686212bfd7e7: Layer already exists 17:32:02 aa5968d388b8: Layer already exists 17:32:02 main: digest: sha256:08bbc29fd49868d7a3404a3790c14981f00fe4fe890238a6ea214ae632f4825a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:32:02 ===================================================== [Pipeline] echo 17:32:02 taggedImages: 17:32:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera:33d7f92d5661b99b9b96e2663b29a2bf689d0f01 17:32:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:32:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.20 17:32:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera:33d7f92d5661b99b9b96e2663b29a2bf689d0f01-3.0.0-dev.20 17:32:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:32:03 17:32:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:32:03 latest: Pulling from edgex-lftools-log-publisher 17:32:03 5eb5b503b376: Pulling fs layer 17:32:03 5c69ac0246d0: Pulling fs layer 17:32:03 ec43610c2a17: Pulling fs layer 17:32:03 3a2ae6a8a46f: Pulling fs layer 17:32:03 33b1e0a273af: Pulling fs layer 17:32:03 5d3b04190fa2: Pulling fs layer 17:32:03 2f39f015ded8: Pulling fs layer 17:32:03 3a2ae6a8a46f: Waiting 17:32:03 33b1e0a273af: Waiting 17:32:03 5d3b04190fa2: Waiting 17:32:03 2f39f015ded8: Waiting 17:32:03 5c69ac0246d0: Verifying Checksum 17:32:03 5c69ac0246d0: Download complete 17:32:03 3a2ae6a8a46f: Verifying Checksum 17:32:03 3a2ae6a8a46f: Download complete 17:32:03 ec43610c2a17: Verifying Checksum 17:32:03 ec43610c2a17: Download complete 17:32:03 33b1e0a273af: Verifying Checksum 17:32:03 33b1e0a273af: Download complete 17:32:03 5d3b04190fa2: Verifying Checksum 17:32:03 5d3b04190fa2: Download complete 17:32:03 5eb5b503b376: Verifying Checksum 17:32:03 5eb5b503b376: Download complete 17:32:04 2f39f015ded8: Download complete 17:32:05 5eb5b503b376: Pull complete 17:32:05 5c69ac0246d0: Pull complete 17:32:05 ec43610c2a17: Pull complete 17:32:05 3a2ae6a8a46f: Pull complete 17:32:06 33b1e0a273af: Pull complete 17:32:06 5d3b04190fa2: Pull complete 17:32:11 2f39f015ded8: Pull complete 17:32:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:32:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:32:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:32:11 prd-ubuntu20.04-docker-8c-8g-8833 does not seem to be running inside a container 17:32:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:32:13 $ docker top 975bd7b30e4058fcd0a6d8f3a680f36f89c6a3126c5f9a1126e4585a1b851a0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:13 ---> job-cost.sh 17:32:13 lf-activate-venv: SKIPPING 17:32:13 INFO: No Stack... 17:32:13 INFO: Retrieving Pricing Info for: v3-standard-8 17:32:14 INFO: Archiving Costs [Pipeline] sh 17:32:14 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 17:32:14 + cut -d, -f6 [Pipeline] lock 17:32:14 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-110-stack-cost] 17:32:14 Resource [jenkins-edgexfoundry-device-onvif-camera-main-110-stack-cost] did not exist. Created. 17:32:14 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:32:14 + echo total: 0.2199999988079071 [Pipeline] stash 17:32:14 Stashed 1 file(s) [Pipeline] } 17:32:14 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-110-stack-cost] [Pipeline] // lock [Pipeline] } 17:32:14 $ docker stop --time=1 975bd7b30e4058fcd0a6d8f3a680f36f89c6a3126c5f9a1126e4585a1b851a0b 17:32:16 $ docker rm -f --volumes 975bd7b30e4058fcd0a6d8f3a680f36f89c6a3126c5f9a1126e4585a1b851a0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:32:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8834 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:32:38 Running in /w/workspace/device-onvif-camera/110 [Pipeline] { [Pipeline] checkout 17:32:38 The recommended git tool is: git 17:32:44 using credential edgex-jenkins-ssh 17:32:44 Cloning the remote Git repository 17:32:44 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:32:44 > git init /w/workspace/device-onvif-camera/110 # timeout=10 17:32:44 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:32:44 > git --version # timeout=10 17:32:44 > git --version # 'git version 2.25.1' 17:32:44 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:45 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:32:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:46 Avoid second fetch 17:32:46 Checking out Revision 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 (main) 17:32:47 Commit message: "refactor!: Rename path to secret name (#255)" 17:32:46 > git config core.sparsecheckout # timeout=10 17:32:46 > git checkout -f 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:32:48 % Total % Received % Xferd Average Speed Time Time Time Current 17:32:48 Dload Upload Total Spent Left Speed 17:32:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 68924 0 --:--:-- --:--:-- --:--:-- 68924 [Pipeline] sh 17:32:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:32:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:32:49 + sudo tee /etc/docker/daemon.new 17:32:49 { 17:32:49 "registry-mirrors": [ 17:32:49 "https://nexus3.edgexfoundry.org:10001" 17:32:49 ], 17:32:49 "bip": "10.250.0.254/24", 17:32:49 "hosts": [ 17:32:49 "tcp://0.0.0.0:5555", 17:32:49 "unix:///var/run/docker.sock" 17:32:49 ], 17:32:49 "mtu": 1458, 17:32:49 "selinux-enabled": true, 17:32:49 "seccomp-profile": "/etc/docker/seccomp.json" 17:32:49 } [Pipeline] sh 17:32:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:32:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:33:08 provisioning config files... 17:33:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/110@tmp/config12410542388841217553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:33:08 ---> docker-login.sh 17:33:08 nexus3.edgexfoundry.org:10001 17:33:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:09 Configure a credential helper to remove this warning. See 17:33:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:09 17:33:09 Login Succeeded 17:33:09 nexus3.edgexfoundry.org:10002 17:33:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:09 Configure a credential helper to remove this warning. See 17:33:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:09 17:33:09 Login Succeeded 17:33:09 nexus3.edgexfoundry.org:10003 17:33:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:09 Configure a credential helper to remove this warning. See 17:33:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:09 17:33:09 Login Succeeded 17:33:09 nexus3.edgexfoundry.org:10004 17:33:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:10 Configure a credential helper to remove this warning. See 17:33:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:10 17:33:10 Login Succeeded 17:33:10 docker.io 17:33:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:10 Configure a credential helper to remove this warning. See 17:33:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:10 17:33:10 Login Succeeded 17:33:10 ---> docker-login.sh ends [Pipeline] } 17:33:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:33:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:33:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:33:11 ========================================================= 17:33:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:33:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:11 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:33:12 Sending build context to Docker daemon 20.61MB 17:33:12 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:33:12 Step 2/13 : FROM ${BASE} AS builder 17:33:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:33:12 9b18e9b68314: Pulling fs layer 17:33:12 35d82f9e3411: Pulling fs layer 17:33:12 e16973657156: Pulling fs layer 17:33:12 fc693d55d65f: Pulling fs layer 17:33:12 7e9fc2657dce: Pulling fs layer 17:33:12 dda99020689f: Pulling fs layer 17:33:12 db1c61fa0a46: Pulling fs layer 17:33:12 891c053d2c06: Pulling fs layer 17:33:12 7e9fc2657dce: Waiting 17:33:12 db1c61fa0a46: Waiting 17:33:12 891c053d2c06: Waiting 17:33:12 dda99020689f: Waiting 17:33:12 fc693d55d65f: Waiting 17:33:12 e16973657156: Verifying Checksum 17:33:12 e16973657156: Download complete 17:33:12 35d82f9e3411: Verifying Checksum 17:33:12 35d82f9e3411: Download complete 17:33:12 7e9fc2657dce: Verifying Checksum 17:33:12 7e9fc2657dce: Download complete 17:33:12 dda99020689f: Verifying Checksum 17:33:12 dda99020689f: Download complete 17:33:12 9b18e9b68314: Download complete 17:33:13 9b18e9b68314: Pull complete 17:33:13 891c053d2c06: Verifying Checksum 17:33:13 891c053d2c06: Download complete 17:33:13 35d82f9e3411: Pull complete 17:33:13 e16973657156: Pull complete 17:33:14 db1c61fa0a46: Verifying Checksum 17:33:14 db1c61fa0a46: Download complete 17:33:14 fc693d55d65f: Verifying Checksum 17:33:14 fc693d55d65f: Download complete 17:33:27 fc693d55d65f: Pull complete 17:33:27 7e9fc2657dce: Pull complete 17:33:27 dda99020689f: Pull complete 17:33:33 db1c61fa0a46: Pull complete 17:33:36 891c053d2c06: Pull complete 17:33:36 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:33:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:33:36 ---> f96f9c87975a 17:33:36 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:33:38 ---> Running in b12fceefb560 17:33:38 Removing intermediate container b12fceefb560 17:33:38 ---> fb6b9f52bd11 17:33:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:33:38 ---> Running in b0cd224d8b88 17:33:38 Removing intermediate container b0cd224d8b88 17:33:38 ---> 386c30d0fdf3 17:33:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:33:38 ---> Running in 4899c33efcb2 17:33:39 Removing intermediate container 4899c33efcb2 17:33:39 ---> 3d03626ad992 17:33:39 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:33:39 ---> Running in 4268f5ea8a1f 17:33:39 Removing intermediate container 4268f5ea8a1f 17:33:39 ---> e3f2443ed7ff 17:33:39 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:33:39 ---> Running in f3101555dda0 17:33:39 Removing intermediate container f3101555dda0 17:33:39 ---> 9c60f3fc7aa5 17:33:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:33:39 ---> Running in 18d2288c45bc 17:33:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:33:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:33:42 OK: 221 MiB in 51 packages 17:33:43 Removing intermediate container 18d2288c45bc 17:33:43 ---> fd34bb8a8db6 17:33:43 Step 9/13 : WORKDIR /device-onvif-camera 17:33:43 ---> Running in 0de6810230eb 17:33:43 Removing intermediate container 0de6810230eb 17:33:43 ---> 269fd08dcc4f 17:33:43 Step 10/13 : COPY go.mod vendor* ./ 17:33:43 ---> f157ca55e55d 17:33:43 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:33:43 ---> Running in 5a7c37d76c0d 17:34:52 Removing intermediate container 5a7c37d76c0d 17:34:52 ---> 39eff6f90cb5 17:34:52 Step 12/13 : COPY . . 17:34:52 ---> 4094555c4bbd 17:34:52 Step 13/13 : RUN ${MAKE} 17:34:52 ---> Running in 9e358ba0a08b 17:34:53 noop 17:34:53 Removing intermediate container 9e358ba0a08b 17:34:53 ---> 65aae02ad64a 17:34:54 Successfully built 65aae02ad64a 17:34:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:54 + docker inspect -f . ci-base-image-arm64 17:34:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:54 prd-ubuntu20.04-docker-arm64-4c-16g-8834 does not seem to be running inside a container 17:34:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/110 -v /w/workspace/device-onvif-camera/110:/w/workspace/device-onvif-camera/110:rw,z -v /w/workspace/device-onvif-camera/110@tmp:/w/workspace/device-onvif-camera/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:34:55 $ docker top ff1fd82f0715e0aacfd3cd9396e4b182d11bc6071c7ee544a43dbf4eb900fb12 -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:56 + go version 17:34:56 go version go1.18.7 linux/arm64 [Pipeline] } 17:34:56 $ docker stop --time=1 ff1fd82f0715e0aacfd3cd9396e4b182d11bc6071c7ee544a43dbf4eb900fb12 17:34:58 $ docker rm -f --volumes ff1fd82f0715e0aacfd3cd9396e4b182d11bc6071c7ee544a43dbf4eb900fb12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:58 + docker inspect -f . ci-base-image-arm64 17:34:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:59 prd-ubuntu20.04-docker-arm64-4c-16g-8834 does not seem to be running inside a container 17:34:59 $ 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/110 -v /w/workspace/device-onvif-camera/110:/w/workspace/device-onvif-camera/110:rw,z -v /w/workspace/device-onvif-camera/110@tmp:/w/workspace/device-onvif-camera/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:35:00 $ docker top 7c428725d4169f503f0e3121a206e8d330c6499709d7b522a908869ae11dbb53 -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:00 + git config --global --add safe.directory /w/workspace/device-onvif-camera/110 [Pipeline] fileExists [Pipeline] sh 17:35:01 + make test 17:35:01 go test ./... -coverprofile=coverage.out ./... 17:35:03 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:36:39 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:36:39 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.167s coverage: 30.5% of statements 17:36:39 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:36:49 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.077s coverage: 86.5% of statements 17:36:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:36:50 go vet ./... 17:37:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:37:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:37:22 ./bin/test-attribution-txt.sh [Pipeline] echo 17:37:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:37:22 $ docker stop --time=1 7c428725d4169f503f0e3121a206e8d330c6499709d7b522a908869ae11dbb53 17:37:24 $ docker rm -f --volumes 7c428725d4169f503f0e3121a206e8d330c6499709d7b522a908869ae11dbb53 [Pipeline] // withDockerContainer [Pipeline] sh 17:37:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:37:25 Warning: overwriting stash ‘coverage-report’ 17:37:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:37:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:37:26 + ls -al . 17:37:26 total 228 17:37:26 drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 17:35 . 17:37:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 17:32 .. 17:37:26 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 17:32 .git 17:37:26 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 17:32 .github 17:37:26 -rw-rw-r-- 1 jenkins jenkins 496 Mar 8 17:32 .gitignore 17:37:26 -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 17:32 .golangci.yml 17:37:26 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 8 17:32 Attribution.txt 17:37:26 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 8 17:32 CHANGELOG.md 17:37:26 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 8 17:32 Dockerfile 17:37:26 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 17:32 GOVERNANCE.md 17:37:26 -rw-rw-r-- 1 jenkins jenkins 734 Mar 8 17:32 Jenkinsfile 17:37:26 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 8 17:32 LICENSE 17:37:26 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 8 17:32 Makefile 17:37:26 -rw-rw-r-- 1 jenkins jenkins 625 Mar 8 17:32 OWNERS.md 17:37:26 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 8 17:32 README.md 17:37:26 -rw-rw-r-- 1 jenkins jenkins 12 Mar 8 17:29 VERSION 17:37:26 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 17:32 bin 17:37:26 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 17:32 cmd 17:37:26 -rw-r--r-- 1 jenkins jenkins 76650 Mar 8 17:36 coverage.out 17:37:26 drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 17:32 doc 17:37:26 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 8 17:32 go.mod 17:37:26 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 8 17:32 go.sum 17:37:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 17:32 internal 17:37:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 17:32 snap 17:37:26 -rw-rw-r-- 1 jenkins jenkins 236 Mar 8 17:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37: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=33d7f92d5661b99b9b96e2663b29a2bf689d0f01 --label arch=arm64 --label version=3.0.0-dev.20 . 17:37:27 Sending build context to Docker daemon 20.68MB 17:37:27 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:37:27 Step 2/26 : FROM ${BASE} AS builder 17:37:27 ---> 65aae02ad64a 17:37:27 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:37:27 ---> Running in 0f3dc974e769 17:37:28 Removing intermediate container 0f3dc974e769 17:37:28 ---> 0300b3bbf086 17:37:28 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:37:28 ---> Running in e2d4675ce4d1 17:37:28 Removing intermediate container e2d4675ce4d1 17:37:28 ---> 263929241b3d 17:37:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:37:28 ---> Running in ba7f6b31a076 17:37:30 Removing intermediate container ba7f6b31a076 17:37:30 ---> a7c8329633c6 17:37:30 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:37:30 ---> Running in 18a1997b9cfe 17:37:30 Removing intermediate container 18a1997b9cfe 17:37:30 ---> 2b95daf0d0bf 17:37:30 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:37:30 ---> Running in 3a39695dac14 17:37:31 Removing intermediate container 3a39695dac14 17:37:31 ---> 0aca5754beb3 17:37:31 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:37:31 ---> Running in de30b8a902d7 17:37:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:37:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:37:33 OK: 221 MiB in 51 packages 17:37:34 Removing intermediate container de30b8a902d7 17:37:34 ---> 2a52be5c9a89 17:37:34 Step 9/26 : WORKDIR /device-onvif-camera 17:37:34 ---> Running in c283ab211f00 17:37:35 Removing intermediate container c283ab211f00 17:37:35 ---> 46547d5bf694 17:37:35 Step 10/26 : COPY go.mod vendor* ./ 17:37:35 ---> b269e1617fb1 17:37:35 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:37:35 ---> Running in e63e37a816db 17:37:39 Removing intermediate container e63e37a816db 17:37:39 ---> e415a33f492d 17:37:39 Step 12/26 : COPY . . 17:37:40 ---> 101c4bf92a67 17:37:40 Step 13/26 : RUN ${MAKE} 17:37:40 ---> Running in e24738e23876 17:37:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.20" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:40:03 Removing intermediate container e24738e23876 17:40:03 ---> 83d850472fff 17:40:03 Step 14/26 : FROM alpine:3.16 17:40:03 3.16: Pulling from library/alpine 17:40:03 3760b48202b3: Pulling fs layer 17:40:03 3760b48202b3: Download complete 17:40:03 3760b48202b3: Pull complete 17:40:03 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:40:03 Status: Downloaded newer image for alpine:3.16 17:40:03 ---> 4c81e5bf8899 17:40:03 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:40:03 ---> Running in 46432f8ea5b5 17:40:03 Removing intermediate container 46432f8ea5b5 17:40:03 ---> aeaf0acf7c46 17:40:03 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:40:03 ---> Running in db259fb22d0a 17:40:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:40:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:40:03 (1/1) Installing dumb-init (1.2.5-r1) 17:40:03 Executing busybox-1.35.0-r17.trigger 17:40:03 OK: 5 MiB in 15 packages 17:40:03 Removing intermediate container db259fb22d0a 17:40:03 ---> 566bff262907 17:40:03 Step 17/26 : WORKDIR / 17:40:03 ---> Running in 91fbc5051532 17:40:03 Removing intermediate container 91fbc5051532 17:40:03 ---> 7d1f73d8036e 17:40:03 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:40:03 ---> 00ad44d1cc61 17:40:03 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:40:03 ---> 01f3e6cee427 17:40:03 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:40:03 ---> 45cea6b6870c 17:40:03 Step 21/26 : EXPOSE 59984 17:40:03 ---> Running in 4f8fd5c87ab7 17:40:03 Removing intermediate container 4f8fd5c87ab7 17:40:03 ---> 8ebfcc95858b 17:40:03 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:40:03 ---> Running in 442eca9950cf 17:40:03 Removing intermediate container 442eca9950cf 17:40:03 ---> 040b4310238a 17:40:03 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:40:03 ---> Running in a16921245839 17:40:03 Removing intermediate container a16921245839 17:40:03 ---> 8f8214e97ec5 17:40:03 Step 24/26 : LABEL arch=arm64 17:40:03 ---> Running in 5cf6c01c84c2 17:40:04 Removing intermediate container 5cf6c01c84c2 17:40:04 ---> 60bc1b0cda80 17:40:04 Step 25/26 : LABEL git_sha=33d7f92d5661b99b9b96e2663b29a2bf689d0f01 17:40:04 ---> Running in 2d8dbba97293 17:40:04 Removing intermediate container 2d8dbba97293 17:40:04 ---> 6686e3761547 17:40:04 Step 26/26 : LABEL version=3.0.0-dev.20 17:40:04 ---> Running in 69e8bc4e2516 17:40:05 Removing intermediate container 69e8bc4e2516 17:40:05 ---> 560f1fd49064 17:40:05 [Warning] One or more build-args [ARCH] were not consumed 17:40:05 Successfully built 560f1fd49064 17:40:05 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:40:05 provisioning config files... 17:40:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/110@tmp/config15831798064065285874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:40:05 ---> docker-login.sh 17:40:05 nexus3.edgexfoundry.org:10001 17:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:40:05 Configure a credential helper to remove this warning. See 17:40:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:40:05 17:40:05 Login Succeeded 17:40:05 nexus3.edgexfoundry.org:10002 17:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:40:06 Configure a credential helper to remove this warning. See 17:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:40:06 17:40:06 Login Succeeded 17:40:06 nexus3.edgexfoundry.org:10003 17:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:40:06 Configure a credential helper to remove this warning. See 17:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:40:06 17:40:06 Login Succeeded 17:40:06 nexus3.edgexfoundry.org:10004 17:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:40:06 Configure a credential helper to remove this warning. See 17:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:40:06 17:40:06 Login Succeeded 17:40:06 docker.io 17:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:40:07 Configure a credential helper to remove this warning. See 17:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:40:07 17:40:07 Login Succeeded 17:40:07 ---> docker-login.sh ends [Pipeline] } 17:40:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:40:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:40:07 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 17:40:07 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 17:40:07 latest 17:40:07 3.0.0-dev.20 17:40:07 33d7f92d5661b99b9b96e2663b29a2bf689d0f01-3.0.0-dev.20 17:40:07 main 17:40:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:07 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:33d7f92d5661b99b9b96e2663b29a2bf689d0f01 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:33d7f92d5661b99b9b96e2663b29a2bf689d0f01 17:40:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:40:08 1dc45dfecca0: Preparing 17:40:08 918ab25d0bb8: Preparing 17:40:08 b2838c4aa9a9: Preparing 17:40:08 1347ea4ca34b: Preparing 17:40:08 f70ee36035b9: Preparing 17:40:08 f70ee36035b9: Layer already exists 17:40:08 918ab25d0bb8: Pushed 17:40:08 1dc45dfecca0: Pushed 17:40:08 1347ea4ca34b: Pushed 17:40:13 b2838c4aa9a9: Pushed 17:40:13 33d7f92d5661b99b9b96e2663b29a2bf689d0f01: digest: sha256:c16cfdc532a1e68b2ec4228922f90a907023e4e51b43c783772c613ead08505f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:14 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:40:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:40:14 1dc45dfecca0: Preparing 17:40:14 918ab25d0bb8: Preparing 17:40:14 b2838c4aa9a9: Preparing 17:40:14 1347ea4ca34b: Preparing 17:40:14 f70ee36035b9: Preparing 17:40:14 f70ee36035b9: Layer already exists 17:40:14 1dc45dfecca0: Layer already exists 17:40:14 b2838c4aa9a9: Layer already exists 17:40:14 1347ea4ca34b: Layer already exists 17:40:14 918ab25d0bb8: Layer already exists 17:40:14 latest: digest: sha256:c16cfdc532a1e68b2ec4228922f90a907023e4e51b43c783772c613ead08505f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:14 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.20 17:40:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:40:16 1dc45dfecca0: Preparing 17:40:16 918ab25d0bb8: Preparing 17:40:16 b2838c4aa9a9: Preparing 17:40:16 1347ea4ca34b: Preparing 17:40:16 f70ee36035b9: Preparing 17:40:16 1dc45dfecca0: Layer already exists 17:40:16 b2838c4aa9a9: Layer already exists 17:40:16 f70ee36035b9: Layer already exists 17:40:16 918ab25d0bb8: Layer already exists 17:40:16 1347ea4ca34b: Layer already exists 17:40:16 3.0.0-dev.20: digest: sha256:c16cfdc532a1e68b2ec4228922f90a907023e4e51b43c783772c613ead08505f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:16 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:33d7f92d5661b99b9b96e2663b29a2bf689d0f01-3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:33d7f92d5661b99b9b96e2663b29a2bf689d0f01-3.0.0-dev.20 17:40:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:40:17 1dc45dfecca0: Preparing 17:40:17 918ab25d0bb8: Preparing 17:40:17 b2838c4aa9a9: Preparing 17:40:17 1347ea4ca34b: Preparing 17:40:17 f70ee36035b9: Preparing 17:40:17 1347ea4ca34b: Layer already exists 17:40:17 1dc45dfecca0: Layer already exists 17:40:17 f70ee36035b9: Layer already exists 17:40:17 918ab25d0bb8: Layer already exists 17:40:17 b2838c4aa9a9: Layer already exists 17:40:17 33d7f92d5661b99b9b96e2663b29a2bf689d0f01-3.0.0-dev.20: digest: sha256:c16cfdc532a1e68b2ec4228922f90a907023e4e51b43c783772c613ead08505f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:17 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 17:40:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:40:17 1dc45dfecca0: Preparing 17:40:17 918ab25d0bb8: Preparing 17:40:17 b2838c4aa9a9: Preparing 17:40:17 1347ea4ca34b: Preparing 17:40:17 f70ee36035b9: Preparing 17:40:17 1dc45dfecca0: Layer already exists 17:40:17 b2838c4aa9a9: Layer already exists 17:40:17 1347ea4ca34b: Layer already exists 17:40:17 918ab25d0bb8: Layer already exists 17:40:17 f70ee36035b9: Layer already exists 17:40:18 main: digest: sha256:c16cfdc532a1e68b2ec4228922f90a907023e4e51b43c783772c613ead08505f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:40:18 ===================================================== [Pipeline] echo 17:40:18 taggedImages: 17:40:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:33d7f92d5661b99b9b96e2663b29a2bf689d0f01 17:40:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:40:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.20 17:40:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:33d7f92d5661b99b9b96e2663b29a2bf689d0f01-3.0.0-dev.20 17:40:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:40:18 17:40:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:40:18 arm64: Pulling from edgex-lftools-log-publisher 17:40:18 8998bd30e6a1: Pulling fs layer 17:40:18 04944245beec: Pulling fs layer 17:40:18 699f458cf7ca: Pulling fs layer 17:40:18 765212b225bb: Pulling fs layer 17:40:18 f23df028b6ca: Pulling fs layer 17:40:18 d65c8cfc05b1: Pulling fs layer 17:40:18 2437ff75d9bd: Pulling fs layer 17:40:18 765212b225bb: Waiting 17:40:18 f23df028b6ca: Waiting 17:40:18 d65c8cfc05b1: Waiting 17:40:18 2437ff75d9bd: Waiting 17:40:19 04944245beec: Verifying Checksum 17:40:19 04944245beec: Download complete 17:40:19 765212b225bb: Verifying Checksum 17:40:19 765212b225bb: Download complete 17:40:19 f23df028b6ca: Download complete 17:40:19 d65c8cfc05b1: Verifying Checksum 17:40:19 d65c8cfc05b1: Download complete 17:40:19 699f458cf7ca: Verifying Checksum 17:40:19 699f458cf7ca: Download complete 17:40:19 8998bd30e6a1: Verifying Checksum 17:40:19 8998bd30e6a1: Download complete 17:40:21 2437ff75d9bd: Verifying Checksum 17:40:21 2437ff75d9bd: Download complete 17:40:22 8998bd30e6a1: Pull complete 17:40:23 04944245beec: Pull complete 17:40:24 699f458cf7ca: Pull complete 17:40:24 765212b225bb: Pull complete 17:40:25 f23df028b6ca: Pull complete 17:40:25 d65c8cfc05b1: Pull complete 17:40:37 2437ff75d9bd: Pull complete 17:40:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:40:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:40:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:38 prd-ubuntu20.04-docker-arm64-4c-16g-8834 does not seem to be running inside a container 17:40:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/110 -v /w/workspace/device-onvif-camera/110:/w/workspace/device-onvif-camera/110:rw,z -v /w/workspace/device-onvif-camera/110@tmp:/w/workspace/device-onvif-camera/110@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:40:42 $ docker top 19f1a34d877f0688782de3c37a02f984cbbbb3896d2bf50c6dd580259141028b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:40:42 ---> job-cost.sh 17:40:42 lf-activate-venv: SKIPPING 17:40:42 INFO: No Stack... 17:40:43 INFO: Retrieving Pricing Info for: v3-standard-4 17:40:44 INFO: Archiving Costs [Pipeline] sh 17:40:44 + cat /w/workspace/device-onvif-camera/110/archives/cost.csv 17:40:44 + cut -d, -f6 [Pipeline] lock 17:40:44 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-110-stack-cost] 17:40:44 Resource [jenkins-edgexfoundry-device-onvif-camera-main-110-stack-cost] did not exist. Created. 17:40:44 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:40:44 /w/workspace/device-onvif-camera/110@tmp/durable-05963a2f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:40:45 + echo total: 0.10999999940395355 [Pipeline] stash 17:40:45 Warning: overwriting stash ‘stack-cost’ 17:40:45 Stashed 1 file(s) [Pipeline] } 17:40:45 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-110-stack-cost] [Pipeline] // lock [Pipeline] } 17:40:45 $ docker stop --time=1 19f1a34d877f0688782de3c37a02f984cbbbb3896d2bf50c6dd580259141028b 17:40:46 $ docker rm -f --volumes 19f1a34d877f0688782de3c37a02f984cbbbb3896d2bf50c6dd580259141028b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:40:47 provisioning config files... 17:40:47 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7416672539982502389tmp [Pipeline] { [Pipeline] sh 17:40:47 + set +x 17:40:47 + curl -s https://codecov.io/bash 17:40:47 + bash -s -- 17:40:47 17:40:47 _____ _ 17:40:47 / ____| | | 17:40:47 | | ___ __| | ___ ___ _____ __ 17:40:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:40:47 | |___| (_) | (_| | __/ (_| (_) \ V / 17:40:47 \_____\___/ \__,_|\___|\___\___/ \_/ 17:40:47 Bash-1.0.6 17:40:47 17:40:47 17:40:47 ==> git version 2.25.1 found 17:40:47 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:40:47 Release-Date: 2020-01-08 17:40:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:40:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:40:47 ==> Jenkins CI detected. 17:40:47 current dir:  /w/workspace/foundry_device-onvif-camera_main 17:40:47 project root: . 17:40:47 --> token set from env 17:40:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:40:47 ==> Running gcov in . (disable via -X gcov) 17:40:47 ==> Python coveragepy not found 17:40:47 ==> Searching for coverage reports in: 17:40:47 + . 17:40:47 -> Found 1 reports 17:40:47 ==> Detecting git/mercurial file structure 17:40:47 ==> Reading reports 17:40:47 + ./coverage.out bytes=76650 17:40:47 ==> Appending adjustments 17:40:47 https://docs.codecov.io/docs/fixing-reports 17:40:47 + Found adjustments 17:40:47 ==> Gzipping contents 17:40:47 12K /tmp/codecov.gnDe0c.gz 17:40:47 ==> Uploading reports 17:40:47 url: https://codecov.io 17:40:47 query: branch=main&commit=33d7f92d5661b99b9b96e2663b29a2bf689d0f01&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:40:47 -> Pinging Codecov 17:40:47 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=33d7f92d5661b99b9b96e2663b29a2bf689d0f01&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:40:47 -> Uploading to 17:40:47 https://storage.googleapis.com/codecov/v4/raw/2023-03-08/F29A59C45E3A92E06B3E522C9905F8EF/33d7f92d5661b99b9b96e2663b29a2bf689d0f01/3b882d82-338c-46c9-ab6f-44e88d77b770.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T174047Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=757b894063343eb8633b9ae6c113bede04b01b42097a110218c1473747c6d74b 17:40:47 % Total % Received % Xferd Average Speed Time Time Time Current 17:40:47 Dload Upload Total Spent Left Speed 17:40:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10507 0 0 100 10507 0 36356 --:--:-- --:--:-- --:--:-- 36356 17:40:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/33d7f92d5661b99b9b96e2663b29a2bf689d0f01 [Pipeline] } 17:40:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:40:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:40:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:40:48 17:40:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:40:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:40:48 df9b9388f04a: Pulling fs layer 17:40:48 52dc419b0ee2: Pulling fs layer 17:40:48 25bc292e5bac: Pulling fs layer 17:40:48 114826534d7a: Pulling fs layer 17:40:48 4657fd5d0bcf: Pulling fs layer 17:40:48 6ad1cebc031e: Pulling fs layer 17:40:48 8a3aa393b2d8: Pulling fs layer 17:40:48 4657fd5d0bcf: Waiting 17:40:48 6ad1cebc031e: Waiting 17:40:48 8a3aa393b2d8: Waiting 17:40:48 114826534d7a: Waiting 17:40:48 25bc292e5bac: Verifying Checksum 17:40:48 25bc292e5bac: Download complete 17:40:48 52dc419b0ee2: Download complete 17:40:48 df9b9388f04a: Verifying Checksum 17:40:48 df9b9388f04a: Download complete 17:40:49 6ad1cebc031e: Verifying Checksum 17:40:49 6ad1cebc031e: Download complete 17:40:49 df9b9388f04a: Pull complete 17:40:49 52dc419b0ee2: Pull complete 17:40:49 25bc292e5bac: Pull complete 17:40:50 114826534d7a: Verifying Checksum 17:40:50 114826534d7a: Download complete 17:40:50 8a3aa393b2d8: Verifying Checksum 17:40:50 8a3aa393b2d8: Download complete 17:40:54 114826534d7a: Pull complete 17:40:54 4657fd5d0bcf: Pull complete 17:40:54 6ad1cebc031e: Pull complete 17:40:57 8a3aa393b2d8: Pull complete 17:40:57 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:40:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:40:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:57 prd-ubuntu20.04-docker-8c-8g-8833 does not seem to be running inside a container 17:40:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:40:59 $ docker top 99a27dfff6eb9eb0e599657340e7f43069fdccd1fdf7cb32c204d004e629c492 -eo pid,comm [Pipeline] { [Pipeline] echo 17:40:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 17:40:59 + set -o pipefail 17:40:59 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 17:41:05 17:41:05 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 17:41:05 17:41:05 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/5c458aa3-a96d-47b1-aa28-b97d28e87d62 17:41:05 17:41:05 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 17:41:05 17:41:05 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:41:05 17:41:05 17:41:05 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:41:05 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:41:05 More details here: https://snyk.co/ue1NS [Pipeline] } 17:41:05 $ docker stop --time=1 99a27dfff6eb9eb0e599657340e7f43069fdccd1fdf7cb32c204d004e629c492 17:41:07 $ docker rm -f --volumes 99a27dfff6eb9eb0e599657340e7f43069fdccd1fdf7cb32c204d004e629c492 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 17:41:07 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:41:07 provisioning config files... 17:41:07 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12004971003016393297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:41:08 --> edgex-publish-swagger.sh 17:41:08 === Publish doc/openapi/v2 API === 17:41:08 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 17:41:08 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 17:41:08 % Total % Received % Xferd Average Speed Time Time Time Current 17:41:08 Dload Upload Total Spent Left Speed 17:41:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 576k --:--:-- --:--:-- --:--:-- 575k 100 469k 0 0 100 469k 0 576k --:--:-- --:--:-- --:--:-- 575k 17:41:09 17:41:09 [Pipeline] } 17:41:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:41:09 + git log --format=format:%s -1 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 [Pipeline] sh 17:41:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:41:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:41:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:10 prd-ubuntu20.04-docker-8c-8g-8833 does not seem to be running inside a container 17:41:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:41:10 $ docker top 5cb44cc86691bc83bb848c82dafd5f696f8cc8a19bfc90a6eff77aab041c241a -eo pid,comm 17:41:10 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:41:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:41:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:41:10 [ssh-agent] Looking for ssh-agent implementation... 17:41:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:41:10 $ docker exec 5cb44cc86691bc83bb848c82dafd5f696f8cc8a19bfc90a6eff77aab041c241a ssh-agent 17:41:10 SSH_AUTH_SOCK=/tmp/ssh-l3EuXYU9KcU3/agent.32 17:41:10 SSH_AGENT_PID=38 17:41:10 Running ssh-add (command line suppressed) 17:41:11 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7996669914501047712.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7996669914501047712.key) 17:41:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:41:11 + git semver tag 17:41:11 2023-03-08 17:41:11,675 [run_tag] DEBUG tag force:False 17:41:11 2023-03-08 17:41:11,675 [check_head_tag] DEBUG check head tag 17:41:11 2023-03-08 17:41:11,677 [execute] INFO git cat-file --batch-check 17:41:11 2023-03-08 17:41:11,677 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:41:11 2023-03-08 17:41:11,680 [execute] INFO git cat-file --batch 17:41:11 2023-03-08 17:41:11,681 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:41:11 2023-03-08 17:41:11,712 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:41:11 2023-03-08 17:41:11,712 [execute] INFO git tag -a v3.0.0-dev.20 -m v3.0.0-dev.20 17:41:11 2023-03-08 17:41:11,713 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.20', '-m', 'v3.0.0-dev.20'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:41:11 2023-03-08 17:41:11,718 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:41:11 3.0.0-dev.20 [Pipeline] } 17:41:11 $ docker exec --env ******** --env ******** 5cb44cc86691bc83bb848c82dafd5f696f8cc8a19bfc90a6eff77aab041c241a ssh-agent -k 17:41:12 unset SSH_AUTH_SOCK; 17:41:12 unset SSH_AGENT_PID; 17:41:12 echo Agent pid 38 killed; 17:41:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:41:12 + git semver [Pipeline] } 17:41:12 $ docker stop --time=1 5cb44cc86691bc83bb848c82dafd5f696f8cc8a19bfc90a6eff77aab041c241a 17:41:13 $ docker rm -f --volumes 5cb44cc86691bc83bb848c82dafd5f696f8cc8a19bfc90a6eff77aab041c241a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:41:14 17:41:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:41:14 0.23.1-centos7: Pulling from edgex-lftools 17:41:14 ab5ef0e58194: Pulling fs layer 17:41:14 9712f1f96733: Pulling fs layer 17:41:14 63f879dbbcfc: Pulling fs layer 17:41:14 0d9ebad4ef96: Pulling fs layer 17:41:14 e9a5061849ea: Pulling fs layer 17:41:14 d747dcd14b5f: Pulling fs layer 17:41:14 2de7ff778b66: Pulling fs layer 17:41:14 e9a5061849ea: Waiting 17:41:14 d747dcd14b5f: Waiting 17:41:14 2de7ff778b66: Waiting 17:41:14 0d9ebad4ef96: Waiting 17:41:14 9712f1f96733: Verifying Checksum 17:41:14 9712f1f96733: Download complete 17:41:14 63f879dbbcfc: Verifying Checksum 17:41:14 63f879dbbcfc: Download complete 17:41:15 e9a5061849ea: Verifying Checksum 17:41:15 e9a5061849ea: Download complete 17:41:15 d747dcd14b5f: Download complete 17:41:15 0d9ebad4ef96: Verifying Checksum 17:41:15 0d9ebad4ef96: Download complete 17:41:15 ab5ef0e58194: Verifying Checksum 17:41:15 ab5ef0e58194: Download complete 17:41:15 2de7ff778b66: Verifying Checksum 17:41:15 2de7ff778b66: Download complete 17:41:18 ab5ef0e58194: Pull complete 17:41:18 9712f1f96733: Pull complete 17:41:19 63f879dbbcfc: Pull complete 17:41:23 0d9ebad4ef96: Pull complete 17:41:23 e9a5061849ea: Pull complete 17:41:23 d747dcd14b5f: Pull complete 17:41:25 2de7ff778b66: Pull complete 17:41:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:41:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:41:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:25 prd-ubuntu20.04-docker-8c-8g-8833 does not seem to be running inside a container 17:41:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:41:27 $ docker top dcf2ce7d2abafd4a0f1420030d4e6e2facd0f136b105d475aad38e21bfbdf343 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:41:27 provisioning config files... 17:41:27 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9833514904698276123tmp 17:41:27 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10515297688813980176tmp 17:41:27 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4501587915825231397tmp [Pipeline] { [Pipeline] echo 17:41:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:41:27 ---> sigul-configuration.sh 17:41:27 gpg: directory `/root/.gnupg' created 17:41:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:41:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:41:27 gpg: keyring `/root/.gnupg/secring.gpg' created 17:41:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:41:27 gpg: CAST5 encrypted data 17:41:27 gpg: encrypted with 1 passphrase 17:41:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:41:28 + mkdir /home/jenkins 17:41:28 + mkdir /home/jenkins/sigul [Pipeline] sh 17:41:28 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 17:41:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:41:28 ---> sigul-install.sh 17:41:28 Sigul already installed; skipping installation. [Pipeline] sh 17:41:28 + git tag --list 17:41:28 v0.0.0 17:41:28 v0.0.1-dev.1 17:41:28 v0.0.1-dev.10 17:41:28 v0.0.1-dev.11 17:41:28 v0.0.1-dev.12 17:41:28 v0.0.1-dev.13 17:41:28 v0.0.1-dev.14 17:41:28 v0.0.1-dev.15 17:41:28 v0.0.1-dev.16 17:41:28 v0.0.1-dev.17 17:41:28 v0.0.1-dev.18 17:41:28 v0.0.1-dev.19 17:41:28 v0.0.1-dev.2 17:41:28 v0.0.1-dev.20 17:41:28 v0.0.1-dev.21 17:41:28 v0.0.1-dev.22 17:41:28 v0.0.1-dev.23 17:41:28 v0.0.1-dev.24 17:41:28 v0.0.1-dev.25 17:41:28 v0.0.1-dev.26 17:41:28 v0.0.1-dev.27 17:41:28 v0.0.1-dev.28 17:41:28 v0.0.1-dev.3 17:41:28 v0.0.1-dev.4 17:41:28 v0.0.1-dev.5 17:41:28 v0.0.1-dev.6 17:41:28 v0.0.1-dev.7 17:41:28 v0.0.1-dev.8 17:41:28 v0.0.1-dev.9 17:41:28 v2.2.0 17:41:28 v2.2.0-dev.29 17:41:28 v2.2.0-dev.30 17:41:28 v2.2.0-dev.31 17:41:28 v2.2.0-dev.32 17:41:28 v2.2.0-dev.33 17:41:28 v2.2.0-dev.34 17:41:28 v2.2.0-dev.35 17:41:28 v2.3.0 17:41:28 v2.3.0-dev.1 17:41:28 v2.3.0-dev.10 17:41:28 v2.3.0-dev.11 17:41:28 v2.3.0-dev.12 17:41:28 v2.3.0-dev.13 17:41:28 v2.3.0-dev.14 17:41:28 v2.3.0-dev.15 17:41:28 v2.3.0-dev.16 17:41:28 v2.3.0-dev.17 17:41:28 v2.3.0-dev.18 17:41:28 v2.3.0-dev.19 17:41:28 v2.3.0-dev.2 17:41:28 v2.3.0-dev.20 17:41:28 v2.3.0-dev.21 17:41:28 v2.3.0-dev.22 17:41:28 v2.3.0-dev.23 17:41:28 v2.3.0-dev.24 17:41:28 v2.3.0-dev.25 17:41:28 v2.3.0-dev.26 17:41:28 v2.3.0-dev.27 17:41:28 v2.3.0-dev.28 17:41:28 v2.3.0-dev.29 17:41:28 v2.3.0-dev.3 17:41:28 v2.3.0-dev.30 17:41:28 v2.3.0-dev.31 17:41:28 v2.3.0-dev.32 17:41:28 v2.3.0-dev.33 17:41:28 v2.3.0-dev.34 17:41:28 v2.3.0-dev.35 17:41:28 v2.3.0-dev.36 17:41:28 v2.3.0-dev.37 17:41:28 v2.3.0-dev.38 17:41:28 v2.3.0-dev.39 17:41:28 v2.3.0-dev.4 17:41:28 v2.3.0-dev.40 17:41:28 v2.3.0-dev.41 17:41:28 v2.3.0-dev.42 17:41:28 v2.3.0-dev.43 17:41:28 v2.3.0-dev.44 17:41:28 v2.3.0-dev.45 17:41:28 v2.3.0-dev.5 17:41:28 v2.3.0-dev.6 17:41:28 v2.3.0-dev.7 17:41:28 v2.3.0-dev.8 17:41:28 v2.3.0-dev.9 17:41:28 v2.3.1-dev.1 17:41:28 v3.0.0-dev.1 17:41:28 v3.0.0-dev.10 17:41:28 v3.0.0-dev.11 17:41:28 v3.0.0-dev.12 17:41:28 v3.0.0-dev.13 17:41:28 v3.0.0-dev.14 17:41:28 v3.0.0-dev.15 17:41:28 v3.0.0-dev.16 17:41:28 v3.0.0-dev.17 17:41:28 v3.0.0-dev.18 17:41:28 v3.0.0-dev.19 17:41:28 v3.0.0-dev.2 17:41:28 v3.0.0-dev.20 17:41:28 v3.0.0-dev.3 17:41:28 v3.0.0-dev.4 17:41:28 v3.0.0-dev.5 17:41:28 v3.0.0-dev.6 17:41:28 v3.0.0-dev.7 17:41:28 v3.0.0-dev.8 17:41:28 v3.0.0-dev.9 [Pipeline] sh 17:41:29 + lftools sign git-tag v3.0.0-dev.20 17:41:29 Signing Git tag with Sigul... 17:41:29 Signing v3.0.0-dev.20 [Pipeline] echo 17:41:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:41:30 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:41:30 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:41:30 $ docker stop --time=1 dcf2ce7d2abafd4a0f1420030d4e6e2facd0f136b105d475aad38e21bfbdf343 17:41:31 $ docker rm -f --volumes dcf2ce7d2abafd4a0f1420030d4e6e2facd0f136b105d475aad38e21bfbdf343 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:41:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:41:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:41:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:32 prd-ubuntu20.04-docker-8c-8g-8833 does not seem to be running inside a container 17:41:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:41:33 $ docker top 61a06f15ee10889c56ed0fe8ea990a8067b25840d435d2e1cf121301b72f2e30 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:41:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:41:33 [ssh-agent] Looking for ssh-agent implementation... 17:41:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:41:33 $ docker exec 61a06f15ee10889c56ed0fe8ea990a8067b25840d435d2e1cf121301b72f2e30 ssh-agent 17:41:33 SSH_AUTH_SOCK=/tmp/ssh-wa1n6PMVzvgs/agent.32 17:41:33 SSH_AGENT_PID=38 17:41:33 Running ssh-add (command line suppressed) 17:41:33 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8736957252441037535.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8736957252441037535.key) 17:41:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:41:33 + git semver bump pre 17:41:34 2023-03-08 17:41:34,250 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:41:34 2023-03-08 17:41:34,250 [bump_version] DEBUG bumping version:3.0.0-dev.20 on axis:pre with prefix:dev 17:41:34 2023-03-08 17:41:34,251 [bump_version] DEBUG bumped version:3.0.0-dev.21 17:41:34 2023-03-08 17:41:34,251 [write_version] DEBUG write version:3.0.0-dev.21 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 17:41:34 2023-03-08 17:41:34,251 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:41:34 2023-03-08 17:41:34,251 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 17:41:34 2023-03-08 17:41:34,253 [execute] INFO git cat-file --batch-check 17:41:34 2023-03-08 17:41:34,253 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:41:34 2023-03-08 17:41:34,261 [execute] INFO git cat-file --batch 17:41:34 2023-03-08 17:41:34,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:41:34 2023-03-08 17:41:34,267 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:41:34 3.0.0-dev.21 [Pipeline] } 17:41:34 $ docker exec --env ******** --env ******** 61a06f15ee10889c56ed0fe8ea990a8067b25840d435d2e1cf121301b72f2e30 ssh-agent -k 17:41:34 unset SSH_AUTH_SOCK; 17:41:34 unset SSH_AGENT_PID; 17:41:34 echo Agent pid 38 killed; 17:41:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:41:34 + git semver [Pipeline] } 17:41:35 $ docker stop --time=1 61a06f15ee10889c56ed0fe8ea990a8067b25840d435d2e1cf121301b72f2e30 17:41:36 $ docker rm -f --volumes 61a06f15ee10889c56ed0fe8ea990a8067b25840d435d2e1cf121301b72f2e30 [Pipeline] // withDockerContainer [Pipeline] sh 17:41:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:41:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:41:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:37 prd-ubuntu20.04-docker-8c-8g-8833 does not seem to be running inside a container 17:41:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:41:38 $ docker top 9f6b226a13b6d60a54bf31909f31cbd56a4348ef704abd2ccd42383cca753fb5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:41:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:41:38 [ssh-agent] Looking for ssh-agent implementation... 17:41:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:41:38 $ docker exec 9f6b226a13b6d60a54bf31909f31cbd56a4348ef704abd2ccd42383cca753fb5 ssh-agent 17:41:38 SSH_AUTH_SOCK=/tmp/ssh-T2dD8QvoDxos/agent.32 17:41:38 SSH_AGENT_PID=38 17:41:38 Running ssh-add (command line suppressed) 17:41:38 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11011817217519406113.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11011817217519406113.key) 17:41:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:41:38 + git semver push 17:41:39 2023-03-08 17:41:39,006 [run_push] DEBUG push 17:41:39 2023-03-08 17:41:39,007 [execute] INFO git cat-file --batch-check 17:41:39 2023-03-08 17:41:39,007 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:41:39 2023-03-08 17:41:39,011 [execute] INFO git rev-list a4f0cff23674d1d49eb82a4e8beb2803f13d593c -- 17:41:39 2023-03-08 17:41:39,011 [execute] DEBUG Popen(['git', 'rev-list', 'a4f0cff23674d1d49eb82a4e8beb2803f13d593c', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:41:39 2023-03-08 17:41:39,017 [execute] INFO git fetch -v origin 17:41:39 2023-03-08 17:41:39,017 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:41:39 2023-03-08 17:41:39,543 [run_push] DEBUG no remote changes detected 17:41:39 2023-03-08 17:41:39,543 [execute] INFO git push origin semver 17:41:39 2023-03-08 17:41:39,544 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:41:40 2023-03-08 17:41:40,293 [run_push] DEBUG push all version tags 17:41:40 2023-03-08 17:41:40,293 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:41:40 2023-03-08 17:41:40,293 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:41:41 2023-03-08 17:41:41,046 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:41:41 3.0.0-dev.21 [Pipeline] } 17:41:41 $ docker exec --env ******** --env ******** 9f6b226a13b6d60a54bf31909f31cbd56a4348ef704abd2ccd42383cca753fb5 ssh-agent -k 17:41:41 unset SSH_AUTH_SOCK; 17:41:41 unset SSH_AGENT_PID; 17:41:41 echo Agent pid 38 killed; 17:41:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:41:41 + git semver [Pipeline] } 17:41:42 $ docker stop --time=1 9f6b226a13b6d60a54bf31909f31cbd56a4348ef704abd2ccd42383cca753fb5 17:41:43 $ docker rm -f --volumes 9f6b226a13b6d60a54bf31909f31cbd56a4348ef704abd2ccd42383cca753fb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:41:44 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 17:41:44 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:41:44 total 16 17:41:44 drwxr-xr-x 3 root root 4096 Mar 8 17:32 . 17:41:44 drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 17:41 .. 17:41:44 drwxr-xr-x 2 root root 4096 Mar 8 17:32 cost 17:41:44 -rw-r--r-- 1 root root 91 Mar 8 17:32 cost.csv 17:41:44 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 17:41:44 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:41:44 total 16 17:41:44 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 17:32 . 17:41:44 drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 17:41 .. 17:41:44 drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 17:32 cost 17:41:44 -rw-r--r-- 1 jenkins jenkins 91 Mar 8 17:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:41:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:41:45 ---> package-listing.sh 17:41:45 ++ facter osfamily 17:41:45 ++ tr '[:upper:]' '[:lower:]' 17:41:45 + OS_FAMILY=debian 17:41:45 + workspace=/w/workspace/foundry_device-onvif-camera_main 17:41:45 + START_PACKAGES=/tmp/packages_start.txt 17:41:45 + END_PACKAGES=/tmp/packages_end.txt 17:41:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:41:45 + PACKAGES=/tmp/packages_start.txt 17:41:45 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:41:45 + PACKAGES=/tmp/packages_end.txt 17:41:45 + case "${OS_FAMILY}" in 17:41:45 + dpkg -l 17:41:45 + grep '^ii' 17:41:45 + '[' -f /tmp/packages_start.txt ']' 17:41:45 + '[' -f /tmp/packages_end.txt ']' 17:41:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:41:45 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:41:45 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 17:41:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 17:41:45 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:41:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:41:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:46 prd-ubuntu20.04-docker-8c-8g-8833 does not seem to be running inside a container 17:41:46 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:41:46 $ docker top 85cac4fc730055ac5af71378d995558aeb5894f3e8ce0592184baae8a749fe3d -eo pid,comm [Pipeline] { [Pipeline] sh 17:41:47 + touch /tmp/pre-build-complete [Pipeline] sh 17:41:47 + mkdir -p /var/log/sysstat [Pipeline] sh 17:41:47 + ls /var/log/sa-host 17:41:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:41:47 provisioning config files... 17:41:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5928730592494223829tmp [Pipeline] { [Pipeline] echo 17:41:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:41:48 ---> create-netrc.sh [Pipeline] } 17:41:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:41:48 ---> python-tools-install.sh [Pipeline] echo 17:41:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:41:48 ---> sudo-logs.sh 17:41:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:41:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:41:48 ---> job-cost.sh 17:41:48 lf-activate-venv: SKIPPING 17:41:48 DEBUG: total: 0.2199999988079071 17:41:48 INFO: Retrieving Stack Cost... 17:41:49 INFO: Retrieving Pricing Info for: v3-standard-8 17:41:49 INFO: Archiving Costs [Pipeline] echo 17:41:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:41:50 ---> logs-deploy.sh 17:41:50 lf-activate-venv: SKIPPING 17:41:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/110 17:41:50 INFO: archiving workspace using pattern(s): 17:41:51 Archives upload complete. 17:41:51 INFO: archiving logs to Nexus