Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d65f0f9877c5d27f36bd97c93e7d86cd57609692 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-ssh6880314420516156678.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-ssh2902711505186163478.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-ssh15880407343828311695.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-ssh4793592923272967706.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-ssh14249976178819820550.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8183 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 d65f0f9877c5d27f36bd97c93e7d86cd57609692 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d65f0f9877c5d27f36bd97c93e7d86cd57609692 # timeout=10 Commit message: "docs: change location of nats documentation (#237)" > git rev-list --no-walk 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:05:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:05:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:05:47 ========================================================= 21:05:47 EdgeX Global Pipelines Version Info 21:05:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:05:47 ------------------- 21:05:47 stable info: 21:05:47 ------------------- 21:05:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:05:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:05:47 Message: update stable to v1.0.244 21:05:48 ------------------- 21:05:48 experimental info: 21:05:48 ------------------- 21:05:48 Commited By: **** collab-it+edgex@linuxfoundation.org 21:05:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:05:48 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d65f0f9877c5d27f36bd97c93e7d86cd57609692 [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d65f0f9 [Pipeline] echo 21:05:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:49 provisioning config files... 21:05:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5762436558203360730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:49 ---> docker-login.sh 21:05:49 nexus3.edgexfoundry.org:10001 21:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:49 Configure a credential helper to remove this warning. See 21:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:49 21:05:49 Login Succeeded 21:05:49 nexus3.edgexfoundry.org:10002 21:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:49 Configure a credential helper to remove this warning. See 21:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:49 21:05:49 Login Succeeded 21:05:49 nexus3.edgexfoundry.org:10003 21:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:49 Configure a credential helper to remove this warning. See 21:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:49 21:05:49 Login Succeeded 21:05:49 nexus3.edgexfoundry.org:10004 21:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:50 Configure a credential helper to remove this warning. See 21:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:50 21:05:50 Login Succeeded 21:05:50 docker.io 21:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:50 Configure a credential helper to remove this warning. See 21:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:50 21:05:50 Login Succeeded 21:05:50 ---> docker-login.sh ends [Pipeline] } 21:05:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:05:50 + git rev-list -1 --merges d65f0f9877c5d27f36bd97c93e7d86cd57609692~1..d65f0f9877c5d27f36bd97c93e7d86cd57609692 [Pipeline] echo 21:05:50 -----------> git rev-list -1 --merges d65f0f9877c5d27f36bd97c93e7d86cd57609692~1..d65f0f9877c5d27f36bd97c93e7d86cd57609692 d65f0f9877c5d27f36bd97c93e7d86cd57609692 [false] [Pipeline] sh 21:05:51 + git log --format=format:%s -1 d65f0f9877c5d27f36bd97c93e7d86cd57609692 [Pipeline] echo 21:05:51 ========================================================= 21:05:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:05:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:05:51 + git log --format=format:%s -1 d65f0f9877c5d27f36bd97c93e7d86cd57609692 [Pipeline] echo 21:05:51 [semverPrep] GIT_COMMIT: d65f0f9877c5d27f36bd97c93e7d86cd57609692, Commit Message: docs: change location of nats documentation (#237) [Pipeline] echo 21:05:51 [semverPrep] This is not a build commit. [Pipeline] sh 21:05:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:05:51 + grep -v github /etc/ssh/ssh_known_hosts 21:05:51 + [ -e /tmp/ssh_known_hosts ] 21:05:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:05:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:05:51 + sudo tee -a /etc/ssh/ssh_known_hosts 21:05:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:52 21:05:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:52 0.1.4: Pulling from edgex-devops/py-git-semver 21:05:52 b85a868b505f: Pulling fs layer 21:05:52 e2be974225ed: Pulling fs layer 21:05:52 339a4e72a1f5: Pulling fs layer 21:05:52 988bab9f4d93: Pulling fs layer 21:05:52 1469e6f7b9e6: Pulling fs layer 21:05:52 eaf3925da568: Pulling fs layer 21:05:52 bab4dde63d76: Pulling fs layer 21:05:52 bde34c3a00c8: Pulling fs layer 21:05:52 b352a97aabf1: Pulling fs layer 21:05:52 4872d77fe225: Pulling fs layer 21:05:52 5851b861e8e6: Pulling fs layer 21:05:52 bab4dde63d76: Waiting 21:05:52 bde34c3a00c8: Waiting 21:05:52 988bab9f4d93: Waiting 21:05:52 b352a97aabf1: Waiting 21:05:52 1469e6f7b9e6: Waiting 21:05:52 4872d77fe225: Waiting 21:05:52 5851b861e8e6: Waiting 21:05:52 eaf3925da568: Waiting 21:05:52 e2be974225ed: Verifying Checksum 21:05:52 e2be974225ed: Download complete 21:05:52 988bab9f4d93: Verifying Checksum 21:05:52 988bab9f4d93: Download complete 21:05:52 1469e6f7b9e6: Verifying Checksum 21:05:52 1469e6f7b9e6: Download complete 21:05:52 339a4e72a1f5: Verifying Checksum 21:05:52 339a4e72a1f5: Download complete 21:05:52 eaf3925da568: Download complete 21:05:52 bde34c3a00c8: Download complete 21:05:52 b352a97aabf1: Verifying Checksum 21:05:52 4872d77fe225: Download complete 21:05:52 5851b861e8e6: Download complete 21:05:52 b85a868b505f: Download complete 21:05:53 bab4dde63d76: Verifying Checksum 21:05:53 bab4dde63d76: Download complete 21:05:54 b85a868b505f: Pull complete 21:05:54 e2be974225ed: Pull complete 21:05:54 339a4e72a1f5: Pull complete 21:05:54 988bab9f4d93: Pull complete 21:05:55 1469e6f7b9e6: Pull complete 21:05:55 eaf3925da568: Pull complete 21:05:57 bab4dde63d76: Pull complete 21:05:57 bde34c3a00c8: Pull complete 21:05:57 b352a97aabf1: Pull complete 21:05:57 4872d77fe225: Pull complete 21:05:57 5851b861e8e6: Pull complete 21:05:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:05:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:05:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:57 prd-ubuntu20.04-docker-8c-8g-8183 does not seem to be running inside a container 21:05:57 $ 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 21:06:00 $ docker top 021593436aa0f82dab884bab9ba02b8734c24faf48283d3924e9c08dec2128c2 -eo pid,comm 21:06:00 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). 21:06:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:06:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:00 [ssh-agent] Looking for ssh-agent implementation... 21:06:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:00 $ docker exec 021593436aa0f82dab884bab9ba02b8734c24faf48283d3924e9c08dec2128c2 ssh-agent 21:06:00 SSH_AUTH_SOCK=/tmp/ssh-6iU9Kix86n1b/agent.31 21:06:00 SSH_AGENT_PID=37 21:06:00 Running ssh-add (command line suppressed) 21:06:00 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2621419536242248619.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2621419536242248619.key) 21:06:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:00 + git tag --points-at HEAD [Pipeline] } 21:06:00 $ docker exec --env ******** --env ******** 021593436aa0f82dab884bab9ba02b8734c24faf48283d3924e9c08dec2128c2 ssh-agent -k 21:06:01 unset SSH_AUTH_SOCK; 21:06:01 unset SSH_AGENT_PID; 21:06:01 echo Agent pid 37 killed; 21:06:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:06:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:06:01 [ssh-agent] Looking for ssh-agent implementation... 21:06:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:06:01 $ docker exec 021593436aa0f82dab884bab9ba02b8734c24faf48283d3924e9c08dec2128c2 ssh-agent 21:06:01 SSH_AUTH_SOCK=/tmp/ssh-GaspekVLAkxi/agent.69 21:06:01 SSH_AGENT_PID=75 21:06:01 Running ssh-add (command line suppressed) 21:06:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9238893787157114213.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9238893787157114213.key) 21:06:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:06:01 + git semver init 21:06:01 2023-03-03 21:06:01,874 [run_init] DEBUG init version:0.0.0 force:False 21:06:01 2023-03-03 21:06:01,875 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 21:06:01 2023-03-03 21:06:01,875 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 21:06:01 2023-03-03 21:06:01,876 [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) 21:06:03 2023-03-03 21:06:02,913 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 21:06:03 2023-03-03 21:06:02,913 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 21:06:03 2023-03-03 21:06:02,914 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:06:03 2023-03-03 21:06:02,914 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:06:03 3.0.0-dev.16 [Pipeline] } 21:06:03 $ docker exec --env ******** --env ******** 021593436aa0f82dab884bab9ba02b8734c24faf48283d3924e9c08dec2128c2 ssh-agent -k 21:06:03 unset SSH_AUTH_SOCK; 21:06:03 unset SSH_AGENT_PID; 21:06:03 echo Agent pid 75 killed; 21:06:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:06:03 + git semver [Pipeline] } 21:06:04 $ docker stop --time=1 021593436aa0f82dab884bab9ba02b8734c24faf48283d3924e9c08dec2128c2 21:06:05 $ docker rm -f --volumes 021593436aa0f82dab884bab9ba02b8734c24faf48283d3924e9c08dec2128c2 [Pipeline] // withDockerContainer [Pipeline] sh 21:06:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:06:05 Stashed 1 file(s) [Pipeline] echo 21:06:05 [edgeXSemver]: initialized semver on version 3.0.0-dev.16 [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 21:06:05 provisioning config files... 21:06:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4333500255586362794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:06 ---> docker-login.sh 21:06:06 nexus3.edgexfoundry.org:10001 21:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:06 Configure a credential helper to remove this warning. See 21:06:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:06 21:06:06 Login Succeeded 21:06:06 nexus3.edgexfoundry.org:10002 21:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:06 Configure a credential helper to remove this warning. See 21:06:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:06 21:06:06 Login Succeeded 21:06:06 nexus3.edgexfoundry.org:10003 21:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:06 Configure a credential helper to remove this warning. See 21:06:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:06 21:06:06 Login Succeeded 21:06:06 nexus3.edgexfoundry.org:10004 21:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:06 Configure a credential helper to remove this warning. See 21:06:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:06 21:06:06 Login Succeeded 21:06:06 docker.io 21:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:06 Configure a credential helper to remove this warning. See 21:06:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:06 21:06:06 Login Succeeded 21:06:07 ---> docker-login.sh ends [Pipeline] } 21:06:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:07 ========================================================= 21:06:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:06:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:07 + 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 . 21:06:07 Sending build context to Docker daemon 27.8MB 21:06:07 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:06:07 Step 2/13 : FROM ${BASE} AS builder 21:06:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:06:07 213ec9aee27d: Pulling fs layer 21:06:07 4583459ba037: Pulling fs layer 21:06:07 93c1e223e6f2: Pulling fs layer 21:06:07 53926ce57604: Pulling fs layer 21:06:07 21b2b0c7a3f4: Pulling fs layer 21:06:07 22ff95d597cd: Pulling fs layer 21:06:07 12d6caf4c0d1: Pulling fs layer 21:06:07 96b7cbca73a9: Pulling fs layer 21:06:07 a7acece74701: Pulling fs layer 21:06:07 22ff95d597cd: Waiting 21:06:07 12d6caf4c0d1: Waiting 21:06:07 96b7cbca73a9: Waiting 21:06:07 a7acece74701: Waiting 21:06:07 53926ce57604: Waiting 21:06:07 21b2b0c7a3f4: Waiting 21:06:07 93c1e223e6f2: Verifying Checksum 21:06:07 93c1e223e6f2: Download complete 21:06:07 4583459ba037: Download complete 21:06:07 21b2b0c7a3f4: Download complete 21:06:07 22ff95d597cd: Verifying Checksum 21:06:07 22ff95d597cd: Download complete 21:06:07 213ec9aee27d: Verifying Checksum 21:06:07 213ec9aee27d: Download complete 21:06:07 12d6caf4c0d1: Verifying Checksum 21:06:07 12d6caf4c0d1: Download complete 21:06:08 213ec9aee27d: Pull complete 21:06:08 4583459ba037: Pull complete 21:06:08 a7acece74701: Verifying Checksum 21:06:08 a7acece74701: Download complete 21:06:08 93c1e223e6f2: Pull complete 21:06:08 96b7cbca73a9: Verifying Checksum 21:06:08 96b7cbca73a9: Download complete 21:06:08 53926ce57604: Verifying Checksum 21:06:08 53926ce57604: Download complete 21:06:12 53926ce57604: Pull complete 21:06:12 21b2b0c7a3f4: Pull complete 21:06:12 22ff95d597cd: Pull complete 21:06:12 12d6caf4c0d1: Pull complete 21:06:14 96b7cbca73a9: Pull complete 21:06:15 a7acece74701: Pull complete 21:06:15 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:06:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:06:15 ---> db6d94c90886 21:06:15 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:06:20 ---> Running in bac0fddf90fa 21:06:20 Removing intermediate container bac0fddf90fa 21:06:20 ---> b18e7661e24a 21:06:20 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:20 ---> Running in 0e219e024a97 21:06:20 Removing intermediate container 0e219e024a97 21:06:20 ---> 7105a0b1c9c0 21:06:20 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:06:20 ---> Running in 9cef18e0a452 21:06:20 Removing intermediate container 9cef18e0a452 21:06:20 ---> 712b4fcef4af 21:06:20 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:06:20 ---> Running in 652f178a5f4a 21:06:20 Removing intermediate container 652f178a5f4a 21:06:20 ---> c81164ba96f7 21:06:20 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:06:20 ---> Running in 515e0a754d28 21:06:20 Removing intermediate container 515e0a754d28 21:06:20 ---> af5a8227ab89 21:06:20 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:20 ---> Running in a46d898eb5e6 21:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:06:20 OK: 211 MiB in 51 packages 21:06:20 Removing intermediate container a46d898eb5e6 21:06:20 ---> 0744810c3e9b 21:06:20 Step 9/13 : WORKDIR /device-onvif-camera 21:06:20 Still waiting to schedule task 21:06:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:06:21 ---> Running in ed3da7be3069 21:06:21 Removing intermediate container ed3da7be3069 21:06:21 ---> 6aee33aca76f 21:06:21 Step 10/13 : COPY go.mod vendor* ./ 21:06:21 ---> 6cfe08ea62ce 21:06:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:21 ---> Running in 06ac81a8926b 21:06:53 Removing intermediate container 06ac81a8926b 21:06:53 ---> 31620cc93975 21:06:53 Step 12/13 : COPY . . 21:06:53 ---> 3df23fe89528 21:06:53 Step 13/13 : RUN ${MAKE} 21:06:53 ---> Running in 650fa5148f7e 21:06:53 noop 21:06:53 Removing intermediate container 650fa5148f7e 21:06:53 ---> 76d1c3e973cd 21:06:53 Successfully built 76d1c3e973cd 21:06:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:53 + docker inspect -f . ci-base-image-x86_64 21:06:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:54 prd-ubuntu20.04-docker-8c-8g-8183 does not seem to be running inside a container 21:06:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:06:54 $ docker top 367236b5ac0d2c6673370b710d0dcc8918e15bf5bc1fd2e17f4d5e5961ba2f63 -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:54 + go version 21:06:54 go version go1.18.7 linux/amd64 [Pipeline] } 21:06:54 $ docker stop --time=1 367236b5ac0d2c6673370b710d0dcc8918e15bf5bc1fd2e17f4d5e5961ba2f63 21:06:56 $ docker rm -f --volumes 367236b5ac0d2c6673370b710d0dcc8918e15bf5bc1fd2e17f4d5e5961ba2f63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:56 + docker inspect -f . ci-base-image-x86_64 21:06:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:56 prd-ubuntu20.04-docker-8c-8g-8183 does not seem to be running inside a container 21:06:56 $ 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 21:06:56 $ docker top 269b688c6ca393fbf5b96e1984ffe5753f3053a737ead7c8d58b427f08919198 -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:57 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 21:06:57 + make test 21:06:57 go test ./... -coverprofile=coverage.out ./... 21:06:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:07:10 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:07:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 29.3% of statements 21:07:11 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:07:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.410s coverage: 86.5% of statements 21:07:20 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." 21:07:20 go vet ./... 21:07:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:07:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:07:24 ./bin/test-attribution-txt.sh [Pipeline] echo 21:07:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:07:24 $ docker stop --time=1 269b688c6ca393fbf5b96e1984ffe5753f3053a737ead7c8d58b427f08919198 21:07:26 $ docker rm -f --volumes 269b688c6ca393fbf5b96e1984ffe5753f3053a737ead7c8d58b427f08919198 [Pipeline] // withDockerContainer [Pipeline] sh 21:07:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:07:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:07:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:07:27 + ls -al . 21:07:27 total 236 21:07:27 drwxrwxr-x 10 jenkins jenkins 4096 Mar 3 21:06 . 21:07:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 21:05 .. 21:07:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 21:07 .git 21:07:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 21:05 .github 21:07:27 -rw-rw-r-- 1 jenkins jenkins 496 Mar 3 21:05 .gitignore 21:07:27 -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 21:05 .golangci.yml 21:07:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 21:06 .semver 21:07:27 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 3 21:05 Attribution.txt 21:07:27 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 3 21:05 CHANGELOG.md 21:07:27 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 3 21:05 Dockerfile 21:07:27 -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 21:05 GOVERNANCE.md 21:07:27 -rw-rw-r-- 1 jenkins jenkins 734 Mar 3 21:05 Jenkinsfile 21:07:27 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 3 21:05 LICENSE 21:07:27 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 3 21:05 Makefile 21:07:27 -rw-rw-r-- 1 jenkins jenkins 625 Mar 3 21:05 OWNERS.md 21:07:27 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 3 21:05 README.md 21:07:27 -rw-rw-r-- 1 jenkins jenkins 12 Mar 3 21:06 VERSION 21:07:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 21:05 bin 21:07:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 21:05 cmd 21:07:27 -rw-r--r-- 1 jenkins jenkins 79184 Mar 3 21:07 coverage.out 21:07:27 drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 21:05 doc 21:07:27 -rw-rw-r-- 1 jenkins jenkins 3600 Mar 3 21:05 go.mod 21:07:27 -rw-rw-r-- 1 jenkins jenkins 34701 Mar 3 21:05 go.sum 21:07:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 21:05 internal 21:07:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 21:05 snap 21:07:27 -rw-rw-r-- 1 jenkins jenkins 236 Mar 3 21:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:28 + 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=d65f0f9877c5d27f36bd97c93e7d86cd57609692 --label arch=amd64 --label version=3.0.0-dev.16 . 21:07:28 Sending build context to Docker daemon 27.88MB 21:07:28 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:07:28 Step 2/26 : FROM ${BASE} AS builder 21:07:28 ---> 76d1c3e973cd 21:07:28 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:07:28 ---> Running in 685334f87c91 21:07:28 Removing intermediate container 685334f87c91 21:07:28 ---> efdec13e773a 21:07:28 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:28 ---> Running in c4c6c46702d0 21:07:28 Removing intermediate container c4c6c46702d0 21:07:28 ---> 933e60ab5f32 21:07:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:07:28 ---> Running in 951c556c9a1a 21:07:28 Removing intermediate container 951c556c9a1a 21:07:28 ---> db983a322360 21:07:28 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:07:28 ---> Running in 07914c1199b8 21:07:28 Removing intermediate container 07914c1199b8 21:07:28 ---> be5fdbdf64e9 21:07:28 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:07:28 ---> Running in 045c5a82d399 21:07:28 Removing intermediate container 045c5a82d399 21:07:28 ---> 2c662556b326 21:07:28 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:28 ---> Running in b2259a704c3a 21:07:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:07:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:07:32 OK: 211 MiB in 51 packages 21:07:32 Removing intermediate container b2259a704c3a 21:07:32 ---> 539ff07ccd1e 21:07:32 Step 9/26 : WORKDIR /device-onvif-camera 21:07:32 ---> Running in 68a5793bf8ae 21:07:32 Removing intermediate container 68a5793bf8ae 21:07:32 ---> 6277a149701a 21:07:32 Step 10/26 : COPY go.mod vendor* ./ 21:07:32 ---> 6490e6e3db5f 21:07:32 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:32 ---> Running in 4a56c594f8d4 21:07:33 Removing intermediate container 4a56c594f8d4 21:07:33 ---> cea44064681e 21:07:33 Step 12/26 : COPY . . 21:07:34 ---> fd7c926cfbad 21:07:34 Step 13/26 : RUN ${MAKE} 21:07:34 ---> Running in 5af78e259e49 21:07:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 21:07:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8184 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 21:07:53 Running in /w/workspace/device-onvif-camera/106 [Pipeline] { [Pipeline] checkout 21:07:53 The recommended git tool is: git 21:07:56 Removing intermediate container 5af78e259e49 21:07:56 ---> f4d499fdba1d 21:07:56 Step 14/26 : FROM alpine:3.16 21:07:56 3.16: Pulling from library/alpine 21:07:56 ef5531b6e74e: Pulling fs layer 21:07:56 ef5531b6e74e: Verifying Checksum 21:07:56 ef5531b6e74e: Download complete 21:07:56 ef5531b6e74e: Pull complete 21:07:56 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 21:07:56 Status: Downloaded newer image for alpine:3.16 21:07:56 ---> dfd21b5a31f5 21:07:56 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:07:56 ---> Running in f66a9cb0bf25 21:07:56 Removing intermediate container f66a9cb0bf25 21:07:56 ---> cd4c05bcfd5b 21:07:56 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:07:56 ---> Running in 49f861ef4f37 21:07:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:07:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:07:56 (1/1) Installing dumb-init (1.2.5-r1) 21:07:56 Executing busybox-1.35.0-r17.trigger 21:07:56 OK: 6 MiB in 15 packages 21:07:56 Removing intermediate container 49f861ef4f37 21:07:56 ---> 813cbd3f5928 21:07:56 Step 17/26 : WORKDIR / 21:07:56 ---> Running in 165edb3504d0 21:07:56 Removing intermediate container 165edb3504d0 21:07:56 ---> 240446066da9 21:07:56 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:07:57 ---> 952e44a1f2e1 21:07:57 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:07:57 ---> 10beeb659f7a 21:07:57 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:07:57 ---> 653c604b6bf4 21:07:57 Step 21/26 : EXPOSE 59984 21:07:57 ---> Running in 4b077aa22877 21:07:57 Removing intermediate container 4b077aa22877 21:07:57 ---> 27482b9cab90 21:07:57 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:07:57 ---> Running in dd2cb562bfc6 21:07:58 Removing intermediate container dd2cb562bfc6 21:07:58 ---> 24e53043b0c4 21:07:58 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:07:58 ---> Running in ebc1d33616a6 21:07:58 Removing intermediate container ebc1d33616a6 21:07:58 ---> 7fa8097a4db9 21:07:58 Step 24/26 : LABEL arch=amd64 21:07:58 ---> Running in acfd86cebc7b 21:07:58 Removing intermediate container acfd86cebc7b 21:07:58 ---> cb4611d153d9 21:07:58 Step 25/26 : LABEL git_sha=d65f0f9877c5d27f36bd97c93e7d86cd57609692 21:07:58 using credential edgex-jenkins-ssh 21:07:58 Cloning the remote Git repository 21:07:58 ---> Running in b211fd3894e4 21:07:58 Removing intermediate container b211fd3894e4 21:07:58 ---> ab2e4a3661d3 21:07:58 Step 26/26 : LABEL version=3.0.0-dev.16 21:07:58 ---> Running in b2faef6412a1 21:07:58 Removing intermediate container b2faef6412a1 21:07:58 ---> 6ba780296a27 21:07:58 [Warning] One or more build-args [ARCH] were not consumed 21:07:58 Successfully built 6ba780296a27 21:07:58 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 21:07:58 provisioning config files... 21:07:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2548275150351359288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:58 ---> docker-login.sh 21:07:58 nexus3.edgexfoundry.org:10001 21:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:58 Configure a credential helper to remove this warning. See 21:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:58 21:07:58 Login Succeeded 21:07:58 nexus3.edgexfoundry.org:10002 21:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:58 Configure a credential helper to remove this warning. See 21:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:58 21:07:58 Login Succeeded 21:07:58 nexus3.edgexfoundry.org:10003 21:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:59 Configure a credential helper to remove this warning. See 21:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:59 21:07:59 Login Succeeded 21:07:59 nexus3.edgexfoundry.org:10004 21:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:59 Configure a credential helper to remove this warning. See 21:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:59 21:07:59 Login Succeeded 21:07:59 docker.io 21:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:59 Configure a credential helper to remove this warning. See 21:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:59 21:07:59 Login Succeeded 21:07:59 ---> docker-login.sh ends [Pipeline] } 21:07:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:07:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:59 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 21:07:59 d65f0f9877c5d27f36bd97c93e7d86cd57609692 21:07:59 latest 21:07:59 3.0.0-dev.16 21:07:59 d65f0f9877c5d27f36bd97c93e7d86cd57609692-3.0.0-dev.16 21:07:59 main 21:07:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 21:07:58 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 21:07:58 > git init /w/workspace/device-onvif-camera/106 # timeout=10 21:07:58 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:07:58 > git --version # timeout=10 21:07:58 > git --version # 'git version 2.25.1' 21:07:58 using GIT_SSH to set credentials SSH Credentials for GitHub 21:07:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh 21:07:59 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:d65f0f9877c5d27f36bd97c93e7d86cd57609692 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:d65f0f9877c5d27f36bd97c93e7d86cd57609692 21:08:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:08:00 19b470c8cc63: Preparing 21:08:00 e01d3966e9ed: Preparing 21:08:00 abaff2cb8724: Preparing 21:08:00 ca26290a852c: Preparing 21:08:00 aa5968d388b8: Preparing 21:08:00 aa5968d388b8: Layer already exists 21:08:00 Avoid second fetch 21:08:00 Checking out Revision d65f0f9877c5d27f36bd97c93e7d86cd57609692 (main) 21:07:59 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:07:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:00 > git config core.sparsecheckout # timeout=10 21:08:00 > git checkout -f d65f0f9877c5d27f36bd97c93e7d86cd57609692 # timeout=10 21:08:01 e01d3966e9ed: Pushed 21:08:01 19b470c8cc63: Pushed 21:08:01 ca26290a852c: Pushed 21:08:01 Commit message: "docs: change location of nats documentation (#237)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:08:02 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:02 Dload Upload Total Spent Left Speed 21:08:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 21:08:03 abaff2cb8724: Pushed 21:08:03 d65f0f9877c5d27f36bd97c93e7d86cd57609692: digest: sha256:8272eddb5abe56e104a8a4ffa049e0e9613b75f6e0989bbfd10dbf100b2041ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:08:03 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:03 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 21:08:03 /etc/docker/daemon.json 21:08:03 { 21:08:03 "registry-mirrors": [ 21:08:03 "https://nexus3.edgexfoundry.org:10001" 21:08:03 ], 21:08:03 "bip": "10.250.0.254/24", 21:08:03 "hosts": [ 21:08:03 "tcp://0.0.0.0:5555", 21:08:03 "unix:///var/run/docker.sock" 21:08:03 ], 21:08:03 "mtu": 1458, 21:08:03 "selinux-enabled": true, 21:08:03 "seccomp-profile": "/etc/docker/seccomp.json" 21:08:03 } [Pipeline] sh 21:08:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 21:08:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:08:03 19b470c8cc63: Preparing 21:08:03 e01d3966e9ed: Preparing 21:08:03 abaff2cb8724: Preparing 21:08:03 ca26290a852c: Preparing 21:08:03 aa5968d388b8: Preparing 21:08:03 abaff2cb8724: Layer already exists 21:08:03 aa5968d388b8: Layer already exists 21:08:03 19b470c8cc63: Layer already exists 21:08:03 ca26290a852c: Layer already exists 21:08:03 e01d3966e9ed: Layer already exists 21:08:03 latest: digest: sha256:8272eddb5abe56e104a8a4ffa049e0e9613b75f6e0989bbfd10dbf100b2041ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:08:03 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:04 + sudo service docker restart 21:08:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.16 21:08:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:08:04 19b470c8cc63: Preparing 21:08:04 e01d3966e9ed: Preparing 21:08:04 abaff2cb8724: Preparing 21:08:04 ca26290a852c: Preparing 21:08:04 aa5968d388b8: Preparing 21:08:04 e01d3966e9ed: Layer already exists 21:08:04 abaff2cb8724: Layer already exists 21:08:04 ca26290a852c: Layer already exists 21:08:04 aa5968d388b8: Layer already exists 21:08:04 19b470c8cc63: Layer already exists 21:08:04 3.0.0-dev.16: digest: sha256:8272eddb5abe56e104a8a4ffa049e0e9613b75f6e0989bbfd10dbf100b2041ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:04 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:d65f0f9877c5d27f36bd97c93e7d86cd57609692-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:d65f0f9877c5d27f36bd97c93e7d86cd57609692-3.0.0-dev.16 21:08:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:08:04 19b470c8cc63: Preparing 21:08:04 e01d3966e9ed: Preparing 21:08:04 abaff2cb8724: Preparing 21:08:04 ca26290a852c: Preparing 21:08:04 aa5968d388b8: Preparing 21:08:04 19b470c8cc63: Layer already exists 21:08:04 aa5968d388b8: Layer already exists 21:08:04 e01d3966e9ed: Layer already exists 21:08:04 ca26290a852c: Layer already exists 21:08:04 abaff2cb8724: Layer already exists 21:08:04 d65f0f9877c5d27f36bd97c93e7d86cd57609692-3.0.0-dev.16: digest: sha256:8272eddb5abe56e104a8a4ffa049e0e9613b75f6e0989bbfd10dbf100b2041ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:05 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 21:08:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:08:05 19b470c8cc63: Preparing 21:08:05 e01d3966e9ed: Preparing 21:08:05 abaff2cb8724: Preparing 21:08:05 ca26290a852c: Preparing 21:08:05 aa5968d388b8: Preparing 21:08:05 19b470c8cc63: Layer already exists 21:08:05 abaff2cb8724: Layer already exists 21:08:05 e01d3966e9ed: Layer already exists 21:08:05 aa5968d388b8: Layer already exists 21:08:05 ca26290a852c: Layer already exists 21:08:05 main: digest: sha256:8272eddb5abe56e104a8a4ffa049e0e9613b75f6e0989bbfd10dbf100b2041ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:08:05 ===================================================== [Pipeline] echo 21:08:05 taggedImages: 21:08:05 - nexus3.edgexfoundry.org:10004/device-onvif-camera:d65f0f9877c5d27f36bd97c93e7d86cd57609692 21:08:05 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 21:08:05 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.16 21:08:05 - nexus3.edgexfoundry.org:10004/device-onvif-camera:d65f0f9877c5d27f36bd97c93e7d86cd57609692-3.0.0-dev.16 21:08:05 - 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 21:08:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:05 21:08:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:06 latest: Pulling from edgex-lftools-log-publisher 21:08:06 5eb5b503b376: Pulling fs layer 21:08:06 5c69ac0246d0: Pulling fs layer 21:08:06 ec43610c2a17: Pulling fs layer 21:08:06 3a2ae6a8a46f: Pulling fs layer 21:08:06 33b1e0a273af: Pulling fs layer 21:08:06 5d3b04190fa2: Pulling fs layer 21:08:06 2f39f015ded8: Pulling fs layer 21:08:06 3a2ae6a8a46f: Waiting 21:08:06 33b1e0a273af: Waiting 21:08:06 5d3b04190fa2: Waiting 21:08:06 2f39f015ded8: Waiting 21:08:06 5c69ac0246d0: Verifying Checksum 21:08:06 5c69ac0246d0: Download complete 21:08:06 3a2ae6a8a46f: Verifying Checksum 21:08:06 3a2ae6a8a46f: Download complete 21:08:06 33b1e0a273af: Verifying Checksum 21:08:06 33b1e0a273af: Download complete 21:08:06 5d3b04190fa2: Verifying Checksum 21:08:06 5d3b04190fa2: Download complete 21:08:06 ec43610c2a17: Verifying Checksum 21:08:06 ec43610c2a17: Download complete 21:08:06 5eb5b503b376: Verifying Checksum 21:08:06 5eb5b503b376: Download complete 21:08:07 2f39f015ded8: Download complete 21:08:08 5eb5b503b376: Pull complete 21:08:08 5c69ac0246d0: Pull complete 21:08:08 ec43610c2a17: Pull complete 21:08:08 3a2ae6a8a46f: Pull complete 21:08:08 33b1e0a273af: Pull complete 21:08:08 5d3b04190fa2: Pull complete 21:08:14 2f39f015ded8: Pull complete 21:08:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:08:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:14 prd-ubuntu20.04-docker-8c-8g-8183 does not seem to be running inside a container 21:08:14 $ 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 21:08:16 $ docker top 4af0e5d99a8588db9621e028fd743c8d153fd28fa8bdb65af9c8a3155a99a9b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:17 ---> job-cost.sh 21:08:17 lf-activate-venv: SKIPPING 21:08:17 INFO: No Stack... 21:08:17 INFO: Retrieving Pricing Info for: v3-standard-8 21:08:17 INFO: Archiving Costs [Pipeline] sh 21:08:18 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 21:08:18 + cut -d, -f6 [Pipeline] lock 21:08:18 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-106-stack-cost] 21:08:18 Resource [jenkins-edgexfoundry-device-onvif-camera-main-106-stack-cost] did not exist. Created. 21:08:18 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:08:18 + echo total: 0.2199999988079071 [Pipeline] stash 21:08:18 Stashed 1 file(s) [Pipeline] } 21:08:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-106-stack-cost] [Pipeline] // lock [Pipeline] } 21:08:18 $ docker stop --time=1 4af0e5d99a8588db9621e028fd743c8d153fd28fa8bdb65af9c8a3155a99a9b4 21:08:19 $ docker rm -f --volumes 4af0e5d99a8588db9621e028fd743c8d153fd28fa8bdb65af9c8a3155a99a9b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:22 provisioning config files... 21:08:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/106@tmp/config14144359098111839279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:22 ---> docker-login.sh 21:08:22 nexus3.edgexfoundry.org:10001 21:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:23 Configure a credential helper to remove this warning. See 21:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:23 21:08:23 Login Succeeded 21:08:23 nexus3.edgexfoundry.org:10002 21:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:23 Configure a credential helper to remove this warning. See 21:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:23 21:08:23 Login Succeeded 21:08:23 nexus3.edgexfoundry.org:10003 21:08:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:24 Configure a credential helper to remove this warning. See 21:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:24 21:08:24 Login Succeeded 21:08:24 nexus3.edgexfoundry.org:10004 21:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:24 Configure a credential helper to remove this warning. See 21:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:24 21:08:24 Login Succeeded 21:08:24 docker.io 21:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:24 Configure a credential helper to remove this warning. See 21:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:24 21:08:24 Login Succeeded 21:08:24 ---> docker-login.sh ends [Pipeline] } 21:08:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:08:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:25 ========================================================= 21:08:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:08:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:25 + 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 . 21:08:26 Sending build context to Docker daemon 20.6MB 21:08:26 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:08:26 Step 2/13 : FROM ${BASE} AS builder 21:08:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:08:26 9b18e9b68314: Pulling fs layer 21:08:26 35d82f9e3411: Pulling fs layer 21:08:26 e16973657156: Pulling fs layer 21:08:26 fc693d55d65f: Pulling fs layer 21:08:26 7e9fc2657dce: Pulling fs layer 21:08:26 dda99020689f: Pulling fs layer 21:08:26 db1c61fa0a46: Pulling fs layer 21:08:26 891c053d2c06: Pulling fs layer 21:08:26 fc693d55d65f: Waiting 21:08:26 7e9fc2657dce: Waiting 21:08:26 db1c61fa0a46: Waiting 21:08:26 891c053d2c06: Waiting 21:08:26 e16973657156: Verifying Checksum 21:08:26 e16973657156: Download complete 21:08:26 35d82f9e3411: Verifying Checksum 21:08:26 35d82f9e3411: Download complete 21:08:26 7e9fc2657dce: Verifying Checksum 21:08:26 7e9fc2657dce: Download complete 21:08:26 dda99020689f: Verifying Checksum 21:08:26 dda99020689f: Download complete 21:08:26 9b18e9b68314: Download complete 21:08:27 9b18e9b68314: Pull complete 21:08:27 891c053d2c06: Verifying Checksum 21:08:27 35d82f9e3411: Pull complete 21:08:27 e16973657156: Pull complete 21:08:28 db1c61fa0a46: Verifying Checksum 21:08:28 db1c61fa0a46: Download complete 21:08:29 fc693d55d65f: Verifying Checksum 21:08:29 fc693d55d65f: Download complete 21:08:41 fc693d55d65f: Pull complete 21:08:41 7e9fc2657dce: Pull complete 21:08:41 dda99020689f: Pull complete 21:08:46 db1c61fa0a46: Pull complete 21:08:48 891c053d2c06: Pull complete 21:08:48 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:08:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:08:48 ---> f96f9c87975a 21:08:48 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:08:50 ---> Running in 211006b6fad7 21:08:50 Removing intermediate container 211006b6fad7 21:08:50 ---> c557cf26190d 21:08:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:50 ---> Running in e0f1c9fa2b70 21:08:50 Removing intermediate container e0f1c9fa2b70 21:08:50 ---> e0ee2efe2459 21:08:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:08:50 ---> Running in 8927747dc211 21:08:50 Removing intermediate container 8927747dc211 21:08:50 ---> 1176cbaa8800 21:08:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:08:50 ---> Running in 1c99f3941141 21:08:51 Removing intermediate container 1c99f3941141 21:08:51 ---> 6b738120cba6 21:08:51 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:08:51 ---> Running in 6953d14a2a15 21:08:51 Removing intermediate container 6953d14a2a15 21:08:51 ---> aff2bdfea56f 21:08:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:51 ---> Running in 76e5a2f62b23 21:08:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:08:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:08:53 OK: 221 MiB in 51 packages 21:08:55 Removing intermediate container 76e5a2f62b23 21:08:55 ---> 9e22caf9197f 21:08:55 Step 9/13 : WORKDIR /device-onvif-camera 21:08:55 ---> Running in 3919636063c3 21:08:55 Removing intermediate container 3919636063c3 21:08:55 ---> c27d6c0c4dc2 21:08:55 Step 10/13 : COPY go.mod vendor* ./ 21:08:56 ---> 242106faf4fd 21:08:56 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:56 ---> Running in 16e6b6954b55 21:10:04 Removing intermediate container 16e6b6954b55 21:10:04 ---> c81c757ba16a 21:10:04 Step 12/13 : COPY . . 21:10:04 ---> 7cd8ec57fabd 21:10:04 Step 13/13 : RUN ${MAKE} 21:10:04 ---> Running in 738ec8f7154f 21:10:04 noop 21:10:04 Removing intermediate container 738ec8f7154f 21:10:04 ---> 506a1afebaab 21:10:04 Successfully built 506a1afebaab 21:10:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:04 + docker inspect -f . ci-base-image-arm64 21:10:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:04 prd-ubuntu20.04-docker-arm64-4c-16g-8184 does not seem to be running inside a container 21:10:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/106 -v /w/workspace/device-onvif-camera/106:/w/workspace/device-onvif-camera/106:rw,z -v /w/workspace/device-onvif-camera/106@tmp:/w/workspace/device-onvif-camera/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:10:06 $ docker top 82aaea203b9a6cc1395c638db6ba31b60117b7f8f56902e7665d4dc158849d64 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:06 + go version 21:10:06 go version go1.18.7 linux/arm64 [Pipeline] } 21:10:06 $ docker stop --time=1 82aaea203b9a6cc1395c638db6ba31b60117b7f8f56902e7665d4dc158849d64 21:10:08 $ docker rm -f --volumes 82aaea203b9a6cc1395c638db6ba31b60117b7f8f56902e7665d4dc158849d64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:09 + docker inspect -f . ci-base-image-arm64 21:10:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:09 prd-ubuntu20.04-docker-arm64-4c-16g-8184 does not seem to be running inside a container 21:10:09 $ 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/106 -v /w/workspace/device-onvif-camera/106:/w/workspace/device-onvif-camera/106:rw,z -v /w/workspace/device-onvif-camera/106@tmp:/w/workspace/device-onvif-camera/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:10:10 $ docker top fca9916e5b0c87091a1f1f8cfa7513d42c331f1f6aa7fedc6f84f7ccd62b7478 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:10 + git config --global --add safe.directory /w/workspace/device-onvif-camera/106 [Pipeline] fileExists [Pipeline] sh 21:10:11 + make test 21:10:11 go test ./... -coverprofile=coverage.out ./... 21:10:13 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:11:50 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:11:50 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.181s coverage: 29.3% of statements 21:11:50 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:12:03 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.844s coverage: 86.5% of statements 21:12:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:12:03 go vet ./... 21:12:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:12:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:12:35 ./bin/test-attribution-txt.sh [Pipeline] echo 21:12:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:12:35 $ docker stop --time=1 fca9916e5b0c87091a1f1f8cfa7513d42c331f1f6aa7fedc6f84f7ccd62b7478 21:12:37 $ docker rm -f --volumes fca9916e5b0c87091a1f1f8cfa7513d42c331f1f6aa7fedc6f84f7ccd62b7478 [Pipeline] // withDockerContainer [Pipeline] sh 21:12:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:12:38 Warning: overwriting stash ‘coverage-report’ 21:12:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:12:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:12:39 + ls -al . 21:12:39 total 232 21:12:39 drwxrwxr-x 9 jenkins jenkins 4096 Mar 3 21:10 . 21:12:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 21:07 .. 21:12:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 21:08 .git 21:12:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 21:08 .github 21:12:39 -rw-rw-r-- 1 jenkins jenkins 496 Mar 3 21:08 .gitignore 21:12:39 -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 21:08 .golangci.yml 21:12:39 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 3 21:08 Attribution.txt 21:12:39 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 3 21:08 CHANGELOG.md 21:12:39 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 3 21:08 Dockerfile 21:12:39 -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 21:08 GOVERNANCE.md 21:12:39 -rw-rw-r-- 1 jenkins jenkins 734 Mar 3 21:08 Jenkinsfile 21:12:39 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 3 21:08 LICENSE 21:12:39 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 3 21:08 Makefile 21:12:39 -rw-rw-r-- 1 jenkins jenkins 625 Mar 3 21:08 OWNERS.md 21:12:39 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 3 21:08 README.md 21:12:39 -rw-rw-r-- 1 jenkins jenkins 12 Mar 3 21:06 VERSION 21:12:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 21:08 bin 21:12:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 21:08 cmd 21:12:39 -rw-r--r-- 1 jenkins jenkins 79184 Mar 3 21:12 coverage.out 21:12:39 drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 21:08 doc 21:12:39 -rw-rw-r-- 1 jenkins jenkins 3600 Mar 3 21:08 go.mod 21:12:39 -rw-rw-r-- 1 jenkins jenkins 34701 Mar 3 21:08 go.sum 21:12:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 21:08 internal 21:12:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 21:08 snap 21:12:39 -rw-rw-r-- 1 jenkins jenkins 236 Mar 3 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:39 + 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=d65f0f9877c5d27f36bd97c93e7d86cd57609692 --label arch=arm64 --label version=3.0.0-dev.16 . 21:12:40 Sending build context to Docker daemon 20.68MB 21:12:40 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:12:40 Step 2/26 : FROM ${BASE} AS builder 21:12:40 ---> 506a1afebaab 21:12:40 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:12:40 ---> Running in 385b10741560 21:12:41 Removing intermediate container 385b10741560 21:12:41 ---> 4a9041234489 21:12:41 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:12:41 ---> Running in 20e400555faa 21:12:41 Removing intermediate container 20e400555faa 21:12:41 ---> 08d47fab4a05 21:12:41 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:12:41 ---> Running in af50c31a80af 21:12:42 Removing intermediate container af50c31a80af 21:12:42 ---> 615811f1d285 21:12:42 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:12:42 ---> Running in 5dd45f08f144 21:12:42 Removing intermediate container 5dd45f08f144 21:12:42 ---> e27d48f62555 21:12:42 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:12:42 ---> Running in bd0e71b32da3 21:12:42 Removing intermediate container bd0e71b32da3 21:12:42 ---> 1714a56f8b30 21:12:42 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:12:42 ---> Running in b57ac3117f19 21:12:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:12:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:12:45 OK: 221 MiB in 51 packages 21:12:46 Removing intermediate container b57ac3117f19 21:12:46 ---> e96415b592b2 21:12:46 Step 9/26 : WORKDIR /device-onvif-camera 21:12:46 ---> Running in a7112621e97d 21:12:48 Removing intermediate container a7112621e97d 21:12:48 ---> 98442cc57ca9 21:12:48 Step 10/26 : COPY go.mod vendor* ./ 21:12:48 ---> 20f4577bd8a5 21:12:48 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:48 ---> Running in 55e332e24673 21:12:51 Removing intermediate container 55e332e24673 21:12:51 ---> a800983e82e3 21:12:51 Step 12/26 : COPY . . 21:12:54 ---> 7197246f091c 21:12:54 Step 13/26 : RUN ${MAKE} 21:12:54 ---> Running in 97c2e4c9f4b1 21:12:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 21:15:16 Removing intermediate container 97c2e4c9f4b1 21:15:16 ---> a6d22868547c 21:15:16 Step 14/26 : FROM alpine:3.16 21:15:16 3.16: Pulling from library/alpine 21:15:16 3760b48202b3: Pulling fs layer 21:15:16 3760b48202b3: Verifying Checksum 21:15:16 3760b48202b3: Download complete 21:15:16 3760b48202b3: Pull complete 21:15:16 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 21:15:16 Status: Downloaded newer image for alpine:3.16 21:15:16 ---> 4c81e5bf8899 21:15:16 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:15:16 ---> Running in ea95241105fe 21:15:16 Removing intermediate container ea95241105fe 21:15:16 ---> e80b834980ef 21:15:16 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:15:16 ---> Running in f357e1861f63 21:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:15:16 (1/1) Installing dumb-init (1.2.5-r1) 21:15:16 Executing busybox-1.35.0-r17.trigger 21:15:16 OK: 5 MiB in 15 packages 21:15:16 Removing intermediate container f357e1861f63 21:15:16 ---> e4e1f6d1c8de 21:15:16 Step 17/26 : WORKDIR / 21:15:16 ---> Running in 57ebacd246d8 21:15:16 Removing intermediate container 57ebacd246d8 21:15:16 ---> 8f3c88a369f4 21:15:16 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:15:16 ---> 4c627fae14c1 21:15:16 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:15:17 ---> edc4fbfb7bae 21:15:17 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:15:17 ---> c2dc20aa93df 21:15:17 Step 21/26 : EXPOSE 59984 21:15:17 ---> Running in 9aeef5744760 21:15:18 Removing intermediate container 9aeef5744760 21:15:18 ---> aacfff167e98 21:15:18 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:15:18 ---> Running in 501ecdb07a7a 21:15:18 Removing intermediate container 501ecdb07a7a 21:15:18 ---> 15fc6da97170 21:15:18 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:15:18 ---> Running in 9ef0702424c4 21:15:18 Removing intermediate container 9ef0702424c4 21:15:18 ---> fa5a4b2c4ff0 21:15:18 Step 24/26 : LABEL arch=arm64 21:15:18 ---> Running in 99baea25b12a 21:15:19 Removing intermediate container 99baea25b12a 21:15:19 ---> 5fa7899fec4d 21:15:19 Step 25/26 : LABEL git_sha=d65f0f9877c5d27f36bd97c93e7d86cd57609692 21:15:19 ---> Running in 444e696d931c 21:15:19 Removing intermediate container 444e696d931c 21:15:19 ---> dcd045446058 21:15:19 Step 26/26 : LABEL version=3.0.0-dev.16 21:15:19 ---> Running in c017cb55430e 21:15:19 Removing intermediate container c017cb55430e 21:15:19 ---> d1d6e4411761 21:15:19 [Warning] One or more build-args [ARCH] were not consumed 21:15:19 Successfully built d1d6e4411761 21:15:19 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 21:15:20 provisioning config files... 21:15:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/106@tmp/config15467664976329067574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:20 ---> docker-login.sh 21:15:20 nexus3.edgexfoundry.org:10001 21:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:20 Configure a credential helper to remove this warning. See 21:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:20 21:15:20 Login Succeeded 21:15:20 nexus3.edgexfoundry.org:10002 21:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:21 Configure a credential helper to remove this warning. See 21:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:21 21:15:21 Login Succeeded 21:15:21 nexus3.edgexfoundry.org:10003 21:15:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:21 Configure a credential helper to remove this warning. See 21:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:21 21:15:21 Login Succeeded 21:15:21 nexus3.edgexfoundry.org:10004 21:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:22 Configure a credential helper to remove this warning. See 21:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:22 21:15:22 Login Succeeded 21:15:22 docker.io 21:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:22 Configure a credential helper to remove this warning. See 21:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:22 21:15:22 Login Succeeded 21:15:22 ---> docker-login.sh ends [Pipeline] } 21:15:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:15:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:22 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 21:15:22 d65f0f9877c5d27f36bd97c93e7d86cd57609692 21:15:22 latest 21:15:22 3.0.0-dev.16 21:15:22 d65f0f9877c5d27f36bd97c93e7d86cd57609692-3.0.0-dev.16 21:15:22 main 21:15:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:22 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d65f0f9877c5d27f36bd97c93e7d86cd57609692 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d65f0f9877c5d27f36bd97c93e7d86cd57609692 21:15:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:15:23 17b82f663ebf: Preparing 21:15:23 2a91987f2286: Preparing 21:15:23 8be963138eb8: Preparing 21:15:23 5c5676884f64: Preparing 21:15:23 f70ee36035b9: Preparing 21:15:23 f70ee36035b9: Layer already exists 21:15:23 5c5676884f64: Pushed 21:15:23 2a91987f2286: Pushed 21:15:23 17b82f663ebf: Pushed 21:15:28 8be963138eb8: Pushed 21:15:29 d65f0f9877c5d27f36bd97c93e7d86cd57609692: digest: sha256:30bdec16787dc125708fffa84d3bb8b8f7446ed209075c8811d726b3d04574e6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:29 + 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 21:15:29 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 21:15:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:15:29 17b82f663ebf: Preparing 21:15:29 2a91987f2286: Preparing 21:15:29 8be963138eb8: Preparing 21:15:29 5c5676884f64: Preparing 21:15:29 f70ee36035b9: Preparing 21:15:29 2a91987f2286: Layer already exists 21:15:29 8be963138eb8: Layer already exists 21:15:29 5c5676884f64: Layer already exists 21:15:29 f70ee36035b9: Layer already exists 21:15:29 17b82f663ebf: Layer already exists 21:15:30 latest: digest: sha256:30bdec16787dc125708fffa84d3bb8b8f7446ed209075c8811d726b3d04574e6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:30 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.16 21:15:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:15:30 17b82f663ebf: Preparing 21:15:30 2a91987f2286: Preparing 21:15:30 8be963138eb8: Preparing 21:15:30 5c5676884f64: Preparing 21:15:30 f70ee36035b9: Preparing 21:15:30 17b82f663ebf: Layer already exists 21:15:30 5c5676884f64: Layer already exists 21:15:30 f70ee36035b9: Layer already exists 21:15:30 8be963138eb8: Layer already exists 21:15:30 2a91987f2286: Layer already exists 21:15:30 3.0.0-dev.16: digest: sha256:30bdec16787dc125708fffa84d3bb8b8f7446ed209075c8811d726b3d04574e6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:31 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d65f0f9877c5d27f36bd97c93e7d86cd57609692-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:31 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d65f0f9877c5d27f36bd97c93e7d86cd57609692-3.0.0-dev.16 21:15:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:15:31 17b82f663ebf: Preparing 21:15:31 2a91987f2286: Preparing 21:15:31 8be963138eb8: Preparing 21:15:31 5c5676884f64: Preparing 21:15:31 f70ee36035b9: Preparing 21:15:31 f70ee36035b9: Layer already exists 21:15:31 17b82f663ebf: Layer already exists 21:15:31 2a91987f2286: Layer already exists 21:15:31 5c5676884f64: Layer already exists 21:15:31 8be963138eb8: Layer already exists 21:15:31 d65f0f9877c5d27f36bd97c93e7d86cd57609692-3.0.0-dev.16: digest: sha256:30bdec16787dc125708fffa84d3bb8b8f7446ed209075c8811d726b3d04574e6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:32 + 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 21:15:32 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 21:15:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:15:32 17b82f663ebf: Preparing 21:15:32 2a91987f2286: Preparing 21:15:32 8be963138eb8: Preparing 21:15:32 5c5676884f64: Preparing 21:15:32 f70ee36035b9: Preparing 21:15:32 17b82f663ebf: Layer already exists 21:15:32 f70ee36035b9: Layer already exists 21:15:32 2a91987f2286: Layer already exists 21:15:32 8be963138eb8: Layer already exists 21:15:32 5c5676884f64: Layer already exists 21:15:32 main: digest: sha256:30bdec16787dc125708fffa84d3bb8b8f7446ed209075c8811d726b3d04574e6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:15:32 ===================================================== [Pipeline] echo 21:15:32 taggedImages: 21:15:32 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d65f0f9877c5d27f36bd97c93e7d86cd57609692 21:15:32 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 21:15:32 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.16 21:15:32 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d65f0f9877c5d27f36bd97c93e7d86cd57609692-3.0.0-dev.16 21:15:32 - 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 21:15:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:33 21:15:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:33 arm64: Pulling from edgex-lftools-log-publisher 21:15:33 8998bd30e6a1: Pulling fs layer 21:15:33 04944245beec: Pulling fs layer 21:15:33 699f458cf7ca: Pulling fs layer 21:15:33 765212b225bb: Pulling fs layer 21:15:33 f23df028b6ca: Pulling fs layer 21:15:33 d65c8cfc05b1: Pulling fs layer 21:15:33 2437ff75d9bd: Pulling fs layer 21:15:33 765212b225bb: Waiting 21:15:33 f23df028b6ca: Waiting 21:15:33 d65c8cfc05b1: Waiting 21:15:33 2437ff75d9bd: Waiting 21:15:33 04944245beec: Verifying Checksum 21:15:33 04944245beec: Download complete 21:15:33 765212b225bb: Verifying Checksum 21:15:33 765212b225bb: Download complete 21:15:33 f23df028b6ca: Verifying Checksum 21:15:33 f23df028b6ca: Download complete 21:15:33 d65c8cfc05b1: Verifying Checksum 21:15:33 d65c8cfc05b1: Download complete 21:15:33 699f458cf7ca: Verifying Checksum 21:15:33 699f458cf7ca: Download complete 21:15:34 8998bd30e6a1: Verifying Checksum 21:15:34 8998bd30e6a1: Download complete 21:15:36 2437ff75d9bd: Verifying Checksum 21:15:36 2437ff75d9bd: Download complete 21:15:38 8998bd30e6a1: Pull complete 21:15:38 04944245beec: Pull complete 21:15:39 699f458cf7ca: Pull complete 21:15:40 765212b225bb: Pull complete 21:15:40 f23df028b6ca: Pull complete 21:15:41 d65c8cfc05b1: Pull complete 21:15:56 2437ff75d9bd: Pull complete 21:15:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:15:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:56 prd-ubuntu20.04-docker-arm64-4c-16g-8184 does not seem to be running inside a container 21:15:56 $ 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/106 -v /w/workspace/device-onvif-camera/106:/w/workspace/device-onvif-camera/106:rw,z -v /w/workspace/device-onvif-camera/106@tmp:/w/workspace/device-onvif-camera/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:15:58 $ docker top 3fed140f84a8a080856da7c0515ff838142f2dbf900ae561718e4d98024de2ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:59 ---> job-cost.sh 21:15:59 lf-activate-venv: SKIPPING 21:15:59 INFO: No Stack... 21:15:59 INFO: Retrieving Pricing Info for: v3-standard-4 21:16:00 INFO: Archiving Costs [Pipeline] sh 21:16:01 + cat /w/workspace/device-onvif-camera/106/archives/cost.csv 21:16:01 + cut -d, -f6 [Pipeline] lock 21:16:01 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-106-stack-cost] 21:16:01 Resource [jenkins-edgexfoundry-device-onvif-camera-main-106-stack-cost] did not exist. Created. 21:16:01 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:16:01 /w/workspace/device-onvif-camera/106@tmp/durable-d3d5a7b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:16:02 + echo total: 0.10999999940395355 [Pipeline] stash 21:16:02 Warning: overwriting stash ‘stack-cost’ 21:16:02 Stashed 1 file(s) [Pipeline] } 21:16:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-106-stack-cost] [Pipeline] // lock [Pipeline] } 21:16:02 $ docker stop --time=1 3fed140f84a8a080856da7c0515ff838142f2dbf900ae561718e4d98024de2ea 21:16:03 $ docker rm -f --volumes 3fed140f84a8a080856da7c0515ff838142f2dbf900ae561718e4d98024de2ea [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 21:16:04 provisioning config files... 21:16:04 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11555112115990000016tmp [Pipeline] { [Pipeline] sh 21:16:04 + set +x 21:16:04 + curl -s https://codecov.io/bash 21:16:04 + bash -s -- 21:16:04 21:16:04 _____ _ 21:16:04 / ____| | | 21:16:04 | | ___ __| | ___ ___ _____ __ 21:16:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:16:04 | |___| (_) | (_| | __/ (_| (_) \ V / 21:16:04 \_____\___/ \__,_|\___|\___\___/ \_/ 21:16:04 Bash-1.0.6 21:16:04 21:16:04 21:16:04 ==> git version 2.25.1 found 21:16:04 ==> 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 21:16:04 Release-Date: 2020-01-08 21:16:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:16:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:16:04 ==> Jenkins CI detected. 21:16:04 current dir:  /w/workspace/foundry_device-onvif-camera_main 21:16:04 project root: . 21:16:04 --> token set from env 21:16:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:16:04 ==> Running gcov in . (disable via -X gcov) 21:16:04 ==> Python coveragepy not found 21:16:04 ==> Searching for coverage reports in: 21:16:04 + . 21:16:04 -> Found 1 reports 21:16:04 ==> Detecting git/mercurial file structure 21:16:04 ==> Reading reports 21:16:04 + ./coverage.out bytes=79184 21:16:04 ==> Appending adjustments 21:16:04 https://docs.codecov.io/docs/fixing-reports 21:16:04 + Found adjustments 21:16:04 ==> Gzipping contents 21:16:04 12K /tmp/codecov.os0Ny0.gz 21:16:04 ==> Uploading reports 21:16:04 url: https://codecov.io 21:16:04 query: branch=main&commit=d65f0f9877c5d27f36bd97c93e7d86cd57609692&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:16:04 -> Pinging Codecov 21:16:04 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=d65f0f9877c5d27f36bd97c93e7d86cd57609692&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:16:04 -> Uploading to 21:16:04 https://storage.googleapis.com/codecov/v4/raw/2023-03-03/F29A59C45E3A92E06B3E522C9905F8EF/d65f0f9877c5d27f36bd97c93e7d86cd57609692/3f366833-9411-4a22-afb5-dad7d26b8337.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230303%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230303T211604Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e69c7d9ffd27eea8324e53fe49cf42859886ccaa865c528de3ce90e5992b222 21:16:04 % Total % Received % Xferd Average Speed Time Time Time Current 21:16:04 Dload Upload Total Spent Left Speed 21:16:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10868 0 0 100 10868 0 36106 --:--:-- --:--:-- --:--:-- 36106 21:16:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d65f0f9877c5d27f36bd97c93e7d86cd57609692 [Pipeline] } 21:16:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:16:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:16:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:05 21:16:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:16:06 df9b9388f04a: Pulling fs layer 21:16:06 52dc419b0ee2: Pulling fs layer 21:16:06 25bc292e5bac: Pulling fs layer 21:16:06 114826534d7a: Pulling fs layer 21:16:06 4657fd5d0bcf: Pulling fs layer 21:16:06 6ad1cebc031e: Pulling fs layer 21:16:06 8a3aa393b2d8: Pulling fs layer 21:16:06 114826534d7a: Waiting 21:16:06 4657fd5d0bcf: Waiting 21:16:06 6ad1cebc031e: Waiting 21:16:06 8a3aa393b2d8: Waiting 21:16:06 25bc292e5bac: Verifying Checksum 21:16:06 25bc292e5bac: Download complete 21:16:06 52dc419b0ee2: Verifying Checksum 21:16:06 52dc419b0ee2: Download complete 21:16:06 4657fd5d0bcf: Verifying Checksum 21:16:06 4657fd5d0bcf: Download complete 21:16:06 df9b9388f04a: Verifying Checksum 21:16:06 df9b9388f04a: Download complete 21:16:06 df9b9388f04a: Pull complete 21:16:06 52dc419b0ee2: Pull complete 21:16:06 6ad1cebc031e: Verifying Checksum 21:16:06 6ad1cebc031e: Download complete 21:16:06 25bc292e5bac: Pull complete 21:16:06 114826534d7a: Verifying Checksum 21:16:06 114826534d7a: Download complete 21:16:06 8a3aa393b2d8: Verifying Checksum 21:16:06 8a3aa393b2d8: Download complete 21:16:10 114826534d7a: Pull complete 21:16:10 4657fd5d0bcf: Pull complete 21:16:10 6ad1cebc031e: Pull complete 21:16:12 8a3aa393b2d8: Pull complete 21:16:12 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:16:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:12 prd-ubuntu20.04-docker-8c-8g-8183 does not seem to be running inside a container 21:16:13 $ 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 21:16:16 $ docker top c21a41f3046f3f26ab620c608890c65c4dc86e7ebcb144d58e4aef09b9723810 -eo pid,comm [Pipeline] { [Pipeline] echo 21:16:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 21:16:16 + set -o pipefail 21:16:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 21:16:21 21:16:21 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 21:16:21 21:16:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/6699bc91-638a-49db-8f0f-91035c8c6c49 21:16:21 21:16:21 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 21:16:21 21:16:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:16:21 21:16:21 21:16:21 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:16:21 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:16:21 More details here: https://snyk.co/ue1NS [Pipeline] } 21:16:21 $ docker stop --time=1 c21a41f3046f3f26ab620c608890c65c4dc86e7ebcb144d58e4aef09b9723810 21:16:24 $ docker rm -f --volumes c21a41f3046f3f26ab620c608890c65c4dc86e7ebcb144d58e4aef09b9723810 [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 21:16:24 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:24 provisioning config files... 21:16:24 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7162232340268658853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:25 --> edgex-publish-swagger.sh 21:16:25 === Publish doc/openapi/v2 API === 21:16:25 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 21:16:25 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 21:16:25 % Total % Received % Xferd Average Speed Time Time Time Current 21:16:25 Dload Upload Total Spent Left Speed 21:16:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 2395k --:--:-- --:--:-- --:--:-- 2383k 100 469k 0 0 100 469k 0 641k --:--:-- --:--:-- --:--:-- 640k 21:16:25 21:16:25 [Pipeline] } 21:16:25 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 21:16:26 + git log --format=format:%s -1 d65f0f9877c5d27f36bd97c93e7d86cd57609692 [Pipeline] sh 21:16:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:16:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:26 prd-ubuntu20.04-docker-8c-8g-8183 does not seem to be running inside a container 21:16:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:16:27 $ docker top 379027556cbcb53d97f2f36e9f4c7d8d3d8974a683a202b0ac3848b85c7f41bd -eo pid,comm 21:16:27 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). 21:16:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:27 [ssh-agent] Looking for ssh-agent implementation... 21:16:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:27 $ docker exec 379027556cbcb53d97f2f36e9f4c7d8d3d8974a683a202b0ac3848b85c7f41bd ssh-agent 21:16:27 SSH_AUTH_SOCK=/tmp/ssh-tP2jm8jCxkIl/agent.32 21:16:27 SSH_AGENT_PID=38 21:16:27 Running ssh-add (command line suppressed) 21:16:27 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5872558062503363831.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5872558062503363831.key) 21:16:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:28 + git semver tag 21:16:28 2023-03-03 21:16:28,212 [run_tag] DEBUG tag force:False 21:16:28 2023-03-03 21:16:28,212 [check_head_tag] DEBUG check head tag 21:16:28 2023-03-03 21:16:28,214 [execute] INFO git cat-file --batch-check 21:16:28 2023-03-03 21:16:28,214 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 21:16:28 2023-03-03 21:16:28,218 [execute] INFO git cat-file --batch 21:16:28 2023-03-03 21:16:28,218 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 21:16:28 2023-03-03 21:16:28,246 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:16:28 2023-03-03 21:16:28,246 [execute] INFO git tag -a v3.0.0-dev.16 -m v3.0.0-dev.16 21:16:28 2023-03-03 21:16:28,246 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.16', '-m', 'v3.0.0-dev.16'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 21:16:28 2023-03-03 21:16:28,251 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:16:28 3.0.0-dev.16 [Pipeline] } 21:16:28 $ docker exec --env ******** --env ******** 379027556cbcb53d97f2f36e9f4c7d8d3d8974a683a202b0ac3848b85c7f41bd ssh-agent -k 21:16:28 unset SSH_AUTH_SOCK; 21:16:28 unset SSH_AGENT_PID; 21:16:28 echo Agent pid 38 killed; 21:16:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:28 + git semver [Pipeline] } 21:16:29 $ docker stop --time=1 379027556cbcb53d97f2f36e9f4c7d8d3d8974a683a202b0ac3848b85c7f41bd 21:16:30 $ docker rm -f --volumes 379027556cbcb53d97f2f36e9f4c7d8d3d8974a683a202b0ac3848b85c7f41bd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:16:30 21:16:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:16:30 0.23.1-centos7: Pulling from edgex-lftools 21:16:30 ab5ef0e58194: Pulling fs layer 21:16:30 9712f1f96733: Pulling fs layer 21:16:30 63f879dbbcfc: Pulling fs layer 21:16:30 0d9ebad4ef96: Pulling fs layer 21:16:30 e9a5061849ea: Pulling fs layer 21:16:30 d747dcd14b5f: Pulling fs layer 21:16:30 2de7ff778b66: Pulling fs layer 21:16:30 0d9ebad4ef96: Waiting 21:16:30 e9a5061849ea: Waiting 21:16:30 d747dcd14b5f: Waiting 21:16:30 2de7ff778b66: Waiting 21:16:30 9712f1f96733: Download complete 21:16:31 63f879dbbcfc: Verifying Checksum 21:16:31 63f879dbbcfc: Download complete 21:16:31 e9a5061849ea: Verifying Checksum 21:16:31 e9a5061849ea: Download complete 21:16:31 ab5ef0e58194: Verifying Checksum 21:16:31 ab5ef0e58194: Download complete 21:16:31 d747dcd14b5f: Verifying Checksum 21:16:31 d747dcd14b5f: Download complete 21:16:31 0d9ebad4ef96: Verifying Checksum 21:16:31 0d9ebad4ef96: Download complete 21:16:31 2de7ff778b66: Verifying Checksum 21:16:31 2de7ff778b66: Download complete 21:16:34 ab5ef0e58194: Pull complete 21:16:34 9712f1f96733: Pull complete 21:16:34 63f879dbbcfc: Pull complete 21:16:39 0d9ebad4ef96: Pull complete 21:16:39 e9a5061849ea: Pull complete 21:16:39 d747dcd14b5f: Pull complete 21:16:40 2de7ff778b66: Pull complete 21:16:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:16:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:16:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:40 prd-ubuntu20.04-docker-8c-8g-8183 does not seem to be running inside a container 21:16: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:16:44 $ docker top b931eb2c7f1c2d8bfecc51af5db89330f94ee4f0d6a3053bf41dcc200241fae8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:16:44 provisioning config files... 21:16:44 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10908904291396502337tmp 21:16:44 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14298505689726806026tmp 21:16:44 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18284743257174465505tmp [Pipeline] { [Pipeline] echo 21:16:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:16:44 ---> sigul-configuration.sh 21:16:44 gpg: directory `/root/.gnupg' created 21:16:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:16:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:16:44 gpg: keyring `/root/.gnupg/secring.gpg' created 21:16:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:16:44 gpg: CAST5 encrypted data 21:16:44 gpg: encrypted with 1 passphrase 21:16:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:16:45 + mkdir /home/jenkins 21:16:45 + mkdir /home/jenkins/sigul [Pipeline] sh 21:16:45 + 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 21:16:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:16:45 ---> sigul-install.sh 21:16:45 Sigul already installed; skipping installation. [Pipeline] sh 21:16:45 + git tag --list 21:16:45 v0.0.0 21:16:45 v0.0.1-dev.1 21:16:45 v0.0.1-dev.10 21:16:45 v0.0.1-dev.11 21:16:45 v0.0.1-dev.12 21:16:45 v0.0.1-dev.13 21:16:45 v0.0.1-dev.14 21:16:45 v0.0.1-dev.15 21:16:45 v0.0.1-dev.16 21:16:45 v0.0.1-dev.17 21:16:45 v0.0.1-dev.18 21:16:45 v0.0.1-dev.19 21:16:45 v0.0.1-dev.2 21:16:45 v0.0.1-dev.20 21:16:45 v0.0.1-dev.21 21:16:45 v0.0.1-dev.22 21:16:45 v0.0.1-dev.23 21:16:45 v0.0.1-dev.24 21:16:45 v0.0.1-dev.25 21:16:45 v0.0.1-dev.26 21:16:45 v0.0.1-dev.27 21:16:45 v0.0.1-dev.28 21:16:45 v0.0.1-dev.3 21:16:45 v0.0.1-dev.4 21:16:45 v0.0.1-dev.5 21:16:45 v0.0.1-dev.6 21:16:45 v0.0.1-dev.7 21:16:45 v0.0.1-dev.8 21:16:45 v0.0.1-dev.9 21:16:45 v2.2.0 21:16:45 v2.2.0-dev.29 21:16:45 v2.2.0-dev.30 21:16:45 v2.2.0-dev.31 21:16:45 v2.2.0-dev.32 21:16:45 v2.2.0-dev.33 21:16:45 v2.2.0-dev.34 21:16:45 v2.2.0-dev.35 21:16:45 v2.3.0 21:16:45 v2.3.0-dev.1 21:16:45 v2.3.0-dev.10 21:16:45 v2.3.0-dev.11 21:16:45 v2.3.0-dev.12 21:16:45 v2.3.0-dev.13 21:16:45 v2.3.0-dev.14 21:16:45 v2.3.0-dev.15 21:16:45 v2.3.0-dev.16 21:16:45 v2.3.0-dev.17 21:16:45 v2.3.0-dev.18 21:16:45 v2.3.0-dev.19 21:16:45 v2.3.0-dev.2 21:16:45 v2.3.0-dev.20 21:16:45 v2.3.0-dev.21 21:16:45 v2.3.0-dev.22 21:16:45 v2.3.0-dev.23 21:16:45 v2.3.0-dev.24 21:16:45 v2.3.0-dev.25 21:16:45 v2.3.0-dev.26 21:16:45 v2.3.0-dev.27 21:16:45 v2.3.0-dev.28 21:16:45 v2.3.0-dev.29 21:16:45 v2.3.0-dev.3 21:16:45 v2.3.0-dev.30 21:16:45 v2.3.0-dev.31 21:16:45 v2.3.0-dev.32 21:16:45 v2.3.0-dev.33 21:16:45 v2.3.0-dev.34 21:16:45 v2.3.0-dev.35 21:16:45 v2.3.0-dev.36 21:16:45 v2.3.0-dev.37 21:16:45 v2.3.0-dev.38 21:16:45 v2.3.0-dev.39 21:16:45 v2.3.0-dev.4 21:16:45 v2.3.0-dev.40 21:16:45 v2.3.0-dev.41 21:16:45 v2.3.0-dev.42 21:16:45 v2.3.0-dev.43 21:16:45 v2.3.0-dev.44 21:16:45 v2.3.0-dev.45 21:16:45 v2.3.0-dev.5 21:16:45 v2.3.0-dev.6 21:16:45 v2.3.0-dev.7 21:16:45 v2.3.0-dev.8 21:16:45 v2.3.0-dev.9 21:16:45 v2.3.1-dev.1 21:16:45 v3.0.0-dev.1 21:16:45 v3.0.0-dev.10 21:16:45 v3.0.0-dev.11 21:16:45 v3.0.0-dev.12 21:16:45 v3.0.0-dev.13 21:16:45 v3.0.0-dev.14 21:16:45 v3.0.0-dev.15 21:16:45 v3.0.0-dev.16 21:16:45 v3.0.0-dev.2 21:16:45 v3.0.0-dev.3 21:16:45 v3.0.0-dev.4 21:16:45 v3.0.0-dev.5 21:16:45 v3.0.0-dev.6 21:16:45 v3.0.0-dev.7 21:16:45 v3.0.0-dev.8 21:16:45 v3.0.0-dev.9 [Pipeline] sh 21:16:46 + lftools sign git-tag v3.0.0-dev.16 21:16:46 Signing Git tag with Sigul... 21:16:46 Signing v3.0.0-dev.16 [Pipeline] echo 21:16:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:16:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:16:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:16:47 $ docker stop --time=1 b931eb2c7f1c2d8bfecc51af5db89330f94ee4f0d6a3053bf41dcc200241fae8 21:16:48 $ docker rm -f --volumes b931eb2c7f1c2d8bfecc51af5db89330f94ee4f0d6a3053bf41dcc200241fae8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:16:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:16:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:49 prd-ubuntu20.04-docker-8c-8g-8183 does not seem to be running inside a container 21:16:49 $ 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 21:16:50 $ docker top c906e434358a2c3d59675266dc15cd70513450cdd1b93f3ed899f35fe700ebbf -eo pid,comm 21:16:50 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). 21:16:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:50 [ssh-agent] Looking for ssh-agent implementation... 21:16:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:50 $ docker exec c906e434358a2c3d59675266dc15cd70513450cdd1b93f3ed899f35fe700ebbf ssh-agent 21:16:50 SSH_AUTH_SOCK=/tmp/ssh-aaIUu2NXiIlB/agent.32 21:16:50 SSH_AGENT_PID=38 21:16:50 Running ssh-add (command line suppressed) 21:16:50 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3097553457046541598.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3097553457046541598.key) 21:16:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:50 + git semver bump pre 21:16:51 2023-03-03 21:16:50,948 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:16:51 2023-03-03 21:16:50,948 [bump_version] DEBUG bumping version:3.0.0-dev.16 on axis:pre with prefix:dev 21:16:51 2023-03-03 21:16:50,948 [bump_version] DEBUG bumped version:3.0.0-dev.17 21:16:51 2023-03-03 21:16:50,948 [write_version] DEBUG write version:3.0.0-dev.17 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 21:16:51 2023-03-03 21:16:50,948 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:16:51 2023-03-03 21:16:50,948 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 21:16:51 2023-03-03 21:16:50,951 [execute] INFO git cat-file --batch-check 21:16:51 2023-03-03 21:16:50,951 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:16:51 2023-03-03 21:16:50,956 [execute] INFO git cat-file --batch 21:16:51 2023-03-03 21:16:50,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:16:51 2023-03-03 21:16:50,961 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:16:51 3.0.0-dev.17 [Pipeline] } 21:16:51 $ docker exec --env ******** --env ******** c906e434358a2c3d59675266dc15cd70513450cdd1b93f3ed899f35fe700ebbf ssh-agent -k 21:16:51 unset SSH_AUTH_SOCK; 21:16:51 unset SSH_AGENT_PID; 21:16:51 echo Agent pid 38 killed; 21:16:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:51 + git semver [Pipeline] } 21:16:51 $ docker stop --time=1 c906e434358a2c3d59675266dc15cd70513450cdd1b93f3ed899f35fe700ebbf 21:16:52 $ docker rm -f --volumes c906e434358a2c3d59675266dc15cd70513450cdd1b93f3ed899f35fe700ebbf [Pipeline] // withDockerContainer [Pipeline] sh 21:16:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:16:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:53 prd-ubuntu20.04-docker-8c-8g-8183 does not seem to be running inside a container 21:16:53 $ 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 21:16:54 $ docker top 972db2bec9bcb045feda7f37ddff220713136cb837788cbacbf38c5df87cf54f -eo pid,comm 21:16:54 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). 21:16:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:54 [ssh-agent] Looking for ssh-agent implementation... 21:16:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:54 $ docker exec 972db2bec9bcb045feda7f37ddff220713136cb837788cbacbf38c5df87cf54f ssh-agent 21:16:54 SSH_AUTH_SOCK=/tmp/ssh-KDgqRjLobpaJ/agent.31 21:16:54 SSH_AGENT_PID=37 21:16:54 Running ssh-add (command line suppressed) 21:16:54 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10407065391348617503.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10407065391348617503.key) 21:16:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:54 + git semver push 21:16:55 2023-03-03 21:16:54,946 [run_push] DEBUG push 21:16:55 2023-03-03 21:16:54,946 [execute] INFO git cat-file --batch-check 21:16:55 2023-03-03 21:16:54,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:16:55 2023-03-03 21:16:54,950 [execute] INFO git rev-list 77f808b4361c8d1a9c44414ddb4876aa8158fecb -- 21:16:55 2023-03-03 21:16:54,951 [execute] DEBUG Popen(['git', 'rev-list', '77f808b4361c8d1a9c44414ddb4876aa8158fecb', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:16:55 2023-03-03 21:16:54,958 [execute] INFO git fetch -v origin 21:16:55 2023-03-03 21:16:54,958 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 21:16:55 2023-03-03 21:16:55,555 [run_push] DEBUG no remote changes detected 21:16:55 2023-03-03 21:16:55,555 [execute] INFO git push origin semver 21:16:55 2023-03-03 21:16:55,555 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:16:57 2023-03-03 21:16:56,657 [run_push] DEBUG push all version tags 21:16:57 2023-03-03 21:16:56,657 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:16:57 2023-03-03 21:16:56,658 [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) 21:16:57 2023-03-03 21:16:57,464 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:16:57 3.0.0-dev.17 [Pipeline] } 21:16:57 $ docker exec --env ******** --env ******** 972db2bec9bcb045feda7f37ddff220713136cb837788cbacbf38c5df87cf54f ssh-agent -k 21:16:57 unset SSH_AUTH_SOCK; 21:16:57 unset SSH_AGENT_PID; 21:16:57 echo Agent pid 37 killed; 21:16:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:58 + git semver [Pipeline] } 21:16:58 $ docker stop --time=1 972db2bec9bcb045feda7f37ddff220713136cb837788cbacbf38c5df87cf54f 21:16:59 $ docker rm -f --volumes 972db2bec9bcb045feda7f37ddff220713136cb837788cbacbf38c5df87cf54f [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 21:17:00 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 21:17:00 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 21:17:00 total 16 21:17:00 drwxr-xr-x 3 root root 4096 Mar 3 21:08 . 21:17:00 drwxrwxr-x 11 jenkins jenkins 4096 Mar 3 21:16 .. 21:17:00 drwxr-xr-x 2 root root 4096 Mar 3 21:08 cost 21:17:00 -rw-r--r-- 1 root root 91 Mar 3 21:08 cost.csv 21:17:00 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 21:17:00 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 21:17:00 total 16 21:17:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 21:08 . 21:17:00 drwxrwxr-x 11 jenkins jenkins 4096 Mar 3 21:16 .. 21:17:00 drwxr-xr-x 2 jenkins jenkins 4096 Mar 3 21:08 cost 21:17:00 -rw-r--r-- 1 jenkins jenkins 91 Mar 3 21:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:17:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:17:01 ---> package-listing.sh 21:17:01 ++ facter osfamily 21:17:01 ++ tr '[:upper:]' '[:lower:]' 21:17:01 + OS_FAMILY=debian 21:17:01 + workspace=/w/workspace/foundry_device-onvif-camera_main 21:17:01 + START_PACKAGES=/tmp/packages_start.txt 21:17:01 + END_PACKAGES=/tmp/packages_end.txt 21:17:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:17:01 + PACKAGES=/tmp/packages_start.txt 21:17:01 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 21:17:01 + PACKAGES=/tmp/packages_end.txt 21:17:01 + case "${OS_FAMILY}" in 21:17:01 + dpkg -l 21:17:01 + grep '^ii' 21:17:01 + '[' -f /tmp/packages_start.txt ']' 21:17:01 + '[' -f /tmp/packages_end.txt ']' 21:17:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:17:01 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 21:17:01 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 21:17:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 21:17:01 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 21:17:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:17:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:02 prd-ubuntu20.04-docker-8c-8g-8183 does not seem to be running inside a container 21:17:02 $ 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 21:17:02 $ docker top 38c8652a53fb25f4b2b2bb0e768a37d10f1c9cf8c9753815688806ada482c259 -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:02 + touch /tmp/pre-build-complete [Pipeline] sh 21:17:03 + mkdir -p /var/log/sysstat [Pipeline] sh 21:17:03 + ls /var/log/sa-host 21:17:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:03 provisioning config files... 21:17:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12006865877836859714tmp [Pipeline] { [Pipeline] echo 21:17:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:17:03 ---> create-netrc.sh [Pipeline] } 21:17:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:17:04 ---> python-tools-install.sh [Pipeline] echo 21:17:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:17:04 ---> sudo-logs.sh 21:17:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:17:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:17:04 ---> job-cost.sh 21:17:04 lf-activate-venv: SKIPPING 21:17:04 DEBUG: total: 0.2199999988079071 21:17:04 INFO: Retrieving Stack Cost... 21:17:05 INFO: Retrieving Pricing Info for: v3-standard-8 21:17:05 INFO: Archiving Costs [Pipeline] echo 21:17:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:17:06 ---> logs-deploy.sh 21:17:06 lf-activate-venv: SKIPPING 21:17:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/106 21:17:06 INFO: archiving workspace using pattern(s): 21:17:06 Archives upload complete. 21:17:06 INFO: archiving logs to Nexus