Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 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-ssh12883443699735407237.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-ssh15897894662031942332.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-ssh7556322063191188333.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-ssh13415320511855274162.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-ssh6440649838656354246.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-3537’ Running on prd-ubuntu20.04-docker-8c-8g-3539 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 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 (main) Commit message: "docs: updating validation metircs with Hikvision camera (#218)" > 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 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 # timeout=10 > git rev-list --no-walk 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:55:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:55:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:55:46 ========================================================= 17:55:46 EdgeX Global Pipelines Version Info 17:55:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:55:47 ------------------- 17:55:47 stable info: 17:55:47 ------------------- 17:55:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:55:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:55:47 Message: update stable to v1.0.244 17:55:47 ------------------- 17:55:47 experimental info: 17:55:47 ------------------- 17:55:47 Commited By: **** collab-it+edgex@linuxfoundation.org 17:55:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:55:47 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:55:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:55:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:55:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:55:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:55:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:55:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:55:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35c6aae [Pipeline] echo 17:55:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:55:48 provisioning config files... 17:55:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10044512876241297337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:48 ---> docker-login.sh 17:55:48 nexus3.edgexfoundry.org:10001 17:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:48 Configure a credential helper to remove this warning. See 17:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:48 17:55:48 Login Succeeded 17:55:48 nexus3.edgexfoundry.org:10002 17:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:49 Configure a credential helper to remove this warning. See 17:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:49 17:55:49 Login Succeeded 17:55:49 nexus3.edgexfoundry.org:10003 17:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:49 Configure a credential helper to remove this warning. See 17:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:49 17:55:49 Login Succeeded 17:55:49 nexus3.edgexfoundry.org:10004 17:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:49 Configure a credential helper to remove this warning. See 17:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:49 17:55:49 Login Succeeded 17:55:49 docker.io 17:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:49 Configure a credential helper to remove this warning. See 17:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:49 17:55:49 Login Succeeded 17:55:49 ---> docker-login.sh ends [Pipeline] } 17:55:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:55:49 + git rev-list -1 --merges 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262~1..35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 [Pipeline] echo 17:55:49 -----------> git rev-list -1 --merges 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262~1..35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 [false] [Pipeline] sh 17:55:50 + git log --format=format:%s -1 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 [Pipeline] echo 17:55:50 ========================================================= 17:55:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:55:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:55:50 + git log --format=format:%s -1 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 [Pipeline] echo 17:55:50 [semverPrep] GIT_COMMIT: 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262, Commit Message: docs: updating validation metircs with Hikvision camera (#218) [Pipeline] echo 17:55:50 [semverPrep] This is not a build commit. [Pipeline] sh 17:55:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:55:50 + grep -v github /etc/ssh/ssh_known_hosts 17:55:50 + [ -e /tmp/ssh_known_hosts ] 17:55:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:55:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:55:50 + sudo tee -a /etc/ssh/ssh_known_hosts 17:55:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:55:51 17:55:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:55:51 0.1.4: Pulling from edgex-devops/py-git-semver 17:55:51 b85a868b505f: Pulling fs layer 17:55:51 e2be974225ed: Pulling fs layer 17:55:51 339a4e72a1f5: Pulling fs layer 17:55:51 988bab9f4d93: Pulling fs layer 17:55:51 1469e6f7b9e6: Pulling fs layer 17:55:51 eaf3925da568: Pulling fs layer 17:55:51 bab4dde63d76: Pulling fs layer 17:55:51 bde34c3a00c8: Pulling fs layer 17:55:51 b352a97aabf1: Pulling fs layer 17:55:51 4872d77fe225: Pulling fs layer 17:55:51 5851b861e8e6: Pulling fs layer 17:55:51 988bab9f4d93: Waiting 17:55:51 bde34c3a00c8: Waiting 17:55:51 1469e6f7b9e6: Waiting 17:55:51 eaf3925da568: Waiting 17:55:51 bab4dde63d76: Waiting 17:55:51 4872d77fe225: Waiting 17:55:51 5851b861e8e6: Waiting 17:55:51 e2be974225ed: Verifying Checksum 17:55:51 e2be974225ed: Download complete 17:55:51 988bab9f4d93: Verifying Checksum 17:55:51 988bab9f4d93: Download complete 17:55:51 1469e6f7b9e6: Verifying Checksum 17:55:51 1469e6f7b9e6: Download complete 17:55:51 eaf3925da568: Verifying Checksum 17:55:51 eaf3925da568: Download complete 17:55:51 339a4e72a1f5: Verifying Checksum 17:55:51 339a4e72a1f5: Download complete 17:55:51 bde34c3a00c8: Verifying Checksum 17:55:51 bde34c3a00c8: Download complete 17:55:51 b352a97aabf1: Verifying Checksum 17:55:51 b352a97aabf1: Download complete 17:55:52 4872d77fe225: Verifying Checksum 17:55:52 4872d77fe225: Download complete 17:55:52 5851b861e8e6: Verifying Checksum 17:55:52 5851b861e8e6: Download complete 17:55:52 b85a868b505f: Verifying Checksum 17:55:52 b85a868b505f: Download complete 17:55:52 bab4dde63d76: Verifying Checksum 17:55:52 bab4dde63d76: Download complete 17:55:53 b85a868b505f: Pull complete 17:55:53 e2be974225ed: Pull complete 17:55:53 339a4e72a1f5: Pull complete 17:55:54 988bab9f4d93: Pull complete 17:55:54 1469e6f7b9e6: Pull complete 17:55:54 eaf3925da568: Pull complete 17:55:56 bab4dde63d76: Pull complete 17:55:56 bde34c3a00c8: Pull complete 17:55:56 b352a97aabf1: Pull complete 17:55:56 4872d77fe225: Pull complete 17:55:56 5851b861e8e6: Pull complete 17:55:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:55:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:55:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:56 prd-ubuntu20.04-docker-8c-8g-3539 does not seem to be running inside a container 17:55:56 $ 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:55:58 $ docker top 6a7ca1f889acfe152483421aa29d706e838bae1578163d8c732067075899b9ac -eo pid,comm 17:55:58 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:55:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:55:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:55:58 [ssh-agent] Looking for ssh-agent implementation... 17:55:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:55:58 $ docker exec 6a7ca1f889acfe152483421aa29d706e838bae1578163d8c732067075899b9ac ssh-agent 17:55:58 SSH_AUTH_SOCK=/tmp/ssh-WuOHdFFtGcwt/agent.32 17:55:58 SSH_AGENT_PID=38 17:55:58 Running ssh-add (command line suppressed) 17:55:58 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10568033851193884587.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10568033851193884587.key) 17:55:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:55:58 + git tag --points-at HEAD [Pipeline] } 17:55:58 $ docker exec --env ******** --env ******** 6a7ca1f889acfe152483421aa29d706e838bae1578163d8c732067075899b9ac ssh-agent -k 17:55:59 unset SSH_AUTH_SOCK; 17:55:59 unset SSH_AGENT_PID; 17:55:59 echo Agent pid 38 killed; 17:55:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:55:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:55:59 [ssh-agent] Looking for ssh-agent implementation... 17:55:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:55:59 $ docker exec 6a7ca1f889acfe152483421aa29d706e838bae1578163d8c732067075899b9ac ssh-agent 17:55:59 SSH_AUTH_SOCK=/tmp/ssh-x5N30vOe4ZLz/agent.71 17:55:59 SSH_AGENT_PID=77 17:55:59 Running ssh-add (command line suppressed) 17:55:59 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2296666581922462276.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2296666581922462276.key) 17:55:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:55:59 + git semver init 17:55:59 2023-01-24 17:55:59,923 [run_init] DEBUG init version:0.0.0 force:False 17:55:59 2023-01-24 17:55:59,924 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:55:59 2023-01-24 17:55:59,924 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:55:59 2023-01-24 17:55:59,924 [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:56:00 2023-01-24 17:56:00,837 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:56:00 2023-01-24 17:56:00,838 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:56:00 2023-01-24 17:56:00,838 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:56:00 2023-01-24 17:56:00,838 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:56:00 3.0.0-dev.9 [Pipeline] } 17:56:00 $ docker exec --env ******** --env ******** 6a7ca1f889acfe152483421aa29d706e838bae1578163d8c732067075899b9ac ssh-agent -k 17:56:01 unset SSH_AUTH_SOCK; 17:56:01 unset SSH_AGENT_PID; 17:56:01 echo Agent pid 77 killed; 17:56:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:56:01 + git semver [Pipeline] } 17:56:01 $ docker stop --time=1 6a7ca1f889acfe152483421aa29d706e838bae1578163d8c732067075899b9ac 17:56:02 $ docker rm -f --volumes 6a7ca1f889acfe152483421aa29d706e838bae1578163d8c732067075899b9ac [Pipeline] // withDockerContainer [Pipeline] sh 17:56:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:56:03 Stashed 1 file(s) [Pipeline] echo 17:56:03 [edgeXSemver]: initialized semver on version 3.0.0-dev.9 [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:56:03 provisioning config files... 17:56:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18424056685272256188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:56:03 ---> docker-login.sh 17:56:03 nexus3.edgexfoundry.org:10001 17:56:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:03 Configure a credential helper to remove this warning. See 17:56:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:03 17:56:03 Login Succeeded 17:56:03 nexus3.edgexfoundry.org:10002 17:56:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:03 Configure a credential helper to remove this warning. See 17:56:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:03 17:56:03 Login Succeeded 17:56:03 nexus3.edgexfoundry.org:10003 17:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:04 Configure a credential helper to remove this warning. See 17:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:04 17:56:04 Login Succeeded 17:56:04 nexus3.edgexfoundry.org:10004 17:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:04 Configure a credential helper to remove this warning. See 17:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:04 17:56:04 Login Succeeded 17:56:04 docker.io 17:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:56:04 Configure a credential helper to remove this warning. See 17:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:56:04 17:56:04 Login Succeeded 17:56:04 ---> docker-login.sh ends [Pipeline] } 17:56:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:56:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:56:04 ========================================================= 17:56:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:56:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:05 + 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:56:05 Sending build context to Docker daemon 27.67MB 17:56:05 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:56:05 Step 2/13 : FROM ${BASE} AS builder 17:56:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:56:05 213ec9aee27d: Pulling fs layer 17:56:05 4583459ba037: Pulling fs layer 17:56:05 93c1e223e6f2: Pulling fs layer 17:56:05 53926ce57604: Pulling fs layer 17:56:05 21b2b0c7a3f4: Pulling fs layer 17:56:05 22ff95d597cd: Pulling fs layer 17:56:05 12d6caf4c0d1: Pulling fs layer 17:56:05 96b7cbca73a9: Pulling fs layer 17:56:05 a7acece74701: Pulling fs layer 17:56:05 22ff95d597cd: Waiting 17:56:05 12d6caf4c0d1: Waiting 17:56:05 96b7cbca73a9: Waiting 17:56:05 a7acece74701: Waiting 17:56:05 53926ce57604: Waiting 17:56:05 21b2b0c7a3f4: Waiting 17:56:05 93c1e223e6f2: Verifying Checksum 17:56:05 93c1e223e6f2: Download complete 17:56:05 4583459ba037: Download complete 17:56:05 21b2b0c7a3f4: Verifying Checksum 17:56:05 21b2b0c7a3f4: Download complete 17:56:05 22ff95d597cd: Verifying Checksum 17:56:05 22ff95d597cd: Download complete 17:56:05 213ec9aee27d: Verifying Checksum 17:56:05 213ec9aee27d: Download complete 17:56:05 12d6caf4c0d1: Download complete 17:56:05 213ec9aee27d: Pull complete 17:56:05 4583459ba037: Pull complete 17:56:05 93c1e223e6f2: Pull complete 17:56:06 a7acece74701: Verifying Checksum 17:56:06 a7acece74701: Download complete 17:56:06 96b7cbca73a9: Verifying Checksum 17:56:06 96b7cbca73a9: Download complete 17:56:06 53926ce57604: Verifying Checksum 17:56:06 53926ce57604: Download complete 17:56:11 53926ce57604: Pull complete 17:56:11 21b2b0c7a3f4: Pull complete 17:56:11 22ff95d597cd: Pull complete 17:56:11 12d6caf4c0d1: Pull complete 17:56:12 96b7cbca73a9: Pull complete 17:56:13 a7acece74701: Pull complete 17:56:13 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:56:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:56:13 ---> db6d94c90886 17:56:13 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:56:15 ---> Running in 9ead8d8e65f4 17:56:15 Removing intermediate container 9ead8d8e65f4 17:56:15 ---> 1c2bb520e3b2 17:56:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:56:15 ---> Running in 8e624e3ab900 17:56:16 Removing intermediate container 8e624e3ab900 17:56:16 ---> 833fe9a77b68 17:56:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:56:16 ---> Running in 3b9ccf6dd31a 17:56:16 Removing intermediate container 3b9ccf6dd31a 17:56:16 ---> 128e3bb98c85 17:56:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:56:16 ---> Running in 3c8b08f89b13 17:56:16 Removing intermediate container 3c8b08f89b13 17:56:16 ---> 8533bad57d21 17:56:16 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:56:16 ---> Running in e385e8e5c0ee 17:56:16 Removing intermediate container e385e8e5c0ee 17:56:16 ---> 7ba22718e6d4 17:56:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:56:16 ---> Running in 5b940892ddfc 17:56:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:56:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:56:17 OK: 211 MiB in 51 packages 17:56:17 Removing intermediate container 5b940892ddfc 17:56:17 ---> fd55f587fd07 17:56:17 Step 9/13 : WORKDIR /device-onvif-camera 17:56:17 ---> Running in c65a0cd9e9fc 17:56:17 Removing intermediate container c65a0cd9e9fc 17:56:17 ---> 645bfc35b057 17:56:17 Step 10/13 : COPY go.mod vendor* ./ 17:56:17 ---> a59123d640aa 17:56:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:56:17 ---> Running in e4e8fa69b5d0 17:56:18 Still waiting to schedule task 17:56:18 ‘prd-ubuntu20.04-docker-arm64-4c-16g-3538’ is offline 17:56:39 Removing intermediate container e4e8fa69b5d0 17:56:39 ---> a6fae322deeb 17:56:39 Step 12/13 : COPY . . 17:56:39 ---> bf0c85be4b64 17:56:39 Step 13/13 : RUN ${MAKE} 17:56:39 ---> Running in f7c5334ebc63 17:56:40 noop 17:56:40 Removing intermediate container f7c5334ebc63 17:56:40 ---> 3304bf01c8ec 17:56:40 Successfully built 3304bf01c8ec 17:56:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:40 + docker inspect -f . ci-base-image-x86_64 17:56:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:40 prd-ubuntu20.04-docker-8c-8g-3539 does not seem to be running inside a container 17:56:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:56:41 $ docker top 8b65e37bd25e1b7e51694080c0a743688101699bec986dc1f6e4d91320c00e2d -eo pid,comm [Pipeline] { [Pipeline] sh 17:56:41 + go version 17:56:41 go version go1.18.7 linux/amd64 [Pipeline] } 17:56:41 $ docker stop --time=1 8b65e37bd25e1b7e51694080c0a743688101699bec986dc1f6e4d91320c00e2d 17:56:42 $ docker rm -f --volumes 8b65e37bd25e1b7e51694080c0a743688101699bec986dc1f6e4d91320c00e2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:43 + docker inspect -f . ci-base-image-x86_64 17:56:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:43 prd-ubuntu20.04-docker-8c-8g-3539 does not seem to be running inside a container 17:56:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:56:43 $ docker top 5258d2c22c174450e58819c2a416c19c856701681dbbbdbce770d34db0e20546 -eo pid,comm [Pipeline] { [Pipeline] sh 17:56:44 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:56:44 + make test 17:56:44 go test ./... -coverprofile=coverage.out ./... 17:56:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:56:56 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:56:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 29.3% of statements 17:56:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:56:58 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.474s coverage: 86.5% of statements 17:57:06 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:57:06 go vet ./... 17:57:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:57:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:57:10 ./bin/test-attribution-txt.sh [Pipeline] echo 17:57:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:57:10 $ docker stop --time=1 5258d2c22c174450e58819c2a416c19c856701681dbbbdbce770d34db0e20546 17:57:12 $ docker rm -f --volumes 5258d2c22c174450e58819c2a416c19c856701681dbbbdbce770d34db0e20546 [Pipeline] // withDockerContainer [Pipeline] sh 17:57:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:57:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:57:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:57:13 + ls -al . 17:57:13 total 248 17:57:13 drwxrwxr-x 10 jenkins jenkins 4096 Jan 24 17:56 . 17:57:13 drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 17:55 .. 17:57:13 drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 17:56 .git 17:57:13 drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 17:55 .github 17:57:13 -rw-rw-r-- 1 jenkins jenkins 496 Jan 24 17:55 .gitignore 17:57:13 -rw-rw-r-- 1 jenkins jenkins 42 Jan 24 17:55 .golangci.yml 17:57:13 drwxr-xr-x 3 jenkins jenkins 4096 Jan 24 17:56 .semver 17:57:13 -rw-rw-r-- 1 jenkins jenkins 9638 Jan 24 17:55 Attribution.txt 17:57:13 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 24 17:55 CHANGELOG.md 17:57:13 -rw-rw-r-- 1 jenkins jenkins 1574 Jan 24 17:55 Dockerfile 17:57:13 -rw-rw-r-- 1 jenkins jenkins 677 Jan 24 17:55 GOVERNANCE.md 17:57:13 -rw-rw-r-- 1 jenkins jenkins 734 Jan 24 17:55 Jenkinsfile 17:57:13 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 24 17:55 LICENSE 17:57:13 -rw-rw-r-- 1 jenkins jenkins 2577 Jan 24 17:55 Makefile 17:57:13 -rw-rw-r-- 1 jenkins jenkins 625 Jan 24 17:55 OWNERS.md 17:57:13 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 24 17:55 README.md 17:57:13 -rw-rw-r-- 1 jenkins jenkins 11 Jan 24 17:56 VERSION 17:57:13 drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 17:55 bin 17:57:13 drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 17:55 cmd 17:57:13 -rw-r--r-- 1 jenkins jenkins 79184 Jan 24 17:56 coverage.out 17:57:13 drwxrwxr-x 6 jenkins jenkins 4096 Jan 24 17:55 doc 17:57:13 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 24 17:55 go.mod 17:57:13 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 24 17:55 go.sum 17:57:13 drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 17:55 internal 17:57:13 drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 17:55 snap 17:57:13 -rw-rw-r-- 1 jenkins jenkins 236 Jan 24 17:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:14 + 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=35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 --label arch=amd64 --label version=3.0.0-dev.9 . 17:57:14 Sending build context to Docker daemon 27.75MB 17:57:14 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:57:14 Step 2/26 : FROM ${BASE} AS builder 17:57:14 ---> 3304bf01c8ec 17:57:14 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:57:14 ---> Running in a33bf9050895 17:57:14 Removing intermediate container a33bf9050895 17:57:14 ---> d6fd6437fcdb 17:57:14 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:57:14 ---> Running in c0152b830112 17:57:14 Removing intermediate container c0152b830112 17:57:14 ---> 5c0eded41ce4 17:57:14 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:57:14 ---> Running in e888ef8925b8 17:57:14 Removing intermediate container e888ef8925b8 17:57:14 ---> 720da3b2252b 17:57:14 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:57:14 ---> Running in 883c5d092763 17:57:14 Removing intermediate container 883c5d092763 17:57:14 ---> b5507eb75ccf 17:57:14 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:57:14 ---> Running in 25e58c9ac94a 17:57:14 Removing intermediate container 25e58c9ac94a 17:57:14 ---> d18876267a4d 17:57:14 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:57:14 ---> Running in 27d1d2b3fd51 17:57:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:57:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:57:15 OK: 211 MiB in 51 packages 17:57:16 Removing intermediate container 27d1d2b3fd51 17:57:16 ---> 157bd7c07e8d 17:57:16 Step 9/26 : WORKDIR /device-onvif-camera 17:57:16 ---> Running in e60d81b233c6 17:57:16 Removing intermediate container e60d81b233c6 17:57:16 ---> 9d7bdc4161be 17:57:16 Step 10/26 : COPY go.mod vendor* ./ 17:57:16 ---> 553700036ae2 17:57:16 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:16 ---> Running in 0965a0835cfb 17:57:16 Removing intermediate container 0965a0835cfb 17:57:16 ---> 58f8a512ff16 17:57:16 Step 12/26 : COPY . . 17:57:17 ---> 0a8fb20baad6 17:57:17 Step 13/26 : RUN ${MAKE} 17:57:17 ---> Running in 9b3b03225696 17:57:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.9" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:57:39 Removing intermediate container 9b3b03225696 17:57:39 ---> be46c025d7b7 17:57:39 Step 14/26 : FROM alpine:3.16 17:57:39 3.16: Pulling from library/alpine 17:57:39 ca7dd9ec2225: Pulling fs layer 17:57:39 ca7dd9ec2225: Verifying Checksum 17:57:39 ca7dd9ec2225: Download complete 17:57:39 ca7dd9ec2225: Pull complete 17:57:39 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:57:39 Status: Downloaded newer image for alpine:3.16 17:57:39 ---> bfe296a52501 17:57:39 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:57:39 ---> Running in 9681ba0aa2c5 17:57:39 Removing intermediate container 9681ba0aa2c5 17:57:39 ---> ed9e5d096f23 17:57:39 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:57:39 ---> Running in b28e1927f4c7 17:57:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:57:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:57:40 (1/1) Installing dumb-init (1.2.5-r1) 17:57:40 Executing busybox-1.35.0-r17.trigger 17:57:40 OK: 6 MiB in 15 packages 17:57:40 Removing intermediate container b28e1927f4c7 17:57:40 ---> 89cd82fc40e8 17:57:40 Step 17/26 : WORKDIR / 17:57:41 ---> Running in 12abe7f6e07f 17:57:41 Removing intermediate container 12abe7f6e07f 17:57:41 ---> 588d49f42953 17:57:41 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:57:41 ---> 920977967a2f 17:57:41 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:57:41 ---> 497900d9967e 17:57:41 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:57:41 ---> 21fef94f3ec7 17:57:41 Step 21/26 : EXPOSE 59984 17:57:41 ---> Running in 609edc425df2 17:57:41 Removing intermediate container 609edc425df2 17:57:41 ---> 43d1807be8da 17:57:41 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:57:41 ---> Running in 486b90d42ad5 17:57:42 Removing intermediate container 486b90d42ad5 17:57:42 ---> ba270d08f821 17:57:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:57:42 ---> Running in 530ef98c4c0e 17:57:42 Removing intermediate container 530ef98c4c0e 17:57:42 ---> 9600b9baa1e6 17:57:42 Step 24/26 : LABEL arch=amd64 17:57:42 ---> Running in c587e25dd6c0 17:57:42 Removing intermediate container c587e25dd6c0 17:57:42 ---> 129e96e27f05 17:57:42 Step 25/26 : LABEL git_sha=35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 17:57:42 ---> Running in c4b494acdc4d 17:57:42 Removing intermediate container c4b494acdc4d 17:57:42 ---> 4e9da2767a24 17:57:42 Step 26/26 : LABEL version=3.0.0-dev.9 17:57:42 ---> Running in 1d637145d679 17:57:42 Removing intermediate container 1d637145d679 17:57:42 ---> 79116e9cb562 17:57:42 [Warning] One or more build-args [ARCH] were not consumed 17:57:42 Successfully built 79116e9cb562 17:57:42 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:57:42 provisioning config files... 17:57:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4930990993377635790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:43 ---> docker-login.sh 17:57:43 nexus3.edgexfoundry.org:10001 17:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:43 Configure a credential helper to remove this warning. See 17:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:43 17:57:43 Login Succeeded 17:57:43 nexus3.edgexfoundry.org:10002 17:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:43 Configure a credential helper to remove this warning. See 17:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:43 17:57:43 Login Succeeded 17:57:43 nexus3.edgexfoundry.org:10003 17:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:43 Configure a credential helper to remove this warning. See 17:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:43 17:57:43 Login Succeeded 17:57:43 nexus3.edgexfoundry.org:10004 17:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:43 Configure a credential helper to remove this warning. See 17:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:43 17:57:43 Login Succeeded 17:57:43 docker.io 17:57:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:43 Configure a credential helper to remove this warning. See 17:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:43 17:57:43 Login Succeeded 17:57:43 ---> docker-login.sh ends [Pipeline] } 17:57:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:57:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:57:43 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:57:43 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 17:57:43 latest 17:57:43 3.0.0-dev.9 17:57:43 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262-3.0.0-dev.9 17:57:43 main 17:57:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:44 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 17:57:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:57:44 398c44dc4fd3: Preparing 17:57:44 aed1e8b2ca06: Preparing 17:57:44 77987ffaa913: Preparing 17:57:44 16b5d7b07be7: Preparing 17:57:44 e5e13b0c77cb: Preparing 17:57:44 e5e13b0c77cb: Layer already exists 17:57:44 398c44dc4fd3: Pushed 17:57:44 16b5d7b07be7: Pushed 17:57:44 aed1e8b2ca06: Pushed 17:57:46 77987ffaa913: Pushed 17:57:47 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262: digest: sha256:59f4ade7e50b15a9df9200c9f54df56454008fcce775552b3c3555b4dcc40baf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:47 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:57:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:57:47 398c44dc4fd3: Preparing 17:57:47 aed1e8b2ca06: Preparing 17:57:47 77987ffaa913: Preparing 17:57:47 16b5d7b07be7: Preparing 17:57:47 e5e13b0c77cb: Preparing 17:57:47 aed1e8b2ca06: Layer already exists 17:57:47 16b5d7b07be7: Layer already exists 17:57:47 77987ffaa913: Layer already exists 17:57:47 e5e13b0c77cb: Layer already exists 17:57:47 398c44dc4fd3: Layer already exists 17:57:47 latest: digest: sha256:59f4ade7e50b15a9df9200c9f54df56454008fcce775552b3c3555b4dcc40baf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:48 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.9 17:57:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:57:48 398c44dc4fd3: Preparing 17:57:48 aed1e8b2ca06: Preparing 17:57:48 77987ffaa913: Preparing 17:57:48 16b5d7b07be7: Preparing 17:57:48 e5e13b0c77cb: Preparing 17:57:48 77987ffaa913: Layer already exists 17:57:48 398c44dc4fd3: Layer already exists 17:57:48 16b5d7b07be7: Layer already exists 17:57:48 aed1e8b2ca06: Layer already exists 17:57:48 e5e13b0c77cb: Layer already exists 17:57:48 3.0.0-dev.9: digest: sha256:59f4ade7e50b15a9df9200c9f54df56454008fcce775552b3c3555b4dcc40baf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:48 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262-3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262-3.0.0-dev.9 17:57:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:57:49 398c44dc4fd3: Preparing 17:57:49 aed1e8b2ca06: Preparing 17:57:49 77987ffaa913: Preparing 17:57:49 16b5d7b07be7: Preparing 17:57:49 e5e13b0c77cb: Preparing 17:57:49 16b5d7b07be7: Layer already exists 17:57:49 398c44dc4fd3: Layer already exists 17:57:49 aed1e8b2ca06: Layer already exists 17:57:49 77987ffaa913: Layer already exists 17:57:49 e5e13b0c77cb: Layer already exists 17:57:49 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262-3.0.0-dev.9: digest: sha256:59f4ade7e50b15a9df9200c9f54df56454008fcce775552b3c3555b4dcc40baf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:49 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:57:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:57:49 398c44dc4fd3: Preparing 17:57:49 aed1e8b2ca06: Preparing 17:57:49 77987ffaa913: Preparing 17:57:49 16b5d7b07be7: Preparing 17:57:49 e5e13b0c77cb: Preparing 17:57:49 e5e13b0c77cb: Layer already exists 17:57:49 77987ffaa913: Layer already exists 17:57:49 aed1e8b2ca06: Layer already exists 17:57:49 16b5d7b07be7: Layer already exists 17:57:49 398c44dc4fd3: Layer already exists 17:57:49 main: digest: sha256:59f4ade7e50b15a9df9200c9f54df56454008fcce775552b3c3555b4dcc40baf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:57:49 ===================================================== [Pipeline] echo 17:57:49 taggedImages: 17:57:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera:35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 17:57:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:57:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.9 17:57:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera:35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262-3.0.0-dev.9 17:57:49 - 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:57:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:57:50 17:57:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:57:50 latest: Pulling from edgex-lftools-log-publisher 17:57:50 5eb5b503b376: Pulling fs layer 17:57:50 5c69ac0246d0: Pulling fs layer 17:57:50 ec43610c2a17: Pulling fs layer 17:57:50 3a2ae6a8a46f: Pulling fs layer 17:57:50 33b1e0a273af: Pulling fs layer 17:57:50 5d3b04190fa2: Pulling fs layer 17:57:50 2f39f015ded8: Pulling fs layer 17:57:50 3a2ae6a8a46f: Waiting 17:57:50 33b1e0a273af: Waiting 17:57:50 2f39f015ded8: Waiting 17:57:50 5d3b04190fa2: Waiting 17:57:50 5c69ac0246d0: Download complete 17:57:50 3a2ae6a8a46f: Verifying Checksum 17:57:50 3a2ae6a8a46f: Download complete 17:57:50 33b1e0a273af: Verifying Checksum 17:57:50 33b1e0a273af: Download complete 17:57:50 5d3b04190fa2: Verifying Checksum 17:57:50 5d3b04190fa2: Download complete 17:57:50 ec43610c2a17: Verifying Checksum 17:57:50 ec43610c2a17: Download complete 17:57:51 5eb5b503b376: Verifying Checksum 17:57:51 5eb5b503b376: Download complete 17:57:51 2f39f015ded8: Download complete 17:57:52 5eb5b503b376: Pull complete 17:57:52 5c69ac0246d0: Pull complete 17:57:52 ec43610c2a17: Pull complete 17:57:52 3a2ae6a8a46f: Pull complete 17:57:53 33b1e0a273af: Pull complete 17:57:53 5d3b04190fa2: Pull complete 17:57:58 2f39f015ded8: Pull complete 17:57:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:57:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:57:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:57:58 prd-ubuntu20.04-docker-8c-8g-3539 does not seem to be running inside a container 17:57:58 $ 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:58:01 $ docker top 797504e3921f6589e41157a461705750a9feeaa3c45a65addfa6966eb3b30246 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:58:01 ---> job-cost.sh 17:58:01 lf-activate-venv: SKIPPING 17:58:01 INFO: No Stack... 17:58:02 INFO: Retrieving Pricing Info for: v3-standard-8 17:58:02 INFO: Archiving Costs [Pipeline] sh 17:58:02 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 17:58:02 + cut -d, -f6 [Pipeline] lock 17:58:02 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-98-stack-cost] 17:58:02 Resource [jenkins-edgexfoundry-device-onvif-camera-main-98-stack-cost] did not exist. Created. 17:58:02 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-98-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:58:02 + echo total: 0.2199999988079071 [Pipeline] stash 17:58:02 Stashed 1 file(s) [Pipeline] } 17:58:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-98-stack-cost] [Pipeline] // lock [Pipeline] } 17:58:02 $ docker stop --time=1 797504e3921f6589e41157a461705750a9feeaa3c45a65addfa6966eb3b30246 17:58:04 $ docker rm -f --volumes 797504e3921f6589e41157a461705750a9feeaa3c45a65addfa6966eb3b30246 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:58:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3540 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:58:07 Running in /w/workspace/device-onvif-camera/98 [Pipeline] { [Pipeline] checkout 17:58:07 The recommended git tool is: git 17:58:13 using credential edgex-jenkins-ssh 17:58:13 Cloning the remote Git repository 17:58:13 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:58:13 > git init /w/workspace/device-onvif-camera/98 # timeout=10 17:58:13 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:58:13 > git --version # timeout=10 17:58:13 > git --version # 'git version 2.25.1' 17:58:13 using GIT_SSH to set credentials SSH Credentials for GitHub 17:58:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:58:16 Avoid second fetch 17:58:16 Checking out Revision 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 (main) 17:58:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:58:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:58:16 > git config core.sparsecheckout # timeout=10 17:58:17 Commit message: "docs: updating validation metircs with Hikvision camera (#218)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:58:16 > git checkout -f 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 # timeout=10 17:58:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:58:18 % Total % Received % Xferd Average Speed Time Time Time Current 17:58:18 Dload Upload Total Spent Left Speed 17:58:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81737 [Pipeline] sh 17:58:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:58:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:58:19 + sudo tee /etc/docker/daemon.new 17:58:19 { 17:58:19 "registry-mirrors": [ 17:58:19 "https://nexus3.edgexfoundry.org:10001" 17:58:19 ], 17:58:19 "bip": "10.250.0.254/24", 17:58:19 "hosts": [ 17:58:19 "tcp://0.0.0.0:5555", 17:58:19 "unix:///var/run/docker.sock" 17:58:19 ], 17:58:19 "mtu": 1458, 17:58:19 "selinux-enabled": true, 17:58:19 "seccomp-profile": "/etc/docker/seccomp.json" 17:58:19 } [Pipeline] sh 17:58:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:58:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:58:38 provisioning config files... 17:58:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/98@tmp/config12474505635660650077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:58:38 ---> docker-login.sh 17:58:38 nexus3.edgexfoundry.org:10001 17:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:39 Configure a credential helper to remove this warning. See 17:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:39 17:58:39 Login Succeeded 17:58:39 nexus3.edgexfoundry.org:10002 17:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:39 Configure a credential helper to remove this warning. See 17:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:39 17:58:39 Login Succeeded 17:58:39 nexus3.edgexfoundry.org:10003 17:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:39 Configure a credential helper to remove this warning. See 17:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:39 17:58:39 Login Succeeded 17:58:39 nexus3.edgexfoundry.org:10004 17:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:40 Configure a credential helper to remove this warning. See 17:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:40 17:58:40 Login Succeeded 17:58:40 docker.io 17:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:41 Configure a credential helper to remove this warning. See 17:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:41 17:58:41 Login Succeeded 17:58:41 ---> docker-login.sh ends [Pipeline] } 17:58:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:58:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:58:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:58:41 ========================================================= 17:58:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:58:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:41 + 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:58:42 Sending build context to Docker daemon 20.53MB 17:58:42 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:58:42 Step 2/13 : FROM ${BASE} AS builder 17:58:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:58:42 9b18e9b68314: Pulling fs layer 17:58:42 35d82f9e3411: Pulling fs layer 17:58:42 e16973657156: Pulling fs layer 17:58:42 fc693d55d65f: Pulling fs layer 17:58:42 7e9fc2657dce: Pulling fs layer 17:58:42 dda99020689f: Pulling fs layer 17:58:42 db1c61fa0a46: Pulling fs layer 17:58:42 fc693d55d65f: Waiting 17:58:42 891c053d2c06: Pulling fs layer 17:58:42 7e9fc2657dce: Waiting 17:58:42 dda99020689f: Waiting 17:58:42 db1c61fa0a46: Waiting 17:58:42 891c053d2c06: Waiting 17:58:42 e16973657156: Verifying Checksum 17:58:42 e16973657156: Download complete 17:58:42 35d82f9e3411: Verifying Checksum 17:58:42 35d82f9e3411: Download complete 17:58:42 7e9fc2657dce: Download complete 17:58:42 dda99020689f: Verifying Checksum 17:58:42 dda99020689f: Download complete 17:58:42 9b18e9b68314: Download complete 17:58:43 9b18e9b68314: Pull complete 17:58:43 891c053d2c06: Verifying Checksum 17:58:43 891c053d2c06: Download complete 17:58:44 35d82f9e3411: Pull complete 17:58:44 e16973657156: Pull complete 17:58:45 db1c61fa0a46: Verifying Checksum 17:58:45 db1c61fa0a46: Download complete 17:58:45 fc693d55d65f: Verifying Checksum 17:58:45 fc693d55d65f: Download complete 17:58:58 fc693d55d65f: Pull complete 17:58:58 7e9fc2657dce: Pull complete 17:58:58 dda99020689f: Pull complete 17:59:04 db1c61fa0a46: Pull complete 17:59:06 891c053d2c06: Pull complete 17:59:06 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:59:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:59:06 ---> f96f9c87975a 17:59:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:59:08 ---> Running in 819852762b9e 17:59:08 Removing intermediate container 819852762b9e 17:59:08 ---> 829289cc1f3c 17:59:08 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:59:08 ---> Running in 6623e5a86a45 17:59:09 Removing intermediate container 6623e5a86a45 17:59:09 ---> 62949298dc61 17:59:09 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:59:09 ---> Running in 8746c23a1cf3 17:59:09 Removing intermediate container 8746c23a1cf3 17:59:09 ---> f7744177bf67 17:59:09 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:59:09 ---> Running in 5923b8ef3a30 17:59:10 Removing intermediate container 5923b8ef3a30 17:59:10 ---> 7a7e7a8b0fbb 17:59:10 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:59:10 ---> Running in 4e9ca2bbbfa2 17:59:10 Removing intermediate container 4e9ca2bbbfa2 17:59:10 ---> eb88d33bb1de 17:59:10 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:59:10 ---> Running in fa726949b52a 17:59:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:59:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:59:12 OK: 221 MiB in 51 packages 17:59:13 Removing intermediate container fa726949b52a 17:59:13 ---> 066fe87b3b18 17:59:13 Step 9/13 : WORKDIR /device-onvif-camera 17:59:13 ---> Running in 04b3a6fbc187 17:59:14 Removing intermediate container 04b3a6fbc187 17:59:14 ---> ffc1b33dd1ae 17:59:14 Step 10/13 : COPY go.mod vendor* ./ 17:59:14 ---> 9945e47dc313 17:59:14 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:59:14 ---> Running in 1ae3b64e68fa 18:00:11 Removing intermediate container 1ae3b64e68fa 18:00:11 ---> 4eb3a83c0f48 18:00:11 Step 12/13 : COPY . . 18:00:11 ---> a5c0d9243bc6 18:00:11 Step 13/13 : RUN ${MAKE} 18:00:11 ---> Running in 08e3287f9792 18:00:11 noop 18:00:11 Removing intermediate container 08e3287f9792 18:00:11 ---> d3dd4378b4d6 18:00:11 Successfully built d3dd4378b4d6 18:00:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:12 + docker inspect -f . ci-base-image-arm64 18:00:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:00:12 prd-ubuntu20.04-docker-arm64-4c-16g-3540 does not seem to be running inside a container 18:00:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/98 -v /w/workspace/device-onvif-camera/98:/w/workspace/device-onvif-camera/98:rw,z -v /w/workspace/device-onvif-camera/98@tmp:/w/workspace/device-onvif-camera/98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:00:13 $ docker top fd4be8b5d0c859a22439e6647d245864137f9caa58b36550f33cddb5d0bf757d -eo pid,comm [Pipeline] { [Pipeline] sh 18:00:14 + go version 18:00:14 go version go1.18.7 linux/arm64 [Pipeline] } 18:00:14 $ docker stop --time=1 fd4be8b5d0c859a22439e6647d245864137f9caa58b36550f33cddb5d0bf757d 18:00:16 $ docker rm -f --volumes fd4be8b5d0c859a22439e6647d245864137f9caa58b36550f33cddb5d0bf757d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:16 + docker inspect -f . ci-base-image-arm64 18:00:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:00:17 prd-ubuntu20.04-docker-arm64-4c-16g-3540 does not seem to be running inside a container 18:00:17 $ 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/98 -v /w/workspace/device-onvif-camera/98:/w/workspace/device-onvif-camera/98:rw,z -v /w/workspace/device-onvif-camera/98@tmp:/w/workspace/device-onvif-camera/98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:00:18 $ docker top c150e68fa6f39509089bd8b548ef65285b982391c70c31c89fe1cb43f7d14a56 -eo pid,comm [Pipeline] { [Pipeline] sh 18:00:19 + git config --global --add safe.directory /w/workspace/device-onvif-camera/98 [Pipeline] fileExists [Pipeline] sh 18:00:20 + make test 18:00:20 go test ./... -coverprofile=coverage.out ./... 18:00:22 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:01:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:02:00 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.181s coverage: 29.3% of statements 18:02:00 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:02:18 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.091s coverage: 86.5% of statements 18:02:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:02:18 go vet ./... 18:02:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:02:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:02:57 ./bin/test-attribution-txt.sh [Pipeline] echo 18:02:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:02:57 $ docker stop --time=1 c150e68fa6f39509089bd8b548ef65285b982391c70c31c89fe1cb43f7d14a56 18:02:59 $ docker rm -f --volumes c150e68fa6f39509089bd8b548ef65285b982391c70c31c89fe1cb43f7d14a56 [Pipeline] // withDockerContainer [Pipeline] sh 18:03:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:03:01 Warning: overwriting stash ‘coverage-report’ 18:03:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:03:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:03:02 + ls -al . 18:03:02 total 244 18:03:02 drwxrwxr-x 9 jenkins jenkins 4096 Jan 24 18:00 . 18:03:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 17:58 .. 18:03:02 drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 17:58 .git 18:03:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 17:58 .github 18:03:02 -rw-rw-r-- 1 jenkins jenkins 496 Jan 24 17:58 .gitignore 18:03:02 -rw-rw-r-- 1 jenkins jenkins 42 Jan 24 17:58 .golangci.yml 18:03:02 -rw-rw-r-- 1 jenkins jenkins 9638 Jan 24 17:58 Attribution.txt 18:03:02 -rw-rw-r-- 1 jenkins jenkins 6312 Jan 24 17:58 CHANGELOG.md 18:03:02 -rw-rw-r-- 1 jenkins jenkins 1574 Jan 24 17:58 Dockerfile 18:03:02 -rw-rw-r-- 1 jenkins jenkins 677 Jan 24 17:58 GOVERNANCE.md 18:03:02 -rw-rw-r-- 1 jenkins jenkins 734 Jan 24 17:58 Jenkinsfile 18:03:02 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 24 17:58 LICENSE 18:03:02 -rw-rw-r-- 1 jenkins jenkins 2577 Jan 24 17:58 Makefile 18:03:02 -rw-rw-r-- 1 jenkins jenkins 625 Jan 24 17:58 OWNERS.md 18:03:02 -rw-rw-r-- 1 jenkins jenkins 6595 Jan 24 17:58 README.md 18:03:02 -rw-rw-r-- 1 jenkins jenkins 11 Jan 24 17:56 VERSION 18:03:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 17:58 bin 18:03:02 drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 17:58 cmd 18:03:02 -rw-r--r-- 1 jenkins jenkins 79184 Jan 24 18:02 coverage.out 18:03:02 drwxrwxr-x 6 jenkins jenkins 4096 Jan 24 17:58 doc 18:03:02 -rw-rw-r-- 1 jenkins jenkins 3688 Jan 24 17:58 go.mod 18:03:02 -rw-rw-r-- 1 jenkins jenkins 46249 Jan 24 17:58 go.sum 18:03:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 17:58 internal 18:03:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 17:58 snap 18:03:02 -rw-rw-r-- 1 jenkins jenkins 236 Jan 24 17:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:02 + 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=35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 --label arch=arm64 --label version=3.0.0-dev.9 . 18:03:03 Sending build context to Docker daemon 20.61MB 18:03:03 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:03:03 Step 2/26 : FROM ${BASE} AS builder 18:03:03 ---> d3dd4378b4d6 18:03:03 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:03:03 ---> Running in 02ab5f302ed8 18:03:04 Removing intermediate container 02ab5f302ed8 18:03:04 ---> a456b521d57b 18:03:04 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:03:04 ---> Running in 37a6aab3fc37 18:03:04 Removing intermediate container 37a6aab3fc37 18:03:04 ---> e6aa03112e5b 18:03:04 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 18:03:04 ---> Running in d443188d14a8 18:03:05 Removing intermediate container d443188d14a8 18:03:05 ---> efbf6956c08c 18:03:05 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:03:05 ---> Running in fa3cc7d38832 18:03:05 Removing intermediate container fa3cc7d38832 18:03:05 ---> f02e855958e3 18:03:05 Step 7/26 : LABEL Name=edgex-device-onvif-camera 18:03:05 ---> Running in 664a9239eaf4 18:03:06 Removing intermediate container 664a9239eaf4 18:03:06 ---> 9fe34f18909f 18:03:06 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:03:06 ---> Running in 6df016815362 18:03:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:03:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:03:08 OK: 221 MiB in 51 packages 18:03:10 Removing intermediate container 6df016815362 18:03:10 ---> 98d2c93e8d72 18:03:10 Step 9/26 : WORKDIR /device-onvif-camera 18:03:10 ---> Running in a9f26ca6f6e6 18:03:10 Removing intermediate container a9f26ca6f6e6 18:03:10 ---> 3678215aaa8d 18:03:10 Step 10/26 : COPY go.mod vendor* ./ 18:03:11 ---> 1be85a26243a 18:03:11 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:03:11 ---> Running in 313982f782da 18:03:14 Removing intermediate container 313982f782da 18:03:14 ---> 758cebcbdec7 18:03:14 Step 12/26 : COPY . . 18:03:16 ---> 370d1b2d3dce 18:03:16 Step 13/26 : RUN ${MAKE} 18:03:16 ---> Running in 5cca2ce8b5fb 18:03:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.9" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:05:54 Removing intermediate container 5cca2ce8b5fb 18:05:54 ---> 8c2f8da7729b 18:05:54 Step 14/26 : FROM alpine:3.16 18:05:54 3.16: Pulling from library/alpine 18:05:54 6875df1f5354: Pulling fs layer 18:05:54 6875df1f5354: Verifying Checksum 18:05:54 6875df1f5354: Download complete 18:05:54 6875df1f5354: Pull complete 18:05:54 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:05:54 Status: Downloaded newer image for alpine:3.16 18:05:54 ---> 2b4661558fb8 18:05:54 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:05:54 ---> Running in 764efc16e10e 18:05:54 Removing intermediate container 764efc16e10e 18:05:54 ---> 98733315a37d 18:05:54 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:05:54 ---> Running in 5b0dc5132ce8 18:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:05:54 (1/1) Installing dumb-init (1.2.5-r1) 18:05:54 Executing busybox-1.35.0-r17.trigger 18:05:54 OK: 5 MiB in 15 packages 18:05:54 Removing intermediate container 5b0dc5132ce8 18:05:54 ---> f7e027c821ad 18:05:54 Step 17/26 : WORKDIR / 18:05:54 ---> Running in 06f83f22e45a 18:05:54 Removing intermediate container 06f83f22e45a 18:05:54 ---> 0bc3039a02b7 18:05:54 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:05:54 ---> e3f30d7880bb 18:05:54 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:05:54 ---> 311707019d34 18:05:54 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:05:54 ---> a334576a8132 18:05:54 Step 21/26 : EXPOSE 59984 18:05:54 ---> Running in b390348e54a0 18:05:54 Removing intermediate container b390348e54a0 18:05:54 ---> aeb4adb7b50f 18:05:54 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:05:54 ---> Running in 033df7b2688c 18:05:54 Removing intermediate container 033df7b2688c 18:05:54 ---> d45d73496844 18:05:54 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:05:54 ---> Running in 9c9abb00b3a3 18:05:54 Removing intermediate container 9c9abb00b3a3 18:05:54 ---> f52382c21348 18:05:54 Step 24/26 : LABEL arch=arm64 18:05:54 ---> Running in 98df64890c8b 18:05:54 Removing intermediate container 98df64890c8b 18:05:54 ---> a519cc6d7daa 18:05:54 Step 25/26 : LABEL git_sha=35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 18:05:54 ---> Running in cbbb9852502d 18:05:54 Removing intermediate container cbbb9852502d 18:05:54 ---> d6b030f5c181 18:05:54 Step 26/26 : LABEL version=3.0.0-dev.9 18:05:54 ---> Running in 5ed9b83332f2 18:05:54 Removing intermediate container 5ed9b83332f2 18:05:54 ---> e8ceda5bf97c 18:05:54 [Warning] One or more build-args [ARCH] were not consumed 18:05:54 Successfully built e8ceda5bf97c 18:05:54 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:54 provisioning config files... 18:05:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/98@tmp/config13326631810636848338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:55 ---> docker-login.sh 18:05:55 nexus3.edgexfoundry.org:10001 18:05:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:55 Configure a credential helper to remove this warning. See 18:05:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:55 18:05:55 Login Succeeded 18:05:55 nexus3.edgexfoundry.org:10002 18:05:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:56 Configure a credential helper to remove this warning. See 18:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:56 18:05:56 Login Succeeded 18:05:56 nexus3.edgexfoundry.org:10003 18:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:56 Configure a credential helper to remove this warning. See 18:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:56 18:05:56 Login Succeeded 18:05:56 nexus3.edgexfoundry.org:10004 18:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:56 Configure a credential helper to remove this warning. See 18:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:56 18:05:56 Login Succeeded 18:05:56 docker.io 18:05:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:57 Configure a credential helper to remove this warning. See 18:05:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:57 18:05:57 Login Succeeded 18:05:57 ---> docker-login.sh ends [Pipeline] } 18:05:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:05:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:05:57 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 18:05:57 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 18:05:57 latest 18:05:57 3.0.0-dev.9 18:05:57 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262-3.0.0-dev.9 18:05:57 main 18:05:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:57 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 18:05:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:05:58 322368799773: Preparing 18:05:58 27cdc3a512a5: Preparing 18:05:58 ee57878579ff: Preparing 18:05:58 a325f4616683: Preparing 18:05:58 17bec77d7fdc: Preparing 18:05:58 17bec77d7fdc: Layer already exists 18:05:58 27cdc3a512a5: Pushed 18:05:58 322368799773: Pushed 18:05:58 a325f4616683: Pushed 18:06:05 ee57878579ff: Pushed 18:06:05 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262: digest: sha256:2511629e43689ee7b71ac2e20cf5435e3b71a6310a7a8e9033bfe54e5f93b008 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:05 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:06:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:06:05 322368799773: Preparing 18:06:05 27cdc3a512a5: Preparing 18:06:05 ee57878579ff: Preparing 18:06:05 a325f4616683: Preparing 18:06:05 17bec77d7fdc: Preparing 18:06:05 322368799773: Layer already exists 18:06:05 a325f4616683: Layer already exists 18:06:05 17bec77d7fdc: Layer already exists 18:06:05 27cdc3a512a5: Layer already exists 18:06:05 ee57878579ff: Layer already exists 18:06:05 latest: digest: sha256:2511629e43689ee7b71ac2e20cf5435e3b71a6310a7a8e9033bfe54e5f93b008 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:06 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.9 18:06:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:06:06 322368799773: Preparing 18:06:06 27cdc3a512a5: Preparing 18:06:06 ee57878579ff: Preparing 18:06:06 a325f4616683: Preparing 18:06:06 17bec77d7fdc: Preparing 18:06:06 27cdc3a512a5: Layer already exists 18:06:06 ee57878579ff: Layer already exists 18:06:06 17bec77d7fdc: Layer already exists 18:06:06 a325f4616683: Layer already exists 18:06:06 322368799773: Layer already exists 18:06:06 3.0.0-dev.9: digest: sha256:2511629e43689ee7b71ac2e20cf5435e3b71a6310a7a8e9033bfe54e5f93b008 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:07 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262-3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262-3.0.0-dev.9 18:06:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:06:07 322368799773: Preparing 18:06:07 27cdc3a512a5: Preparing 18:06:07 ee57878579ff: Preparing 18:06:07 a325f4616683: Preparing 18:06:07 17bec77d7fdc: Preparing 18:06:07 17bec77d7fdc: Layer already exists 18:06:07 ee57878579ff: Layer already exists 18:06:07 322368799773: Layer already exists 18:06:07 27cdc3a512a5: Layer already exists 18:06:07 a325f4616683: Layer already exists 18:06:07 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262-3.0.0-dev.9: digest: sha256:2511629e43689ee7b71ac2e20cf5435e3b71a6310a7a8e9033bfe54e5f93b008 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:08 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 18:06:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:06:08 322368799773: Preparing 18:06:08 27cdc3a512a5: Preparing 18:06:08 ee57878579ff: Preparing 18:06:08 a325f4616683: Preparing 18:06:08 17bec77d7fdc: Preparing 18:06:08 17bec77d7fdc: Layer already exists 18:06:08 ee57878579ff: Layer already exists 18:06:08 27cdc3a512a5: Layer already exists 18:06:08 a325f4616683: Layer already exists 18:06:08 322368799773: Layer already exists 18:06:08 main: digest: sha256:2511629e43689ee7b71ac2e20cf5435e3b71a6310a7a8e9033bfe54e5f93b008 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:06:08 ===================================================== [Pipeline] echo 18:06:08 taggedImages: 18:06:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 18:06:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:06:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.9 18:06:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262-3.0.0-dev.9 18:06:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:06:09 18:06:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:06:09 arm64: Pulling from edgex-lftools-log-publisher 18:06:09 8998bd30e6a1: Pulling fs layer 18:06:09 04944245beec: Pulling fs layer 18:06:09 699f458cf7ca: Pulling fs layer 18:06:09 765212b225bb: Pulling fs layer 18:06:09 f23df028b6ca: Pulling fs layer 18:06:09 765212b225bb: Waiting 18:06:09 d65c8cfc05b1: Pulling fs layer 18:06:09 2437ff75d9bd: Pulling fs layer 18:06:09 f23df028b6ca: Waiting 18:06:09 d65c8cfc05b1: Waiting 18:06:09 2437ff75d9bd: Waiting 18:06:09 04944245beec: Verifying Checksum 18:06:09 04944245beec: Download complete 18:06:09 765212b225bb: Verifying Checksum 18:06:09 765212b225bb: Download complete 18:06:09 f23df028b6ca: Download complete 18:06:09 d65c8cfc05b1: Verifying Checksum 18:06:09 d65c8cfc05b1: Download complete 18:06:09 699f458cf7ca: Verifying Checksum 18:06:10 8998bd30e6a1: Verifying Checksum 18:06:10 8998bd30e6a1: Download complete 18:06:12 2437ff75d9bd: Verifying Checksum 18:06:12 2437ff75d9bd: Download complete 18:06:14 8998bd30e6a1: Pull complete 18:06:15 04944245beec: Pull complete 18:06:16 699f458cf7ca: Pull complete 18:06:16 765212b225bb: Pull complete 18:06:17 f23df028b6ca: Pull complete 18:06:17 d65c8cfc05b1: Pull complete 18:06:32 2437ff75d9bd: Pull complete 18:06:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:06:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:06:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:32 prd-ubuntu20.04-docker-arm64-4c-16g-3540 does not seem to be running inside a container 18:06:32 $ 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/98 -v /w/workspace/device-onvif-camera/98:/w/workspace/device-onvif-camera/98:rw,z -v /w/workspace/device-onvif-camera/98@tmp:/w/workspace/device-onvif-camera/98@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:arm64 cat 18:06:35 $ docker top e24eb2f8af25fa49a2a3ea313880a880cf557a28b6dfaba5440f9fcd93827d62 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:36 ---> job-cost.sh 18:06:36 lf-activate-venv: SKIPPING 18:06:36 INFO: No Stack... 18:06:36 INFO: Retrieving Pricing Info for: v3-standard-4 18:06:37 INFO: Archiving Costs [Pipeline] sh 18:06:38 + cut -d, -f6 18:06:38 + cat /w/workspace/device-onvif-camera/98/archives/cost.csv [Pipeline] lock 18:06:38 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-98-stack-cost] 18:06:38 Resource [jenkins-edgexfoundry-device-onvif-camera-main-98-stack-cost] did not exist. Created. 18:06:38 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-98-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:06:39 /w/workspace/device-onvif-camera/98@tmp/durable-fce03db8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:06:39 + echo total: 0.10999999940395355 [Pipeline] stash 18:06:39 Warning: overwriting stash ‘stack-cost’ 18:06:40 Stashed 1 file(s) [Pipeline] } 18:06:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-98-stack-cost] [Pipeline] // lock [Pipeline] } 18:06:40 $ docker stop --time=1 e24eb2f8af25fa49a2a3ea313880a880cf557a28b6dfaba5440f9fcd93827d62 18:06:41 $ docker rm -f --volumes e24eb2f8af25fa49a2a3ea313880a880cf557a28b6dfaba5440f9fcd93827d62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:06:41 provisioning config files... 18:06:41 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7911949745777853497tmp [Pipeline] { [Pipeline] sh 18:06:42 + set +x 18:06:42 + curl -s https://codecov.io/bash 18:06:42 + bash -s -- 18:06:42 18:06:42 _____ _ 18:06:42 / ____| | | 18:06:42 | | ___ __| | ___ ___ _____ __ 18:06:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:06:42 | |___| (_) | (_| | __/ (_| (_) \ V / 18:06:42 \_____\___/ \__,_|\___|\___\___/ \_/ 18:06:42 Bash-1.0.6 18:06:42 18:06:42 18:06:42 ==> git version 2.25.1 found 18:06:42 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:06:42 Release-Date: 2020-01-08 18:06:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:06:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:06:42 ==> Jenkins CI detected. 18:06:42 current dir:  /w/workspace/foundry_device-onvif-camera_main 18:06:42 project root: . 18:06:42 --> token set from env 18:06:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:06:42 ==> Running gcov in . (disable via -X gcov) 18:06:42 ==> Python coveragepy not found 18:06:42 ==> Searching for coverage reports in: 18:06:42 + . 18:06:42 -> Found 1 reports 18:06:42 ==> Detecting git/mercurial file structure 18:06:42 ==> Reading reports 18:06:42 + ./coverage.out bytes=79184 18:06:42 ==> Appending adjustments 18:06:42 https://docs.codecov.io/docs/fixing-reports 18:06:42 + Found adjustments 18:06:42 ==> Gzipping contents 18:06:42 12K /tmp/codecov.dKIV2D.gz 18:06:42 ==> Uploading reports 18:06:42 url: https://codecov.io 18:06:42 query: branch=main&commit=35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262&build=98&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F98%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:06:42 -> Pinging Codecov 18:06:42 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=35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262&build=98&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F98%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:06:43 -> Uploading to 18:06:43 https://storage.googleapis.com/codecov/v4/raw/2023-01-24/F29A59C45E3A92E06B3E522C9905F8EF/35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262/819ae6a0-5fbb-400a-b819-77a23c4114c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230124%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230124T180642Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5143a34c8b300353a0c9f76046c0a5f69adf521abb54a81a8fc3e2753e3c06af 18:06:43 % Total % Received % Xferd Average Speed Time Time Time Current 18:06:43 Dload Upload Total Spent Left Speed 18:06:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10847 0 0 100 10847 0 38878 --:--:-- --:--:-- --:--:-- 38878 18:06:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 [Pipeline] } 18:06:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:06:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:06:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:06:43 18:06:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:06:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:06:44 df9b9388f04a: Pulling fs layer 18:06:44 52dc419b0ee2: Pulling fs layer 18:06:44 25bc292e5bac: Pulling fs layer 18:06:44 114826534d7a: Pulling fs layer 18:06:44 4657fd5d0bcf: Pulling fs layer 18:06:44 6ad1cebc031e: Pulling fs layer 18:06:44 8a3aa393b2d8: Pulling fs layer 18:06:44 4657fd5d0bcf: Waiting 18:06:44 114826534d7a: Waiting 18:06:44 8a3aa393b2d8: Waiting 18:06:44 25bc292e5bac: Verifying Checksum 18:06:44 25bc292e5bac: Download complete 18:06:44 52dc419b0ee2: Verifying Checksum 18:06:44 52dc419b0ee2: Download complete 18:06:44 4657fd5d0bcf: Download complete 18:06:44 df9b9388f04a: Download complete 18:06:44 df9b9388f04a: Pull complete 18:06:44 52dc419b0ee2: Pull complete 18:06:44 6ad1cebc031e: Verifying Checksum 18:06:44 6ad1cebc031e: Download complete 18:06:44 25bc292e5bac: Pull complete 18:06:45 114826534d7a: Verifying Checksum 18:06:45 114826534d7a: Download complete 18:06:45 8a3aa393b2d8: Verifying Checksum 18:06:45 8a3aa393b2d8: Download complete 18:06:49 114826534d7a: Pull complete 18:06:49 4657fd5d0bcf: Pull complete 18:06:49 6ad1cebc031e: Pull complete 18:06:51 8a3aa393b2d8: Pull complete 18:06:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:06:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:06:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:51 prd-ubuntu20.04-docker-8c-8g-3539 does not seem to be running inside a container 18:06:51 $ 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 18:06:55 $ docker top e05fc20eac6d94a021d74ed91838c7869657cddb54f7b2209aa22a501d83e1a2 -eo pid,comm [Pipeline] { [Pipeline] echo 18:06:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 18:06:55 + set -o pipefail 18:06:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 18:07:02 18:07:02 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 18:07:02 18:07:02 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/9f202e6d-9c6b-45f2-b995-6e4ea229ad46 18:07:02 18:07:02 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 18:07:02 18:07:02 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:07:02 18:07:02 18:07:02 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:07:02 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:07:02 More details here: https://snyk.co/ue1NS [Pipeline] } 18:07:02 $ docker stop --time=1 e05fc20eac6d94a021d74ed91838c7869657cddb54f7b2209aa22a501d83e1a2 18:07:05 $ docker rm -f --volumes e05fc20eac6d94a021d74ed91838c7869657cddb54f7b2209aa22a501d83e1a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 18:07:05 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:07:05 provisioning config files... 18:07:05 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8011256174986843903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:05 --> edgex-publish-swagger.sh 18:07:05 === Publish doc/openapi/v2 API === 18:07:05 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 18:07:05 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 18:07:05 % Total % Received % Xferd Average Speed Time Time Time Current 18:07:05 Dload Upload Total Spent Left Speed 18:07:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 100 38 100 469k 65 813k --:--:-- --:--:-- --:--:-- 813k 18:07:06 {"code":403,"message":"Access Denied"} 18:07:06 [Pipeline] } 18:07:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:07:06 + git log --format=format:%s -1 35c6aaea7a7887ebdd7ce82ced2a92dd36dd0262 [Pipeline] sh 18:07:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:07:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:07:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:07 prd-ubuntu20.04-docker-8c-8g-3539 does not seem to be running inside a container 18:07:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:07:07 $ docker top 0dc5c00dd800c8fe2264a871448d94088f4921ba3d471bdbd116c3d3ff64a04d -eo pid,comm 18:07:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:07:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:07:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:07:07 [ssh-agent] Looking for ssh-agent implementation... 18:07:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:07:07 $ docker exec 0dc5c00dd800c8fe2264a871448d94088f4921ba3d471bdbd116c3d3ff64a04d ssh-agent 18:07:08 SSH_AUTH_SOCK=/tmp/ssh-JEKVxWFDI1Tn/agent.32 18:07:08 SSH_AGENT_PID=38 18:07:08 Running ssh-add (command line suppressed) 18:07:08 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13054885070644761275.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13054885070644761275.key) 18:07:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:07:08 + git semver tag 18:07:08 2023-01-24 18:07:08,597 [run_tag] DEBUG tag force:False 18:07:08 2023-01-24 18:07:08,597 [check_head_tag] DEBUG check head tag 18:07:08 2023-01-24 18:07:08,598 [execute] INFO git cat-file --batch-check 18:07:08 2023-01-24 18:07:08,598 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:07:08 2023-01-24 18:07:08,602 [execute] INFO git cat-file --batch 18:07:08 2023-01-24 18:07:08,602 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:07:08 2023-01-24 18:07:08,629 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:07:08 2023-01-24 18:07:08,629 [execute] INFO git tag -a v3.0.0-dev.9 -m v3.0.0-dev.9 18:07:08 2023-01-24 18:07:08,629 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.9', '-m', 'v3.0.0-dev.9'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:07:08 2023-01-24 18:07:08,634 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:07:08 3.0.0-dev.9 [Pipeline] } 18:07:08 $ docker exec --env ******** --env ******** 0dc5c00dd800c8fe2264a871448d94088f4921ba3d471bdbd116c3d3ff64a04d ssh-agent -k 18:07:08 unset SSH_AUTH_SOCK; 18:07:08 unset SSH_AGENT_PID; 18:07:08 echo Agent pid 38 killed; 18:07:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:07:09 + git semver [Pipeline] } 18:07:09 $ docker stop --time=1 0dc5c00dd800c8fe2264a871448d94088f4921ba3d471bdbd116c3d3ff64a04d 18:07:10 $ docker rm -f --volumes 0dc5c00dd800c8fe2264a871448d94088f4921ba3d471bdbd116c3d3ff64a04d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:07:11 18:07:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:07:11 0.23.1-centos7: Pulling from edgex-lftools 18:07:11 ab5ef0e58194: Pulling fs layer 18:07:11 9712f1f96733: Pulling fs layer 18:07:11 63f879dbbcfc: Pulling fs layer 18:07:11 0d9ebad4ef96: Pulling fs layer 18:07:11 e9a5061849ea: Pulling fs layer 18:07:11 d747dcd14b5f: Pulling fs layer 18:07:11 2de7ff778b66: Pulling fs layer 18:07:11 0d9ebad4ef96: Waiting 18:07:11 e9a5061849ea: Waiting 18:07:11 2de7ff778b66: Waiting 18:07:11 d747dcd14b5f: Waiting 18:07:11 9712f1f96733: Verifying Checksum 18:07:11 9712f1f96733: Download complete 18:07:12 63f879dbbcfc: Verifying Checksum 18:07:12 63f879dbbcfc: Download complete 18:07:12 e9a5061849ea: Verifying Checksum 18:07:12 e9a5061849ea: Download complete 18:07:12 d747dcd14b5f: Verifying Checksum 18:07:12 d747dcd14b5f: Download complete 18:07:12 ab5ef0e58194: Verifying Checksum 18:07:12 ab5ef0e58194: Download complete 18:07:12 0d9ebad4ef96: Verifying Checksum 18:07:12 0d9ebad4ef96: Download complete 18:07:12 2de7ff778b66: Verifying Checksum 18:07:12 2de7ff778b66: Download complete 18:07:15 ab5ef0e58194: Pull complete 18:07:15 9712f1f96733: Pull complete 18:07:16 63f879dbbcfc: Pull complete 18:07:20 0d9ebad4ef96: Pull complete 18:07:20 e9a5061849ea: Pull complete 18:07:20 d747dcd14b5f: Pull complete 18:07:21 2de7ff778b66: Pull complete 18:07:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:07:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:07:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:21 prd-ubuntu20.04-docker-8c-8g-3539 does not seem to be running inside a container 18:07:21 $ 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 18:07:27 $ docker top 9295de510e08035bad945184476f80974eea3a913378176190e8ef53bc24e223 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:07:27 provisioning config files... 18:07:27 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9141519684862391521tmp 18:07:27 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16132875413171243807tmp 18:07:27 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6869268938122960565tmp [Pipeline] { [Pipeline] echo 18:07:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:07:27 ---> sigul-configuration.sh 18:07:27 gpg: directory `/root/.gnupg' created 18:07:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:07:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:07:27 gpg: keyring `/root/.gnupg/secring.gpg' created 18:07:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:07:27 gpg: CAST5 encrypted data 18:07:27 gpg: encrypted with 1 passphrase 18:07:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:07:28 + mkdir /home/jenkins 18:07:28 + mkdir /home/jenkins/sigul [Pipeline] sh 18:07: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 18:07:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:07:28 ---> sigul-install.sh 18:07:28 Sigul already installed; skipping installation. [Pipeline] sh 18:07:29 + git tag --list 18:07:29 v0.0.0 18:07:29 v0.0.1-dev.1 18:07:29 v0.0.1-dev.10 18:07:29 v0.0.1-dev.11 18:07:29 v0.0.1-dev.12 18:07:29 v0.0.1-dev.13 18:07:29 v0.0.1-dev.14 18:07:29 v0.0.1-dev.15 18:07:29 v0.0.1-dev.16 18:07:29 v0.0.1-dev.17 18:07:29 v0.0.1-dev.18 18:07:29 v0.0.1-dev.19 18:07:29 v0.0.1-dev.2 18:07:29 v0.0.1-dev.20 18:07:29 v0.0.1-dev.21 18:07:29 v0.0.1-dev.22 18:07:29 v0.0.1-dev.23 18:07:29 v0.0.1-dev.24 18:07:29 v0.0.1-dev.25 18:07:29 v0.0.1-dev.26 18:07:29 v0.0.1-dev.27 18:07:29 v0.0.1-dev.28 18:07:29 v0.0.1-dev.3 18:07:29 v0.0.1-dev.4 18:07:29 v0.0.1-dev.5 18:07:29 v0.0.1-dev.6 18:07:29 v0.0.1-dev.7 18:07:29 v0.0.1-dev.8 18:07:29 v0.0.1-dev.9 18:07:29 v2.2.0 18:07:29 v2.2.0-dev.29 18:07:29 v2.2.0-dev.30 18:07:29 v2.2.0-dev.31 18:07:29 v2.2.0-dev.32 18:07:29 v2.2.0-dev.33 18:07:29 v2.2.0-dev.34 18:07:29 v2.2.0-dev.35 18:07:29 v2.3.0 18:07:29 v2.3.0-dev.1 18:07:29 v2.3.0-dev.10 18:07:29 v2.3.0-dev.11 18:07:29 v2.3.0-dev.12 18:07:29 v2.3.0-dev.13 18:07:29 v2.3.0-dev.14 18:07:29 v2.3.0-dev.15 18:07:29 v2.3.0-dev.16 18:07:29 v2.3.0-dev.17 18:07:29 v2.3.0-dev.18 18:07:29 v2.3.0-dev.19 18:07:29 v2.3.0-dev.2 18:07:29 v2.3.0-dev.20 18:07:29 v2.3.0-dev.21 18:07:29 v2.3.0-dev.22 18:07:29 v2.3.0-dev.23 18:07:29 v2.3.0-dev.24 18:07:29 v2.3.0-dev.25 18:07:29 v2.3.0-dev.26 18:07:29 v2.3.0-dev.27 18:07:29 v2.3.0-dev.28 18:07:29 v2.3.0-dev.29 18:07:29 v2.3.0-dev.3 18:07:29 v2.3.0-dev.30 18:07:29 v2.3.0-dev.31 18:07:29 v2.3.0-dev.32 18:07:29 v2.3.0-dev.33 18:07:29 v2.3.0-dev.34 18:07:29 v2.3.0-dev.35 18:07:29 v2.3.0-dev.36 18:07:29 v2.3.0-dev.37 18:07:29 v2.3.0-dev.38 18:07:29 v2.3.0-dev.39 18:07:29 v2.3.0-dev.4 18:07:29 v2.3.0-dev.40 18:07:29 v2.3.0-dev.41 18:07:29 v2.3.0-dev.42 18:07:29 v2.3.0-dev.43 18:07:29 v2.3.0-dev.44 18:07:29 v2.3.0-dev.45 18:07:29 v2.3.0-dev.5 18:07:29 v2.3.0-dev.6 18:07:29 v2.3.0-dev.7 18:07:29 v2.3.0-dev.8 18:07:29 v2.3.0-dev.9 18:07:29 v2.3.1-dev.1 18:07:29 v3.0.0-dev.1 18:07:29 v3.0.0-dev.2 18:07:29 v3.0.0-dev.3 18:07:29 v3.0.0-dev.4 18:07:29 v3.0.0-dev.5 18:07:29 v3.0.0-dev.6 18:07:29 v3.0.0-dev.7 18:07:29 v3.0.0-dev.8 18:07:29 v3.0.0-dev.9 [Pipeline] sh 18:07:29 + lftools sign git-tag v3.0.0-dev.9 18:07:29 Signing Git tag with Sigul... 18:07:29 Signing v3.0.0-dev.9 [Pipeline] echo 18:07:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:07:31 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:07:31 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:07:31 $ docker stop --time=1 9295de510e08035bad945184476f80974eea3a913378176190e8ef53bc24e223 18:07:33 $ docker rm -f --volumes 9295de510e08035bad945184476f80974eea3a913378176190e8ef53bc24e223 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:07:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:07:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:07:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:34 prd-ubuntu20.04-docker-8c-8g-3539 does not seem to be running inside a container 18:07:34 $ 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 18:07:36 $ docker top 60e01ab855d61082fd4526d78ac186be3cf81122965e65edfc3a65a340b43b3b -eo pid,comm 18:07:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:07:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:07:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:07:36 [ssh-agent] Looking for ssh-agent implementation... 18:07:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:07:36 $ docker exec 60e01ab855d61082fd4526d78ac186be3cf81122965e65edfc3a65a340b43b3b ssh-agent 18:07:36 SSH_AUTH_SOCK=/tmp/ssh-srLBNTYHMRWa/agent.14 18:07:36 SSH_AGENT_PID=20 18:07:36 Running ssh-add (command line suppressed) 18:07:36 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1348963577229428602.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1348963577229428602.key) 18:07:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:07:37 + git semver bump pre 18:07:37 2023-01-24 18:07:37,405 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:07:37 2023-01-24 18:07:37,405 [bump_version] DEBUG bumping version:3.0.0-dev.9 on axis:pre with prefix:dev 18:07:37 2023-01-24 18:07:37,405 [bump_version] DEBUG bumped version:3.0.0-dev.10 18:07:37 2023-01-24 18:07:37,405 [write_version] DEBUG write version:3.0.0-dev.10 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 18:07:37 2023-01-24 18:07:37,405 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:07:37 2023-01-24 18:07:37,406 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 18:07:37 2023-01-24 18:07:37,409 [execute] INFO git cat-file --batch-check 18:07:37 2023-01-24 18:07:37,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:07:37 2023-01-24 18:07:37,419 [execute] INFO git cat-file --batch 18:07:37 2023-01-24 18:07:37,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:07:37 2023-01-24 18:07:37,425 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:07:37 3.0.0-dev.10 [Pipeline] } 18:07:37 $ docker exec --env ******** --env ******** 60e01ab855d61082fd4526d78ac186be3cf81122965e65edfc3a65a340b43b3b ssh-agent -k 18:07:37 unset SSH_AUTH_SOCK; 18:07:37 unset SSH_AGENT_PID; 18:07:37 echo Agent pid 20 killed; 18:07:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:07:38 + git semver [Pipeline] } 18:07:38 $ docker stop --time=1 60e01ab855d61082fd4526d78ac186be3cf81122965e65edfc3a65a340b43b3b 18:07:40 $ docker rm -f --volumes 60e01ab855d61082fd4526d78ac186be3cf81122965e65edfc3a65a340b43b3b [Pipeline] // withDockerContainer [Pipeline] sh 18:07:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:07:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:07:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:41 prd-ubuntu20.04-docker-8c-8g-3539 does not seem to be running inside a container 18:07:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:07:43 $ docker top 357693fe31a0f5e0caaac86cdc5d7439c23a77e2cf0632f4fad71432bc3498b7 -eo pid,comm 18:07:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:07:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:07:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:07:43 [ssh-agent] Looking for ssh-agent implementation... 18:07:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:07:43 $ docker exec 357693fe31a0f5e0caaac86cdc5d7439c23a77e2cf0632f4fad71432bc3498b7 ssh-agent 18:07:44 SSH_AUTH_SOCK=/tmp/ssh-ecDGyvCeq8G6/agent.13 18:07:44 SSH_AGENT_PID=19 18:07:44 Running ssh-add (command line suppressed) 18:07:44 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10909635403608620468.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10909635403608620468.key) 18:07:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:07:44 + git semver push 18:07:45 2023-01-24 18:07:44,805 [run_push] DEBUG push 18:07:45 2023-01-24 18:07:44,806 [execute] INFO git cat-file --batch-check 18:07:45 2023-01-24 18:07:44,806 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:07:45 2023-01-24 18:07:44,812 [execute] INFO git rev-list 358b2f00db8f599e6a5c0cc388aac57f5bd57c53 -- 18:07:45 2023-01-24 18:07:44,812 [execute] DEBUG Popen(['git', 'rev-list', '358b2f00db8f599e6a5c0cc388aac57f5bd57c53', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:07:45 2023-01-24 18:07:44,820 [execute] INFO git fetch -v origin 18:07:45 2023-01-24 18:07:44,820 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:07:45 2023-01-24 18:07:45,345 [run_push] DEBUG no remote changes detected 18:07:45 2023-01-24 18:07:45,346 [execute] INFO git push origin semver 18:07:45 2023-01-24 18:07:45,346 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:07:46 2023-01-24 18:07:46,271 [run_push] DEBUG push all version tags 18:07:46 2023-01-24 18:07:46,272 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:07:46 2023-01-24 18:07:46,272 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:07:47 2023-01-24 18:07:47,050 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:07:47 3.0.0-dev.10 [Pipeline] } 18:07:47 $ docker exec --env ******** --env ******** 357693fe31a0f5e0caaac86cdc5d7439c23a77e2cf0632f4fad71432bc3498b7 ssh-agent -k 18:07:47 unset SSH_AUTH_SOCK; 18:07:47 unset SSH_AGENT_PID; 18:07:47 echo Agent pid 19 killed; 18:07:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:07:47 + git semver [Pipeline] } 18:07:47 $ docker stop --time=1 357693fe31a0f5e0caaac86cdc5d7439c23a77e2cf0632f4fad71432bc3498b7 18:07:50 $ docker rm -f --volumes 357693fe31a0f5e0caaac86cdc5d7439c23a77e2cf0632f4fad71432bc3498b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:07:50 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 18:07:50 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:07:50 total 16 18:07:50 drwxr-xr-x 3 root root 4096 Jan 24 17:58 . 18:07:50 drwxrwxr-x 11 jenkins jenkins 4096 Jan 24 18:07 .. 18:07:50 drwxr-xr-x 2 root root 4096 Jan 24 17:58 cost 18:07:50 -rw-r--r-- 1 root root 90 Jan 24 17:58 cost.csv 18:07:50 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 18:07:50 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:07:50 total 16 18:07:50 drwxr-xr-x 3 jenkins jenkins 4096 Jan 24 17:58 . 18:07:50 drwxrwxr-x 11 jenkins jenkins 4096 Jan 24 18:07 .. 18:07:50 drwxr-xr-x 2 jenkins jenkins 4096 Jan 24 17:58 cost 18:07:50 -rw-r--r-- 1 jenkins jenkins 90 Jan 24 17:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:07:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:07:52 ---> package-listing.sh 18:07:52 ++ facter osfamily 18:07:52 ++ tr '[:upper:]' '[:lower:]' 18:07:52 + OS_FAMILY=debian 18:07:52 + workspace=/w/workspace/foundry_device-onvif-camera_main 18:07:52 + START_PACKAGES=/tmp/packages_start.txt 18:07:52 + END_PACKAGES=/tmp/packages_end.txt 18:07:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:07:52 + PACKAGES=/tmp/packages_start.txt 18:07:52 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:07:52 + PACKAGES=/tmp/packages_end.txt 18:07:52 + case "${OS_FAMILY}" in 18:07:52 + dpkg -l 18:07:52 + grep '^ii' 18:07:52 + '[' -f /tmp/packages_start.txt ']' 18:07:52 + '[' -f /tmp/packages_end.txt ']' 18:07:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:07:52 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:07:52 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 18:07:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 18:07:52 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:07:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:53 prd-ubuntu20.04-docker-8c-8g-3539 does not seem to be running inside a container 18:07:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:07:55 $ docker top 0ce89956651f5b6effbb0a0561e2e915e4d994edfc774f584f4aca6de728b273 -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:56 + touch /tmp/pre-build-complete [Pipeline] sh 18:07:56 + mkdir -p /var/log/sysstat [Pipeline] sh 18:07:56 + ls /var/log/sa-host 18:07:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:07:56 provisioning config files... 18:07:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5204419953199153409tmp [Pipeline] { [Pipeline] echo 18:07:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:07:57 ---> create-netrc.sh [Pipeline] } 18:07:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:07:57 ---> python-tools-install.sh [Pipeline] echo 18:07:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:07:57 ---> sudo-logs.sh 18:07:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:07:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:07:58 ---> job-cost.sh 18:07:58 lf-activate-venv: SKIPPING 18:07:58 DEBUG: total: 0.2199999988079071 18:07:58 INFO: Retrieving Stack Cost... 18:07:58 INFO: Retrieving Pricing Info for: v3-standard-8 18:07:59 INFO: Archiving Costs [Pipeline] echo 18:07:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:07:59 ---> logs-deploy.sh 18:07:59 lf-activate-venv: SKIPPING 18:07:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/98 18:07:59 INFO: archiving workspace using pattern(s): 18:08:00 Archives upload complete. 18:08:00 INFO: archiving logs to Nexus