Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c 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-ssh16802507087970989105.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-ssh2303958740706013907.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-ssh10559473287230471315.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-ssh5492720032961104090.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-ssh16641254085520458834.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4624’ Running on prd-ubuntu20.04-docker-8c-8g-4627 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 > 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 Avoid second fetch Checking out Revision 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c (main) Commit message: "Merge pull request #219 from hahattan/bump-sdk" > git config core.sparsecheckout # timeout=10 > git checkout -f 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c # timeout=10 > git rev-list --no-walk 81966fae257ec8aee1d7557002cb31a67ebedcc1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:34:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:34:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:34:40 ========================================================= 04:34:40 EdgeX Global Pipelines Version Info 04:34:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:34:41 ------------------- 04:34:41 stable info: 04:34:41 ------------------- 04:34:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:34:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:34:41 Message: update stable to v1.0.244 04:34:41 ------------------- 04:34:41 experimental info: 04:34:41 ------------------- 04:34:41 Commited By: **** collab-it+edgex@linuxfoundation.org 04:34:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:34:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e76f57 [Pipeline] echo 04:34:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:34:42 provisioning config files... 04:34:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11718015461958423556tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:34:42 ---> docker-login.sh 04:34:42 nexus3.edgexfoundry.org:10001 04:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:43 Configure a credential helper to remove this warning. See 04:34:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:43 04:34:43 Login Succeeded 04:34:43 nexus3.edgexfoundry.org:10002 04:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:43 Configure a credential helper to remove this warning. See 04:34:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:43 04:34:43 Login Succeeded 04:34:43 nexus3.edgexfoundry.org:10003 04:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:43 Configure a credential helper to remove this warning. See 04:34:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:43 04:34:43 Login Succeeded 04:34:43 nexus3.edgexfoundry.org:10004 04:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:43 Configure a credential helper to remove this warning. See 04:34:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:43 04:34:43 Login Succeeded 04:34:43 docker.io 04:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:44 Configure a credential helper to remove this warning. See 04:34:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:44 04:34:44 Login Succeeded 04:34:44 ---> docker-login.sh ends [Pipeline] } 04:34:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:34:44 + git rev-list -1 --merges 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c~1..3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c [Pipeline] echo 04:34:44 -----------> git rev-list -1 --merges 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c~1..3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c 04:34:44 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c [false] [Pipeline] sh 04:34:44 + git log --format=format:%s -1 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c [Pipeline] echo 04:34:44 ========================================================= 04:34:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:34:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:34:45 + git log --format=format:%s -1 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c [Pipeline] echo 04:34:45 [semverPrep] GIT_COMMIT: 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c, Commit Message: Merge pull request #219 from hahattan/bump-sdk [Pipeline] echo 04:34:45 [semverPrep] This is not a build commit. [Pipeline] sh 04:34:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:34:45 + grep -v github /etc/ssh/ssh_known_hosts 04:34:45 + [ -e /tmp/ssh_known_hosts ] 04:34:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:34:45 + sudo tee -a /etc/ssh/ssh_known_hosts 04:34:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:34:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:34:45 04:34:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:34:46 0.1.4: Pulling from edgex-devops/py-git-semver 04:34:46 b85a868b505f: Pulling fs layer 04:34:46 e2be974225ed: Pulling fs layer 04:34:46 339a4e72a1f5: Pulling fs layer 04:34:46 988bab9f4d93: Pulling fs layer 04:34:46 1469e6f7b9e6: Pulling fs layer 04:34:46 eaf3925da568: Pulling fs layer 04:34:46 bab4dde63d76: Pulling fs layer 04:34:46 bde34c3a00c8: Pulling fs layer 04:34:46 b352a97aabf1: Pulling fs layer 04:34:46 4872d77fe225: Pulling fs layer 04:34:46 5851b861e8e6: Pulling fs layer 04:34:46 b352a97aabf1: Waiting 04:34:46 988bab9f4d93: Waiting 04:34:46 4872d77fe225: Waiting 04:34:46 bde34c3a00c8: Waiting 04:34:46 eaf3925da568: Waiting 04:34:46 bab4dde63d76: Waiting 04:34:46 5851b861e8e6: Waiting 04:34:46 1469e6f7b9e6: Waiting 04:34:46 e2be974225ed: Verifying Checksum 04:34:46 e2be974225ed: Download complete 04:34:46 988bab9f4d93: Download complete 04:34:46 1469e6f7b9e6: Verifying Checksum 04:34:46 1469e6f7b9e6: Download complete 04:34:46 eaf3925da568: Verifying Checksum 04:34:46 eaf3925da568: Download complete 04:34:46 339a4e72a1f5: Verifying Checksum 04:34:46 339a4e72a1f5: Download complete 04:34:46 bde34c3a00c8: Download complete 04:34:46 b352a97aabf1: Verifying Checksum 04:34:46 b352a97aabf1: Download complete 04:34:46 4872d77fe225: Verifying Checksum 04:34:46 4872d77fe225: Download complete 04:34:46 5851b861e8e6: Verifying Checksum 04:34:46 5851b861e8e6: Download complete 04:34:46 b85a868b505f: Download complete 04:34:47 bab4dde63d76: Verifying Checksum 04:34:48 b85a868b505f: Pull complete 04:34:48 e2be974225ed: Pull complete 04:34:48 339a4e72a1f5: Pull complete 04:34:48 988bab9f4d93: Pull complete 04:34:49 1469e6f7b9e6: Pull complete 04:34:49 eaf3925da568: Pull complete 04:34:50 bab4dde63d76: Pull complete 04:34:50 bde34c3a00c8: Pull complete 04:34:51 b352a97aabf1: Pull complete 04:34:51 4872d77fe225: Pull complete 04:34:51 5851b861e8e6: Pull complete 04:34:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:34:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:34:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:51 prd-ubuntu20.04-docker-8c-8g-4627 does not seem to be running inside a container 04:34:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:34:53 $ docker top 0ab50a245440096840e9c96c71ee78cb4cd3942867c61a5dd77d68edaaa03ba3 -eo pid,comm 04:34:53 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). 04:34:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:34:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:34:53 [ssh-agent] Looking for ssh-agent implementation... 04:34:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:34:53 $ docker exec 0ab50a245440096840e9c96c71ee78cb4cd3942867c61a5dd77d68edaaa03ba3 ssh-agent 04:34:53 SSH_AUTH_SOCK=/tmp/ssh-mMU1YgkFfqeM/agent.32 04:34:53 SSH_AGENT_PID=38 04:34:53 Running ssh-add (command line suppressed) 04:34:54 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11746573102017124504.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11746573102017124504.key) 04:34:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:34:54 + git tag --points-at HEAD [Pipeline] } 04:34:54 $ docker exec --env ******** --env ******** 0ab50a245440096840e9c96c71ee78cb4cd3942867c61a5dd77d68edaaa03ba3 ssh-agent -k 04:34:54 unset SSH_AUTH_SOCK; 04:34:54 unset SSH_AGENT_PID; 04:34:54 echo Agent pid 38 killed; 04:34:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:34:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:34:54 [ssh-agent] Looking for ssh-agent implementation... 04:34:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:34:54 $ docker exec 0ab50a245440096840e9c96c71ee78cb4cd3942867c61a5dd77d68edaaa03ba3 ssh-agent 04:34:54 SSH_AUTH_SOCK=/tmp/ssh-CoZdADJUt4zw/agent.70 04:34:54 SSH_AGENT_PID=76 04:34:54 Running ssh-add (command line suppressed) 04:34:54 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18040429885648837406.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18040429885648837406.key) 04:34:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:34:55 + git semver init 04:34:55 2023-02-06 04:34:55,452 [run_init] DEBUG init version:0.0.0 force:False 04:34:55 2023-02-06 04:34:55,453 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 04:34:55 2023-02-06 04:34:55,453 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 04:34:55 2023-02-06 04:34:55,454 [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) 04:34:56 2023-02-06 04:34:56,477 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 04:34:56 2023-02-06 04:34:56,478 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 04:34:56 2023-02-06 04:34:56,478 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:34:56 2023-02-06 04:34:56,478 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:34:56 3.0.0-dev.11 [Pipeline] } 04:34:56 $ docker exec --env ******** --env ******** 0ab50a245440096840e9c96c71ee78cb4cd3942867c61a5dd77d68edaaa03ba3 ssh-agent -k 04:34:57 unset SSH_AUTH_SOCK; 04:34:57 unset SSH_AGENT_PID; 04:34:57 echo Agent pid 76 killed; 04:34:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:34:57 + git semver [Pipeline] } 04:34:57 $ docker stop --time=1 0ab50a245440096840e9c96c71ee78cb4cd3942867c61a5dd77d68edaaa03ba3 04:34:58 $ docker rm -f --volumes 0ab50a245440096840e9c96c71ee78cb4cd3942867c61a5dd77d68edaaa03ba3 [Pipeline] // withDockerContainer [Pipeline] sh 04:34:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:34:59 Stashed 1 file(s) [Pipeline] echo 04:34:59 [edgeXSemver]: initialized semver on version 3.0.0-dev.11 [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 04:34:59 provisioning config files... 04:34:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16448670096112721410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:34:59 ---> docker-login.sh 04:34:59 nexus3.edgexfoundry.org:10001 04:34:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:59 Configure a credential helper to remove this warning. See 04:34:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:59 04:34:59 Login Succeeded 04:34:59 nexus3.edgexfoundry.org:10002 04:34:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:00 Configure a credential helper to remove this warning. See 04:35:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:00 04:35:00 Login Succeeded 04:35:00 nexus3.edgexfoundry.org:10003 04:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:00 Configure a credential helper to remove this warning. See 04:35:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:00 04:35:00 Login Succeeded 04:35:00 nexus3.edgexfoundry.org:10004 04:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:00 Configure a credential helper to remove this warning. See 04:35:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:00 04:35:00 Login Succeeded 04:35:00 docker.io 04:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:01 Configure a credential helper to remove this warning. See 04:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:01 04:35:01 Login Succeeded 04:35:01 ---> docker-login.sh ends [Pipeline] } 04:35:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:35:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:35:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:35:01 ========================================================= 04:35:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:35:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:02 + 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 . 04:35:02 Sending build context to Docker daemon 27.67MB 04:35:02 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:35:02 Step 2/13 : FROM ${BASE} AS builder 04:35:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:35:02 213ec9aee27d: Pulling fs layer 04:35:02 4583459ba037: Pulling fs layer 04:35:02 93c1e223e6f2: Pulling fs layer 04:35:02 53926ce57604: Pulling fs layer 04:35:02 21b2b0c7a3f4: Pulling fs layer 04:35:02 22ff95d597cd: Pulling fs layer 04:35:02 12d6caf4c0d1: Pulling fs layer 04:35:02 96b7cbca73a9: Pulling fs layer 04:35:02 a7acece74701: Pulling fs layer 04:35:02 12d6caf4c0d1: Waiting 04:35:02 22ff95d597cd: Waiting 04:35:02 96b7cbca73a9: Waiting 04:35:02 53926ce57604: Waiting 04:35:02 a7acece74701: Waiting 04:35:02 21b2b0c7a3f4: Waiting 04:35:02 93c1e223e6f2: Verifying Checksum 04:35:02 93c1e223e6f2: Download complete 04:35:02 4583459ba037: Verifying Checksum 04:35:02 4583459ba037: Download complete 04:35:02 21b2b0c7a3f4: Verifying Checksum 04:35:02 21b2b0c7a3f4: Download complete 04:35:02 22ff95d597cd: Download complete 04:35:02 213ec9aee27d: Download complete 04:35:02 12d6caf4c0d1: Verifying Checksum 04:35:02 12d6caf4c0d1: Download complete 04:35:02 213ec9aee27d: Pull complete 04:35:03 4583459ba037: Pull complete 04:35:03 93c1e223e6f2: Pull complete 04:35:03 a7acece74701: Verifying Checksum 04:35:03 a7acece74701: Download complete 04:35:03 96b7cbca73a9: Verifying Checksum 04:35:03 96b7cbca73a9: Download complete 04:35:03 53926ce57604: Verifying Checksum 04:35:03 53926ce57604: Download complete 04:35:08 53926ce57604: Pull complete 04:35:08 21b2b0c7a3f4: Pull complete 04:35:08 22ff95d597cd: Pull complete 04:35:08 12d6caf4c0d1: Pull complete 04:35:10 96b7cbca73a9: Pull complete 04:35:11 a7acece74701: Pull complete 04:35:11 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:35:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:35:11 ---> db6d94c90886 04:35:11 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:35:14 ---> Running in e1b290aa5e97 04:35:14 Removing intermediate container e1b290aa5e97 04:35:14 ---> a71ed72e8e70 04:35:14 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:35:14 ---> Running in fcf61e66e245 04:35:14 Removing intermediate container fcf61e66e245 04:35:14 ---> a7a995dcd1a6 04:35:14 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:35:14 ---> Running in b354d1ba1b5f 04:35:14 Removing intermediate container b354d1ba1b5f 04:35:14 ---> bdc0b41d944f 04:35:14 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:35:14 ---> Running in b9beaad00650 04:35:14 Removing intermediate container b9beaad00650 04:35:14 ---> 2d0dd7e77836 04:35:14 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:35:14 ---> Running in 5b30eebca79b 04:35:14 Removing intermediate container 5b30eebca79b 04:35:14 ---> cc5b6079c56c 04:35:14 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:35:14 Still waiting to schedule task 04:35:14 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4625’ 04:35:14 ---> Running in 7db7069b5775 04:35:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:35:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:35:15 OK: 211 MiB in 51 packages 04:35:15 Removing intermediate container 7db7069b5775 04:35:15 ---> e6b16e032e3c 04:35:15 Step 9/13 : WORKDIR /device-onvif-camera 04:35:15 ---> Running in f2b4c6d96677 04:35:15 Removing intermediate container f2b4c6d96677 04:35:15 ---> 5d5d31af6ac9 04:35:15 Step 10/13 : COPY go.mod vendor* ./ 04:35:16 ---> 8caa05711812 04:35:16 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:35:16 ---> Running in b28706c479f4 04:35:48 Removing intermediate container b28706c479f4 04:35:48 ---> c15c6987c7af 04:35:48 Step 12/13 : COPY . . 04:35:48 ---> afc757576197 04:35:48 Step 13/13 : RUN ${MAKE} 04:35:48 ---> Running in 404111405bb2 04:35:48 noop 04:35:48 Removing intermediate container 404111405bb2 04:35:48 ---> c46ebc5a3a16 04:35:48 Successfully built c46ebc5a3a16 04:35:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:48 + docker inspect -f . ci-base-image-x86_64 04:35:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:35:48 prd-ubuntu20.04-docker-8c-8g-4627 does not seem to be running inside a container 04:35:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:35:49 $ docker top 43fae3ed4f682972dce323d15e844ec24484a5a7c70138e24c6a0230d6583a14 -eo pid,comm [Pipeline] { [Pipeline] sh 04:35:49 + go version 04:35:49 go version go1.18.7 linux/amd64 [Pipeline] } 04:35:49 $ docker stop --time=1 43fae3ed4f682972dce323d15e844ec24484a5a7c70138e24c6a0230d6583a14 04:35:50 $ docker rm -f --volumes 43fae3ed4f682972dce323d15e844ec24484a5a7c70138e24c6a0230d6583a14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:51 + docker inspect -f . ci-base-image-x86_64 04:35:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:35:51 prd-ubuntu20.04-docker-8c-8g-4627 does not seem to be running inside a container 04:35:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:35:51 $ docker top 347c633eb1f7e543475d9b6b9baedd75eb705e7c2e3a24737e4610f3da27587c -eo pid,comm [Pipeline] { [Pipeline] sh 04:35:52 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 04:35:52 + make test 04:35:52 go test ./... -coverprofile=coverage.out ./... 04:35:52 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:36:04 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:36:07 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 29.3% of statements 04:36:07 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:36:07 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.651s coverage: 86.5% of statements 04:36:15 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." 04:36:15 go vet ./... 04:36:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:36:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:36:19 ./bin/test-attribution-txt.sh 04:36:19 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 04:36:19 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 04:36:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:36:19 $ docker stop --time=1 347c633eb1f7e543475d9b6b9baedd75eb705e7c2e3a24737e4610f3da27587c 04:36:21 $ docker rm -f --volumes 347c633eb1f7e543475d9b6b9baedd75eb705e7c2e3a24737e4610f3da27587c [Pipeline] // withDockerContainer [Pipeline] sh 04:36:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:36:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:36:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:36:23 + ls -al . 04:36:23 total 236 04:36:23 drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 04:35 . 04:36:23 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:34 .. 04:36:23 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 04:36 .git 04:36:23 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:34 .github 04:36:23 -rw-rw-r-- 1 jenkins jenkins 496 Feb 6 04:34 .gitignore 04:36:23 -rw-rw-r-- 1 jenkins jenkins 42 Feb 6 04:34 .golangci.yml 04:36:23 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 04:34 .semver 04:36:23 -rw-rw-r-- 1 jenkins jenkins 9638 Feb 6 04:34 Attribution.txt 04:36:23 -rw-rw-r-- 1 jenkins jenkins 6312 Feb 6 04:34 CHANGELOG.md 04:36:23 -rw-rw-r-- 1 jenkins jenkins 1574 Feb 6 04:34 Dockerfile 04:36:23 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 04:34 GOVERNANCE.md 04:36:23 -rw-rw-r-- 1 jenkins jenkins 734 Feb 6 04:34 Jenkinsfile 04:36:23 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 6 04:34 LICENSE 04:36:23 -rw-rw-r-- 1 jenkins jenkins 2577 Feb 6 04:34 Makefile 04:36:23 -rw-rw-r-- 1 jenkins jenkins 625 Feb 6 04:34 OWNERS.md 04:36:23 -rw-rw-r-- 1 jenkins jenkins 6595 Feb 6 04:34 README.md 04:36:23 -rw-rw-r-- 1 jenkins jenkins 12 Feb 6 04:34 VERSION 04:36:23 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:34 bin 04:36:23 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:34 cmd 04:36:23 -rw-r--r-- 1 jenkins jenkins 79184 Feb 6 04:36 coverage.out 04:36:23 drwxrwxr-x 6 jenkins jenkins 4096 Feb 6 04:34 doc 04:36:23 -rw-rw-r-- 1 jenkins jenkins 3599 Feb 6 04:34 go.mod 04:36:23 -rw-rw-r-- 1 jenkins jenkins 34699 Feb 6 04:34 go.sum 04:36:23 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:34 internal 04:36:23 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:34 snap 04:36:23 -rw-rw-r-- 1 jenkins jenkins 236 Feb 6 04:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:23 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c --label arch=amd64 --label version=3.0.0-dev.11 . 04:36:23 Sending build context to Docker daemon 27.75MB 04:36:23 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 04:36:23 Step 2/26 : FROM ${BASE} AS builder 04:36:23 ---> c46ebc5a3a16 04:36:23 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:36:23 ---> Running in bb124d0ae7c2 04:36:23 Removing intermediate container bb124d0ae7c2 04:36:23 ---> 382cada297e5 04:36:23 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:36:23 ---> Running in e94797770b2e 04:36:23 Removing intermediate container e94797770b2e 04:36:23 ---> ec948fb05b71 04:36:23 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:36:23 ---> Running in c419682aae70 04:36:23 Removing intermediate container c419682aae70 04:36:23 ---> 0fb0c5b898ec 04:36:23 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:36:24 ---> Running in f70d6948273f 04:36:24 Removing intermediate container f70d6948273f 04:36:24 ---> 4e8f2804bfae 04:36:24 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:36:24 ---> Running in b43942d69043 04:36:24 Removing intermediate container b43942d69043 04:36:24 ---> 0c2e9c1b1b05 04:36:24 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:36:24 ---> Running in f25841c91c5c 04:36:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:36:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:36:24 OK: 211 MiB in 51 packages 04:36:25 Removing intermediate container f25841c91c5c 04:36:25 ---> aae6b3ae5571 04:36:25 Step 9/26 : WORKDIR /device-onvif-camera 04:36:25 ---> Running in a37acae1c7e9 04:36:25 Removing intermediate container a37acae1c7e9 04:36:25 ---> 2e964948bb86 04:36:25 Step 10/26 : COPY go.mod vendor* ./ 04:36:25 ---> 66cc3475867d 04:36:25 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:36:25 ---> Running in b726f8163bec 04:36:26 Removing intermediate container b726f8163bec 04:36:26 ---> 6b0cdb9e7ef0 04:36:26 Step 12/26 : COPY . . 04:36:27 ---> 8717880fa29b 04:36:27 Step 13/26 : RUN ${MAKE} 04:36:27 ---> Running in 83f71a0708d7 04:36:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.11" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:36:49 Removing intermediate container 83f71a0708d7 04:36:49 ---> 94489607f8ef 04:36:49 Step 14/26 : FROM alpine:3.16 04:36:49 3.16: Pulling from library/alpine 04:36:49 ca7dd9ec2225: Pulling fs layer 04:36:49 ca7dd9ec2225: Verifying Checksum 04:36:49 ca7dd9ec2225: Download complete 04:36:49 ca7dd9ec2225: Pull complete 04:36:49 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:36:49 Status: Downloaded newer image for alpine:3.16 04:36:49 ---> bfe296a52501 04:36:49 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:36:49 ---> Running in 5eafe64a5e72 04:36:49 Removing intermediate container 5eafe64a5e72 04:36:49 ---> d6cf9191d525 04:36:49 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:36:49 ---> Running in 85343b8b23fe 04:36:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:36:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:36:50 (1/1) Installing dumb-init (1.2.5-r1) 04:36:50 Executing busybox-1.35.0-r17.trigger 04:36:50 OK: 6 MiB in 15 packages 04:36:50 Removing intermediate container 85343b8b23fe 04:36:50 ---> 88493cc5dc00 04:36:50 Step 17/26 : WORKDIR / 04:36:51 ---> Running in 3ab07bac4779 04:36:51 Removing intermediate container 3ab07bac4779 04:36:51 ---> 93f55f5627f2 04:36:51 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:36:52 ---> e75fabbf5b91 04:36:52 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:36:52 ---> a934dec562e8 04:36:52 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:36:52 ---> adce232f6ad8 04:36:52 Step 21/26 : EXPOSE 59984 04:36:52 ---> Running in d9f3e68e4f38 04:36:52 Removing intermediate container d9f3e68e4f38 04:36:52 ---> 4cd384f7c785 04:36:52 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:36:52 ---> Running in c7066fc19e84 04:36:52 Removing intermediate container c7066fc19e84 04:36:52 ---> 7e516698f1c0 04:36:52 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:36:52 ---> Running in 5c1253b52be1 04:36:52 Removing intermediate container 5c1253b52be1 04:36:52 ---> dc186b6a473e 04:36:52 Step 24/26 : LABEL arch=amd64 04:36:52 ---> Running in 12a9d4b2912f 04:36:52 Removing intermediate container 12a9d4b2912f 04:36:52 ---> e24e30012972 04:36:52 Step 25/26 : LABEL git_sha=3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c 04:36:52 ---> Running in 717e35bcb9f0 04:36:52 Removing intermediate container 717e35bcb9f0 04:36:52 ---> 685655711a48 04:36:52 Step 26/26 : LABEL version=3.0.0-dev.11 04:36:52 ---> Running in 2d1bafaaae3b 04:36:52 Removing intermediate container 2d1bafaaae3b 04:36:52 ---> 3c441b4f7eab 04:36:52 [Warning] One or more build-args [ARCH] were not consumed 04:36:52 Successfully built 3c441b4f7eab 04:36:53 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 04:36:53 provisioning config files... 04:36:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6505644988991883761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:53 ---> docker-login.sh 04:36:53 nexus3.edgexfoundry.org:10001 04:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:53 Configure a credential helper to remove this warning. See 04:36:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:53 04:36:53 Login Succeeded 04:36:53 nexus3.edgexfoundry.org:10002 04:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:53 Configure a credential helper to remove this warning. See 04:36:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:53 04:36:53 Login Succeeded 04:36:53 nexus3.edgexfoundry.org:10003 04:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:53 Configure a credential helper to remove this warning. See 04:36:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:53 04:36:53 Login Succeeded 04:36:53 nexus3.edgexfoundry.org:10004 04:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:54 Configure a credential helper to remove this warning. See 04:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:54 04:36:54 Login Succeeded 04:36:54 docker.io 04:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:36:54 Configure a credential helper to remove this warning. See 04:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:36:54 04:36:54 Login Succeeded 04:36:54 ---> docker-login.sh ends [Pipeline] } 04:36:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:36:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:36:54 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 04:36:54 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c 04:36:54 latest 04:36:54 3.0.0-dev.11 04:36:54 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c-3.0.0-dev.11 04:36:54 main 04:36:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:54 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c 04:36:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:36:55 eea88505b405: Preparing 04:36:55 db80555b0e5f: Preparing 04:36:55 326052f9686d: Preparing 04:36:55 da7a60b02713: Preparing 04:36:55 e5e13b0c77cb: Preparing 04:36:55 e5e13b0c77cb: Layer already exists 04:36:55 da7a60b02713: Pushed 04:36:55 db80555b0e5f: Pushed 04:36:55 eea88505b405: Pushed 04:36:57 326052f9686d: Pushed 04:36:57 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c: digest: sha256:e61001d3727af6027ba26e7548cab500f1e966fcc202732d8e9727885e7e0f3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:58 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 04:36:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:36:58 eea88505b405: Preparing 04:36:58 db80555b0e5f: Preparing 04:36:58 326052f9686d: Preparing 04:36:58 da7a60b02713: Preparing 04:36:58 e5e13b0c77cb: Preparing 04:36:58 da7a60b02713: Layer already exists 04:36:58 eea88505b405: Layer already exists 04:36:58 326052f9686d: Layer already exists 04:36:58 db80555b0e5f: Layer already exists 04:36:58 e5e13b0c77cb: Layer already exists 04:36:58 latest: digest: sha256:e61001d3727af6027ba26e7548cab500f1e966fcc202732d8e9727885e7e0f3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:58 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.11 04:36:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:36:59 eea88505b405: Preparing 04:36:59 db80555b0e5f: Preparing 04:36:59 326052f9686d: Preparing 04:36:59 da7a60b02713: Preparing 04:36:59 e5e13b0c77cb: Preparing 04:36:59 da7a60b02713: Layer already exists 04:36:59 eea88505b405: Layer already exists 04:36:59 db80555b0e5f: Layer already exists 04:36:59 326052f9686d: Layer already exists 04:36:59 e5e13b0c77cb: Layer already exists 04:36:59 3.0.0-dev.11: digest: sha256:e61001d3727af6027ba26e7548cab500f1e966fcc202732d8e9727885e7e0f3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:59 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c-3.0.0-dev.11 04:36:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:36:59 eea88505b405: Preparing 04:36:59 db80555b0e5f: Preparing 04:36:59 326052f9686d: Preparing 04:36:59 da7a60b02713: Preparing 04:36:59 e5e13b0c77cb: Preparing 04:36:59 db80555b0e5f: Layer already exists 04:36:59 eea88505b405: Layer already exists 04:36:59 326052f9686d: Layer already exists 04:36:59 e5e13b0c77cb: Layer already exists 04:36:59 da7a60b02713: Layer already exists 04:36:59 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c-3.0.0-dev.11: digest: sha256:e61001d3727af6027ba26e7548cab500f1e966fcc202732d8e9727885e7e0f3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:00 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 04:37:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:37:00 eea88505b405: Preparing 04:37:00 db80555b0e5f: Preparing 04:37:00 326052f9686d: Preparing 04:37:00 da7a60b02713: Preparing 04:37:00 e5e13b0c77cb: Preparing 04:37:00 e5e13b0c77cb: Layer already exists 04:37:00 eea88505b405: Layer already exists 04:37:00 db80555b0e5f: Layer already exists 04:37:00 326052f9686d: Layer already exists 04:37:00 da7a60b02713: Layer already exists 04:37:00 main: digest: sha256:e61001d3727af6027ba26e7548cab500f1e966fcc202732d8e9727885e7e0f3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:37:00 ===================================================== [Pipeline] echo 04:37:00 taggedImages: 04:37:00 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c 04:37:00 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 04:37:00 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.11 04:37:00 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c-3.0.0-dev.11 04:37:00 - 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 04:37:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:37:00 04:37:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:37:01 latest: Pulling from edgex-lftools-log-publisher 04:37:01 5eb5b503b376: Pulling fs layer 04:37:01 5c69ac0246d0: Pulling fs layer 04:37:01 ec43610c2a17: Pulling fs layer 04:37:01 3a2ae6a8a46f: Pulling fs layer 04:37:01 33b1e0a273af: Pulling fs layer 04:37:01 5d3b04190fa2: Pulling fs layer 04:37:01 2f39f015ded8: Pulling fs layer 04:37:01 33b1e0a273af: Waiting 04:37:01 5d3b04190fa2: Waiting 04:37:01 3a2ae6a8a46f: Waiting 04:37:01 2f39f015ded8: Waiting 04:37:01 5c69ac0246d0: Verifying Checksum 04:37:01 5c69ac0246d0: Download complete 04:37:01 3a2ae6a8a46f: Verifying Checksum 04:37:01 3a2ae6a8a46f: Download complete 04:37:01 33b1e0a273af: Verifying Checksum 04:37:01 33b1e0a273af: Download complete 04:37:01 5d3b04190fa2: Verifying Checksum 04:37:01 5d3b04190fa2: Download complete 04:37:01 ec43610c2a17: Verifying Checksum 04:37:01 ec43610c2a17: Download complete 04:37:01 5eb5b503b376: Verifying Checksum 04:37:01 5eb5b503b376: Download complete 04:37:02 2f39f015ded8: Download complete 04:37:03 5eb5b503b376: Pull complete 04:37:03 5c69ac0246d0: Pull complete 04:37:03 ec43610c2a17: Pull complete 04:37:03 3a2ae6a8a46f: Pull complete 04:37:04 33b1e0a273af: Pull complete 04:37:04 5d3b04190fa2: Pull complete 04:37:09 2f39f015ded8: Pull complete 04:37:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:37:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:37:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:09 prd-ubuntu20.04-docker-8c-8g-4627 does not seem to be running inside a container 04:37:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 04:37:11 $ docker top cf8fa3d438e376ee6d17d31ddf91c7008748eda81005ab10e7e4ba3241c61cfb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:11 ---> job-cost.sh 04:37:11 lf-activate-venv: SKIPPING 04:37:11 INFO: No Stack... 04:37:12 INFO: Retrieving Pricing Info for: v3-standard-8 04:37:12 INFO: Archiving Costs [Pipeline] sh 04:37:12 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 04:37:12 + cut -d, -f6 [Pipeline] lock 04:37:12 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-100-stack-cost] 04:37:12 Resource [jenkins-edgexfoundry-device-onvif-camera-main-100-stack-cost] did not exist. Created. 04:37:12 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:37:13 + echo total: 0.2199999988079071 [Pipeline] stash 04:37:13 Stashed 1 file(s) [Pipeline] } 04:37:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-100-stack-cost] [Pipeline] // lock [Pipeline] } 04:37:13 $ docker stop --time=1 cf8fa3d438e376ee6d17d31ddf91c7008748eda81005ab10e7e4ba3241c61cfb 04:37:14 $ docker rm -f --volumes cf8fa3d438e376ee6d17d31ddf91c7008748eda81005ab10e7e4ba3241c61cfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:38:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4629 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 04:38:32 Running in /w/workspace/device-onvif-camera/100 [Pipeline] { [Pipeline] checkout 04:38:32 The recommended git tool is: git 04:38:37 using credential edgex-jenkins-ssh 04:38:37 Cloning the remote Git repository 04:38:37 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:38:37 > git init /w/workspace/device-onvif-camera/100 # timeout=10 04:38:37 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:38:37 > git --version # timeout=10 04:38:37 > git --version # 'git version 2.25.1' 04:38:37 using GIT_SSH to set credentials SSH Credentials for GitHub 04:38:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:38:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:38:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:38:40 Avoid second fetch 04:38:40 Checking out Revision 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c (main) 04:38:40 Commit message: "Merge pull request #219 from hahattan/bump-sdk" 04:38:40 > git config core.sparsecheckout # timeout=10 04:38:40 > git checkout -f 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:38:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:38:41 % Total % Received % Xferd Average Speed Time Time Time Current 04:38:41 Dload Upload Total Spent Left Speed 04:38:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 259k 0 --:--:-- --:--:-- --:--:-- 264k [Pipeline] sh 04:38:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:38:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:38:42 + sudo tee /etc/docker/daemon.new 04:38:42 { 04:38:42 "registry-mirrors": [ 04:38:42 "https://nexus3.edgexfoundry.org:10001" 04:38:42 ], 04:38:42 "bip": "10.250.0.254/24", 04:38:42 "hosts": [ 04:38:42 "tcp://0.0.0.0:5555", 04:38:42 "unix:///var/run/docker.sock" 04:38:42 ], 04:38:42 "mtu": 1458, 04:38:42 "selinux-enabled": true, 04:38:42 "seccomp-profile": "/etc/docker/seccomp.json" 04:38:42 } [Pipeline] sh 04:38:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:38:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:39:01 provisioning config files... 04:39:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/100@tmp/config5619103158337146163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:39:01 ---> docker-login.sh 04:39:01 nexus3.edgexfoundry.org:10001 04:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:02 Configure a credential helper to remove this warning. See 04:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:02 04:39:02 Login Succeeded 04:39:02 nexus3.edgexfoundry.org:10002 04:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:02 Configure a credential helper to remove this warning. See 04:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:02 04:39:02 Login Succeeded 04:39:02 nexus3.edgexfoundry.org:10003 04:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:03 Configure a credential helper to remove this warning. See 04:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:03 04:39:03 Login Succeeded 04:39:03 nexus3.edgexfoundry.org:10004 04:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:03 Configure a credential helper to remove this warning. See 04:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:03 04:39:03 Login Succeeded 04:39:03 docker.io 04:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:03 Configure a credential helper to remove this warning. See 04:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:03 04:39:03 Login Succeeded 04:39:03 ---> docker-login.sh ends [Pipeline] } 04:39:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:39:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:39:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:39:04 ========================================================= 04:39:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:39:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:04 + 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 . 04:39:05 Sending build context to Docker daemon 20.51MB 04:39:05 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:39:05 Step 2/13 : FROM ${BASE} AS builder 04:39:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:39:05 9b18e9b68314: Pulling fs layer 04:39:05 35d82f9e3411: Pulling fs layer 04:39:05 e16973657156: Pulling fs layer 04:39:05 fc693d55d65f: Pulling fs layer 04:39:05 7e9fc2657dce: Pulling fs layer 04:39:05 dda99020689f: Pulling fs layer 04:39:05 db1c61fa0a46: Pulling fs layer 04:39:05 891c053d2c06: Pulling fs layer 04:39:05 7e9fc2657dce: Waiting 04:39:05 dda99020689f: Waiting 04:39:05 db1c61fa0a46: Waiting 04:39:05 891c053d2c06: Waiting 04:39:05 fc693d55d65f: Waiting 04:39:05 e16973657156: Verifying Checksum 04:39:05 e16973657156: Download complete 04:39:05 35d82f9e3411: Verifying Checksum 04:39:05 35d82f9e3411: Download complete 04:39:05 7e9fc2657dce: Verifying Checksum 04:39:05 7e9fc2657dce: Download complete 04:39:05 dda99020689f: Verifying Checksum 04:39:05 dda99020689f: Download complete 04:39:05 9b18e9b68314: Verifying Checksum 04:39:05 9b18e9b68314: Download complete 04:39:06 9b18e9b68314: Pull complete 04:39:06 891c053d2c06: Verifying Checksum 04:39:06 891c053d2c06: Download complete 04:39:07 35d82f9e3411: Pull complete 04:39:07 e16973657156: Pull complete 04:39:07 db1c61fa0a46: Verifying Checksum 04:39:07 db1c61fa0a46: Download complete 04:39:08 fc693d55d65f: Verifying Checksum 04:39:08 fc693d55d65f: Download complete 04:39:20 fc693d55d65f: Pull complete 04:39:20 7e9fc2657dce: Pull complete 04:39:20 dda99020689f: Pull complete 04:39:25 db1c61fa0a46: Pull complete 04:39:26 891c053d2c06: Pull complete 04:39:26 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:39:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:39:26 ---> f96f9c87975a 04:39:26 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:39:28 ---> Running in 83dbe4732d0e 04:39:28 Removing intermediate container 83dbe4732d0e 04:39:28 ---> 711ee9d551b9 04:39:28 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:39:28 ---> Running in 06cc623d8012 04:39:28 Removing intermediate container 06cc623d8012 04:39:28 ---> 8367412176fb 04:39:28 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:39:28 ---> Running in 5b037a2bf475 04:39:29 Removing intermediate container 5b037a2bf475 04:39:29 ---> ee07b73fb16a 04:39:29 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:39:29 ---> Running in 959f137a22b6 04:39:29 Removing intermediate container 959f137a22b6 04:39:29 ---> 577526d327c4 04:39:29 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:39:29 ---> Running in ef94ee48ba36 04:39:30 Removing intermediate container ef94ee48ba36 04:39:30 ---> 02a68032eaae 04:39:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:39:30 ---> Running in 2d91dbba1f44 04:39:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:39:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:39:32 OK: 221 MiB in 51 packages 04:39:33 Removing intermediate container 2d91dbba1f44 04:39:33 ---> a9bc1165b104 04:39:33 Step 9/13 : WORKDIR /device-onvif-camera 04:39:33 ---> Running in a169bbe640b3 04:39:33 Removing intermediate container a169bbe640b3 04:39:33 ---> c36f62f7fd29 04:39:33 Step 10/13 : COPY go.mod vendor* ./ 04:39:34 ---> 1fdfc8661ee0 04:39:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:39:34 ---> Running in 3db737213a12 04:40:42 Removing intermediate container 3db737213a12 04:40:42 ---> 039b14b2fa5a 04:40:42 Step 12/13 : COPY . . 04:40:42 ---> 7321074f871f 04:40:42 Step 13/13 : RUN ${MAKE} 04:40:42 ---> Running in 03196c3e39b3 04:40:42 noop 04:40:43 Removing intermediate container 03196c3e39b3 04:40:43 ---> 5ddbeb54d8d1 04:40:43 Successfully built 5ddbeb54d8d1 04:40:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:43 + docker inspect -f . ci-base-image-arm64 04:40:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:44 prd-ubuntu20.04-docker-arm64-4c-16g-4629 does not seem to be running inside a container 04:40:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/100 -v /w/workspace/device-onvif-camera/100:/w/workspace/device-onvif-camera/100:rw,z -v /w/workspace/device-onvif-camera/100@tmp:/w/workspace/device-onvif-camera/100@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 04:40:45 $ docker top 95da0a81bc44b5394d99d6489b958bdf9ebb9e308e2fb7378dea56f593eebea3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:46 + go version 04:40:46 go version go1.18.7 linux/arm64 [Pipeline] } 04:40:46 $ docker stop --time=1 95da0a81bc44b5394d99d6489b958bdf9ebb9e308e2fb7378dea56f593eebea3 04:40:47 $ docker rm -f --volumes 95da0a81bc44b5394d99d6489b958bdf9ebb9e308e2fb7378dea56f593eebea3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:48 + docker inspect -f . ci-base-image-arm64 04:40:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:48 prd-ubuntu20.04-docker-arm64-4c-16g-4629 does not seem to be running inside a container 04:40:48 $ 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/100 -v /w/workspace/device-onvif-camera/100:/w/workspace/device-onvif-camera/100:rw,z -v /w/workspace/device-onvif-camera/100@tmp:/w/workspace/device-onvif-camera/100@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 04:40:51 $ docker top 3d81abdbeea5c2317fceee20932861f13341d3b5b400c78c4045c8b54a7f07ec -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:52 + git config --global --add safe.directory /w/workspace/device-onvif-camera/100 [Pipeline] fileExists [Pipeline] sh 04:40:52 + make test 04:40:52 go test ./... -coverprofile=coverage.out ./... 04:40:54 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:42:31 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:42:31 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.187s coverage: 29.3% of statements 04:42:31 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:42:49 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.957s coverage: 86.5% of statements 04:42:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:42:49 go vet ./... 04:43:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:43:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:43:21 ./bin/test-attribution-txt.sh 04:43:21 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 04:43:21 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 04:43:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:43:21 $ docker stop --time=1 3d81abdbeea5c2317fceee20932861f13341d3b5b400c78c4045c8b54a7f07ec 04:43:23 $ docker rm -f --volumes 3d81abdbeea5c2317fceee20932861f13341d3b5b400c78c4045c8b54a7f07ec [Pipeline] // withDockerContainer [Pipeline] sh 04:43:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:43:24 Warning: overwriting stash ‘coverage-report’ 04:43:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:43:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:43:26 + ls -al . 04:43:26 total 232 04:43:26 drwxrwxr-x 9 jenkins jenkins 4096 Feb 6 04:40 . 04:43:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:38 .. 04:43:26 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 04:38 .git 04:43:26 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:38 .github 04:43:26 -rw-rw-r-- 1 jenkins jenkins 496 Feb 6 04:38 .gitignore 04:43:26 -rw-rw-r-- 1 jenkins jenkins 42 Feb 6 04:38 .golangci.yml 04:43:26 -rw-rw-r-- 1 jenkins jenkins 9638 Feb 6 04:38 Attribution.txt 04:43:26 -rw-rw-r-- 1 jenkins jenkins 6312 Feb 6 04:38 CHANGELOG.md 04:43:26 -rw-rw-r-- 1 jenkins jenkins 1574 Feb 6 04:38 Dockerfile 04:43:26 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 04:38 GOVERNANCE.md 04:43:26 -rw-rw-r-- 1 jenkins jenkins 734 Feb 6 04:38 Jenkinsfile 04:43:26 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 6 04:38 LICENSE 04:43:26 -rw-rw-r-- 1 jenkins jenkins 2577 Feb 6 04:38 Makefile 04:43:26 -rw-rw-r-- 1 jenkins jenkins 625 Feb 6 04:38 OWNERS.md 04:43:26 -rw-rw-r-- 1 jenkins jenkins 6595 Feb 6 04:38 README.md 04:43:26 -rw-rw-r-- 1 jenkins jenkins 12 Feb 6 04:34 VERSION 04:43:26 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 04:38 bin 04:43:26 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 04:38 cmd 04:43:26 -rw-r--r-- 1 jenkins jenkins 79184 Feb 6 04:42 coverage.out 04:43:26 drwxrwxr-x 6 jenkins jenkins 4096 Feb 6 04:38 doc 04:43:26 -rw-rw-r-- 1 jenkins jenkins 3599 Feb 6 04:38 go.mod 04:43:26 -rw-rw-r-- 1 jenkins jenkins 34699 Feb 6 04:38 go.sum 04:43:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:38 internal 04:43:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 04:38 snap 04:43:26 -rw-rw-r-- 1 jenkins jenkins 236 Feb 6 04:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:26 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c --label arch=arm64 --label version=3.0.0-dev.11 . 04:43:27 Sending build context to Docker daemon 20.59MB 04:43:27 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 04:43:27 Step 2/26 : FROM ${BASE} AS builder 04:43:27 ---> 5ddbeb54d8d1 04:43:27 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:43:27 ---> Running in b898afbc255a 04:43:27 Removing intermediate container b898afbc255a 04:43:27 ---> b01333b70712 04:43:27 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:43:27 ---> Running in 2af1b9a920ab 04:43:28 Removing intermediate container 2af1b9a920ab 04:43:28 ---> de6fedf0a220 04:43:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:43:28 ---> Running in 2bc842f5bd57 04:43:28 Removing intermediate container 2bc842f5bd57 04:43:28 ---> e3435baece10 04:43:28 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:43:28 ---> Running in bd29f6f087f8 04:43:28 Removing intermediate container bd29f6f087f8 04:43:28 ---> f856dbdffc87 04:43:28 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:43:28 ---> Running in 5104bc1cc1d3 04:43:29 Removing intermediate container 5104bc1cc1d3 04:43:29 ---> 0259a20a0261 04:43:29 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:43:29 ---> Running in e0b078e9013b 04:43:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:43:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:43:31 OK: 221 MiB in 51 packages 04:43:32 Removing intermediate container e0b078e9013b 04:43:32 ---> db64ace02e56 04:43:32 Step 9/26 : WORKDIR /device-onvif-camera 04:43:32 ---> Running in eb2e40a3498a 04:43:33 Removing intermediate container eb2e40a3498a 04:43:33 ---> 10fe8b2be37b 04:43:33 Step 10/26 : COPY go.mod vendor* ./ 04:43:35 ---> 485c46371aac 04:43:35 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:43:35 ---> Running in 129e125ed593 04:43:38 Removing intermediate container 129e125ed593 04:43:38 ---> 7b5110dd4fd4 04:43:38 Step 12/26 : COPY . . 04:43:41 ---> 82e45241b93c 04:43:41 Step 13/26 : RUN ${MAKE} 04:43:41 ---> Running in d94f1f46c062 04:43:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.11" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:46:06 Removing intermediate container d94f1f46c062 04:46:06 ---> 00393ea1e288 04:46:06 Step 14/26 : FROM alpine:3.16 04:46:06 3.16: Pulling from library/alpine 04:46:06 6875df1f5354: Pulling fs layer 04:46:06 6875df1f5354: Verifying Checksum 04:46:06 6875df1f5354: Download complete 04:46:06 6875df1f5354: Pull complete 04:46:06 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:46:06 Status: Downloaded newer image for alpine:3.16 04:46:06 ---> 2b4661558fb8 04:46:06 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:46:06 ---> Running in b356995230bd 04:46:06 Removing intermediate container b356995230bd 04:46:06 ---> b56c3d4feca0 04:46:06 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:46:06 ---> Running in 9008000a6f23 04:46:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:46:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:46:06 (1/1) Installing dumb-init (1.2.5-r1) 04:46:06 Executing busybox-1.35.0-r17.trigger 04:46:06 OK: 5 MiB in 15 packages 04:46:06 Removing intermediate container 9008000a6f23 04:46:06 ---> b72b745be53f 04:46:06 Step 17/26 : WORKDIR / 04:46:06 ---> Running in b57422de55c7 04:46:06 Removing intermediate container b57422de55c7 04:46:06 ---> 310ae654695c 04:46:06 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:46:06 ---> 43556ba0438c 04:46:06 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:46:06 ---> a587af1cf7e9 04:46:06 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:46:06 ---> 5506e6d30283 04:46:06 Step 21/26 : EXPOSE 59984 04:46:06 ---> Running in 378492f7fb34 04:46:06 Removing intermediate container 378492f7fb34 04:46:06 ---> e7894057996b 04:46:06 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:46:06 ---> Running in 2c3d0c51823a 04:46:06 Removing intermediate container 2c3d0c51823a 04:46:06 ---> 0a41e8b4b943 04:46:06 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:46:06 ---> Running in c83dde807b5e 04:46:06 Removing intermediate container c83dde807b5e 04:46:06 ---> 0be06f859a3e 04:46:06 Step 24/26 : LABEL arch=arm64 04:46:06 ---> Running in 49c5531c4138 04:46:06 Removing intermediate container 49c5531c4138 04:46:06 ---> dd25eaed13bc 04:46:06 Step 25/26 : LABEL git_sha=3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c 04:46:06 ---> Running in dd78068a6d64 04:46:06 Removing intermediate container dd78068a6d64 04:46:06 ---> fcceb1b6f452 04:46:06 Step 26/26 : LABEL version=3.0.0-dev.11 04:46:06 ---> Running in 71cf1fd257a1 04:46:06 Removing intermediate container 71cf1fd257a1 04:46:06 ---> c6f066392d1a 04:46:06 [Warning] One or more build-args [ARCH] were not consumed 04:46:06 Successfully built c6f066392d1a 04:46:06 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 04:46:06 provisioning config files... 04:46:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/100@tmp/config1720315020771816078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:46:06 ---> docker-login.sh 04:46:06 nexus3.edgexfoundry.org:10001 04:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:06 Configure a credential helper to remove this warning. See 04:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:06 04:46:06 Login Succeeded 04:46:06 nexus3.edgexfoundry.org:10002 04:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:06 Configure a credential helper to remove this warning. See 04:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:06 04:46:06 Login Succeeded 04:46:06 nexus3.edgexfoundry.org:10003 04:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:07 Configure a credential helper to remove this warning. See 04:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:07 04:46:07 Login Succeeded 04:46:07 nexus3.edgexfoundry.org:10004 04:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:07 Configure a credential helper to remove this warning. See 04:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:07 04:46:07 Login Succeeded 04:46:07 docker.io 04:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:08 Configure a credential helper to remove this warning. See 04:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:08 04:46:08 Login Succeeded 04:46:08 ---> docker-login.sh ends [Pipeline] } 04:46:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:46:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:46:08 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 04:46:08 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c 04:46:08 latest 04:46:08 3.0.0-dev.11 04:46:08 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c-3.0.0-dev.11 04:46:08 main 04:46:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:08 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c 04:46:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:46:09 946fc445f3a3: Preparing 04:46:09 2129a66045db: Preparing 04:46:09 e72b77d8843c: Preparing 04:46:09 c82accf96e1b: Preparing 04:46:09 17bec77d7fdc: Preparing 04:46:09 c82accf96e1b: Pushed 04:46:09 946fc445f3a3: Pushed 04:46:09 2129a66045db: Pushed 04:46:09 17bec77d7fdc: Layer already exists 04:46:14 e72b77d8843c: Pushed 04:46:15 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c: digest: sha256:1c3d65f60d6ef3ab8b7baf4e528cc46e9afe9029d8e2beb95f17010433c82726 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:15 + 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 04:46:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:46:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:46:15 946fc445f3a3: Preparing 04:46:15 2129a66045db: Preparing 04:46:15 e72b77d8843c: Preparing 04:46:15 c82accf96e1b: Preparing 04:46:15 17bec77d7fdc: Preparing 04:46:15 17bec77d7fdc: Layer already exists 04:46:15 c82accf96e1b: Layer already exists 04:46:15 2129a66045db: Layer already exists 04:46:15 e72b77d8843c: Layer already exists 04:46:15 946fc445f3a3: Layer already exists 04:46:15 latest: digest: sha256:1c3d65f60d6ef3ab8b7baf4e528cc46e9afe9029d8e2beb95f17010433c82726 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:16 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:16 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.11 04:46:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:46:16 946fc445f3a3: Preparing 04:46:16 2129a66045db: Preparing 04:46:16 e72b77d8843c: Preparing 04:46:16 c82accf96e1b: Preparing 04:46:16 17bec77d7fdc: Preparing 04:46:16 17bec77d7fdc: Layer already exists 04:46:16 946fc445f3a3: Layer already exists 04:46:16 2129a66045db: Layer already exists 04:46:16 e72b77d8843c: Layer already exists 04:46:16 c82accf96e1b: Layer already exists 04:46:17 3.0.0-dev.11: digest: sha256:1c3d65f60d6ef3ab8b7baf4e528cc46e9afe9029d8e2beb95f17010433c82726 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:17 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c-3.0.0-dev.11 04:46:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:46:17 946fc445f3a3: Preparing 04:46:17 2129a66045db: Preparing 04:46:17 e72b77d8843c: Preparing 04:46:17 c82accf96e1b: Preparing 04:46:17 17bec77d7fdc: Preparing 04:46:17 946fc445f3a3: Layer already exists 04:46:17 2129a66045db: Layer already exists 04:46:17 c82accf96e1b: Layer already exists 04:46:17 e72b77d8843c: Layer already exists 04:46:17 17bec77d7fdc: Layer already exists 04:46:17 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c-3.0.0-dev.11: digest: sha256:1c3d65f60d6ef3ab8b7baf4e528cc46e9afe9029d8e2beb95f17010433c82726 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:18 + 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 04:46:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 04:46:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:46:18 946fc445f3a3: Preparing 04:46:18 2129a66045db: Preparing 04:46:18 e72b77d8843c: Preparing 04:46:18 c82accf96e1b: Preparing 04:46:18 17bec77d7fdc: Preparing 04:46:18 17bec77d7fdc: Layer already exists 04:46:18 946fc445f3a3: Layer already exists 04:46:18 2129a66045db: Layer already exists 04:46:18 e72b77d8843c: Layer already exists 04:46:18 c82accf96e1b: Layer already exists 04:46:18 main: digest: sha256:1c3d65f60d6ef3ab8b7baf4e528cc46e9afe9029d8e2beb95f17010433c82726 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:46:18 ===================================================== [Pipeline] echo 04:46:18 taggedImages: 04:46:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c 04:46:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:46:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.11 04:46:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c-3.0.0-dev.11 04:46:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:46:19 04:46:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:46:19 arm64: Pulling from edgex-lftools-log-publisher 04:46:19 8998bd30e6a1: Pulling fs layer 04:46:19 04944245beec: Pulling fs layer 04:46:19 699f458cf7ca: Pulling fs layer 04:46:19 765212b225bb: Pulling fs layer 04:46:19 f23df028b6ca: Pulling fs layer 04:46:19 d65c8cfc05b1: Pulling fs layer 04:46:19 2437ff75d9bd: Pulling fs layer 04:46:19 f23df028b6ca: Waiting 04:46:19 d65c8cfc05b1: Waiting 04:46:19 2437ff75d9bd: Waiting 04:46:19 765212b225bb: Waiting 04:46:19 04944245beec: Verifying Checksum 04:46:19 04944245beec: Download complete 04:46:19 765212b225bb: Verifying Checksum 04:46:19 765212b225bb: Download complete 04:46:19 f23df028b6ca: Download complete 04:46:19 d65c8cfc05b1: Download complete 04:46:20 699f458cf7ca: Verifying Checksum 04:46:20 699f458cf7ca: Download complete 04:46:20 8998bd30e6a1: Verifying Checksum 04:46:20 8998bd30e6a1: Download complete 04:46:22 2437ff75d9bd: Verifying Checksum 04:46:22 2437ff75d9bd: Download complete 04:46:24 8998bd30e6a1: Pull complete 04:46:24 04944245beec: Pull complete 04:46:26 699f458cf7ca: Pull complete 04:46:26 765212b225bb: Pull complete 04:46:26 f23df028b6ca: Pull complete 04:46:27 d65c8cfc05b1: Pull complete 04:46:42 2437ff75d9bd: Pull complete 04:46:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:46:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:46:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:46:42 prd-ubuntu20.04-docker-arm64-4c-16g-4629 does not seem to be running inside a container 04:46:42 $ 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/100 -v /w/workspace/device-onvif-camera/100:/w/workspace/device-onvif-camera/100:rw,z -v /w/workspace/device-onvif-camera/100@tmp:/w/workspace/device-onvif-camera/100@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 04:46:45 $ docker top 92c97814da7cd33eae271a34a0d2fcd5814f73bf4883b81e86f4a70be5fbf398 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:46:45 ---> job-cost.sh 04:46:45 lf-activate-venv: SKIPPING 04:46:45 INFO: No Stack... 04:46:46 INFO: Retrieving Pricing Info for: v3-standard-4 04:46:47 INFO: Archiving Costs [Pipeline] sh 04:46:47 + + cat /w/workspace/device-onvif-camera/100/archives/cost.csvcut 04:46:47 -d, -f6 [Pipeline] lock 04:46:47 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-100-stack-cost] 04:46:47 Resource [jenkins-edgexfoundry-device-onvif-camera-main-100-stack-cost] did not exist. Created. 04:46:47 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:46:48 /w/workspace/device-onvif-camera/100@tmp/durable-375e49e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:46:48 + echo total: 0.10999999940395355 [Pipeline] stash 04:46:49 Warning: overwriting stash ‘stack-cost’ 04:46:49 Stashed 1 file(s) [Pipeline] } 04:46:49 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-100-stack-cost] [Pipeline] // lock [Pipeline] } 04:46:49 $ docker stop --time=1 92c97814da7cd33eae271a34a0d2fcd5814f73bf4883b81e86f4a70be5fbf398 04:46:50 $ docker rm -f --volumes 92c97814da7cd33eae271a34a0d2fcd5814f73bf4883b81e86f4a70be5fbf398 [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 04:46:51 provisioning config files... 04:46:51 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10072712535138160622tmp [Pipeline] { [Pipeline] sh 04:46:51 + set +x 04:46:51 + curl -s https://codecov.io/bash 04:46:51 + bash -s -- 04:46:51 04:46:51 _____ _ 04:46:51 / ____| | | 04:46:51 | | ___ __| | ___ ___ _____ __ 04:46:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:46:51 | |___| (_) | (_| | __/ (_| (_) \ V / 04:46:51 \_____\___/ \__,_|\___|\___\___/ \_/ 04:46:51 Bash-1.0.6 04:46:51 04:46:51 04:46:51 ==> git version 2.25.1 found 04:46:51 ==> 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 04:46:51 Release-Date: 2020-01-08 04:46:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:46:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:46:51 ==> Jenkins CI detected. 04:46:51 current dir:  /w/workspace/foundry_device-onvif-camera_main 04:46:51 project root: . 04:46:51 --> token set from env 04:46:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:46:51 ==> Running gcov in . (disable via -X gcov) 04:46:51 ==> Python coveragepy not found 04:46:51 ==> Searching for coverage reports in: 04:46:51 + . 04:46:51 -> Found 1 reports 04:46:51 ==> Detecting git/mercurial file structure 04:46:51 ==> Reading reports 04:46:51 + ./coverage.out bytes=79184 04:46:51 ==> Appending adjustments 04:46:51 https://docs.codecov.io/docs/fixing-reports 04:46:51 + Found adjustments 04:46:51 ==> Gzipping contents 04:46:51 12K /tmp/codecov.IYTmS2.gz 04:46:51 ==> Uploading reports 04:46:51 url: https://codecov.io 04:46:51 query: branch=main&commit=3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:46:51 -> Pinging Codecov 04:46:51 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=3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:46:52 -> Uploading to 04:46:52 https://storage.googleapis.com/codecov/v4/raw/2023-02-06/F29A59C45E3A92E06B3E522C9905F8EF/3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c/7f5d9a09-60a3-415e-b783-9dbd192d4025.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230206T044651Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9b5ce15ac52d9380fd0e418b0cd0f874b32777d729d1a86bb308b456034c173b 04:46:52 % Total % Received % Xferd Average Speed Time Time Time Current 04:46:52 Dload Upload Total Spent Left Speed 04:46:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10868 0 0 100 10868 0 42787 --:--:-- --:--:-- --:--:-- 42619 100 10868 0 0 100 10868 0 42787 --:--:-- --:--:-- --:--:-- 42619 04:46:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c [Pipeline] } 04:46:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:46:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:46:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:46:52 04:46:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:46:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:46:53 df9b9388f04a: Pulling fs layer 04:46:53 52dc419b0ee2: Pulling fs layer 04:46:53 25bc292e5bac: Pulling fs layer 04:46:53 114826534d7a: Pulling fs layer 04:46:53 4657fd5d0bcf: Pulling fs layer 04:46:53 6ad1cebc031e: Pulling fs layer 04:46:53 8a3aa393b2d8: Pulling fs layer 04:46:53 114826534d7a: Waiting 04:46:53 4657fd5d0bcf: Waiting 04:46:53 6ad1cebc031e: Waiting 04:46:53 8a3aa393b2d8: Waiting 04:46:53 25bc292e5bac: Verifying Checksum 04:46:53 25bc292e5bac: Download complete 04:46:53 52dc419b0ee2: Verifying Checksum 04:46:53 52dc419b0ee2: Download complete 04:46:53 4657fd5d0bcf: Verifying Checksum 04:46:53 4657fd5d0bcf: Download complete 04:46:53 df9b9388f04a: Download complete 04:46:53 df9b9388f04a: Pull complete 04:46:53 52dc419b0ee2: Pull complete 04:46:53 6ad1cebc031e: Verifying Checksum 04:46:53 6ad1cebc031e: Download complete 04:46:53 25bc292e5bac: Pull complete 04:46:54 114826534d7a: Verifying Checksum 04:46:54 114826534d7a: Download complete 04:46:54 8a3aa393b2d8: Verifying Checksum 04:46:54 8a3aa393b2d8: Download complete 04:46:57 114826534d7a: Pull complete 04:46:57 4657fd5d0bcf: Pull complete 04:46:57 6ad1cebc031e: Pull complete 04:47:01 8a3aa393b2d8: Pull complete 04:47:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:47:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:47:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:47:01 prd-ubuntu20.04-docker-8c-8g-4627 does not seem to be running inside a container 04:47:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:47:03 $ docker top 2f94a7a7693687bead9f3806727e84b32c84c340cedad015cce48430e3ab9ba3 -eo pid,comm [Pipeline] { [Pipeline] echo 04:47:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 04:47:03 + set -o pipefail 04:47:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 04:48:11 04:48:11 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 04:48:11 04:48:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/88934436-0785-4e92-bb4b-21a0be9693eb 04:48:11 04:48:11 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 04:48:11 04:48:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:48:11 04:48:11 04:48:11 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:48:11 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:48:11 More details here: https://snyk.co/ue1NS [Pipeline] } 04:48:11 $ docker stop --time=1 2f94a7a7693687bead9f3806727e84b32c84c340cedad015cce48430e3ab9ba3 04:48:12 $ docker rm -f --volumes 2f94a7a7693687bead9f3806727e84b32c84c340cedad015cce48430e3ab9ba3 [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 04:48:13 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:48:13 provisioning config files... 04:48:13 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10727665508345002294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:48:13 --> edgex-publish-swagger.sh 04:48:13 === Publish doc/openapi/v2 API === 04:48:13 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 04:48:13 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 04:48:13 % Total % Received % Xferd Average Speed Time Time Time Current 04:48:13 Dload Upload Total Spent Left Speed 04:48:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 647k --:--:-- --:--:-- --:--:-- 648k 04:48:14 04:48:14 [Pipeline] } 04:48:14 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 04:48:14 + git log --format=format:%s -1 3e76f572e7cb585a9edbd80bc2f58e66b93cfa8c [Pipeline] sh 04:48:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:48:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:48:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:48:15 prd-ubuntu20.04-docker-8c-8g-4627 does not seem to be running inside a container 04:48:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:48:15 $ docker top 3a9bfbd264cc60ce4cc7c224d0e93e189d091e9e20121bb41f6038e2fdb5363d -eo pid,comm 04:48:15 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). 04:48:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:48:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:48:15 [ssh-agent] Looking for ssh-agent implementation... 04:48:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:48:15 $ docker exec 3a9bfbd264cc60ce4cc7c224d0e93e189d091e9e20121bb41f6038e2fdb5363d ssh-agent 04:48:16 SSH_AUTH_SOCK=/tmp/ssh-kN365lPw7OPs/agent.33 04:48:16 SSH_AGENT_PID=39 04:48:16 Running ssh-add (command line suppressed) 04:48:16 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3617364803512471073.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3617364803512471073.key) 04:48:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:48:16 + git semver tag 04:48:16 2023-02-06 04:48:16,592 [run_tag] DEBUG tag force:False 04:48:16 2023-02-06 04:48:16,593 [check_head_tag] DEBUG check head tag 04:48:16 2023-02-06 04:48:16,595 [execute] INFO git cat-file --batch-check 04:48:16 2023-02-06 04:48:16,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:48:16 2023-02-06 04:48:16,599 [execute] INFO git cat-file --batch 04:48:16 2023-02-06 04:48:16,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:48:16 2023-02-06 04:48:16,626 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:48:16 2023-02-06 04:48:16,627 [execute] INFO git tag -a v3.0.0-dev.11 -m v3.0.0-dev.11 04:48:16 2023-02-06 04:48:16,627 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.11', '-m', 'v3.0.0-dev.11'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 04:48:16 2023-02-06 04:48:16,631 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:48:16 3.0.0-dev.11 [Pipeline] } 04:48:16 $ docker exec --env ******** --env ******** 3a9bfbd264cc60ce4cc7c224d0e93e189d091e9e20121bb41f6038e2fdb5363d ssh-agent -k 04:48:16 unset SSH_AUTH_SOCK; 04:48:16 unset SSH_AGENT_PID; 04:48:16 echo Agent pid 39 killed; 04:48:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:48:17 + git semver [Pipeline] } 04:48:17 $ docker stop --time=1 3a9bfbd264cc60ce4cc7c224d0e93e189d091e9e20121bb41f6038e2fdb5363d 04:48:18 $ docker rm -f --volumes 3a9bfbd264cc60ce4cc7c224d0e93e189d091e9e20121bb41f6038e2fdb5363d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:48:19 04:48:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:48:19 0.23.1-centos7: Pulling from edgex-lftools 04:48:19 ab5ef0e58194: Pulling fs layer 04:48:19 9712f1f96733: Pulling fs layer 04:48:19 63f879dbbcfc: Pulling fs layer 04:48:19 0d9ebad4ef96: Pulling fs layer 04:48:19 e9a5061849ea: Pulling fs layer 04:48:19 d747dcd14b5f: Pulling fs layer 04:48:19 2de7ff778b66: Pulling fs layer 04:48:19 0d9ebad4ef96: Waiting 04:48:19 e9a5061849ea: Waiting 04:48:19 d747dcd14b5f: Waiting 04:48:19 9712f1f96733: Verifying Checksum 04:48:19 9712f1f96733: Download complete 04:48:19 63f879dbbcfc: Verifying Checksum 04:48:19 63f879dbbcfc: Download complete 04:48:20 e9a5061849ea: Verifying Checksum 04:48:20 e9a5061849ea: Download complete 04:48:20 d747dcd14b5f: Download complete 04:48:20 0d9ebad4ef96: Verifying Checksum 04:48:20 0d9ebad4ef96: Download complete 04:48:20 ab5ef0e58194: Verifying Checksum 04:48:20 ab5ef0e58194: Download complete 04:48:20 2de7ff778b66: Verifying Checksum 04:48:20 2de7ff778b66: Download complete 04:48:24 ab5ef0e58194: Pull complete 04:48:24 9712f1f96733: Pull complete 04:48:24 63f879dbbcfc: Pull complete 04:48:28 0d9ebad4ef96: Pull complete 04:48:28 e9a5061849ea: Pull complete 04:48:28 d747dcd14b5f: Pull complete 04:48:30 2de7ff778b66: Pull complete 04:48:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:48:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:48:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:48:30 prd-ubuntu20.04-docker-8c-8g-4627 does not seem to be running inside a container 04:48:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:48:32 $ docker top 6e327aa393b80e3af0a2bb6825d79ec35a931c3de93bde302b223a96bb7893e8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:48:32 provisioning config files... 04:48:32 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config893865737631573626tmp 04:48:32 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16674747303155065850tmp 04:48:32 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3017271055608950407tmp [Pipeline] { [Pipeline] echo 04:48:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:48:33 ---> sigul-configuration.sh 04:48:33 gpg: directory `/root/.gnupg' created 04:48:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:48:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:48:33 gpg: keyring `/root/.gnupg/secring.gpg' created 04:48:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:48:33 gpg: CAST5 encrypted data 04:48:33 gpg: encrypted with 1 passphrase 04:48:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:48:33 + mkdir /home/jenkins 04:48:33 + mkdir /home/jenkins/sigul [Pipeline] sh 04:48:33 + 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 04:48:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:48:33 ---> sigul-install.sh 04:48:33 Sigul already installed; skipping installation. [Pipeline] sh 04:48:34 + git tag --list 04:48:34 v0.0.0 04:48:34 v0.0.1-dev.1 04:48:34 v0.0.1-dev.10 04:48:34 v0.0.1-dev.11 04:48:34 v0.0.1-dev.12 04:48:34 v0.0.1-dev.13 04:48:34 v0.0.1-dev.14 04:48:34 v0.0.1-dev.15 04:48:34 v0.0.1-dev.16 04:48:34 v0.0.1-dev.17 04:48:34 v0.0.1-dev.18 04:48:34 v0.0.1-dev.19 04:48:34 v0.0.1-dev.2 04:48:34 v0.0.1-dev.20 04:48:34 v0.0.1-dev.21 04:48:34 v0.0.1-dev.22 04:48:34 v0.0.1-dev.23 04:48:34 v0.0.1-dev.24 04:48:34 v0.0.1-dev.25 04:48:34 v0.0.1-dev.26 04:48:34 v0.0.1-dev.27 04:48:34 v0.0.1-dev.28 04:48:34 v0.0.1-dev.3 04:48:34 v0.0.1-dev.4 04:48:34 v0.0.1-dev.5 04:48:34 v0.0.1-dev.6 04:48:34 v0.0.1-dev.7 04:48:34 v0.0.1-dev.8 04:48:34 v0.0.1-dev.9 04:48:34 v2.2.0 04:48:34 v2.2.0-dev.29 04:48:34 v2.2.0-dev.30 04:48:34 v2.2.0-dev.31 04:48:34 v2.2.0-dev.32 04:48:34 v2.2.0-dev.33 04:48:34 v2.2.0-dev.34 04:48:34 v2.2.0-dev.35 04:48:34 v2.3.0 04:48:34 v2.3.0-dev.1 04:48:34 v2.3.0-dev.10 04:48:34 v2.3.0-dev.11 04:48:34 v2.3.0-dev.12 04:48:34 v2.3.0-dev.13 04:48:34 v2.3.0-dev.14 04:48:34 v2.3.0-dev.15 04:48:34 v2.3.0-dev.16 04:48:34 v2.3.0-dev.17 04:48:34 v2.3.0-dev.18 04:48:34 v2.3.0-dev.19 04:48:34 v2.3.0-dev.2 04:48:34 v2.3.0-dev.20 04:48:34 v2.3.0-dev.21 04:48:34 v2.3.0-dev.22 04:48:34 v2.3.0-dev.23 04:48:34 v2.3.0-dev.24 04:48:34 v2.3.0-dev.25 04:48:34 v2.3.0-dev.26 04:48:34 v2.3.0-dev.27 04:48:34 v2.3.0-dev.28 04:48:34 v2.3.0-dev.29 04:48:34 v2.3.0-dev.3 04:48:34 v2.3.0-dev.30 04:48:34 v2.3.0-dev.31 04:48:34 v2.3.0-dev.32 04:48:34 v2.3.0-dev.33 04:48:34 v2.3.0-dev.34 04:48:34 v2.3.0-dev.35 04:48:34 v2.3.0-dev.36 04:48:34 v2.3.0-dev.37 04:48:34 v2.3.0-dev.38 04:48:34 v2.3.0-dev.39 04:48:34 v2.3.0-dev.4 04:48:34 v2.3.0-dev.40 04:48:34 v2.3.0-dev.41 04:48:34 v2.3.0-dev.42 04:48:34 v2.3.0-dev.43 04:48:34 v2.3.0-dev.44 04:48:34 v2.3.0-dev.45 04:48:34 v2.3.0-dev.5 04:48:34 v2.3.0-dev.6 04:48:34 v2.3.0-dev.7 04:48:34 v2.3.0-dev.8 04:48:34 v2.3.0-dev.9 04:48:34 v2.3.1-dev.1 04:48:34 v3.0.0-dev.1 04:48:34 v3.0.0-dev.10 04:48:34 v3.0.0-dev.11 04:48:34 v3.0.0-dev.2 04:48:34 v3.0.0-dev.3 04:48:34 v3.0.0-dev.4 04:48:34 v3.0.0-dev.5 04:48:34 v3.0.0-dev.6 04:48:34 v3.0.0-dev.7 04:48:34 v3.0.0-dev.8 04:48:34 v3.0.0-dev.9 [Pipeline] sh 04:48:34 + lftools sign git-tag v3.0.0-dev.11 04:48:35 Signing Git tag with Sigul... 04:48:35 Signing v3.0.0-dev.11 [Pipeline] echo 04:48:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:48:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:48:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:48:38 $ docker stop --time=1 6e327aa393b80e3af0a2bb6825d79ec35a931c3de93bde302b223a96bb7893e8 04:48:39 $ docker rm -f --volumes 6e327aa393b80e3af0a2bb6825d79ec35a931c3de93bde302b223a96bb7893e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:48:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:48:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:48:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:48:40 prd-ubuntu20.04-docker-8c-8g-4627 does not seem to be running inside a container 04:48:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:48:41 $ docker top ebb9fc8ffc90b0b577bc3002cfb36a02cfd52661cedea942448bc01cbc11ee9e -eo pid,comm 04:48:41 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). 04:48:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:48:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:48:41 [ssh-agent] Looking for ssh-agent implementation... 04:48:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:48:41 $ docker exec ebb9fc8ffc90b0b577bc3002cfb36a02cfd52661cedea942448bc01cbc11ee9e ssh-agent 04:48:41 SSH_AUTH_SOCK=/tmp/ssh-tX2yha88ZmVg/agent.32 04:48:41 SSH_AGENT_PID=38 04:48:41 Running ssh-add (command line suppressed) 04:48:41 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11511572040811287814.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11511572040811287814.key) 04:48:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:48:41 + git semver bump pre 04:48:42 2023-02-06 04:48:42,000 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:48:42 2023-02-06 04:48:42,000 [bump_version] DEBUG bumping version:3.0.0-dev.11 on axis:pre with prefix:dev 04:48:42 2023-02-06 04:48:42,000 [bump_version] DEBUG bumped version:3.0.0-dev.12 04:48:42 2023-02-06 04:48:42,000 [write_version] DEBUG write version:3.0.0-dev.12 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 04:48:42 2023-02-06 04:48:42,000 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:48:42 2023-02-06 04:48:42,000 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 04:48:42 2023-02-06 04:48:42,003 [execute] INFO git cat-file --batch-check 04:48:42 2023-02-06 04:48:42,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:48:42 2023-02-06 04:48:42,009 [execute] INFO git cat-file --batch 04:48:42 2023-02-06 04:48:42,009 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:48:42 2023-02-06 04:48:42,014 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:48:42 3.0.0-dev.12 [Pipeline] } 04:48:42 $ docker exec --env ******** --env ******** ebb9fc8ffc90b0b577bc3002cfb36a02cfd52661cedea942448bc01cbc11ee9e ssh-agent -k 04:48:42 unset SSH_AUTH_SOCK; 04:48:42 unset SSH_AGENT_PID; 04:48:42 echo Agent pid 38 killed; 04:48:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:48:42 + git semver [Pipeline] } 04:48:42 $ docker stop --time=1 ebb9fc8ffc90b0b577bc3002cfb36a02cfd52661cedea942448bc01cbc11ee9e 04:48:44 $ docker rm -f --volumes ebb9fc8ffc90b0b577bc3002cfb36a02cfd52661cedea942448bc01cbc11ee9e [Pipeline] // withDockerContainer [Pipeline] sh 04:48:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:48:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:48:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:48:44 prd-ubuntu20.04-docker-8c-8g-4627 does not seem to be running inside a container 04:48:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:48:45 $ docker top 80137f6f365f66b3e6a6b24eeb65eca27c0c4c86877eb0051d548ba396bb3e17 -eo pid,comm 04:48:45 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). 04:48:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:48:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:48:45 [ssh-agent] Looking for ssh-agent implementation... 04:48:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:48:45 $ docker exec 80137f6f365f66b3e6a6b24eeb65eca27c0c4c86877eb0051d548ba396bb3e17 ssh-agent 04:48:45 SSH_AUTH_SOCK=/tmp/ssh-48JSNsXfFHB7/agent.33 04:48:45 SSH_AGENT_PID=39 04:48:45 Running ssh-add (command line suppressed) 04:48:45 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17056164528311942728.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17056164528311942728.key) 04:48:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:48:46 + git semver push 04:48:46 2023-02-06 04:48:46,292 [run_push] DEBUG push 04:48:46 2023-02-06 04:48:46,293 [execute] INFO git cat-file --batch-check 04:48:46 2023-02-06 04:48:46,293 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:48:46 2023-02-06 04:48:46,298 [execute] INFO git rev-list 20a7c29807115418bfcf0a7224a6c22ccf324125 -- 04:48:46 2023-02-06 04:48:46,298 [execute] DEBUG Popen(['git', 'rev-list', '20a7c29807115418bfcf0a7224a6c22ccf324125', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:48:46 2023-02-06 04:48:46,307 [execute] INFO git fetch -v origin 04:48:46 2023-02-06 04:48:46,307 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 04:48:47 2023-02-06 04:48:47,084 [run_push] DEBUG no remote changes detected 04:48:47 2023-02-06 04:48:47,084 [execute] INFO git push origin semver 04:48:47 2023-02-06 04:48:47,085 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:48:48 2023-02-06 04:48:47,894 [run_push] DEBUG push all version tags 04:48:48 2023-02-06 04:48:47,894 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:48:48 2023-02-06 04:48:47,895 [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) 04:48:48 2023-02-06 04:48:48,684 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:48:48 3.0.0-dev.12 [Pipeline] } 04:48:48 $ docker exec --env ******** --env ******** 80137f6f365f66b3e6a6b24eeb65eca27c0c4c86877eb0051d548ba396bb3e17 ssh-agent -k 04:48:48 unset SSH_AUTH_SOCK; 04:48:48 unset SSH_AGENT_PID; 04:48:48 echo Agent pid 39 killed; 04:48:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:48:49 + git semver [Pipeline] } 04:48:49 $ docker stop --time=1 80137f6f365f66b3e6a6b24eeb65eca27c0c4c86877eb0051d548ba396bb3e17 04:48:50 $ docker rm -f --volumes 80137f6f365f66b3e6a6b24eeb65eca27c0c4c86877eb0051d548ba396bb3e17 [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 04:48:51 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 04:48:51 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:48:51 total 16 04:48:51 drwxr-xr-x 3 root root 4096 Feb 6 04:37 . 04:48:51 drwxrwxr-x 11 jenkins jenkins 4096 Feb 6 04:48 .. 04:48:51 drwxr-xr-x 2 root root 4096 Feb 6 04:37 cost 04:48:51 -rw-r--r-- 1 root root 91 Feb 6 04:37 cost.csv 04:48:51 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 04:48:51 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:48:51 total 16 04:48:51 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 04:37 . 04:48:51 drwxrwxr-x 11 jenkins jenkins 4096 Feb 6 04:48 .. 04:48:51 drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 04:37 cost 04:48:51 -rw-r--r-- 1 jenkins jenkins 91 Feb 6 04:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:48:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:48:52 ---> package-listing.sh 04:48:52 ++ facter osfamily 04:48:52 ++ tr '[:upper:]' '[:lower:]' 04:48:52 + OS_FAMILY=debian 04:48:52 + workspace=/w/workspace/foundry_device-onvif-camera_main 04:48:52 + START_PACKAGES=/tmp/packages_start.txt 04:48:52 + END_PACKAGES=/tmp/packages_end.txt 04:48:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:48:52 + PACKAGES=/tmp/packages_start.txt 04:48:52 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:48:52 + PACKAGES=/tmp/packages_end.txt 04:48:52 + case "${OS_FAMILY}" in 04:48:52 + dpkg -l 04:48:52 + grep '^ii' 04:48:52 + '[' -f /tmp/packages_start.txt ']' 04:48:52 + '[' -f /tmp/packages_end.txt ']' 04:48:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:48:52 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:48:52 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 04:48:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 04:48:52 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:48:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:48:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:48:53 prd-ubuntu20.04-docker-8c-8g-4627 does not seem to be running inside a container 04:48:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:48:54 $ docker top fef790a27b881c84520f04e828f24f0dbc274b539da8620e8ebe2a16fa383598 -eo pid,comm [Pipeline] { [Pipeline] sh 04:48:54 + touch /tmp/pre-build-complete [Pipeline] sh 04:48:54 + mkdir -p /var/log/sysstat [Pipeline] sh 04:48:54 + ls /var/log/sa-host 04:48:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:48:55 provisioning config files... 04:48:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18291282603438690506tmp [Pipeline] { [Pipeline] echo 04:48:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:48:55 ---> create-netrc.sh [Pipeline] } 04:48:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:48:55 ---> python-tools-install.sh [Pipeline] echo 04:48:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:48:55 ---> sudo-logs.sh 04:48:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:48:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:48:56 ---> job-cost.sh 04:48:56 lf-activate-venv: SKIPPING 04:48:56 DEBUG: total: 0.2199999988079071 04:48:56 INFO: Retrieving Stack Cost... 04:48:56 INFO: Retrieving Pricing Info for: v3-standard-8 04:48:57 INFO: Archiving Costs [Pipeline] echo 04:48:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:48:57 ---> logs-deploy.sh 04:48:57 lf-activate-venv: SKIPPING 04:48:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/100 04:48:57 INFO: archiving workspace using pattern(s): 04:48:58 Archives upload complete. 04:48:58 INFO: archiving logs to Nexus