Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5eec883b2bb43bf890ad540a9146487d6a3ec42a 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-ssh16915882357682109421.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-ssh7564136643362365274.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-ssh11028360569607455331.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-ssh18211764413243334244.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-ssh17616423995634689735.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-8573’ Running on prd-ubuntu20.04-docker-8c-8g-8575 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 5eec883b2bb43bf890ad540a9146487d6a3ec42a (main) Commit message: "refactor!: update secret path to secretName (#238)" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5eec883b2bb43bf890ad540a9146487d6a3ec42a # timeout=10 > git rev-list --no-walk d65f0f9877c5d27f36bd97c93e7d86cd57609692 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:15:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:15:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:15:47 ========================================================= 17:15:47 EdgeX Global Pipelines Version Info 17:15:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:15:47 ------------------- 17:15:47 stable info: 17:15:47 ------------------- 17:15:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:15:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:15:47 Message: update stable to v1.0.244 17:15:48 ------------------- 17:15:48 experimental info: 17:15:48 ------------------- 17:15:48 Commited By: **** collab-it+edgex@linuxfoundation.org 17:15:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:15:48 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5eec883b2bb43bf890ad540a9146487d6a3ec42a [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5eec883 [Pipeline] echo 17:15:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:15:48 provisioning config files... 17:15:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16173850530852638392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:49 ---> docker-login.sh 17:15:49 nexus3.edgexfoundry.org:10001 17:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:49 Configure a credential helper to remove this warning. See 17:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:49 17:15:49 Login Succeeded 17:15:49 nexus3.edgexfoundry.org:10002 17:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:49 Configure a credential helper to remove this warning. See 17:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:49 17:15:49 Login Succeeded 17:15:49 nexus3.edgexfoundry.org:10003 17:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:49 Configure a credential helper to remove this warning. See 17:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:49 17:15:49 Login Succeeded 17:15:49 nexus3.edgexfoundry.org:10004 17:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:49 Configure a credential helper to remove this warning. See 17:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:49 17:15:49 Login Succeeded 17:15:49 docker.io 17:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:49 Configure a credential helper to remove this warning. See 17:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:49 17:15:49 Login Succeeded 17:15:49 ---> docker-login.sh ends [Pipeline] } 17:15:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:15:50 + git rev-list -1 --merges 5eec883b2bb43bf890ad540a9146487d6a3ec42a~1..5eec883b2bb43bf890ad540a9146487d6a3ec42a [Pipeline] echo 17:15:50 -----------> git rev-list -1 --merges 5eec883b2bb43bf890ad540a9146487d6a3ec42a~1..5eec883b2bb43bf890ad540a9146487d6a3ec42a 5eec883b2bb43bf890ad540a9146487d6a3ec42a [false] [Pipeline] sh 17:15:50 + git log --format=format:%s -1 5eec883b2bb43bf890ad540a9146487d6a3ec42a [Pipeline] echo 17:15:50 ========================================================= 17:15:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:15:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:15:51 + git log --format=format:%s -1 5eec883b2bb43bf890ad540a9146487d6a3ec42a [Pipeline] echo 17:15:51 [semverPrep] GIT_COMMIT: 5eec883b2bb43bf890ad540a9146487d6a3ec42a, Commit Message: refactor!: update secret path to secretName (#238) [Pipeline] echo 17:15:51 [semverPrep] This is not a build commit. [Pipeline] sh 17:15:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:15:51 + grep -v github /etc/ssh/ssh_known_hosts 17:15:51 + [ -e /tmp/ssh_known_hosts ] 17:15:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:15:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:15:51 + sudo tee -a /etc/ssh/ssh_known_hosts 17:15:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:15:51 17:15:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:15:52 0.1.4: Pulling from edgex-devops/py-git-semver 17:15:52 b85a868b505f: Pulling fs layer 17:15:52 e2be974225ed: Pulling fs layer 17:15:52 339a4e72a1f5: Pulling fs layer 17:15:52 988bab9f4d93: Pulling fs layer 17:15:52 1469e6f7b9e6: Pulling fs layer 17:15:52 eaf3925da568: Pulling fs layer 17:15:52 bab4dde63d76: Pulling fs layer 17:15:52 bde34c3a00c8: Pulling fs layer 17:15:52 b352a97aabf1: Pulling fs layer 17:15:52 4872d77fe225: Pulling fs layer 17:15:52 5851b861e8e6: Pulling fs layer 17:15:52 eaf3925da568: Waiting 17:15:52 bab4dde63d76: Waiting 17:15:52 b352a97aabf1: Waiting 17:15:52 988bab9f4d93: Waiting 17:15:52 4872d77fe225: Waiting 17:15:52 1469e6f7b9e6: Waiting 17:15:52 5851b861e8e6: Waiting 17:15:52 e2be974225ed: Verifying Checksum 17:15:52 988bab9f4d93: Download complete 17:15:52 1469e6f7b9e6: Verifying Checksum 17:15:52 1469e6f7b9e6: Download complete 17:15:52 339a4e72a1f5: Verifying Checksum 17:15:52 339a4e72a1f5: Download complete 17:15:52 eaf3925da568: Download complete 17:15:52 bde34c3a00c8: Download complete 17:15:52 b352a97aabf1: Download complete 17:15:52 4872d77fe225: Download complete 17:15:52 5851b861e8e6: Download complete 17:15:52 b85a868b505f: Download complete 17:15:52 bab4dde63d76: Verifying Checksum 17:15:52 bab4dde63d76: Download complete 17:15:53 b85a868b505f: Pull complete 17:15:53 e2be974225ed: Pull complete 17:15:54 339a4e72a1f5: Pull complete 17:15:54 988bab9f4d93: Pull complete 17:15:54 1469e6f7b9e6: Pull complete 17:15:54 eaf3925da568: Pull complete 17:15:56 bab4dde63d76: Pull complete 17:15:56 bde34c3a00c8: Pull complete 17:15:56 b352a97aabf1: Pull complete 17:15:56 4872d77fe225: Pull complete 17:15:56 5851b861e8e6: Pull complete 17:15:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:15:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:15:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:57 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 17:15:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:16:00 $ docker top 798ca4efc89348672219e9243160f9b6203ce64cb467c553111f0b085deb5c18 -eo pid,comm 17:16:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:16:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:16:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:16:00 [ssh-agent] Looking for ssh-agent implementation... 17:16:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:16:00 $ docker exec 798ca4efc89348672219e9243160f9b6203ce64cb467c553111f0b085deb5c18 ssh-agent 17:16:00 SSH_AUTH_SOCK=/tmp/ssh-qdXMxqBt4phM/agent.31 17:16:00 SSH_AGENT_PID=37 17:16:00 Running ssh-add (command line suppressed) 17:16:00 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16051079059592554396.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16051079059592554396.key) 17:16:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:16:01 + git tag --points-at HEAD [Pipeline] } 17:16:01 $ docker exec --env ******** --env ******** 798ca4efc89348672219e9243160f9b6203ce64cb467c553111f0b085deb5c18 ssh-agent -k 17:16:01 unset SSH_AUTH_SOCK; 17:16:01 unset SSH_AGENT_PID; 17:16:01 echo Agent pid 37 killed; 17:16:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:16:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:16:01 [ssh-agent] Looking for ssh-agent implementation... 17:16:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:16:01 $ docker exec 798ca4efc89348672219e9243160f9b6203ce64cb467c553111f0b085deb5c18 ssh-agent 17:16:01 SSH_AUTH_SOCK=/tmp/ssh-rYi2Z3yxUUpZ/agent.69 17:16:01 SSH_AGENT_PID=75 17:16:01 Running ssh-add (command line suppressed) 17:16:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3185807897879506115.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3185807897879506115.key) 17:16:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:16:01 + git semver init 17:16:02 2023-03-07 17:16:02,078 [run_init] DEBUG init version:0.0.0 force:False 17:16:02 2023-03-07 17:16:02,080 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:16:02 2023-03-07 17:16:02,080 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:16:02 2023-03-07 17:16:02,081 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:16:03 2023-03-07 17:16:02,962 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:16:03 2023-03-07 17:16:02,962 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:16:03 2023-03-07 17:16:02,962 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:16:03 2023-03-07 17:16:02,963 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:16:03 3.0.0-dev.17 [Pipeline] } 17:16:03 $ docker exec --env ******** --env ******** 798ca4efc89348672219e9243160f9b6203ce64cb467c553111f0b085deb5c18 ssh-agent -k 17:16:03 unset SSH_AUTH_SOCK; 17:16:03 unset SSH_AGENT_PID; 17:16:03 echo Agent pid 75 killed; 17:16:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:16:03 + git semver [Pipeline] } 17:16:03 $ docker stop --time=1 798ca4efc89348672219e9243160f9b6203ce64cb467c553111f0b085deb5c18 17:16:05 $ docker rm -f --volumes 798ca4efc89348672219e9243160f9b6203ce64cb467c553111f0b085deb5c18 [Pipeline] // withDockerContainer [Pipeline] sh 17:16:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:16:05 Stashed 1 file(s) [Pipeline] echo 17:16:05 [edgeXSemver]: initialized semver on version 3.0.0-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:16:05 provisioning config files... 17:16:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9010771430026816972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:16:06 ---> docker-login.sh 17:16:06 nexus3.edgexfoundry.org:10001 17:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:06 Configure a credential helper to remove this warning. See 17:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:06 17:16:06 Login Succeeded 17:16:06 nexus3.edgexfoundry.org:10002 17:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:06 Configure a credential helper to remove this warning. See 17:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:06 17:16:06 Login Succeeded 17:16:06 nexus3.edgexfoundry.org:10003 17:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:06 Configure a credential helper to remove this warning. See 17:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:06 17:16:06 Login Succeeded 17:16:06 nexus3.edgexfoundry.org:10004 17:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:06 Configure a credential helper to remove this warning. See 17:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:06 17:16:06 Login Succeeded 17:16:06 docker.io 17:16:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:16:06 Configure a credential helper to remove this warning. See 17:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:16:06 17:16:06 Login Succeeded 17:16:06 ---> docker-login.sh ends [Pipeline] } 17:16:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:16:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:16:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:16:06 ========================================================= 17:16:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:16:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:16:07 Sending build context to Docker daemon 27.84MB 17:16:07 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:16:07 Step 2/13 : FROM ${BASE} AS builder 17:16:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:16:07 213ec9aee27d: Pulling fs layer 17:16:07 4583459ba037: Pulling fs layer 17:16:07 93c1e223e6f2: Pulling fs layer 17:16:07 53926ce57604: Pulling fs layer 17:16:07 21b2b0c7a3f4: Pulling fs layer 17:16:07 22ff95d597cd: Pulling fs layer 17:16:07 12d6caf4c0d1: Pulling fs layer 17:16:07 96b7cbca73a9: Pulling fs layer 17:16:07 a7acece74701: Pulling fs layer 17:16:07 53926ce57604: Waiting 17:16:07 21b2b0c7a3f4: Waiting 17:16:07 22ff95d597cd: Waiting 17:16:07 12d6caf4c0d1: Waiting 17:16:07 96b7cbca73a9: Waiting 17:16:07 a7acece74701: Waiting 17:16:07 93c1e223e6f2: Download complete 17:16:07 4583459ba037: Verifying Checksum 17:16:07 4583459ba037: Download complete 17:16:07 21b2b0c7a3f4: Verifying Checksum 17:16:07 21b2b0c7a3f4: Download complete 17:16:07 22ff95d597cd: Verifying Checksum 17:16:07 22ff95d597cd: Download complete 17:16:07 213ec9aee27d: Verifying Checksum 17:16:07 213ec9aee27d: Download complete 17:16:07 12d6caf4c0d1: Verifying Checksum 17:16:07 12d6caf4c0d1: Download complete 17:16:07 213ec9aee27d: Pull complete 17:16:07 4583459ba037: Pull complete 17:16:07 93c1e223e6f2: Pull complete 17:16:07 a7acece74701: Verifying Checksum 17:16:07 a7acece74701: Download complete 17:16:08 96b7cbca73a9: Verifying Checksum 17:16:08 96b7cbca73a9: Download complete 17:16:08 53926ce57604: Verifying Checksum 17:16:08 53926ce57604: Download complete 17:16:12 53926ce57604: Pull complete 17:16:12 21b2b0c7a3f4: Pull complete 17:16:12 22ff95d597cd: Pull complete 17:16:12 12d6caf4c0d1: Pull complete 17:16:14 96b7cbca73a9: Pull complete 17:16:15 a7acece74701: Pull complete 17:16:15 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:16:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:16:15 ---> db6d94c90886 17:16:15 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:16:20 Still waiting to schedule task 17:16:20 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8574’ is offline 17:16:21 ---> Running in 68b470c55d78 17:16:21 Removing intermediate container 68b470c55d78 17:16:21 ---> c99d819fb87b 17:16:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:16:21 ---> Running in 120e8a3c98be 17:16:21 Removing intermediate container 120e8a3c98be 17:16:21 ---> 309f2eabde5e 17:16:21 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:16:21 ---> Running in ff84816a1989 17:16:21 Removing intermediate container ff84816a1989 17:16:21 ---> 4ff891a6fb21 17:16:21 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:16:21 ---> Running in 45abbcee0891 17:16:21 Removing intermediate container 45abbcee0891 17:16:21 ---> 946a891ec568 17:16:21 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:16:21 ---> Running in 7d18f629c244 17:16:21 Removing intermediate container 7d18f629c244 17:16:21 ---> 4b3932777909 17:16:21 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:16:21 ---> Running in ebdfd2459e1b 17:16:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:16:22 OK: 211 MiB in 51 packages 17:16:23 Removing intermediate container ebdfd2459e1b 17:16:23 ---> 5b40bac2752e 17:16:23 Step 9/13 : WORKDIR /device-onvif-camera 17:16:23 ---> Running in 68b82b264079 17:16:23 Removing intermediate container 68b82b264079 17:16:23 ---> a07986375c23 17:16:23 Step 10/13 : COPY go.mod vendor* ./ 17:16:23 ---> 2858b8554783 17:16:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:16:23 ---> Running in 3122ea59781c 17:17:01 Removing intermediate container 3122ea59781c 17:17:01 ---> eda0aaa63741 17:17:01 Step 12/13 : COPY . . 17:17:02 ---> 6dc535d57c6f 17:17:02 Step 13/13 : RUN ${MAKE} 17:17:02 ---> Running in 4887c0cdd47f 17:17:02 noop 17:17:02 Removing intermediate container 4887c0cdd47f 17:17:02 ---> 11620898a69f 17:17:02 Successfully built 11620898a69f 17:17:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:02 + docker inspect -f . ci-base-image-x86_64 17:17:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:02 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 17:17:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:17:03 $ docker top c42519094413a5965abb1460bcaa26339add471d26edfd6cd4467653e9c55c71 -eo pid,comm [Pipeline] { [Pipeline] sh 17:17:03 + go version 17:17:03 go version go1.18.7 linux/amd64 [Pipeline] } 17:17:03 $ docker stop --time=1 c42519094413a5965abb1460bcaa26339add471d26edfd6cd4467653e9c55c71 17:17:05 $ docker rm -f --volumes c42519094413a5965abb1460bcaa26339add471d26edfd6cd4467653e9c55c71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:05 + docker inspect -f . ci-base-image-x86_64 17:17:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:05 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 17:17:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:17:05 $ docker top dc454ec7c6119d01c3ba4f218d1d224b8cb0aab8c1da39094abd8f44149ac14d -eo pid,comm [Pipeline] { [Pipeline] sh 17:17:06 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:17:06 + make test 17:17:06 go test ./... -coverprofile=coverage.out ./... 17:17:06 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:17:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:17:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 29.3% of statements 17:17:21 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:17:21 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.626s coverage: 86.5% of statements 17:17:29 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:17:29 go vet ./... 17:17:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:17:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:17:33 ./bin/test-attribution-txt.sh [Pipeline] echo 17:17:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:17:33 $ docker stop --time=1 dc454ec7c6119d01c3ba4f218d1d224b8cb0aab8c1da39094abd8f44149ac14d 17:17:36 $ docker rm -f --volumes dc454ec7c6119d01c3ba4f218d1d224b8cb0aab8c1da39094abd8f44149ac14d [Pipeline] // withDockerContainer [Pipeline] sh 17:17:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:17:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:17:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:17:38 + ls -al . 17:17:38 total 236 17:17:38 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 17:17 . 17:17:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:15 .. 17:17:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 17:17 .git 17:17:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:15 .github 17:17:38 -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 17:15 .gitignore 17:17:38 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 17:15 .golangci.yml 17:17:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 17:16 .semver 17:17:38 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 17:15 Attribution.txt 17:17:38 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 17:15 CHANGELOG.md 17:17:38 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 17:15 Dockerfile 17:17:38 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 17:15 GOVERNANCE.md 17:17:38 -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 17:15 Jenkinsfile 17:17:38 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 17:15 LICENSE 17:17:38 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 17:15 Makefile 17:17:38 -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 17:15 OWNERS.md 17:17:38 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 17:15 README.md 17:17:38 -rw-rw-r-- 1 jenkins jenkins 12 Mar 7 17:16 VERSION 17:17:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 17:15 bin 17:17:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:15 cmd 17:17:38 -rw-r--r-- 1 jenkins jenkins 79184 Mar 7 17:17 coverage.out 17:17:38 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 17:15 doc 17:17:38 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 17:15 go.mod 17:17:38 -rw-rw-r-- 1 jenkins jenkins 34676 Mar 7 17:15 go.sum 17:17:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:15 internal 17:17:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:15 snap 17:17:38 -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 17:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:38 + 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=5eec883b2bb43bf890ad540a9146487d6a3ec42a --label arch=amd64 --label version=3.0.0-dev.17 . 17:17:38 Sending build context to Docker daemon 27.92MB 17:17:38 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:17:38 Step 2/26 : FROM ${BASE} AS builder 17:17:38 ---> 11620898a69f 17:17:38 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:17:38 ---> Running in ca3e53752e58 17:17:38 Removing intermediate container ca3e53752e58 17:17:38 ---> 40c372711c6a 17:17:38 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:17:38 ---> Running in 2080655e36f1 17:17:38 Removing intermediate container 2080655e36f1 17:17:38 ---> 94da798c5000 17:17:38 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:17:39 ---> Running in bc73a71eed3e 17:17:39 Removing intermediate container bc73a71eed3e 17:17:39 ---> a68918e76ab9 17:17:39 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:17:39 ---> Running in 0d2decb16853 17:17:39 Removing intermediate container 0d2decb16853 17:17:39 ---> bccd09fa41c8 17:17:39 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:17:39 ---> Running in 7c6d9cfb0354 17:17:39 Removing intermediate container 7c6d9cfb0354 17:17:39 ---> 0ca1b1327c59 17:17:39 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:17:39 ---> Running in 309f2a58cc27 17:17:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:17:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:17:39 OK: 211 MiB in 51 packages 17:17:40 Removing intermediate container 309f2a58cc27 17:17:40 ---> 371794e5190f 17:17:40 Step 9/26 : WORKDIR /device-onvif-camera 17:17:40 ---> Running in 0039aba6d6d1 17:17:40 Removing intermediate container 0039aba6d6d1 17:17:40 ---> d44ccba6d223 17:17:40 Step 10/26 : COPY go.mod vendor* ./ 17:17:40 ---> a081c1649f20 17:17:40 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:17:40 ---> Running in 3f49eee8fccf 17:17:41 Removing intermediate container 3f49eee8fccf 17:17:41 ---> 4048a1ab8355 17:17:41 Step 12/26 : COPY . . 17:17:42 ---> 2629b2ff1187 17:17:42 Step 13/26 : RUN ${MAKE} 17:17:42 ---> Running in 7f15617bfb77 17:17:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.17" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:17:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8581 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:17:57 Running in /w/workspace/device-onvif-camera/107 [Pipeline] { [Pipeline] checkout 17:17:57 The recommended git tool is: git 17:18:03 using credential edgex-jenkins-ssh 17:18:03 Cloning the remote Git repository 17:18:03 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:18:03 > git init /w/workspace/device-onvif-camera/107 # timeout=10 17:18:03 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:18:03 > git --version # timeout=10 17:18:03 > git --version # 'git version 2.25.1' 17:18:03 using GIT_SSH to set credentials SSH Credentials for GitHub 17:18:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:18:07 Avoid second fetch 17:18:07 Checking out Revision 5eec883b2bb43bf890ad540a9146487d6a3ec42a (main) 17:18:06 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:18:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:18:07 > git config core.sparsecheckout # timeout=10 17:18:07 > git checkout -f 5eec883b2bb43bf890ad540a9146487d6a3ec42a # timeout=10 17:18:08 Commit message: "refactor!: update secret path to secretName (#238)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:18:09 Removing intermediate container 7f15617bfb77 17:18:09 ---> f7b4f55c4158 17:18:09 Step 14/26 : FROM alpine:3.16 17:18:09 3.16: Pulling from library/alpine 17:18:09 ef5531b6e74e: Pulling fs layer 17:18:09 ef5531b6e74e: Verifying Checksum 17:18:09 ef5531b6e74e: Download complete 17:18:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:18:09 % Total % Received % Xferd Average Speed Time Time Time Current 17:18:09 Dload Upload Total Spent Left Speed 17:18:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 17:18:09 ef5531b6e74e: Pull complete 17:18:09 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:18:09 Status: Downloaded newer image for alpine:3.16 17:18:09 ---> dfd21b5a31f5 17:18:09 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [Pipeline] sh 17:18:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:18:10 ---> Running in 5cc2d9882c88 17:18:10 + sudo tee /etc/docker/daemon.new 17:18:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:18:10 { 17:18:10 "registry-mirrors": [ 17:18:10 "https://nexus3.edgexfoundry.org:10001" 17:18:10 ], 17:18:10 "bip": "10.250.0.254/24", 17:18:10 "hosts": [ 17:18:10 "tcp://0.0.0.0:5555", 17:18:10 "unix:///var/run/docker.sock" 17:18:10 ], 17:18:10 "mtu": 1458, 17:18:10 "selinux-enabled": true, 17:18:10 "seccomp-profile": "/etc/docker/seccomp.json" 17:18:10 } [Pipeline] sh 17:18:10 Removing intermediate container 5cc2d9882c88 17:18:10 ---> 55f5d470dd46 17:18:10 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:18:10 ---> Running in 3dc5ac999b03 17:18:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:18:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:18:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:18:11 + sudo service docker restart 17:18:11 (1/1) Installing dumb-init (1.2.5-r1) 17:18:11 Executing busybox-1.35.0-r17.trigger 17:18:11 OK: 6 MiB in 15 packages 17:18:11 Removing intermediate container 3dc5ac999b03 17:18:11 ---> 8f6754bd4e41 17:18:11 Step 17/26 : WORKDIR / 17:18:12 ---> Running in a41f43f490c4 17:18:12 Removing intermediate container a41f43f490c4 17:18:12 ---> 9fbe4b3b4346 17:18:12 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:18:13 ---> 83461f778053 17:18:13 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:18:14 ---> bb4baed37489 17:18:14 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:18:15 ---> 6e03cf682ad5 17:18:15 Step 21/26 : EXPOSE 59984 17:18:15 ---> Running in 0ef1800b342c 17:18:15 Removing intermediate container 0ef1800b342c 17:18:15 ---> f517f2c53d01 17:18:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:18:15 ---> Running in 3d9765ae181e 17:18:15 Removing intermediate container 3d9765ae181e 17:18:15 ---> 2b9803c8006c 17:18:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:18:15 ---> Running in b99f405e41ea 17:18:15 Removing intermediate container b99f405e41ea 17:18:15 ---> 45f846cd6eba 17:18:15 Step 24/26 : LABEL arch=amd64 17:18:15 ---> Running in 674b2f402a00 17:18:15 Removing intermediate container 674b2f402a00 17:18:15 ---> e07ab7351b43 17:18:15 Step 25/26 : LABEL git_sha=5eec883b2bb43bf890ad540a9146487d6a3ec42a 17:18:15 ---> Running in 019db7e925f1 17:18:15 Removing intermediate container 019db7e925f1 17:18:15 ---> 4245ec491709 17:18:15 Step 26/26 : LABEL version=3.0.0-dev.17 17:18:15 ---> Running in c73e79f1382a 17:18:15 Removing intermediate container c73e79f1382a 17:18:15 ---> 6320fa3baec9 17:18:15 [Warning] One or more build-args [ARCH] were not consumed 17:18:15 Successfully built 6320fa3baec9 17:18:15 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:18:15 provisioning config files... 17:18:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5695310105394393571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:18:16 ---> docker-login.sh 17:18:16 nexus3.edgexfoundry.org:10001 17:18:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:16 Configure a credential helper to remove this warning. See 17:18:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:16 17:18:16 Login Succeeded 17:18:16 nexus3.edgexfoundry.org:10002 17:18:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:16 Configure a credential helper to remove this warning. See 17:18:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:16 17:18:16 Login Succeeded 17:18:16 nexus3.edgexfoundry.org:10003 17:18:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:16 Configure a credential helper to remove this warning. See 17:18:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:16 17:18:16 Login Succeeded 17:18:16 nexus3.edgexfoundry.org:10004 17:18:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:16 Configure a credential helper to remove this warning. See 17:18:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:16 17:18:16 Login Succeeded 17:18:16 docker.io 17:18:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:16 Configure a credential helper to remove this warning. See 17:18:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:16 17:18:16 Login Succeeded 17:18:16 ---> docker-login.sh ends [Pipeline] } 17:18:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:18:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:18:16 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:18:16 5eec883b2bb43bf890ad540a9146487d6a3ec42a 17:18:16 latest 17:18:16 3.0.0-dev.17 17:18:16 5eec883b2bb43bf890ad540a9146487d6a3ec42a-3.0.0-dev.17 17:18:16 main 17:18:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:17 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:5eec883b2bb43bf890ad540a9146487d6a3ec42a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:5eec883b2bb43bf890ad540a9146487d6a3ec42a 17:18:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:18:17 53d7b906692e: Preparing 17:18:17 3941e96b1ada: Preparing 17:18:17 c81a42f52167: Preparing 17:18:17 ed4d89bcd50e: Preparing 17:18:17 aa5968d388b8: Preparing 17:18:17 aa5968d388b8: Layer already exists 17:18:17 53d7b906692e: Pushed 17:18:17 ed4d89bcd50e: Pushed 17:18:17 3941e96b1ada: Pushed 17:18:19 c81a42f52167: Pushed 17:18:19 5eec883b2bb43bf890ad540a9146487d6a3ec42a: digest: sha256:ae45ce96d95740a610ac2a2d33c40ad0cff9fe164fbfd71e782dfe9f90405c2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:20 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:18:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:18:20 53d7b906692e: Preparing 17:18:20 3941e96b1ada: Preparing 17:18:20 c81a42f52167: Preparing 17:18:20 ed4d89bcd50e: Preparing 17:18:20 aa5968d388b8: Preparing 17:18:20 3941e96b1ada: Layer already exists 17:18:20 c81a42f52167: Layer already exists 17:18:20 ed4d89bcd50e: Layer already exists 17:18:20 53d7b906692e: Layer already exists 17:18:20 aa5968d388b8: Layer already exists 17:18:20 latest: digest: sha256:ae45ce96d95740a610ac2a2d33c40ad0cff9fe164fbfd71e782dfe9f90405c2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:20 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.17 17:18:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:18:21 53d7b906692e: Preparing 17:18:21 3941e96b1ada: Preparing 17:18:21 c81a42f52167: Preparing 17:18:21 ed4d89bcd50e: Preparing 17:18:21 aa5968d388b8: Preparing 17:18:21 c81a42f52167: Layer already exists 17:18:21 aa5968d388b8: Layer already exists 17:18:21 ed4d89bcd50e: Layer already exists 17:18:21 53d7b906692e: Layer already exists 17:18:21 3941e96b1ada: Layer already exists 17:18:21 3.0.0-dev.17: digest: sha256:ae45ce96d95740a610ac2a2d33c40ad0cff9fe164fbfd71e782dfe9f90405c2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:21 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:5eec883b2bb43bf890ad540a9146487d6a3ec42a-3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:5eec883b2bb43bf890ad540a9146487d6a3ec42a-3.0.0-dev.17 17:18:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:18:21 53d7b906692e: Preparing 17:18:21 3941e96b1ada: Preparing 17:18:21 c81a42f52167: Preparing 17:18:21 ed4d89bcd50e: Preparing 17:18:21 aa5968d388b8: Preparing 17:18:21 3941e96b1ada: Layer already exists 17:18:21 aa5968d388b8: Layer already exists 17:18:21 ed4d89bcd50e: Layer already exists 17:18:21 53d7b906692e: Layer already exists 17:18:21 c81a42f52167: Layer already exists 17:18:21 5eec883b2bb43bf890ad540a9146487d6a3ec42a-3.0.0-dev.17: digest: sha256:ae45ce96d95740a610ac2a2d33c40ad0cff9fe164fbfd71e782dfe9f90405c2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:22 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:18:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:18:22 53d7b906692e: Preparing 17:18:22 3941e96b1ada: Preparing 17:18:22 c81a42f52167: Preparing 17:18:22 ed4d89bcd50e: Preparing 17:18:22 aa5968d388b8: Preparing 17:18:22 53d7b906692e: Layer already exists 17:18:22 aa5968d388b8: Layer already exists 17:18:22 ed4d89bcd50e: Layer already exists 17:18:22 c81a42f52167: Layer already exists 17:18:22 3941e96b1ada: Layer already exists 17:18:22 main: digest: sha256:ae45ce96d95740a610ac2a2d33c40ad0cff9fe164fbfd71e782dfe9f90405c2e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:18:22 ===================================================== [Pipeline] echo 17:18:22 taggedImages: 17:18:22 - nexus3.edgexfoundry.org:10004/device-onvif-camera:5eec883b2bb43bf890ad540a9146487d6a3ec42a 17:18:22 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:18:22 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.17 17:18:22 - nexus3.edgexfoundry.org:10004/device-onvif-camera:5eec883b2bb43bf890ad540a9146487d6a3ec42a-3.0.0-dev.17 17:18:22 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:18:22 17:18:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:18:23 latest: Pulling from edgex-lftools-log-publisher 17:18:23 5eb5b503b376: Pulling fs layer 17:18:23 5c69ac0246d0: Pulling fs layer 17:18:23 ec43610c2a17: Pulling fs layer 17:18:23 3a2ae6a8a46f: Pulling fs layer 17:18:23 33b1e0a273af: Pulling fs layer 17:18:23 5d3b04190fa2: Pulling fs layer 17:18:23 2f39f015ded8: Pulling fs layer 17:18:23 33b1e0a273af: Waiting 17:18:23 5d3b04190fa2: Waiting 17:18:23 2f39f015ded8: Waiting 17:18:23 3a2ae6a8a46f: Waiting 17:18:23 5c69ac0246d0: Download complete 17:18:23 3a2ae6a8a46f: Download complete 17:18:23 33b1e0a273af: Verifying Checksum 17:18:23 33b1e0a273af: Download complete 17:18:23 5d3b04190fa2: Verifying Checksum 17:18:23 5d3b04190fa2: Download complete 17:18:23 ec43610c2a17: Verifying Checksum 17:18:23 ec43610c2a17: Download complete 17:18:23 5eb5b503b376: Download complete 17:18:23 2f39f015ded8: Verifying Checksum 17:18:23 2f39f015ded8: Download complete 17:18:24 5eb5b503b376: Pull complete 17:18:24 5c69ac0246d0: Pull complete 17:18:25 ec43610c2a17: Pull complete 17:18:25 3a2ae6a8a46f: Pull complete 17:18:25 33b1e0a273af: Pull complete 17:18:25 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:18:29 provisioning config files... 17:18:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/107@tmp/config17398345524733160999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:18:29 ---> docker-login.sh 17:18:29 nexus3.edgexfoundry.org:10001 17:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:30 Configure a credential helper to remove this warning. See 17:18:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:30 17:18:30 Login Succeeded 17:18:30 nexus3.edgexfoundry.org:10002 17:18:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:30 2f39f015ded8: Pull complete 17:18:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:18:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:18:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:18:30 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 17:18:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:31 Configure a credential helper to remove this warning. See 17:18:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:31 17:18:31 Login Succeeded 17:18:31 nexus3.edgexfoundry.org:10003 17:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:31 Configure a credential helper to remove this warning. See 17:18:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:31 17:18:31 Login Succeeded 17:18:31 nexus3.edgexfoundry.org:10004 17:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:31 Configure a credential helper to remove this warning. See 17:18:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:31 17:18:31 Login Succeeded 17:18:31 docker.io 17:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:32 Configure a credential helper to remove this warning. See 17:18:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:32 17:18:32 Login Succeeded 17:18:32 ---> docker-login.sh ends 17:18:38 $ docker top b42fdeec1e0f50cd477cc938598a8c2df425778a7c2880b844a5ab4299ac4d9e -eo pid,comm [Pipeline] { [Pipeline] } 17:18:38 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 17:18:39 ---> job-cost.sh 17:18:39 lf-activate-venv: SKIPPING 17:18:39 INFO: No Stack... [Pipeline] echo 17:18:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:18:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:18:39 ========================================================= 17:18:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:18:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:39 INFO: Retrieving Pricing Info for: v3-standard-8 17:18:39 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:18:39 INFO: Archiving Costs [Pipeline] sh 17:18:39 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 17:18:39 + cut -d, -f6 [Pipeline] lock 17:18:39 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-107-stack-cost] 17:18:39 Resource [jenkins-edgexfoundry-device-onvif-camera-main-107-stack-cost] did not exist. Created. 17:18:39 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:18:40 Sending build context to Docker daemon 20.61MB 17:18:40 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:18:40 Step 2/13 : FROM ${BASE} AS builder 17:18:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:18:40 9b18e9b68314: Pulling fs layer 17:18:40 35d82f9e3411: Pulling fs layer 17:18:40 e16973657156: Pulling fs layer 17:18:40 fc693d55d65f: Pulling fs layer 17:18:40 7e9fc2657dce: Pulling fs layer 17:18:40 dda99020689f: Pulling fs layer 17:18:40 db1c61fa0a46: Pulling fs layer 17:18:40 891c053d2c06: Pulling fs layer 17:18:40 fc693d55d65f: Waiting 17:18:40 7e9fc2657dce: Waiting 17:18:40 dda99020689f: Waiting 17:18:40 db1c61fa0a46: Waiting 17:18:40 + echo total: 0.2199999988079071 [Pipeline] stash 17:18:40 Stashed 1 file(s) [Pipeline] } 17:18:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-107-stack-cost] [Pipeline] // lock [Pipeline] } 17:18:40 $ docker stop --time=1 b42fdeec1e0f50cd477cc938598a8c2df425778a7c2880b844a5ab4299ac4d9e 17:18:40 e16973657156: Verifying Checksum 17:18:40 e16973657156: Download complete 17:18:40 35d82f9e3411: Verifying Checksum 17:18:40 35d82f9e3411: Download complete 17:18:40 7e9fc2657dce: Verifying Checksum 17:18:40 7e9fc2657dce: Download complete 17:18:40 dda99020689f: Verifying Checksum 17:18:40 dda99020689f: Download complete 17:18:40 9b18e9b68314: Verifying Checksum 17:18:41 9b18e9b68314: Pull complete 17:18:41 891c053d2c06: Verifying Checksum 17:18:41 891c053d2c06: Download complete 17:18:41 $ docker rm -f --volumes b42fdeec1e0f50cd477cc938598a8c2df425778a7c2880b844a5ab4299ac4d9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:18:41 35d82f9e3411: Pull complete 17:18:42 e16973657156: Pull complete 17:18:42 db1c61fa0a46: Verifying Checksum 17:18:42 db1c61fa0a46: Download complete 17:18:43 fc693d55d65f: Verifying Checksum 17:18:43 fc693d55d65f: Download complete 17:18:55 fc693d55d65f: Pull complete 17:18:55 7e9fc2657dce: Pull complete 17:18:55 dda99020689f: Pull complete 17:18:59 db1c61fa0a46: Pull complete 17:19:01 891c053d2c06: Pull complete 17:19:01 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:19:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:19:01 ---> f96f9c87975a 17:19:01 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:19:03 ---> Running in f75eb70813d6 17:19:04 Removing intermediate container f75eb70813d6 17:19:04 ---> 3488a7e1de85 17:19:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:19:04 ---> Running in 8c175af900a6 17:19:04 Removing intermediate container 8c175af900a6 17:19:04 ---> ef1d9503238d 17:19:04 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:19:04 ---> Running in 093468e4e5ef 17:19:05 Removing intermediate container 093468e4e5ef 17:19:05 ---> 9a5e22f7d225 17:19:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:19:05 ---> Running in 55e1143e9053 17:19:05 Removing intermediate container 55e1143e9053 17:19:05 ---> 6467633344a0 17:19:05 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:19:05 ---> Running in e5a3dc074a2f 17:19:05 Removing intermediate container e5a3dc074a2f 17:19:05 ---> aae62fad6914 17:19:05 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:19:05 ---> Running in c1903957d48d 17:19:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:19:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:19:09 OK: 221 MiB in 51 packages 17:19:11 Removing intermediate container c1903957d48d 17:19:11 ---> dcea4ac32e53 17:19:11 Step 9/13 : WORKDIR /device-onvif-camera 17:19:11 ---> Running in f29f4947445a 17:19:11 Removing intermediate container f29f4947445a 17:19:11 ---> 59b546f79149 17:19:11 Step 10/13 : COPY go.mod vendor* ./ 17:19:12 ---> abdee790baee 17:19:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:19:12 ---> Running in 07e971c395a5 17:20:34 Removing intermediate container 07e971c395a5 17:20:34 ---> 4528448827f9 17:20:34 Step 12/13 : COPY . . 17:20:34 ---> 825a515719cb 17:20:34 Step 13/13 : RUN ${MAKE} 17:20:34 ---> Running in d053b14985ab 17:20:34 noop 17:20:34 Removing intermediate container d053b14985ab 17:20:34 ---> 6a54ed85ff2d 17:20:34 Successfully built 6a54ed85ff2d 17:20:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:34 + docker inspect -f . ci-base-image-arm64 17:20:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:34 prd-ubuntu20.04-docker-arm64-4c-16g-8581 does not seem to be running inside a container 17:20:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/107 -v /w/workspace/device-onvif-camera/107:/w/workspace/device-onvif-camera/107:rw,z -v /w/workspace/device-onvif-camera/107@tmp:/w/workspace/device-onvif-camera/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:20:36 $ docker top 6d2cc5f7068a1b9ac84b89eaba1018f87b35686b17ab270f233a1532770450ad -eo pid,comm [Pipeline] { [Pipeline] sh 17:20:36 + go version 17:20:36 go version go1.18.7 linux/arm64 [Pipeline] } 17:20:36 $ docker stop --time=1 6d2cc5f7068a1b9ac84b89eaba1018f87b35686b17ab270f233a1532770450ad 17:20:38 $ docker rm -f --volumes 6d2cc5f7068a1b9ac84b89eaba1018f87b35686b17ab270f233a1532770450ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:39 + docker inspect -f . ci-base-image-arm64 17:20:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:39 prd-ubuntu20.04-docker-arm64-4c-16g-8581 does not seem to be running inside a container 17:20:39 $ 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/107 -v /w/workspace/device-onvif-camera/107:/w/workspace/device-onvif-camera/107:rw,z -v /w/workspace/device-onvif-camera/107@tmp:/w/workspace/device-onvif-camera/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:20:40 $ docker top 88c6f6f9208ba33355059f000c9e790e8c16e9afb0318cbc02bf960cc919c587 -eo pid,comm [Pipeline] { [Pipeline] sh 17:20:41 + git config --global --add safe.directory /w/workspace/device-onvif-camera/107 [Pipeline] fileExists [Pipeline] sh 17:20:41 + make test 17:20:41 go test ./... -coverprofile=coverage.out ./... 17:20:43 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:22:35 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:22:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.288s coverage: 29.3% of statements 17:22:35 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:22:45 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.555s coverage: 86.5% of statements 17:22:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:22:45 go vet ./... 17:23:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:23:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:23:24 ./bin/test-attribution-txt.sh [Pipeline] echo 17:23:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:23:24 $ docker stop --time=1 88c6f6f9208ba33355059f000c9e790e8c16e9afb0318cbc02bf960cc919c587 17:23:26 $ docker rm -f --volumes 88c6f6f9208ba33355059f000c9e790e8c16e9afb0318cbc02bf960cc919c587 [Pipeline] // withDockerContainer [Pipeline] sh 17:23:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:23:27 Warning: overwriting stash ‘coverage-report’ 17:23:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:23:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:23:29 + ls -al . 17:23:29 total 232 17:23:29 drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 17:20 . 17:23:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:18 .. 17:23:29 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 17:18 .git 17:23:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:18 .github 17:23:29 -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 17:18 .gitignore 17:23:29 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 17:18 .golangci.yml 17:23:29 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 17:18 Attribution.txt 17:23:29 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 17:18 CHANGELOG.md 17:23:29 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 17:18 Dockerfile 17:23:29 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 17:18 GOVERNANCE.md 17:23:29 -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 17:18 Jenkinsfile 17:23:29 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 17:18 LICENSE 17:23:29 -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 17:18 Makefile 17:23:29 -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 17:18 OWNERS.md 17:23:29 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 17:18 README.md 17:23:29 -rw-rw-r-- 1 jenkins jenkins 12 Mar 7 17:16 VERSION 17:23:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 17:18 bin 17:23:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 17:18 cmd 17:23:29 -rw-r--r-- 1 jenkins jenkins 79184 Mar 7 17:22 coverage.out 17:23:29 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 17:18 doc 17:23:29 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 17:18 go.mod 17:23:29 -rw-rw-r-- 1 jenkins jenkins 34676 Mar 7 17:18 go.sum 17:23:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:18 internal 17:23:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 17:18 snap 17:23:29 -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 17:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:29 + 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=5eec883b2bb43bf890ad540a9146487d6a3ec42a --label arch=arm64 --label version=3.0.0-dev.17 . 17:23:30 Sending build context to Docker daemon 20.69MB 17:23:30 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:23:30 Step 2/26 : FROM ${BASE} AS builder 17:23:30 ---> 6a54ed85ff2d 17:23:30 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:23:30 ---> Running in 303ca13ce693 17:23:30 Removing intermediate container 303ca13ce693 17:23:30 ---> c12f7e5a0653 17:23:30 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:23:30 ---> Running in a9a77d4abf2f 17:23:31 Removing intermediate container a9a77d4abf2f 17:23:31 ---> df040d079a46 17:23:31 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:23:31 ---> Running in 55850e49bf04 17:23:31 Removing intermediate container 55850e49bf04 17:23:31 ---> ce47055ec2ae 17:23:31 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:23:31 ---> Running in 0f75dea286a7 17:23:31 Removing intermediate container 0f75dea286a7 17:23:31 ---> e68cc49246e5 17:23:31 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:23:32 ---> Running in 22e12ffb8c6a 17:23:32 Removing intermediate container 22e12ffb8c6a 17:23:32 ---> 6b7a9e9555a2 17:23:32 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:32 ---> Running in ca5d0cce06b5 17:23:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:23:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:23:34 OK: 221 MiB in 51 packages 17:23:35 Removing intermediate container ca5d0cce06b5 17:23:35 ---> 2d3df64b7f60 17:23:35 Step 9/26 : WORKDIR /device-onvif-camera 17:23:35 ---> Running in 0394ae04bf90 17:23:36 Removing intermediate container 0394ae04bf90 17:23:36 ---> 270715065668 17:23:36 Step 10/26 : COPY go.mod vendor* ./ 17:23:36 ---> 0cc9d711953a 17:23:36 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:36 ---> Running in aa8d95beb550 17:23:40 Removing intermediate container aa8d95beb550 17:23:40 ---> 28de06e1b499 17:23:40 Step 12/26 : COPY . . 17:23:42 ---> 35add66ab753 17:23:42 Step 13/26 : RUN ${MAKE} 17:23:42 ---> Running in 0eb19a116589 17:23:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.17" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:26:35 Removing intermediate container 0eb19a116589 17:26:35 ---> 2bfe02af9cd2 17:26:35 Step 14/26 : FROM alpine:3.16 17:26:35 3.16: Pulling from library/alpine 17:26:35 3760b48202b3: Pulling fs layer 17:26:35 3760b48202b3: Verifying Checksum 17:26:35 3760b48202b3: Download complete 17:26:35 3760b48202b3: Pull complete 17:26:35 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:26:35 Status: Downloaded newer image for alpine:3.16 17:26:35 ---> 4c81e5bf8899 17:26:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:26:35 ---> Running in a3b86d7c8879 17:26:35 Removing intermediate container a3b86d7c8879 17:26:35 ---> 4212efdc9e65 17:26:35 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:26:35 ---> Running in ec6b4fe5bc6f 17:26:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:26:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:26:36 (1/1) Installing dumb-init (1.2.5-r1) 17:26:36 Executing busybox-1.35.0-r17.trigger 17:26:36 OK: 5 MiB in 15 packages 17:26:37 Removing intermediate container ec6b4fe5bc6f 17:26:37 ---> 2add6c689b0f 17:26:37 Step 17/26 : WORKDIR / 17:26:37 ---> Running in b74ef8c17003 17:26:37 Removing intermediate container b74ef8c17003 17:26:37 ---> 2ca3ba70d0f0 17:26:37 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:26:38 ---> fd3051534c4b 17:26:38 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:26:39 ---> 3d4c9616df92 17:26:39 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:26:39 ---> 3551b1bb4495 17:26:39 Step 21/26 : EXPOSE 59984 17:26:39 ---> Running in c2a76c650f40 17:26:40 Removing intermediate container c2a76c650f40 17:26:40 ---> 2802db212fc4 17:26:40 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:26:40 ---> Running in 1c36d6f6e06d 17:26:40 Removing intermediate container 1c36d6f6e06d 17:26:40 ---> 9f686be5525e 17:26:40 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:26:40 ---> Running in 4593f61cfa98 17:26:41 Removing intermediate container 4593f61cfa98 17:26:41 ---> a0bf84cb1208 17:26:41 Step 24/26 : LABEL arch=arm64 17:26:41 ---> Running in 2c427f20ed8f 17:26:41 Removing intermediate container 2c427f20ed8f 17:26:41 ---> d11cea2d9efc 17:26:41 Step 25/26 : LABEL git_sha=5eec883b2bb43bf890ad540a9146487d6a3ec42a 17:26:41 ---> Running in 045914b329fc 17:26:42 Removing intermediate container 045914b329fc 17:26:42 ---> 0a2bb57ccc7d 17:26:42 Step 26/26 : LABEL version=3.0.0-dev.17 17:26:42 ---> Running in a7217f78f46a 17:26:42 Removing intermediate container a7217f78f46a 17:26:42 ---> ba1ff6fd55b1 17:26:42 [Warning] One or more build-args [ARCH] were not consumed 17:26:42 Successfully built ba1ff6fd55b1 17:26:42 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:26:42 provisioning config files... 17:26:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/107@tmp/config5930103119868326474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:43 ---> docker-login.sh 17:26:43 nexus3.edgexfoundry.org:10001 17:26:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:43 Configure a credential helper to remove this warning. See 17:26:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:43 17:26:43 Login Succeeded 17:26:43 nexus3.edgexfoundry.org:10002 17:26:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:43 Configure a credential helper to remove this warning. See 17:26:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:43 17:26:43 Login Succeeded 17:26:43 nexus3.edgexfoundry.org:10003 17:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:44 Configure a credential helper to remove this warning. See 17:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:44 17:26:44 Login Succeeded 17:26:44 nexus3.edgexfoundry.org:10004 17:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:44 Configure a credential helper to remove this warning. See 17:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:44 17:26:44 Login Succeeded 17:26:44 docker.io 17:26:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:45 Configure a credential helper to remove this warning. See 17:26:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:45 17:26:45 Login Succeeded 17:26:45 ---> docker-login.sh ends [Pipeline] } 17:26:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:26:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:26:45 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 17:26:45 5eec883b2bb43bf890ad540a9146487d6a3ec42a 17:26:45 latest 17:26:45 3.0.0-dev.17 17:26:45 5eec883b2bb43bf890ad540a9146487d6a3ec42a-3.0.0-dev.17 17:26:45 main 17:26:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:45 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5eec883b2bb43bf890ad540a9146487d6a3ec42a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5eec883b2bb43bf890ad540a9146487d6a3ec42a 17:26:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:26:46 b0ca04bebada: Preparing 17:26:46 aa32980e65f4: Preparing 17:26:46 48c6623d2dd0: Preparing 17:26:46 cbbf7a298cbc: Preparing 17:26:46 f70ee36035b9: Preparing 17:26:46 aa32980e65f4: Pushed 17:26:46 b0ca04bebada: Pushed 17:26:46 cbbf7a298cbc: Pushed 17:26:46 f70ee36035b9: Layer already exists 17:26:52 48c6623d2dd0: Pushed 17:26:52 5eec883b2bb43bf890ad540a9146487d6a3ec42a: digest: sha256:a917f03b483899d9b098d976cf993289bbe295e3a084017bf74908b69cc821aa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:52 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:26:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:26:53 b0ca04bebada: Preparing 17:26:53 aa32980e65f4: Preparing 17:26:53 48c6623d2dd0: Preparing 17:26:53 cbbf7a298cbc: Preparing 17:26:53 f70ee36035b9: Preparing 17:26:53 f70ee36035b9: Layer already exists 17:26:53 cbbf7a298cbc: Layer already exists 17:26:53 48c6623d2dd0: Layer already exists 17:26:53 b0ca04bebada: Layer already exists 17:26:53 aa32980e65f4: Layer already exists 17:26:53 latest: digest: sha256:a917f03b483899d9b098d976cf993289bbe295e3a084017bf74908b69cc821aa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:53 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.17 17:26:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:26:54 b0ca04bebada: Preparing 17:26:54 aa32980e65f4: Preparing 17:26:54 48c6623d2dd0: Preparing 17:26:54 cbbf7a298cbc: Preparing 17:26:54 f70ee36035b9: Preparing 17:26:54 f70ee36035b9: Layer already exists 17:26:54 aa32980e65f4: Layer already exists 17:26:54 b0ca04bebada: Layer already exists 17:26:54 cbbf7a298cbc: Layer already exists 17:26:54 48c6623d2dd0: Layer already exists 17:26:54 3.0.0-dev.17: digest: sha256:a917f03b483899d9b098d976cf993289bbe295e3a084017bf74908b69cc821aa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:54 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5eec883b2bb43bf890ad540a9146487d6a3ec42a-3.0.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5eec883b2bb43bf890ad540a9146487d6a3ec42a-3.0.0-dev.17 17:26:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:26:55 b0ca04bebada: Preparing 17:26:55 aa32980e65f4: Preparing 17:26:55 48c6623d2dd0: Preparing 17:26:55 cbbf7a298cbc: Preparing 17:26:55 f70ee36035b9: Preparing 17:26:55 cbbf7a298cbc: Layer already exists 17:26:55 f70ee36035b9: Layer already exists 17:26:55 aa32980e65f4: Layer already exists 17:26:55 b0ca04bebada: Layer already exists 17:26:55 48c6623d2dd0: Layer already exists 17:26:55 5eec883b2bb43bf890ad540a9146487d6a3ec42a-3.0.0-dev.17: digest: sha256:a917f03b483899d9b098d976cf993289bbe295e3a084017bf74908b69cc821aa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:55 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 17:26:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:26:56 b0ca04bebada: Preparing 17:26:56 aa32980e65f4: Preparing 17:26:56 48c6623d2dd0: Preparing 17:26:56 cbbf7a298cbc: Preparing 17:26:56 f70ee36035b9: Preparing 17:26:56 f70ee36035b9: Layer already exists 17:26:56 48c6623d2dd0: Layer already exists 17:26:56 cbbf7a298cbc: Layer already exists 17:26:56 aa32980e65f4: Layer already exists 17:26:56 b0ca04bebada: Layer already exists 17:26:56 main: digest: sha256:a917f03b483899d9b098d976cf993289bbe295e3a084017bf74908b69cc821aa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:26:56 ===================================================== [Pipeline] echo 17:26:56 taggedImages: 17:26:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5eec883b2bb43bf890ad540a9146487d6a3ec42a 17:26:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:26:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.17 17:26:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:5eec883b2bb43bf890ad540a9146487d6a3ec42a-3.0.0-dev.17 17:26:56 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:26:56 17:26:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:26:57 arm64: Pulling from edgex-lftools-log-publisher 17:26:57 8998bd30e6a1: Pulling fs layer 17:26:57 04944245beec: Pulling fs layer 17:26:57 699f458cf7ca: Pulling fs layer 17:26:57 765212b225bb: Pulling fs layer 17:26:57 f23df028b6ca: Pulling fs layer 17:26:57 d65c8cfc05b1: Pulling fs layer 17:26:57 2437ff75d9bd: Pulling fs layer 17:26:57 f23df028b6ca: Waiting 17:26:57 d65c8cfc05b1: Waiting 17:26:57 2437ff75d9bd: Waiting 17:26:57 765212b225bb: Waiting 17:26:57 04944245beec: Verifying Checksum 17:26:57 04944245beec: Download complete 17:26:57 765212b225bb: Verifying Checksum 17:26:57 765212b225bb: Download complete 17:26:57 f23df028b6ca: Verifying Checksum 17:26:57 f23df028b6ca: Download complete 17:26:57 d65c8cfc05b1: Verifying Checksum 17:26:57 d65c8cfc05b1: Download complete 17:26:57 699f458cf7ca: Verifying Checksum 17:26:57 699f458cf7ca: Download complete 17:26:57 8998bd30e6a1: Verifying Checksum 17:26:57 8998bd30e6a1: Download complete 17:27:00 2437ff75d9bd: Download complete 17:27:02 8998bd30e6a1: Pull complete 17:27:02 04944245beec: Pull complete 17:27:04 699f458cf7ca: Pull complete 17:27:04 765212b225bb: Pull complete 17:27:05 f23df028b6ca: Pull complete 17:27:05 d65c8cfc05b1: Pull complete 17:27:20 2437ff75d9bd: Pull complete 17:27:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:27:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:27:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:20 prd-ubuntu20.04-docker-arm64-4c-16g-8581 does not seem to be running inside a container 17:27:20 $ 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/107 -v /w/workspace/device-onvif-camera/107:/w/workspace/device-onvif-camera/107:rw,z -v /w/workspace/device-onvif-camera/107@tmp:/w/workspace/device-onvif-camera/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:27:23 $ docker top d1668102428f96cf156e625755a2018f4f8ee09bd9e4da3f2fe8372e3078f7c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:24 ---> job-cost.sh 17:27:24 lf-activate-venv: SKIPPING 17:27:24 INFO: No Stack... 17:27:25 INFO: Retrieving Pricing Info for: v3-standard-4 17:27:26 INFO: Archiving Costs [Pipeline] sh 17:27:26 + cat /w/workspace/device-onvif-camera/107/archives/cost.csv 17:27:26 + cut -d, -f6 [Pipeline] lock 17:27:26 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-107-stack-cost] 17:27:26 Resource [jenkins-edgexfoundry-device-onvif-camera-main-107-stack-cost] did not exist. Created. 17:27:26 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:27:27 /w/workspace/device-onvif-camera/107@tmp/durable-2bd5fc83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:27:28 + echo total: 0.10999999940395355 [Pipeline] stash 17:27:28 Warning: overwriting stash ‘stack-cost’ 17:27:28 Stashed 1 file(s) [Pipeline] } 17:27:28 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-107-stack-cost] [Pipeline] // lock [Pipeline] } 17:27:28 $ docker stop --time=1 d1668102428f96cf156e625755a2018f4f8ee09bd9e4da3f2fe8372e3078f7c6 17:27:29 $ docker rm -f --volumes d1668102428f96cf156e625755a2018f4f8ee09bd9e4da3f2fe8372e3078f7c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:27:30 provisioning config files... 17:27:30 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17686249244202866610tmp [Pipeline] { [Pipeline] sh 17:27:30 + set +x 17:27:30 + curl -s https://codecov.io/bash 17:27:30 + bash -s -- 17:27:30 17:27:30 _____ _ 17:27:30 / ____| | | 17:27:30 | | ___ __| | ___ ___ _____ __ 17:27:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:27:30 | |___| (_) | (_| | __/ (_| (_) \ V / 17:27:30 \_____\___/ \__,_|\___|\___\___/ \_/ 17:27:30 Bash-1.0.6 17:27:30 17:27:30 17:27:30 ==> git version 2.25.1 found 17:27:30 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:27:30 Release-Date: 2020-01-08 17:27:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:27:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:27:30 ==> Jenkins CI detected. 17:27:30 current dir:  /w/workspace/foundry_device-onvif-camera_main 17:27:30 project root: . 17:27:30 --> token set from env 17:27:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:27:30 ==> Running gcov in . (disable via -X gcov) 17:27:30 ==> Python coveragepy not found 17:27:30 ==> Searching for coverage reports in: 17:27:30 + . 17:27:30 -> Found 1 reports 17:27:30 ==> Detecting git/mercurial file structure 17:27:30 ==> Reading reports 17:27:30 + ./coverage.out bytes=79184 17:27:30 ==> Appending adjustments 17:27:30 https://docs.codecov.io/docs/fixing-reports 17:27:30 + Found adjustments 17:27:30 ==> Gzipping contents 17:27:30 12K /tmp/codecov.AIzSdR.gz 17:27:30 ==> Uploading reports 17:27:30 url: https://codecov.io 17:27:30 query: branch=main&commit=5eec883b2bb43bf890ad540a9146487d6a3ec42a&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:27:30 -> Pinging Codecov 17:27:30 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=5eec883b2bb43bf890ad540a9146487d6a3ec42a&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:27:31 -> Uploading to 17:27:31 https://storage.googleapis.com/codecov/v4/raw/2023-03-07/F29A59C45E3A92E06B3E522C9905F8EF/5eec883b2bb43bf890ad540a9146487d6a3ec42a/60dae01b-dcaa-46d6-a670-b509c2b3237f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T172730Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d9b351325f1343688a5cbc06221457f38d59e192a408301edb2cc274d88d5deb 17:27:31 % Total % Received % Xferd Average Speed Time Time Time Current 17:27:31 Dload Upload Total Spent Left Speed 17:27:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10811 0 0 100 10811 0 48918 --:--:-- --:--:-- --:--:-- 48698 100 10811 0 0 100 10811 0 37408 --:--:-- --:--:-- --:--:-- 37279 17:27:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/5eec883b2bb43bf890ad540a9146487d6a3ec42a [Pipeline] } 17:27:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:27:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:27:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:27:31 17:27:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:27:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:27:32 df9b9388f04a: Pulling fs layer 17:27:32 52dc419b0ee2: Pulling fs layer 17:27:32 25bc292e5bac: Pulling fs layer 17:27:32 114826534d7a: Pulling fs layer 17:27:32 4657fd5d0bcf: Pulling fs layer 17:27:32 6ad1cebc031e: Pulling fs layer 17:27:32 8a3aa393b2d8: Pulling fs layer 17:27:32 114826534d7a: Waiting 17:27:32 4657fd5d0bcf: Waiting 17:27:32 6ad1cebc031e: Waiting 17:27:32 8a3aa393b2d8: Waiting 17:27:32 25bc292e5bac: Verifying Checksum 17:27:32 25bc292e5bac: Download complete 17:27:32 52dc419b0ee2: Verifying Checksum 17:27:32 52dc419b0ee2: Download complete 17:27:32 4657fd5d0bcf: Verifying Checksum 17:27:32 4657fd5d0bcf: Download complete 17:27:32 df9b9388f04a: Download complete 17:27:32 df9b9388f04a: Pull complete 17:27:32 6ad1cebc031e: Verifying Checksum 17:27:32 6ad1cebc031e: Download complete 17:27:32 52dc419b0ee2: Pull complete 17:27:32 25bc292e5bac: Pull complete 17:27:33 114826534d7a: Verifying Checksum 17:27:33 114826534d7a: Download complete 17:27:33 8a3aa393b2d8: Verifying Checksum 17:27:33 8a3aa393b2d8: Download complete 17:27:37 114826534d7a: Pull complete 17:27:37 4657fd5d0bcf: Pull complete 17:27:37 6ad1cebc031e: Pull complete 17:27:40 8a3aa393b2d8: Pull complete 17:27:40 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:27:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:27:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:41 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 17:27:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:27:48 $ docker top 9a440f076dce389bc69754d20432f578e39bd078fe81011f8e2d7f6cde97086c -eo pid,comm [Pipeline] { [Pipeline] echo 17:27:48 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 17:27:48 + set -o pipefail 17:27:48 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 17:27:53 17:27:53 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 17:27:53 17:27:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/bc5c6163-8d2e-4ca9-8c8c-7c305499a193 17:27:53 17:27:53 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 17:27:53 17:27:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:27:53 17:27:53 17:27:53 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:27:53 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:27:53 More details here: https://snyk.co/ue1NS [Pipeline] } 17:27:53 $ docker stop --time=1 9a440f076dce389bc69754d20432f578e39bd078fe81011f8e2d7f6cde97086c 17:27:56 $ docker rm -f --volumes 9a440f076dce389bc69754d20432f578e39bd078fe81011f8e2d7f6cde97086c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 17:27:57 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:27:57 provisioning config files... 17:27:57 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1452197620228627286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:57 --> edgex-publish-swagger.sh 17:27:57 === Publish doc/openapi/v2 API === 17:27:57 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 17:27:57 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 17:27:57 % Total % Received % Xferd Average Speed Time Time Time Current 17:27:57 Dload Upload Total Spent Left Speed 17:27:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 685k --:--:-- --:--:-- --:--:-- 685k 17:27:58 17:27:58 [Pipeline] } 17:27:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:27:58 + git log --format=format:%s -1 5eec883b2bb43bf890ad540a9146487d6a3ec42a [Pipeline] sh 17:27:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:27:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:27:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:59 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 17:27:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:27:59 $ docker top 3c88d930f99d7beb6c23f15d20bf4355c3e6cd3f0accd316c7a746f7df19b0ee -eo pid,comm 17:27:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:27:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:27:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:27:59 [ssh-agent] Looking for ssh-agent implementation... 17:27:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:27:59 $ docker exec 3c88d930f99d7beb6c23f15d20bf4355c3e6cd3f0accd316c7a746f7df19b0ee ssh-agent 17:27:59 SSH_AUTH_SOCK=/tmp/ssh-dJ5Yr8wZlzI5/agent.31 17:27:59 SSH_AGENT_PID=37 17:27:59 Running ssh-add (command line suppressed) 17:27:59 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8885634418339418737.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8885634418339418737.key) 17:28:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:28:00 + git semver tag 17:28:00 2023-03-07 17:28:00,491 [run_tag] DEBUG tag force:False 17:28:00 2023-03-07 17:28:00,491 [check_head_tag] DEBUG check head tag 17:28:00 2023-03-07 17:28:00,492 [execute] INFO git cat-file --batch-check 17:28:00 2023-03-07 17:28:00,492 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:28:00 2023-03-07 17:28:00,496 [execute] INFO git cat-file --batch 17:28:00 2023-03-07 17:28:00,496 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:28:00 2023-03-07 17:28:00,528 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:28:00 2023-03-07 17:28:00,528 [execute] INFO git tag -a v3.0.0-dev.17 -m v3.0.0-dev.17 17:28:00 2023-03-07 17:28:00,528 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.17', '-m', 'v3.0.0-dev.17'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:28:00 2023-03-07 17:28:00,533 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:28:00 3.0.0-dev.17 [Pipeline] } 17:28:00 $ docker exec --env ******** --env ******** 3c88d930f99d7beb6c23f15d20bf4355c3e6cd3f0accd316c7a746f7df19b0ee ssh-agent -k 17:28:00 unset SSH_AUTH_SOCK; 17:28:00 unset SSH_AGENT_PID; 17:28:00 echo Agent pid 37 killed; 17:28:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:28:00 + git semver [Pipeline] } 17:28:01 $ docker stop --time=1 3c88d930f99d7beb6c23f15d20bf4355c3e6cd3f0accd316c7a746f7df19b0ee 17:28:02 $ docker rm -f --volumes 3c88d930f99d7beb6c23f15d20bf4355c3e6cd3f0accd316c7a746f7df19b0ee [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:28:02 17:28:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:28:03 0.23.1-centos7: Pulling from edgex-lftools 17:28:03 ab5ef0e58194: Pulling fs layer 17:28:03 9712f1f96733: Pulling fs layer 17:28:03 63f879dbbcfc: Pulling fs layer 17:28:03 0d9ebad4ef96: Pulling fs layer 17:28:03 e9a5061849ea: Pulling fs layer 17:28:03 d747dcd14b5f: Pulling fs layer 17:28:03 2de7ff778b66: Pulling fs layer 17:28:03 0d9ebad4ef96: Waiting 17:28:03 e9a5061849ea: Waiting 17:28:03 d747dcd14b5f: Waiting 17:28:03 9712f1f96733: Verifying Checksum 17:28:03 9712f1f96733: Download complete 17:28:03 63f879dbbcfc: Verifying Checksum 17:28:03 63f879dbbcfc: Download complete 17:28:04 e9a5061849ea: Verifying Checksum 17:28:04 e9a5061849ea: Download complete 17:28:04 d747dcd14b5f: Verifying Checksum 17:28:04 d747dcd14b5f: Download complete 17:28:04 ab5ef0e58194: Verifying Checksum 17:28:04 ab5ef0e58194: Download complete 17:28:04 0d9ebad4ef96: Verifying Checksum 17:28:04 0d9ebad4ef96: Download complete 17:28:04 2de7ff778b66: Verifying Checksum 17:28:04 2de7ff778b66: Download complete 17:28:07 ab5ef0e58194: Pull complete 17:28:07 9712f1f96733: Pull complete 17:28:07 63f879dbbcfc: Pull complete 17:28:12 0d9ebad4ef96: Pull complete 17:28:12 e9a5061849ea: Pull complete 17:28:12 d747dcd14b5f: Pull complete 17:28:13 2de7ff778b66: Pull complete 17:28:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:28:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:28:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:13 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 17:28:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:28:19 $ docker top c290ba6856bf30247fb163457b1d6bd14646bb76e65e4baea2c37f7d4b7f2cfa -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:28:19 provisioning config files... 17:28:19 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13688132918327898205tmp 17:28:19 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1927214300329770972tmp 17:28:19 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15792082619355164223tmp [Pipeline] { [Pipeline] echo 17:28:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:28:20 ---> sigul-configuration.sh 17:28:20 gpg: directory `/root/.gnupg' created 17:28:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:28:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:28:20 gpg: keyring `/root/.gnupg/secring.gpg' created 17:28:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:28:20 gpg: CAST5 encrypted data 17:28:20 gpg: encrypted with 1 passphrase 17:28:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:28:20 + mkdir /home/jenkins 17:28:20 + mkdir /home/jenkins/sigul [Pipeline] sh 17:28:20 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 17:28:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:28:20 ---> sigul-install.sh 17:28:20 Sigul already installed; skipping installation. [Pipeline] sh 17:28:21 + git tag --list 17:28:21 v0.0.0 17:28:21 v0.0.1-dev.1 17:28:21 v0.0.1-dev.10 17:28:21 v0.0.1-dev.11 17:28:21 v0.0.1-dev.12 17:28:21 v0.0.1-dev.13 17:28:21 v0.0.1-dev.14 17:28:21 v0.0.1-dev.15 17:28:21 v0.0.1-dev.16 17:28:21 v0.0.1-dev.17 17:28:21 v0.0.1-dev.18 17:28:21 v0.0.1-dev.19 17:28:21 v0.0.1-dev.2 17:28:21 v0.0.1-dev.20 17:28:21 v0.0.1-dev.21 17:28:21 v0.0.1-dev.22 17:28:21 v0.0.1-dev.23 17:28:21 v0.0.1-dev.24 17:28:21 v0.0.1-dev.25 17:28:21 v0.0.1-dev.26 17:28:21 v0.0.1-dev.27 17:28:21 v0.0.1-dev.28 17:28:21 v0.0.1-dev.3 17:28:21 v0.0.1-dev.4 17:28:21 v0.0.1-dev.5 17:28:21 v0.0.1-dev.6 17:28:21 v0.0.1-dev.7 17:28:21 v0.0.1-dev.8 17:28:21 v0.0.1-dev.9 17:28:21 v2.2.0 17:28:21 v2.2.0-dev.29 17:28:21 v2.2.0-dev.30 17:28:21 v2.2.0-dev.31 17:28:21 v2.2.0-dev.32 17:28:21 v2.2.0-dev.33 17:28:21 v2.2.0-dev.34 17:28:21 v2.2.0-dev.35 17:28:21 v2.3.0 17:28:21 v2.3.0-dev.1 17:28:21 v2.3.0-dev.10 17:28:21 v2.3.0-dev.11 17:28:21 v2.3.0-dev.12 17:28:21 v2.3.0-dev.13 17:28:21 v2.3.0-dev.14 17:28:21 v2.3.0-dev.15 17:28:21 v2.3.0-dev.16 17:28:21 v2.3.0-dev.17 17:28:21 v2.3.0-dev.18 17:28:21 v2.3.0-dev.19 17:28:21 v2.3.0-dev.2 17:28:21 v2.3.0-dev.20 17:28:21 v2.3.0-dev.21 17:28:21 v2.3.0-dev.22 17:28:21 v2.3.0-dev.23 17:28:21 v2.3.0-dev.24 17:28:21 v2.3.0-dev.25 17:28:21 v2.3.0-dev.26 17:28:21 v2.3.0-dev.27 17:28:21 v2.3.0-dev.28 17:28:21 v2.3.0-dev.29 17:28:21 v2.3.0-dev.3 17:28:21 v2.3.0-dev.30 17:28:21 v2.3.0-dev.31 17:28:21 v2.3.0-dev.32 17:28:21 v2.3.0-dev.33 17:28:21 v2.3.0-dev.34 17:28:21 v2.3.0-dev.35 17:28:21 v2.3.0-dev.36 17:28:21 v2.3.0-dev.37 17:28:21 v2.3.0-dev.38 17:28:21 v2.3.0-dev.39 17:28:21 v2.3.0-dev.4 17:28:21 v2.3.0-dev.40 17:28:21 v2.3.0-dev.41 17:28:21 v2.3.0-dev.42 17:28:21 v2.3.0-dev.43 17:28:21 v2.3.0-dev.44 17:28:21 v2.3.0-dev.45 17:28:21 v2.3.0-dev.5 17:28:21 v2.3.0-dev.6 17:28:21 v2.3.0-dev.7 17:28:21 v2.3.0-dev.8 17:28:21 v2.3.0-dev.9 17:28:21 v2.3.1-dev.1 17:28:21 v3.0.0-dev.1 17:28:21 v3.0.0-dev.10 17:28:21 v3.0.0-dev.11 17:28:21 v3.0.0-dev.12 17:28:21 v3.0.0-dev.13 17:28:21 v3.0.0-dev.14 17:28:21 v3.0.0-dev.15 17:28:21 v3.0.0-dev.16 17:28:21 v3.0.0-dev.17 17:28:21 v3.0.0-dev.2 17:28:21 v3.0.0-dev.3 17:28:21 v3.0.0-dev.4 17:28:21 v3.0.0-dev.5 17:28:21 v3.0.0-dev.6 17:28:21 v3.0.0-dev.7 17:28:21 v3.0.0-dev.8 17:28:21 v3.0.0-dev.9 [Pipeline] sh 17:28:21 + lftools sign git-tag v3.0.0-dev.17 17:28:22 Signing Git tag with Sigul... 17:28:22 Signing v3.0.0-dev.17 [Pipeline] echo 17:28:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:28:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:28:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:28:22 $ docker stop --time=1 c290ba6856bf30247fb163457b1d6bd14646bb76e65e4baea2c37f7d4b7f2cfa 17:28:24 $ docker rm -f --volumes c290ba6856bf30247fb163457b1d6bd14646bb76e65e4baea2c37f7d4b7f2cfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:28:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:28:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:28:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:24 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 17:28:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:28:25 $ docker top 17bc9b211df9075070afe624fd196d07634163b81162d950133de630ea2082dd -eo pid,comm 17:28:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:28:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:28:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:28:25 [ssh-agent] Looking for ssh-agent implementation... 17:28:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:28:25 $ docker exec 17bc9b211df9075070afe624fd196d07634163b81162d950133de630ea2082dd ssh-agent 17:28:25 SSH_AUTH_SOCK=/tmp/ssh-eWsDFJmVJQWG/agent.33 17:28:25 SSH_AGENT_PID=39 17:28:25 Running ssh-add (command line suppressed) 17:28:25 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11492101517225399479.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11492101517225399479.key) 17:28:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:28:26 + git semver bump pre 17:28:26 2023-03-07 17:28:26,263 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:28:26 2023-03-07 17:28:26,263 [bump_version] DEBUG bumping version:3.0.0-dev.17 on axis:pre with prefix:dev 17:28:26 2023-03-07 17:28:26,263 [bump_version] DEBUG bumped version:3.0.0-dev.18 17:28:26 2023-03-07 17:28:26,263 [write_version] DEBUG write version:3.0.0-dev.18 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 17:28:26 2023-03-07 17:28:26,263 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:28:26 2023-03-07 17:28:26,264 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 17:28:26 2023-03-07 17:28:26,266 [execute] INFO git cat-file --batch-check 17:28:26 2023-03-07 17:28:26,266 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:28:26 2023-03-07 17:28:26,272 [execute] INFO git cat-file --batch 17:28:26 2023-03-07 17:28:26,272 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:28:26 2023-03-07 17:28:26,279 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:28:26 3.0.0-dev.18 [Pipeline] } 17:28:26 $ docker exec --env ******** --env ******** 17bc9b211df9075070afe624fd196d07634163b81162d950133de630ea2082dd ssh-agent -k 17:28:26 unset SSH_AUTH_SOCK; 17:28:26 unset SSH_AGENT_PID; 17:28:26 echo Agent pid 39 killed; 17:28:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:28:26 + git semver [Pipeline] } 17:28:27 $ docker stop --time=1 17bc9b211df9075070afe624fd196d07634163b81162d950133de630ea2082dd 17:28:28 $ docker rm -f --volumes 17bc9b211df9075070afe624fd196d07634163b81162d950133de630ea2082dd [Pipeline] // withDockerContainer [Pipeline] sh 17:28:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:28:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:28:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:29 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 17:28:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:28:29 $ docker top 5f7e19ae921da5fc2db593f3e6d74ca7d3d7c9d96cc5cc4a956ddc9bd9db8bdc -eo pid,comm 17:28:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:28:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:28:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:28:29 [ssh-agent] Looking for ssh-agent implementation... 17:28:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:28:29 $ docker exec 5f7e19ae921da5fc2db593f3e6d74ca7d3d7c9d96cc5cc4a956ddc9bd9db8bdc ssh-agent 17:28:29 SSH_AUTH_SOCK=/tmp/ssh-ZauoSQrGX8sg/agent.31 17:28:29 SSH_AGENT_PID=37 17:28:29 Running ssh-add (command line suppressed) 17:28:29 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5958684277573663286.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5958684277573663286.key) 17:28:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:28:30 + git semver push 17:28:30 2023-03-07 17:28:30,341 [run_push] DEBUG push 17:28:30 2023-03-07 17:28:30,341 [execute] INFO git cat-file --batch-check 17:28:30 2023-03-07 17:28:30,342 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:28:30 2023-03-07 17:28:30,346 [execute] INFO git rev-list 0ec6ef0cd089fb14959bc22ec27d3ee4b617ba6b -- 17:28:30 2023-03-07 17:28:30,346 [execute] DEBUG Popen(['git', 'rev-list', '0ec6ef0cd089fb14959bc22ec27d3ee4b617ba6b', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:28:30 2023-03-07 17:28:30,353 [execute] INFO git fetch -v origin 17:28:30 2023-03-07 17:28:30,353 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:28:30 2023-03-07 17:28:30,886 [run_push] DEBUG no remote changes detected 17:28:30 2023-03-07 17:28:30,887 [execute] INFO git push origin semver 17:28:30 2023-03-07 17:28:30,887 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:28:31 2023-03-07 17:28:31,704 [run_push] DEBUG push all version tags 17:28:31 2023-03-07 17:28:31,705 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:28:31 2023-03-07 17:28:31,705 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:28:32 2023-03-07 17:28:32,479 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:28:32 3.0.0-dev.18 [Pipeline] } 17:28:32 $ docker exec --env ******** --env ******** 5f7e19ae921da5fc2db593f3e6d74ca7d3d7c9d96cc5cc4a956ddc9bd9db8bdc ssh-agent -k 17:28:32 unset SSH_AUTH_SOCK; 17:28:32 unset SSH_AGENT_PID; 17:28:32 echo Agent pid 37 killed; 17:28:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:28:33 + git semver [Pipeline] } 17:28:33 $ docker stop --time=1 5f7e19ae921da5fc2db593f3e6d74ca7d3d7c9d96cc5cc4a956ddc9bd9db8bdc 17:28:34 $ docker rm -f --volumes 5f7e19ae921da5fc2db593f3e6d74ca7d3d7c9d96cc5cc4a956ddc9bd9db8bdc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:28:35 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 17:28:35 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:28:35 total 16 17:28:35 drwxr-xr-x 3 root root 4096 Mar 7 17:18 . 17:28:35 drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 17:28 .. 17:28:35 drwxr-xr-x 2 root root 4096 Mar 7 17:18 cost 17:28:35 -rw-r--r-- 1 root root 91 Mar 7 17:18 cost.csv 17:28:35 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 17:28:35 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:28:35 total 16 17:28:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 17:18 . 17:28:35 drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 17:28 .. 17:28:35 drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 17:18 cost 17:28:35 -rw-r--r-- 1 jenkins jenkins 91 Mar 7 17:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:28:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:28:36 ---> package-listing.sh 17:28:36 ++ facter osfamily 17:28:36 ++ tr '[:upper:]' '[:lower:]' 17:28:36 + OS_FAMILY=debian 17:28:36 + workspace=/w/workspace/foundry_device-onvif-camera_main 17:28:36 + START_PACKAGES=/tmp/packages_start.txt 17:28:36 + END_PACKAGES=/tmp/packages_end.txt 17:28:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:28:36 + PACKAGES=/tmp/packages_start.txt 17:28:36 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:28:36 + PACKAGES=/tmp/packages_end.txt 17:28:36 + case "${OS_FAMILY}" in 17:28:36 + dpkg -l 17:28:36 + grep '^ii' 17:28:36 + '[' -f /tmp/packages_start.txt ']' 17:28:36 + '[' -f /tmp/packages_end.txt ']' 17:28:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:28:36 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:28:36 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 17:28:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 17:28:36 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:28:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:28:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:37 prd-ubuntu20.04-docker-8c-8g-8575 does not seem to be running inside a container 17:28:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:28:38 $ docker top 00630b761f1ac90cb2cb469ffeec3ed4ea905251dbdf27c4f022cc68be1e6e05 -eo pid,comm [Pipeline] { [Pipeline] sh 17:28:38 + touch /tmp/pre-build-complete [Pipeline] sh 17:28:38 + mkdir -p /var/log/sysstat [Pipeline] sh 17:28:39 + ls /var/log/sa-host 17:28:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:28:39 provisioning config files... 17:28:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6713972601738661623tmp [Pipeline] { [Pipeline] echo 17:28:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:28:39 ---> create-netrc.sh [Pipeline] } 17:28:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:28:39 ---> python-tools-install.sh [Pipeline] echo 17:28:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:28:40 ---> sudo-logs.sh 17:28:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:28:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:28:40 ---> job-cost.sh 17:28:40 lf-activate-venv: SKIPPING 17:28:40 DEBUG: total: 0.2199999988079071 17:28:40 INFO: Retrieving Stack Cost... 17:28:40 INFO: Retrieving Pricing Info for: v3-standard-8 17:28:41 INFO: Archiving Costs [Pipeline] echo 17:28:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:28:41 ---> logs-deploy.sh 17:28:41 lf-activate-venv: SKIPPING 17:28:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/107 17:28:41 INFO: archiving workspace using pattern(s): 17:28:42 Archives upload complete. 17:28:42 INFO: archiving logs to Nexus