Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b23bf323986474a02c08d039be0c06384ee74361 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-ssh8775750432769092021.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh5898002863952521661.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh15436582015209239463.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh11548449026682194918.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-ssh17038294705456445551.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/v3]] ========================================================= [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.21 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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9193 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 b23bf323986474a02c08d039be0c06384ee74361 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b23bf323986474a02c08d039be0c06384ee74361 # timeout=10 Commit message: "Merge pull request #393 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" > git rev-list --no-walk 425fb4d0c72a1eaf8f640bc9d7d1b1c2214ffc3e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:25:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:25:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:25:17 ========================================================= 04:25:17 EdgeX Global Pipelines Version Info 04:25:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:25:17 ------------------- 04:25:17 stable info: 04:25:17 ------------------- 04:25:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:25:17 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:25:17 Message: update stable to v1.0.254 04:25:18 ------------------- 04:25:18 experimental info: 04:25:18 ------------------- 04:25:18 Commited By: **** collab-it+edgex@linuxfoundation.org 04:25:18 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:25:18 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:25:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:25:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:25:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 04:25:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:25:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:25:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:25:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:25:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:25:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:25:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:25:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:25:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] echo 04:25:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b23bf32 [Pipeline] echo 04:25:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:25:19 provisioning config files... 04:25:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8433974709622215276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:19 ---> docker-login.sh 04:25:19 nexus3.edgexfoundry.org:10001 04:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:19 Configure a credential helper to remove this warning. See 04:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:19 04:25:19 Login Succeeded 04:25:19 nexus3.edgexfoundry.org:10002 04:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:20 Configure a credential helper to remove this warning. See 04:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:20 04:25:20 Login Succeeded 04:25:20 nexus3.edgexfoundry.org:10003 04:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:20 Configure a credential helper to remove this warning. See 04:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:20 04:25:20 Login Succeeded 04:25:20 nexus3.edgexfoundry.org:10004 04:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:20 Configure a credential helper to remove this warning. See 04:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:20 04:25:20 Login Succeeded 04:25:20 docker.io 04:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:20 Configure a credential helper to remove this warning. See 04:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:20 04:25:20 Login Succeeded 04:25:20 ---> docker-login.sh ends [Pipeline] } 04:25:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:25:20 + git rev-list -1 --merges b23bf323986474a02c08d039be0c06384ee74361~1..b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] echo 04:25:21 -----------> git rev-list -1 --merges b23bf323986474a02c08d039be0c06384ee74361~1..b23bf323986474a02c08d039be0c06384ee74361 b23bf323986474a02c08d039be0c06384ee74361 04:25:21 b23bf323986474a02c08d039be0c06384ee74361 [false] [Pipeline] sh 04:25:21 + git log --format=format:%s -1 b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] echo 04:25:21 ========================================================= 04:25:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:25:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:25:21 + git log --format=format:%s -1 b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] echo 04:25:21 [semverPrep] GIT_COMMIT: b23bf323986474a02c08d039be0c06384ee74361, Commit Message: Merge pull request #393 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34 [Pipeline] echo 04:25:21 [semverPrep] This is not a build commit. [Pipeline] sh 04:25:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:25:22 + grep -v github /etc/ssh/ssh_known_hosts 04:25:22 + [ -e /tmp/ssh_known_hosts ] 04:25:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:25:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:25:22 + sudo tee -a /etc/ssh/ssh_known_hosts 04:25:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:25:22 04:25:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:25:22 0.1.4: Pulling from edgex-devops/py-git-semver 04:25:22 b85a868b505f: Pulling fs layer 04:25:22 e2be974225ed: Pulling fs layer 04:25:22 339a4e72a1f5: Pulling fs layer 04:25:22 988bab9f4d93: Pulling fs layer 04:25:22 1469e6f7b9e6: Pulling fs layer 04:25:22 eaf3925da568: Pulling fs layer 04:25:22 bab4dde63d76: Pulling fs layer 04:25:22 bde34c3a00c8: Pulling fs layer 04:25:22 b352a97aabf1: Pulling fs layer 04:25:22 4872d77fe225: Pulling fs layer 04:25:22 5851b861e8e6: Pulling fs layer 04:25:22 b352a97aabf1: Waiting 04:25:22 5851b861e8e6: Waiting 04:25:22 1469e6f7b9e6: Waiting 04:25:22 eaf3925da568: Waiting 04:25:22 bab4dde63d76: Waiting 04:25:22 4872d77fe225: Waiting 04:25:22 bde34c3a00c8: Waiting 04:25:22 e2be974225ed: Verifying Checksum 04:25:22 e2be974225ed: Download complete 04:25:22 988bab9f4d93: Download complete 04:25:22 1469e6f7b9e6: Verifying Checksum 04:25:22 1469e6f7b9e6: Download complete 04:25:22 eaf3925da568: Verifying Checksum 04:25:22 eaf3925da568: Download complete 04:25:23 339a4e72a1f5: Verifying Checksum 04:25:23 339a4e72a1f5: Download complete 04:25:23 bde34c3a00c8: Download complete 04:25:23 b352a97aabf1: Verifying Checksum 04:25:23 b352a97aabf1: Download complete 04:25:23 4872d77fe225: Verifying Checksum 04:25:23 4872d77fe225: Download complete 04:25:23 5851b861e8e6: Verifying Checksum 04:25:23 5851b861e8e6: Download complete 04:25:23 b85a868b505f: Verifying Checksum 04:25:23 b85a868b505f: Download complete 04:25:23 bab4dde63d76: Verifying Checksum 04:25:23 bab4dde63d76: Download complete 04:25:24 b85a868b505f: Pull complete 04:25:24 e2be974225ed: Pull complete 04:25:24 339a4e72a1f5: Pull complete 04:25:24 988bab9f4d93: Pull complete 04:25:25 1469e6f7b9e6: Pull complete 04:25:25 eaf3925da568: Pull complete 04:25:26 bab4dde63d76: Pull complete 04:25:26 bde34c3a00c8: Pull complete 04:25:26 b352a97aabf1: Pull complete 04:25:26 4872d77fe225: Pull complete 04:25:26 5851b861e8e6: Pull complete 04:25:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:25:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:25:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:27 prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container 04:25:27 $ 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 04:25:30 $ docker top 4e34114ddc895fdff524fcceb0253e38251e1e5ca8c91214c7a7f3c58ec3fdbc -eo pid,comm 04:25:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:25:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:25:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:25:30 [ssh-agent] Looking for ssh-agent implementation... 04:25:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:25:30 $ docker exec 4e34114ddc895fdff524fcceb0253e38251e1e5ca8c91214c7a7f3c58ec3fdbc ssh-agent 04:25:30 SSH_AUTH_SOCK=/tmp/ssh-F1cuVVGdTKoJ/agent.32 04:25:30 SSH_AGENT_PID=38 04:25:30 Running ssh-add (command line suppressed) 04:25:30 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15259676839139250627.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15259676839139250627.key) 04:25:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:25:30 + git tag --points-at HEAD [Pipeline] } 04:25:30 $ docker exec --env ******** --env ******** 4e34114ddc895fdff524fcceb0253e38251e1e5ca8c91214c7a7f3c58ec3fdbc ssh-agent -k 04:25:30 unset SSH_AUTH_SOCK; 04:25:30 unset SSH_AGENT_PID; 04:25:30 echo Agent pid 38 killed; 04:25:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:25:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:25:31 [ssh-agent] Looking for ssh-agent implementation... 04:25:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:25:31 $ docker exec 4e34114ddc895fdff524fcceb0253e38251e1e5ca8c91214c7a7f3c58ec3fdbc ssh-agent 04:25:31 SSH_AUTH_SOCK=/tmp/ssh-nQzn7l3cEGHa/agent.70 04:25:31 SSH_AGENT_PID=76 04:25:31 Running ssh-add (command line suppressed) 04:25:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1433736371033320640.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1433736371033320640.key) 04:25:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:25:31 + git semver init 04:25:31 2023-10-13 04:25:31,908 [run_init] DEBUG init version:0.0.0 force:False 04:25:31 2023-10-13 04:25:31,908 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 04:25:31 2023-10-13 04:25:31,909 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 04:25:31 2023-10-13 04:25:31,909 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 04:25:33 2023-10-13 04:25:32,983 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 04:25:33 2023-10-13 04:25:32,984 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 04:25:33 2023-10-13 04:25:32,984 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:25:33 2023-10-13 04:25:32,984 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:25:33 3.1.0-dev.17 [Pipeline] } 04:25:33 $ docker exec --env ******** --env ******** 4e34114ddc895fdff524fcceb0253e38251e1e5ca8c91214c7a7f3c58ec3fdbc ssh-agent -k 04:25:33 unset SSH_AUTH_SOCK; 04:25:33 unset SSH_AGENT_PID; 04:25:33 echo Agent pid 76 killed; 04:25:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:25:33 + git semver [Pipeline] } 04:25:33 $ docker stop --time=1 4e34114ddc895fdff524fcceb0253e38251e1e5ca8c91214c7a7f3c58ec3fdbc 04:25:35 $ docker rm -f --volumes 4e34114ddc895fdff524fcceb0253e38251e1e5ca8c91214c7a7f3c58ec3fdbc [Pipeline] // withDockerContainer [Pipeline] sh 04:25:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:25:35 Stashed 1 file(s) [Pipeline] echo 04:25:35 [edgeXSemver]: initialized semver on version 3.1.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 04:25:35 provisioning config files... 04:25:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3496150317887620431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:36 ---> docker-login.sh 04:25:36 nexus3.edgexfoundry.org:10001 04:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:36 Configure a credential helper to remove this warning. See 04:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:36 04:25:36 Login Succeeded 04:25:36 nexus3.edgexfoundry.org:10002 04:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:36 Configure a credential helper to remove this warning. See 04:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:36 04:25:36 Login Succeeded 04:25:36 nexus3.edgexfoundry.org:10003 04:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:36 Configure a credential helper to remove this warning. See 04:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:36 04:25:36 Login Succeeded 04:25:36 nexus3.edgexfoundry.org:10004 04:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:36 Configure a credential helper to remove this warning. See 04:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:36 04:25:36 Login Succeeded 04:25:36 docker.io 04:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:25:36 Configure a credential helper to remove this warning. See 04:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:25:36 04:25:36 Login Succeeded 04:25:36 ---> docker-login.sh ends [Pipeline] } 04:25:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:25:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:25:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:25:36 ========================================================= 04:25:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:25:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:25:37 Sending build context to Docker daemon 21.57MB 04:25:37 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:25:37 Step 2/13 : FROM ${BASE} AS builder 04:25:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:25:37 7264a8db6415: Pulling fs layer 04:25:37 c4d48a809fc2: Pulling fs layer 04:25:37 4f1c88b9dad5: Pulling fs layer 04:25:37 ad3a456e5733: Pulling fs layer 04:25:37 33e27b845d1e: Pulling fs layer 04:25:37 c68163c4e522: Pulling fs layer 04:25:37 50da416c3ac9: Pulling fs layer 04:25:37 23d2d4c4bb30: Pulling fs layer 04:25:37 ad3a456e5733: Waiting 04:25:37 23d2d4c4bb30: Waiting 04:25:37 50da416c3ac9: Waiting 04:25:37 33e27b845d1e: Waiting 04:25:37 c68163c4e522: Waiting 04:25:37 c4d48a809fc2: Verifying Checksum 04:25:37 c4d48a809fc2: Download complete 04:25:37 ad3a456e5733: Verifying Checksum 04:25:37 ad3a456e5733: Download complete 04:25:37 33e27b845d1e: Download complete 04:25:37 7264a8db6415: Verifying Checksum 04:25:37 7264a8db6415: Download complete 04:25:37 c68163c4e522: Verifying Checksum 04:25:37 c68163c4e522: Download complete 04:25:37 7264a8db6415: Pull complete 04:25:37 23d2d4c4bb30: Verifying Checksum 04:25:37 c4d48a809fc2: Pull complete 04:25:37 4f1c88b9dad5: Verifying Checksum 04:25:37 4f1c88b9dad5: Download complete 04:25:38 50da416c3ac9: Verifying Checksum 04:25:38 50da416c3ac9: Download complete 04:25:40 4f1c88b9dad5: Pull complete 04:25:40 ad3a456e5733: Pull complete 04:25:41 33e27b845d1e: Pull complete 04:25:41 c68163c4e522: Pull complete 04:25:43 50da416c3ac9: Pull complete 04:25:43 23d2d4c4bb30: Pull complete 04:25:43 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 04:25:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:25:43 ---> 0786185ac409 04:25:43 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:25:47 ---> Running in dd006d7c4364 04:25:48 Removing intermediate container dd006d7c4364 04:25:48 ---> 3401bbaa391b 04:25:48 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:25:48 ---> Running in 369db9670a6d 04:25:48 Removing intermediate container 369db9670a6d 04:25:48 ---> eb9454618433 04:25:48 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:25:48 ---> Running in f163aaef3758 04:25:48 Removing intermediate container f163aaef3758 04:25:48 ---> bca502937679 04:25:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:25:48 ---> Running in 8d401468881e 04:25:48 Removing intermediate container 8d401468881e 04:25:48 ---> 75b2d07505e6 04:25:48 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:25:48 ---> Running in 5f7af7f57ace 04:25:48 Removing intermediate container 5f7af7f57ace 04:25:48 ---> d9660b6fc2d6 04:25:48 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:25:48 ---> Running in 4f98b1ffada1 04:25:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:25:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:25:49 OK: 264 MiB in 52 packages 04:25:49 Removing intermediate container 4f98b1ffada1 04:25:49 ---> f0c0c3f2fba1 04:25:49 Step 9/13 : WORKDIR /device-onvif-camera 04:25:49 ---> Running in 7eed3f6267b7 04:25:49 Removing intermediate container 7eed3f6267b7 04:25:49 ---> 498ad3922d39 04:25:49 Step 10/13 : COPY go.mod vendor* ./ 04:25:49 ---> 66f803b6f52f 04:25:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:25:49 ---> Running in 0f4207ff920c 04:25:50 Still waiting to schedule task 04:25:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:26:57 Removing intermediate container 0f4207ff920c 04:26:57 ---> b7ff99d75cc8 04:26:57 Step 12/13 : COPY . . 04:26:57 ---> 172899646f82 04:26:57 Step 13/13 : RUN ${MAKE} 04:26:57 ---> Running in 54f5771f3bbe 04:26:57 noop 04:26:57 Removing intermediate container 54f5771f3bbe 04:26:57 ---> be9a56f8dc7b 04:26:57 Successfully built be9a56f8dc7b 04:26:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:57 + docker inspect -f . ci-base-image-x86_64 04:26:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:57 prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container 04:26:57 $ 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 04:26:58 $ docker top e54c43b9e99ad4c98ae37555b4a7dc81b7a423361cfc76890715b7a29fdb5376 -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:58 + go version 04:26:58 go version go1.21.0 linux/amd64 [Pipeline] } 04:26:58 $ docker stop --time=1 e54c43b9e99ad4c98ae37555b4a7dc81b7a423361cfc76890715b7a29fdb5376 04:26:59 $ docker rm -f --volumes e54c43b9e99ad4c98ae37555b4a7dc81b7a423361cfc76890715b7a29fdb5376 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:00 + docker inspect -f . ci-base-image-x86_64 04:27:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:00 prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container 04:27:00 $ 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 04:27:00 $ docker top bc66827a0f2bf7a4cba324208cf3cb1ffbaf477356add565348698870e95acc4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:00 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 04:27:01 + make test 04:27:01 go test ./... -coverprofile=coverage.out ./... 04:27:02 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:27:12 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:27:12 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:27:14 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.5% of statements 04:27:14 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.100s coverage: 86.5% of statements 04:27:20 go vet ./... 04:27:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:27:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:27:24 ./bin/test-attribution-txt.sh [Pipeline] echo 04:27:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:27:24 $ docker stop --time=1 bc66827a0f2bf7a4cba324208cf3cb1ffbaf477356add565348698870e95acc4 04:27:26 $ docker rm -f --volumes bc66827a0f2bf7a4cba324208cf3cb1ffbaf477356add565348698870e95acc4 [Pipeline] // withDockerContainer [Pipeline] sh 04:27:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:27:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:27:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:27:28 + ls -al . 04:27:28 total 244 04:27:28 drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 04:27 . 04:27:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:25 .. 04:27:28 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 04:27 .git 04:27:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 04:25 .github 04:27:28 -rw-rw-r-- 1 jenkins jenkins 496 Oct 13 04:25 .gitignore 04:27:28 -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 04:25 .golangci.yml 04:27:28 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 04:25 .semver 04:27:28 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 13 04:25 Attribution.txt 04:27:28 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 13 04:25 CHANGELOG.md 04:27:28 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 13 04:25 Dockerfile 04:27:28 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 04:25 GOVERNANCE.md 04:27:28 -rw-rw-r-- 1 jenkins jenkins 739 Oct 13 04:25 Jenkinsfile 04:27:28 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 13 04:25 LICENSE 04:27:28 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 13 04:25 Makefile 04:27:28 -rw-rw-r-- 1 jenkins jenkins 625 Oct 13 04:25 OWNERS.md 04:27:28 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 13 04:25 README.md 04:27:28 -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 04:25 VERSION 04:27:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:25 bin 04:27:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 04:25 cmd 04:27:28 -rw-r--r-- 1 jenkins jenkins 78456 Oct 13 04:27 coverage.out 04:27:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:25 doc 04:27:28 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 13 04:25 go.mod 04:27:28 -rw-rw-r-- 1 jenkins jenkins 37526 Oct 13 04:25 go.sum 04:27:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:25 internal 04:27:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:25 snap 04:27:28 -rw-rw-r-- 1 jenkins jenkins 236 Oct 13 04:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9194 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 04:27:28 Running in /w/workspace/device-onvif-camera/174 [Pipeline] { [Pipeline] checkout 04:27:28 The recommended git tool is: git 04:27:28 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b23bf323986474a02c08d039be0c06384ee74361 --label arch=amd64 --label version=3.1.0-dev.17 . 04:27:28 Sending build context to Docker daemon 21.65MB 04:27:28 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:27:28 Step 2/26 : FROM ${BASE} AS builder 04:27:28 ---> be9a56f8dc7b 04:27:28 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:27:28 ---> Running in 3b58c8745751 04:27:29 Removing intermediate container 3b58c8745751 04:27:29 ---> 34df1d518cbe 04:27:29 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:27:29 ---> Running in 355389277fa2 04:27:29 Removing intermediate container 355389277fa2 04:27:29 ---> aefc94481c6a 04:27:29 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:27:29 ---> Running in f260ab234fd4 04:27:29 Removing intermediate container f260ab234fd4 04:27:29 ---> 7ccdb35e20aa 04:27:29 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:27:29 ---> Running in 848084f992d7 04:27:29 Removing intermediate container 848084f992d7 04:27:29 ---> 8a9c660d2935 04:27:29 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:27:29 ---> Running in e90145f6a35a 04:27:29 Removing intermediate container e90145f6a35a 04:27:29 ---> 9962bc5e7917 04:27:29 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:27:29 ---> Running in fcd0dee27f64 04:27:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:27:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:27:30 OK: 264 MiB in 52 packages 04:27:30 Removing intermediate container fcd0dee27f64 04:27:30 ---> 45ebf2fa06a1 04:27:30 Step 9/26 : WORKDIR /device-onvif-camera 04:27:30 ---> Running in 3b1dde6b112f 04:27:30 Removing intermediate container 3b1dde6b112f 04:27:30 ---> 7b038351fb35 04:27:30 Step 10/26 : COPY go.mod vendor* ./ 04:27:30 ---> cfc483572307 04:27:30 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:30 ---> Running in b821d1a5004a 04:27:31 Removing intermediate container b821d1a5004a 04:27:31 ---> 0fb1f456870d 04:27:31 Step 12/26 : COPY . . 04:27:32 ---> 342ff63372f3 04:27:32 Step 13/26 : RUN ${MAKE} 04:27:32 ---> Running in 15adca89203e 04:27:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:27:34 using credential edgex-jenkins-ssh 04:27:34 Cloning the remote Git repository 04:27:34 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:27:34 > git init /w/workspace/device-onvif-camera/174 # timeout=10 04:27:34 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:27:34 > git --version # timeout=10 04:27:34 > git --version # 'git version 2.25.1' 04:27:34 using GIT_SSH to set credentials SSH Credentials for GitHub 04:27:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:27:37 Avoid second fetch 04:27:37 Checking out Revision b23bf323986474a02c08d039be0c06384ee74361 (main) 04:27:36 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:27:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:27:37 > git config core.sparsecheckout # timeout=10 04:27:37 > git checkout -f b23bf323986474a02c08d039be0c06384ee74361 # timeout=10 04:27:37 Commit message: "Merge pull request #393 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:27:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:27:38 % Total % Received % Xferd Average Speed Time Time Time Current 04:27:38 Dload Upload Total Spent Left Speed 04:27:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 86054 0 --:--:-- --:--:-- --:--:-- 85387 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 04:27:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:27:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:27:39 + sudo tee /etc/docker/daemon.new 04:27:39 { 04:27:39 "registry-mirrors": [ 04:27:39 "https://nexus3.edgexfoundry.org:10001" 04:27:39 ], 04:27:39 "bip": "10.250.0.254/24", 04:27:39 "hosts": [ 04:27:39 "tcp://0.0.0.0:5555", 04:27:39 "unix:///var/run/docker.sock" 04:27:39 ], 04:27:39 "mtu": 1458, 04:27:39 "selinux-enabled": true, 04:27:39 "seccomp-profile": "/etc/docker/seccomp.json" 04:27:39 } [Pipeline] sh 04:27:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:27:40 + sudo service docker restart 04:27:54 Removing intermediate container 15adca89203e 04:27:54 ---> 9cd48c91c093 04:27:54 Step 14/26 : FROM alpine:3.18 04:27:54 3.18: Pulling from library/alpine 04:27:54 96526aa774ef: Pulling fs layer 04:27:54 96526aa774ef: Verifying Checksum 04:27:54 96526aa774ef: Download complete 04:27:54 96526aa774ef: Pull complete 04:27:54 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 04:27:54 Status: Downloaded newer image for alpine:3.18 04:27:54 ---> 8ca4688f4f35 04:27:54 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:27:54 ---> Running in a3d80901af70 04:27:54 Removing intermediate container a3d80901af70 04:27:54 ---> 8135d6edc3e3 04:27:54 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:27:54 ---> Running in 2471c0d5f34e 04:27:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:27:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:27:54 (1/1) Installing dumb-init (1.2.5-r2) 04:27:54 Executing busybox-1.36.1-r2.trigger 04:27:54 OK: 7 MiB in 16 packages 04:27:54 Removing intermediate container 2471c0d5f34e 04:27:54 ---> 470a66f73f03 04:27:54 Step 17/26 : WORKDIR / 04:27:54 ---> Running in 5b3fea711fcd 04:27:54 Removing intermediate container 5b3fea711fcd 04:27:54 ---> 2e77261cf6f9 04:27:54 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:27:54 ---> bccef4333cf0 04:27:54 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:27:54 ---> 9f8ac5118904 04:27:54 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:27:54 ---> 5e84ea49ad05 04:27:54 Step 21/26 : EXPOSE 59984 04:27:54 ---> Running in a862c282dbf4 04:27:54 Removing intermediate container a862c282dbf4 04:27:54 ---> 5a105ea93fe3 04:27:54 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:27:54 ---> Running in 808ab82acb86 04:27:54 Removing intermediate container 808ab82acb86 04:27:54 ---> 82a734a35343 04:27:54 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:27:54 ---> Running in 0b4b6aea2aa6 04:27:54 Removing intermediate container 0b4b6aea2aa6 04:27:54 ---> b6127472b82f 04:27:54 Step 24/26 : LABEL arch=amd64 04:27:54 ---> Running in 70390c700f31 04:27:54 Removing intermediate container 70390c700f31 04:27:54 ---> a63b12a83b7b 04:27:54 Step 25/26 : LABEL git_sha=b23bf323986474a02c08d039be0c06384ee74361 04:27:54 ---> Running in e085b706961e 04:27:54 Removing intermediate container e085b706961e 04:27:54 ---> 455f2aa415d2 04:27:54 Step 26/26 : LABEL version=3.1.0-dev.17 04:27:54 ---> Running in 48308a53d415 04:27:54 Removing intermediate container 48308a53d415 04:27:54 ---> 9708fd122ed2 04:27:54 [Warning] One or more build-args [ARCH] were not consumed 04:27:54 Successfully built 9708fd122ed2 04:27:54 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:27:54 provisioning config files... 04:27:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10425445990698845649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:55 ---> docker-login.sh 04:27:55 nexus3.edgexfoundry.org:10001 04:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:55 Configure a credential helper to remove this warning. See 04:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:55 04:27:55 Login Succeeded 04:27:55 nexus3.edgexfoundry.org:10002 04:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:55 Configure a credential helper to remove this warning. See 04:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:55 04:27:55 Login Succeeded 04:27:55 nexus3.edgexfoundry.org:10003 04:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:55 Configure a credential helper to remove this warning. See 04:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:55 04:27:55 Login Succeeded 04:27:55 nexus3.edgexfoundry.org:10004 04:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:55 Configure a credential helper to remove this warning. See 04:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:55 04:27:55 Login Succeeded 04:27:55 docker.io 04:27:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:55 Configure a credential helper to remove this warning. See 04:27:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:55 04:27:55 Login Succeeded 04:27:55 ---> docker-login.sh ends [Pipeline] } 04:27:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:27:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:27:55 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 04:27:55 b23bf323986474a02c08d039be0c06384ee74361 04:27:55 latest 04:27:55 3.1.0-dev.17 04:27:55 b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 04:27:55 main 04:27:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:56 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b23bf323986474a02c08d039be0c06384ee74361 04:27:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:27:56 bb4493a1a708: Preparing 04:27:56 b56b684fe5fb: Preparing 04:27:56 120be3da17bc: Preparing 04:27:56 bc5f15b67aff: Preparing 04:27:56 cc2447e1835a: Preparing 04:27:56 cc2447e1835a: Layer already exists 04:27:56 b56b684fe5fb: Pushed 04:27:56 bb4493a1a708: Pushed 04:27:56 bc5f15b67aff: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:27:58 provisioning config files... 04:27:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/174@tmp/config5319581676773730241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:58 ---> docker-login.sh 04:27:58 nexus3.edgexfoundry.org:10001 04:27:59 120be3da17bc: Pushed 04:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:59 b23bf323986474a02c08d039be0c06384ee74361: digest: sha256:63c651d097a9a627b52c021b164fad6a493ac1d88a7dd57c2a07894eecf98a23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:59 Configure a credential helper to remove this warning. See 04:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:59 04:27:59 Login Succeeded 04:27:59 nexus3.edgexfoundry.org:10002 04:27:59 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 04:27:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:27:59 bb4493a1a708: Preparing 04:27:59 b56b684fe5fb: Preparing 04:27:59 120be3da17bc: Preparing 04:27:59 bc5f15b67aff: Preparing 04:27:59 cc2447e1835a: Preparing 04:27:59 b56b684fe5fb: Layer already exists 04:27:59 bc5f15b67aff: Layer already exists 04:27:59 bb4493a1a708: Layer already exists 04:27:59 120be3da17bc: Layer already exists 04:27:59 cc2447e1835a: Layer already exists 04:27:59 latest: digest: sha256:63c651d097a9a627b52c021b164fad6a493ac1d88a7dd57c2a07894eecf98a23 size: 1365 [Pipeline] } [Pipeline] // withEnv 04:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:59 Configure a credential helper to remove this warning. See 04:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:59 04:27:59 Login Succeeded 04:27:59 nexus3.edgexfoundry.org:10003 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:00 Configure a credential helper to remove this warning. See 04:28:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:00 04:28:00 Login Succeeded 04:28:00 nexus3.edgexfoundry.org:10004 04:28:00 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:00 Configure a credential helper to remove this warning. See 04:28:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:00 04:28:00 Login Succeeded 04:28:00 docker.io 04:28:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.17 04:28:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:28:00 bb4493a1a708: Preparing 04:28:00 b56b684fe5fb: Preparing 04:28:00 120be3da17bc: Preparing 04:28:00 bc5f15b67aff: Preparing 04:28:00 cc2447e1835a: Preparing 04:28:00 cc2447e1835a: Layer already exists 04:28:00 bb4493a1a708: Layer already exists 04:28:00 bc5f15b67aff: Layer already exists 04:28:00 120be3da17bc: Layer already exists 04:28:00 b56b684fe5fb: Layer already exists 04:28:00 3.1.0-dev.17: digest: sha256:63c651d097a9a627b52c021b164fad6a493ac1d88a7dd57c2a07894eecf98a23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:28:00 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:28:01 Configure a credential helper to remove this warning. See 04:28:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:28:01 04:28:01 Login Succeeded 04:28:01 ---> docker-login.sh ends [Pipeline] } 04:28:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:28:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 04:28:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:28:01 bb4493a1a708: Preparing 04:28:01 b56b684fe5fb: Preparing 04:28:01 120be3da17bc: Preparing 04:28:01 bc5f15b67aff: Preparing 04:28:01 cc2447e1835a: Preparing 04:28:01 cc2447e1835a: Layer already exists 04:28:01 120be3da17bc: Layer already exists 04:28:01 bb4493a1a708: Layer already exists 04:28:01 b56b684fe5fb: Layer already exists 04:28:01 bc5f15b67aff: Layer already exists 04:28:01 b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17: digest: sha256:63c651d097a9a627b52c021b164fad6a493ac1d88a7dd57c2a07894eecf98a23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 04:28:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:28:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:28:01 ========================================================= 04:28:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:28:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:01 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:28:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 04:28:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 04:28:01 bb4493a1a708: Preparing 04:28:01 b56b684fe5fb: Preparing 04:28:01 120be3da17bc: Preparing 04:28:01 bc5f15b67aff: Preparing 04:28:01 cc2447e1835a: Preparing 04:28:01 120be3da17bc: Layer already exists 04:28:01 bb4493a1a708: Layer already exists 04:28:01 bc5f15b67aff: Layer already exists 04:28:01 b56b684fe5fb: Layer already exists 04:28:01 cc2447e1835a: Layer already exists 04:28:01 main: digest: sha256:63c651d097a9a627b52c021b164fad6a493ac1d88a7dd57c2a07894eecf98a23 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:28:01 ===================================================== [Pipeline] echo 04:28:01 taggedImages: 04:28:01 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b23bf323986474a02c08d039be0c06384ee74361 04:28:01 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 04:28:01 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.1.0-dev.17 04:28:01 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 04:28:01 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:02 04:28:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:02 Sending build context to Docker daemon 14.15MB 04:28:02 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:28:02 Step 2/13 : FROM ${BASE} AS builder 04:28:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:02 latest: Pulling from edgex-lftools-log-publisher 04:28:02 5eb5b503b376: Pulling fs layer 04:28:02 5c69ac0246d0: Pulling fs layer 04:28:02 ec43610c2a17: Pulling fs layer 04:28:02 3a2ae6a8a46f: Pulling fs layer 04:28:02 33b1e0a273af: Pulling fs layer 04:28:02 5d3b04190fa2: Pulling fs layer 04:28:02 2f39f015ded8: Pulling fs layer 04:28:02 3a2ae6a8a46f: Waiting 04:28:02 5d3b04190fa2: Waiting 04:28:02 5c69ac0246d0: Verifying Checksum 04:28:02 5c69ac0246d0: Download complete 04:28:02 3a2ae6a8a46f: Download complete 04:28:02 ec43610c2a17: Verifying Checksum 04:28:02 ec43610c2a17: Download complete 04:28:02 33b1e0a273af: Verifying Checksum 04:28:02 33b1e0a273af: Download complete 04:28:02 5d3b04190fa2: Verifying Checksum 04:28:02 5d3b04190fa2: Download complete 04:28:02 5eb5b503b376: Download complete 04:28:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:28:02 9fda8d8052c6: Pulling fs layer 04:28:02 5d54e960e981: Pulling fs layer 04:28:02 c4a7e357bf2a: Pulling fs layer 04:28:02 f0e02332f6b5: Pulling fs layer 04:28:02 cefa15bbcfad: Pulling fs layer 04:28:02 17808c966233: Pulling fs layer 04:28:02 f4c1fc716caa: Pulling fs layer 04:28:02 cefa15bbcfad: Waiting 04:28:02 17808c966233: Waiting 04:28:02 f4c1fc716caa: Waiting 04:28:02 f0e02332f6b5: Waiting 04:28:02 5d54e960e981: Download complete 04:28:02 f0e02332f6b5: Verifying Checksum 04:28:02 f0e02332f6b5: Download complete 04:28:02 cefa15bbcfad: Verifying Checksum 04:28:02 cefa15bbcfad: Download complete 04:28:03 9fda8d8052c6: Download complete 04:28:03 2f39f015ded8: Verifying Checksum 04:28:03 2f39f015ded8: Download complete 04:28:03 f4c1fc716caa: Verifying Checksum 04:28:03 f4c1fc716caa: Download complete 04:28:03 5eb5b503b376: Pull complete 04:28:04 9fda8d8052c6: Pull complete 04:28:04 5c69ac0246d0: Pull complete 04:28:04 ec43610c2a17: Pull complete 04:28:04 5d54e960e981: Pull complete 04:28:04 3a2ae6a8a46f: Pull complete 04:28:04 c4a7e357bf2a: Verifying Checksum 04:28:04 c4a7e357bf2a: Download complete 04:28:04 33b1e0a273af: Pull complete 04:28:04 5d3b04190fa2: Pull complete 04:28:05 17808c966233: Verifying Checksum 04:28:05 17808c966233: Download complete 04:28:09 2f39f015ded8: Pull complete 04:28:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:28:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:09 prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container 04:28:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:28:12 $ docker top 50b22d387268acc743a8323adffa778039e0361955e81b37be7c31049ac97ce5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:13 ---> job-cost.sh 04:28:13 lf-activate-venv: SKIPPING 04:28:13 INFO: No Stack... 04:28:13 INFO: Retrieving Pricing Info for: v3-standard-8 04:28:13 INFO: Archiving Costs [Pipeline] sh 04:28:13 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 04:28:13 + cut -d, -f6 [Pipeline] lock 04:28:13 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] 04:28:13 Resource [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] did not exist. Created. 04:28:13 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:28:14 + echo total: 0.2199999988079071 [Pipeline] stash 04:28:14 Stashed 1 file(s) [Pipeline] } 04:28:14 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] [Pipeline] // lock [Pipeline] } 04:28:14 $ docker stop --time=1 50b22d387268acc743a8323adffa778039e0361955e81b37be7c31049ac97ce5 04:28:15 $ docker rm -f --volumes 50b22d387268acc743a8323adffa778039e0361955e81b37be7c31049ac97ce5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:28:18 c4a7e357bf2a: Pull complete 04:28:18 f0e02332f6b5: Pull complete 04:28:18 cefa15bbcfad: Pull complete 04:28:26 17808c966233: Pull complete 04:28:30 f4c1fc716caa: Pull complete 04:28:30 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 04:28:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:28:30 ---> ea914061e18c 04:28:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:28:31 ---> Running in 2ba8e45145f2 04:28:32 Removing intermediate container 2ba8e45145f2 04:28:32 ---> 209511692dfe 04:28:32 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:28:32 ---> Running in b6894b0f823c 04:28:32 Removing intermediate container b6894b0f823c 04:28:32 ---> 15467ba9d436 04:28:32 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:28:32 ---> Running in f0ef5cc2f8ec 04:28:32 Removing intermediate container f0ef5cc2f8ec 04:28:32 ---> 6e9e796f5537 04:28:32 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:28:33 ---> Running in 1f4996833abe 04:28:33 Removing intermediate container 1f4996833abe 04:28:33 ---> 76b2ff9f8900 04:28:33 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:28:33 ---> Running in 351ce42496d1 04:28:33 Removing intermediate container 351ce42496d1 04:28:33 ---> 954d72536b25 04:28:33 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:28:33 ---> Running in 577b09036387 04:28:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:28:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:28:36 OK: 266 MiB in 52 packages 04:28:37 Removing intermediate container 577b09036387 04:28:37 ---> 19462ff72cbb 04:28:37 Step 9/13 : WORKDIR /device-onvif-camera 04:28:37 ---> Running in 2977cb2e1fb5 04:28:37 Removing intermediate container 2977cb2e1fb5 04:28:37 ---> 4061712bbccd 04:28:37 Step 10/13 : COPY go.mod vendor* ./ 04:28:38 ---> e20e3b42f9ab 04:28:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:28:38 ---> Running in bc9a478340cc 04:30:14 Removing intermediate container bc9a478340cc 04:30:14 ---> 807eedac044f 04:30:14 Step 12/13 : COPY . . 04:30:14 ---> a34716225683 04:30:14 Step 13/13 : RUN ${MAKE} 04:30:14 ---> Running in 06467d50f274 04:30:14 noop 04:30:14 Removing intermediate container 06467d50f274 04:30:14 ---> 53529ecd53c0 04:30:14 Successfully built 53529ecd53c0 04:30:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:15 + docker inspect -f . ci-base-image-arm64 04:30:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:15 prd-ubuntu20.04-docker-arm64-4c-16g-9194 does not seem to be running inside a container 04:30:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/174 -v /w/workspace/device-onvif-camera/174:/w/workspace/device-onvif-camera/174:rw,z -v /w/workspace/device-onvif-camera/174@tmp:/w/workspace/device-onvif-camera/174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:30:16 $ docker top b833fade00527e593adf58cf7dfe4db99456840ca25e2b500609840d2db58c8d -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:17 + go version 04:30:17 go version go1.21.0 linux/arm64 [Pipeline] } 04:30:17 $ docker stop --time=1 b833fade00527e593adf58cf7dfe4db99456840ca25e2b500609840d2db58c8d 04:30:20 $ docker rm -f --volumes b833fade00527e593adf58cf7dfe4db99456840ca25e2b500609840d2db58c8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:21 + docker inspect -f . ci-base-image-arm64 04:30:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:21 prd-ubuntu20.04-docker-arm64-4c-16g-9194 does not seem to be running inside a container 04:30:21 $ 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/174 -v /w/workspace/device-onvif-camera/174:/w/workspace/device-onvif-camera/174:rw,z -v /w/workspace/device-onvif-camera/174@tmp:/w/workspace/device-onvif-camera/174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:30:22 $ docker top a79baaa608f2ab2a109ab2cbc9812a6116788070e19d1b7079fcee2c1668ce6e -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:23 + git config --global --add safe.directory /w/workspace/device-onvif-camera/174 [Pipeline] fileExists [Pipeline] sh 04:30:23 + make test 04:30:24 go test ./... -coverprofile=coverage.out ./... 04:30:28 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:32:05 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:32:05 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:32:05 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.170s coverage: 31.5% of statements 04:32:23 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.993s coverage: 86.5% of statements 04:32:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:32:24 go vet ./... 04:32:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:32:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:32:46 ./bin/test-attribution-txt.sh [Pipeline] echo 04:32:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:32:46 $ docker stop --time=1 a79baaa608f2ab2a109ab2cbc9812a6116788070e19d1b7079fcee2c1668ce6e 04:32:49 $ docker rm -f --volumes a79baaa608f2ab2a109ab2cbc9812a6116788070e19d1b7079fcee2c1668ce6e [Pipeline] // withDockerContainer [Pipeline] sh 04:32:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:32:51 Warning: overwriting stash ‘coverage-report’ 04:32:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:32:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:32:52 + ls -al . 04:32:52 total 240 04:32:52 drwxrwxr-x 9 jenkins jenkins 4096 Oct 13 04:30 . 04:32:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:27 .. 04:32:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 04:27 .git 04:32:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 04:27 .github 04:32:52 -rw-rw-r-- 1 jenkins jenkins 496 Oct 13 04:27 .gitignore 04:32:52 -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 04:27 .golangci.yml 04:32:52 -rw-rw-r-- 1 jenkins jenkins 11155 Oct 13 04:27 Attribution.txt 04:32:52 -rw-rw-r-- 1 jenkins jenkins 15932 Oct 13 04:27 CHANGELOG.md 04:32:52 -rw-rw-r-- 1 jenkins jenkins 1574 Oct 13 04:27 Dockerfile 04:32:52 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 04:27 GOVERNANCE.md 04:32:52 -rw-rw-r-- 1 jenkins jenkins 739 Oct 13 04:27 Jenkinsfile 04:32:52 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 13 04:27 LICENSE 04:32:52 -rw-rw-r-- 1 jenkins jenkins 2877 Oct 13 04:27 Makefile 04:32:52 -rw-rw-r-- 1 jenkins jenkins 625 Oct 13 04:27 OWNERS.md 04:32:52 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 13 04:27 README.md 04:32:52 -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 04:25 VERSION 04:32:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:27 bin 04:32:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 04:27 cmd 04:32:52 -rw-r--r-- 1 jenkins jenkins 78456 Oct 13 04:32 coverage.out 04:32:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:27 doc 04:32:52 -rw-rw-r-- 1 jenkins jenkins 4087 Oct 13 04:27 go.mod 04:32:52 -rw-rw-r-- 1 jenkins jenkins 37526 Oct 13 04:27 go.sum 04:32:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:27 internal 04:32:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:27 snap 04:32:52 -rw-rw-r-- 1 jenkins jenkins 236 Oct 13 04:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:52 + 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=b23bf323986474a02c08d039be0c06384ee74361 --label arch=arm64 --label version=3.1.0-dev.17 . 04:32:53 Sending build context to Docker daemon 14.23MB 04:32:53 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:32:53 Step 2/26 : FROM ${BASE} AS builder 04:32:53 ---> 53529ecd53c0 04:32:53 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:32:53 ---> Running in 238c37539134 04:32:53 Removing intermediate container 238c37539134 04:32:53 ---> d4110bfb56c0 04:32:53 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:32:53 ---> Running in c72e18b1380f 04:32:54 Removing intermediate container c72e18b1380f 04:32:54 ---> 804aa776c54e 04:32:54 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:32:54 ---> Running in 0d3aa3b9ecf5 04:32:54 Removing intermediate container 0d3aa3b9ecf5 04:32:54 ---> 5f2cc8226506 04:32:54 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:32:54 ---> Running in 5bd6bd4a118e 04:32:54 Removing intermediate container 5bd6bd4a118e 04:32:54 ---> d05e29803198 04:32:54 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:32:54 ---> Running in 017717b9b01a 04:32:55 Removing intermediate container 017717b9b01a 04:32:55 ---> 779d6ea481a6 04:32:55 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:32:55 ---> Running in f96ff3da5d5d 04:32:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:32:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:32:57 OK: 266 MiB in 52 packages 04:32:58 Removing intermediate container f96ff3da5d5d 04:32:58 ---> 54455b567b26 04:32:58 Step 9/26 : WORKDIR /device-onvif-camera 04:32:58 ---> Running in 8937fc356a62 04:32:58 Removing intermediate container 8937fc356a62 04:32:58 ---> 6f6f45a5e79e 04:32:58 Step 10/26 : COPY go.mod vendor* ./ 04:32:59 ---> fdfb56da0c09 04:32:59 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:32:59 ---> Running in 2c75c83b108c 04:33:03 Removing intermediate container 2c75c83b108c 04:33:03 ---> ceff6b316073 04:33:03 Step 12/26 : COPY . . 04:33:04 ---> 950b78a40222 04:33:04 Step 13/26 : RUN ${MAKE} 04:33:04 ---> Running in 65e295fdd428 04:33:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.1.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:34:57 Removing intermediate container 65e295fdd428 04:34:57 ---> 68a6fa29b5ae 04:34:57 Step 14/26 : FROM alpine:3.18 04:34:57 3.18: Pulling from library/alpine 04:34:57 579b34f0a95b: Pulling fs layer 04:34:57 579b34f0a95b: Verifying Checksum 04:34:57 579b34f0a95b: Download complete 04:34:57 579b34f0a95b: Pull complete 04:34:57 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 04:34:57 Status: Downloaded newer image for alpine:3.18 04:34:57 ---> 3cc203321400 04:34:57 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:34:57 ---> Running in 62abed6e72a4 04:34:57 Removing intermediate container 62abed6e72a4 04:34:57 ---> d0d0f45104a9 04:34:57 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:34:57 ---> Running in 88c5e8d2e6f5 04:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:34:57 (1/1) Installing dumb-init (1.2.5-r2) 04:34:57 Executing busybox-1.36.1-r2.trigger 04:34:57 OK: 8 MiB in 16 packages 04:34:57 Removing intermediate container 88c5e8d2e6f5 04:34:57 ---> d4d387e1edae 04:34:57 Step 17/26 : WORKDIR / 04:34:57 ---> Running in 9e9137b85aa2 04:34:58 Removing intermediate container 9e9137b85aa2 04:34:58 ---> 469cfd555470 04:34:58 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:34:59 ---> bfa7f4d2260c 04:34:59 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:35:00 ---> 64577251f135 04:35:00 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:35:00 ---> 5d21a6c01acb 04:35:00 Step 21/26 : EXPOSE 59984 04:35:00 ---> Running in 5379b4e9fe1e 04:35:00 Removing intermediate container 5379b4e9fe1e 04:35:00 ---> cf941f37b171 04:35:00 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:35:00 ---> Running in e534b7a37fb5 04:35:01 Removing intermediate container e534b7a37fb5 04:35:01 ---> 876e9e7ead04 04:35:01 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:35:01 ---> Running in a50c44b166d2 04:35:01 Removing intermediate container a50c44b166d2 04:35:01 ---> 9abd1004349b 04:35:01 Step 24/26 : LABEL arch=arm64 04:35:01 ---> Running in d0d332b49f1e 04:35:01 Removing intermediate container d0d332b49f1e 04:35:01 ---> fedeb6bb6f68 04:35:01 Step 25/26 : LABEL git_sha=b23bf323986474a02c08d039be0c06384ee74361 04:35:01 ---> Running in 552705d8db66 04:35:02 Removing intermediate container 552705d8db66 04:35:02 ---> ffd2d05ceb3f 04:35:02 Step 26/26 : LABEL version=3.1.0-dev.17 04:35:02 ---> Running in ec07725eb3e2 04:35:02 Removing intermediate container ec07725eb3e2 04:35:02 ---> 4bff31197762 04:35:02 [Warning] One or more build-args [ARCH] were not consumed 04:35:02 Successfully built 4bff31197762 04:35:02 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:35:02 provisioning config files... 04:35:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/174@tmp/config8523118610011585763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:35:03 ---> docker-login.sh 04:35:03 nexus3.edgexfoundry.org:10001 04:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:03 Configure a credential helper to remove this warning. See 04:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:03 04:35:03 Login Succeeded 04:35:03 nexus3.edgexfoundry.org:10002 04:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:03 Configure a credential helper to remove this warning. See 04:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:03 04:35:03 Login Succeeded 04:35:03 nexus3.edgexfoundry.org:10003 04:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:04 Configure a credential helper to remove this warning. See 04:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:04 04:35:04 Login Succeeded 04:35:04 nexus3.edgexfoundry.org:10004 04:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:04 Configure a credential helper to remove this warning. See 04:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:04 04:35:04 Login Succeeded 04:35:04 docker.io 04:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:05 Configure a credential helper to remove this warning. See 04:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:05 04:35:05 Login Succeeded 04:35:05 ---> docker-login.sh ends [Pipeline] } 04:35:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:35:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:35:05 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 04:35:05 b23bf323986474a02c08d039be0c06384ee74361 04:35:05 latest 04:35:05 3.1.0-dev.17 04:35:05 b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 04:35:05 main 04:35:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:05 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b23bf323986474a02c08d039be0c06384ee74361 04:35:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:35:05 3a16ceaff5fd: Preparing 04:35:05 ac5f1bc130a2: Preparing 04:35:05 40ee2db336ed: Preparing 04:35:05 43af14dd80f0: Preparing 04:35:05 5f4d9fc4d98d: Preparing 04:35:05 5f4d9fc4d98d: Layer already exists 04:35:06 3a16ceaff5fd: Pushed 04:35:06 ac5f1bc130a2: Pushed 04:35:06 43af14dd80f0: Pushed 04:35:12 40ee2db336ed: Pushed 04:35:12 b23bf323986474a02c08d039be0c06384ee74361: digest: sha256:2e94f185fb2ccd0fda009b808ab8527a321c80f8ba3c89544731e650c892b563 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:13 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:35:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:35:13 3a16ceaff5fd: Preparing 04:35:13 ac5f1bc130a2: Preparing 04:35:13 40ee2db336ed: Preparing 04:35:13 43af14dd80f0: Preparing 04:35:13 5f4d9fc4d98d: Preparing 04:35:13 5f4d9fc4d98d: Layer already exists 04:35:13 40ee2db336ed: Layer already exists 04:35:13 3a16ceaff5fd: Layer already exists 04:35:13 ac5f1bc130a2: Layer already exists 04:35:13 43af14dd80f0: Layer already exists 04:35:13 latest: digest: sha256:2e94f185fb2ccd0fda009b808ab8527a321c80f8ba3c89544731e650c892b563 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:14 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.17 04:35:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:35:14 3a16ceaff5fd: Preparing 04:35:14 ac5f1bc130a2: Preparing 04:35:14 40ee2db336ed: Preparing 04:35:14 43af14dd80f0: Preparing 04:35:14 5f4d9fc4d98d: Preparing 04:35:14 ac5f1bc130a2: Layer already exists 04:35:14 3a16ceaff5fd: Layer already exists 04:35:14 5f4d9fc4d98d: Layer already exists 04:35:14 43af14dd80f0: Layer already exists 04:35:14 40ee2db336ed: Layer already exists 04:35:14 3.1.0-dev.17: digest: sha256:2e94f185fb2ccd0fda009b808ab8527a321c80f8ba3c89544731e650c892b563 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:14 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 04:35:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:35:15 3a16ceaff5fd: Preparing 04:35:15 ac5f1bc130a2: Preparing 04:35:15 40ee2db336ed: Preparing 04:35:15 43af14dd80f0: Preparing 04:35:15 5f4d9fc4d98d: Preparing 04:35:15 40ee2db336ed: Layer already exists 04:35:15 ac5f1bc130a2: Layer already exists 04:35:15 5f4d9fc4d98d: Layer already exists 04:35:15 3a16ceaff5fd: Layer already exists 04:35:15 43af14dd80f0: Layer already exists 04:35:15 b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17: digest: sha256:2e94f185fb2ccd0fda009b808ab8527a321c80f8ba3c89544731e650c892b563 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:15 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 04:35:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 04:35:15 3a16ceaff5fd: Preparing 04:35:15 ac5f1bc130a2: Preparing 04:35:15 40ee2db336ed: Preparing 04:35:15 43af14dd80f0: Preparing 04:35:15 5f4d9fc4d98d: Preparing 04:35:15 ac5f1bc130a2: Layer already exists 04:35:15 5f4d9fc4d98d: Layer already exists 04:35:15 40ee2db336ed: Layer already exists 04:35:15 3a16ceaff5fd: Layer already exists 04:35:15 43af14dd80f0: Layer already exists 04:35:15 main: digest: sha256:2e94f185fb2ccd0fda009b808ab8527a321c80f8ba3c89544731e650c892b563 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:35:16 ===================================================== [Pipeline] echo 04:35:16 taggedImages: 04:35:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b23bf323986474a02c08d039be0c06384ee74361 04:35:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 04:35:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.1.0-dev.17 04:35:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:b23bf323986474a02c08d039be0c06384ee74361-3.1.0-dev.17 04:35:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:35:16 04:35:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:35:16 arm64: Pulling from edgex-lftools-log-publisher 04:35:16 8998bd30e6a1: Pulling fs layer 04:35:16 04944245beec: Pulling fs layer 04:35:16 699f458cf7ca: Pulling fs layer 04:35:16 765212b225bb: Pulling fs layer 04:35:16 765212b225bb: Waiting 04:35:16 f23df028b6ca: Pulling fs layer 04:35:16 d65c8cfc05b1: Pulling fs layer 04:35:16 2437ff75d9bd: Pulling fs layer 04:35:16 f23df028b6ca: Waiting 04:35:16 d65c8cfc05b1: Waiting 04:35:16 2437ff75d9bd: Waiting 04:35:17 04944245beec: Verifying Checksum 04:35:17 04944245beec: Download complete 04:35:17 765212b225bb: Verifying Checksum 04:35:17 765212b225bb: Download complete 04:35:17 f23df028b6ca: Verifying Checksum 04:35:17 f23df028b6ca: Download complete 04:35:17 d65c8cfc05b1: Download complete 04:35:17 699f458cf7ca: Verifying Checksum 04:35:17 699f458cf7ca: Download complete 04:35:17 8998bd30e6a1: Verifying Checksum 04:35:17 8998bd30e6a1: Download complete 04:35:20 2437ff75d9bd: Verifying Checksum 04:35:20 2437ff75d9bd: Download complete 04:35:22 8998bd30e6a1: Pull complete 04:35:22 04944245beec: Pull complete 04:35:24 699f458cf7ca: Pull complete 04:35:24 765212b225bb: Pull complete 04:35:24 f23df028b6ca: Pull complete 04:35:25 d65c8cfc05b1: Pull complete 04:35:43 2437ff75d9bd: Pull complete 04:35:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:35:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:35:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:35:43 prd-ubuntu20.04-docker-arm64-4c-16g-9194 does not seem to be running inside a container 04:35:43 $ 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/174 -v /w/workspace/device-onvif-camera/174:/w/workspace/device-onvif-camera/174:rw,z -v /w/workspace/device-onvif-camera/174@tmp:/w/workspace/device-onvif-camera/174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:35:45 $ docker top a7eee1ea2a555ef742489fbe86125573fe9d7eceb1a3a927ac3acc67c400b982 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:35:46 ---> job-cost.sh 04:35:46 lf-activate-venv: SKIPPING 04:35:46 INFO: No Stack... 04:35:47 INFO: Retrieving Pricing Info for: v3-standard-4 04:35:48 INFO: Archiving Costs [Pipeline] sh 04:35:48 + cat /w/workspace/device-onvif-camera/174/archives/cost.csv 04:35:48 + cut -d, -f6 [Pipeline] lock 04:35:48 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] 04:35:48 Resource [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] did not exist. Created. 04:35:48 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:35:49 /w/workspace/device-onvif-camera/174@tmp/durable-accd6d9e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:35:50 + echo total: 0.10999999940395355 [Pipeline] stash 04:35:50 Warning: overwriting stash ‘stack-cost’ 04:35:50 Stashed 1 file(s) [Pipeline] } 04:35:50 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-174-stack-cost] [Pipeline] // lock [Pipeline] } 04:35:50 $ docker stop --time=1 a7eee1ea2a555ef742489fbe86125573fe9d7eceb1a3a927ac3acc67c400b982 04:35:51 $ docker rm -f --volumes a7eee1ea2a555ef742489fbe86125573fe9d7eceb1a3a927ac3acc67c400b982 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:35:52 provisioning config files... 04:35:52 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12263814411795892175tmp [Pipeline] { [Pipeline] sh 04:35:52 + set +x 04:35:52 + curl -s https://codecov.io/bash 04:35:52 + bash -s -- 04:35:52 04:35:52 _____ _ 04:35:52 / ____| | | 04:35:52 | | ___ __| | ___ ___ _____ __ 04:35:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:35:52 | |___| (_) | (_| | __/ (_| (_) \ V / 04:35:52 \_____\___/ \__,_|\___|\___\___/ \_/ 04:35:52 Bash-1.0.6 04:35:52 04:35:52 04:35:52 ==> git version 2.25.1 found 04:35:52 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:35:52 Release-Date: 2020-01-08 04:35:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:35:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:35:52 ==> Jenkins CI detected. 04:35:52 current dir:  /w/workspace/foundry_device-onvif-camera_main 04:35:52 project root: . 04:35:52 --> token set from env 04:35:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:35:52 ==> Running gcov in . (disable via -X gcov) 04:35:52 ==> Python coveragepy not found 04:35:52 ==> Searching for coverage reports in: 04:35:52 + . 04:35:52 -> Found 1 reports 04:35:52 ==> Detecting git/mercurial file structure 04:35:52 ==> Reading reports 04:35:52 + ./coverage.out bytes=78456 04:35:52 ==> Appending adjustments 04:35:52 https://docs.codecov.io/docs/fixing-reports 04:35:52 + Found adjustments 04:35:52 ==> Gzipping contents 04:35:52 12K /tmp/codecov.0kpfuf.gz 04:35:52 ==> Uploading reports 04:35:52 url: https://codecov.io 04:35:52 query: branch=main&commit=b23bf323986474a02c08d039be0c06384ee74361&build=174&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F174%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:35:52 -> Pinging Codecov 04:35:52 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=b23bf323986474a02c08d039be0c06384ee74361&build=174&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F174%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 04:35:52 -> Uploading to 04:35:52 https://storage.googleapis.com/codecov/v4/raw/2023-10-13/F29A59C45E3A92E06B3E522C9905F8EF/b23bf323986474a02c08d039be0c06384ee74361/10993131-d356-4642-aecd-9c5218860438.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231013T043552Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d3b0f9200c191907ee5e6f9003a14e1b2c8e9002d018df47c5f1729f316a7e1 04:35:52 % Total % Received % Xferd Average Speed Time Time Time Current 04:35:52 Dload Upload Total Spent Left Speed 04:35:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 33741 --:--:-- --:--:-- --:--:-- 33741 100 10561 0 0 100 10561 0 33741 --:--:-- --:--:-- --:--:-- 33633 04:35:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] } 04:35:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:35:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:35:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:35:53 04:35:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:35:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:35:54 df9b9388f04a: Pulling fs layer 04:35:54 52dc419b0ee2: Pulling fs layer 04:35:54 25bc292e5bac: Pulling fs layer 04:35:54 114826534d7a: Pulling fs layer 04:35:54 4657fd5d0bcf: Pulling fs layer 04:35:54 6ad1cebc031e: Pulling fs layer 04:35:54 8a3aa393b2d8: Pulling fs layer 04:35:54 114826534d7a: Waiting 04:35:54 4657fd5d0bcf: Waiting 04:35:54 6ad1cebc031e: Waiting 04:35:54 8a3aa393b2d8: Waiting 04:35:54 25bc292e5bac: Download complete 04:35:54 52dc419b0ee2: Verifying Checksum 04:35:54 52dc419b0ee2: Download complete 04:35:54 4657fd5d0bcf: Download complete 04:35:54 df9b9388f04a: Download complete 04:35:54 6ad1cebc031e: Download complete 04:35:54 df9b9388f04a: Pull complete 04:35:54 52dc419b0ee2: Pull complete 04:35:54 25bc292e5bac: Pull complete 04:35:54 114826534d7a: Verifying Checksum 04:35:54 114826534d7a: Download complete 04:35:54 8a3aa393b2d8: Verifying Checksum 04:35:54 8a3aa393b2d8: Download complete 04:35:58 114826534d7a: Pull complete 04:35:58 4657fd5d0bcf: Pull complete 04:35:58 6ad1cebc031e: Pull complete 04:36:01 8a3aa393b2d8: Pull complete 04:36:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:36:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:36:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:36:01 prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container 04:36:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:36:05 $ docker top 05b399925d58c7da462eb52887a11e3d626c2506e2145c08b41065429ff8350a -eo pid,comm [Pipeline] { [Pipeline] echo 04:36:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 04:36:05 + set -o pipefail 04:36:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 04:36:13 04:36:13 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 04:36:13 04:36:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/0bab04de-07ad-41a8-b2bc-f6cb0995e1d3 04:36:13 04:36:13 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 04:36:13 04:36:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:36:13 04:36:13 04:36:13 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:36:13 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:36:13 More details here: https://snyk.co/ue1NS 04:36:13 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 04:36:13 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:36:14 $ docker stop --time=1 05b399925d58c7da462eb52887a11e3d626c2506e2145c08b41065429ff8350a 04:36:17 $ docker rm -f --volumes 05b399925d58c7da462eb52887a11e3d626c2506e2145c08b41065429ff8350a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 04:36:18 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:36:18 provisioning config files... 04:36:18 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6030793632882194318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:18 --> edgex-publish-swagger.sh 04:36:18 === Publish doc/openapi/v3 API === 04:36:18 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 04:36:18 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 04:36:18 % Total % Received % Xferd Average Speed Time Time Time Current 04:36:18 Dload Upload Total Spent Left Speed 04:36:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 542k --:--:-- --:--:-- --:--:-- 541k 100 485k 0 0 100 485k 0 542k --:--:-- --:--:-- --:--:-- 541k 04:36:19 04:36:19 [Pipeline] } 04:36:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:36:19 + git log --format=format:%s -1 b23bf323986474a02c08d039be0c06384ee74361 [Pipeline] sh 04:36:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:36:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:36:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:36:20 prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container 04:36:20 $ 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 04:36:20 $ docker top e25b42dd15e63681c989e9e15283d7278704919774e6b0637381e24e01f9a217 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:36:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:36:21 [ssh-agent] Looking for ssh-agent implementation... 04:36:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:36:21 $ docker exec e25b42dd15e63681c989e9e15283d7278704919774e6b0637381e24e01f9a217 ssh-agent 04:36:21 SSH_AUTH_SOCK=/tmp/ssh-6lrhPYwanfU9/agent.32 04:36:21 SSH_AGENT_PID=38 04:36:21 Running ssh-add (command line suppressed) 04:36:21 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3332146264652486126.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3332146264652486126.key) 04:36:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:36:21 + git semver tag 04:36:21 2023-10-13 04:36:21,834 [run_tag] DEBUG tag force:False 04:36:21 2023-10-13 04:36:21,834 [check_head_tag] DEBUG check head tag 04:36:21 2023-10-13 04:36:21,835 [execute] INFO git cat-file --batch-check 04:36:21 2023-10-13 04:36:21,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:36:21 2023-10-13 04:36:21,839 [execute] INFO git cat-file --batch 04:36:21 2023-10-13 04:36:21,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 04:36:21 2023-10-13 04:36:21,848 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:36:21 2023-10-13 04:36:21,848 [execute] INFO git tag -a v3.1.0-dev.17 -m v3.1.0-dev.17 04:36:21 2023-10-13 04:36:21,849 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.17', '-m', 'v3.1.0-dev.17'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 04:36:21 2023-10-13 04:36:21,853 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:36:21 3.1.0-dev.17 [Pipeline] } 04:36:21 $ docker exec --env ******** --env ******** e25b42dd15e63681c989e9e15283d7278704919774e6b0637381e24e01f9a217 ssh-agent -k 04:36:22 unset SSH_AUTH_SOCK; 04:36:22 unset SSH_AGENT_PID; 04:36:22 echo Agent pid 38 killed; 04:36:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:36:22 + git semver [Pipeline] } 04:36:22 $ docker stop --time=1 e25b42dd15e63681c989e9e15283d7278704919774e6b0637381e24e01f9a217 04:36:24 $ docker rm -f --volumes e25b42dd15e63681c989e9e15283d7278704919774e6b0637381e24e01f9a217 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:36:24 04:36:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:36:24 0.23.1-centos7: Pulling from edgex-lftools 04:36:24 ab5ef0e58194: Pulling fs layer 04:36:24 9712f1f96733: Pulling fs layer 04:36:24 63f879dbbcfc: Pulling fs layer 04:36:24 0d9ebad4ef96: Pulling fs layer 04:36:24 e9a5061849ea: Pulling fs layer 04:36:24 d747dcd14b5f: Pulling fs layer 04:36:24 2de7ff778b66: Pulling fs layer 04:36:24 e9a5061849ea: Waiting 04:36:24 d747dcd14b5f: Waiting 04:36:24 2de7ff778b66: Waiting 04:36:24 0d9ebad4ef96: Waiting 04:36:24 9712f1f96733: Verifying Checksum 04:36:24 9712f1f96733: Download complete 04:36:25 63f879dbbcfc: Verifying Checksum 04:36:25 63f879dbbcfc: Download complete 04:36:25 0d9ebad4ef96: Verifying Checksum 04:36:25 0d9ebad4ef96: Download complete 04:36:25 d747dcd14b5f: Download complete 04:36:25 e9a5061849ea: Verifying Checksum 04:36:25 e9a5061849ea: Download complete 04:36:25 ab5ef0e58194: Verifying Checksum 04:36:25 ab5ef0e58194: Download complete 04:36:25 2de7ff778b66: Verifying Checksum 04:36:25 2de7ff778b66: Download complete 04:36:28 ab5ef0e58194: Pull complete 04:36:28 9712f1f96733: Pull complete 04:36:28 63f879dbbcfc: Pull complete 04:36:32 0d9ebad4ef96: Pull complete 04:36:32 e9a5061849ea: Pull complete 04:36:32 d747dcd14b5f: Pull complete 04:36:33 2de7ff778b66: Pull complete 04:36:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:36:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:36:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:36:33 prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container 04:36:33 $ 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 04:36:38 $ docker top 70a2f9c9b26687307e2f6662c3f3188e687baf2472a7b061ed012eb9fe9ccecf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:36:38 provisioning config files... 04:36:38 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12727552731278018690tmp 04:36:38 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6455176549463897060tmp 04:36:38 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5092611073305896831tmp [Pipeline] { [Pipeline] echo 04:36:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:36:39 ---> sigul-configuration.sh 04:36:39 gpg: directory `/root/.gnupg' created 04:36:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:36:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:36:39 gpg: keyring `/root/.gnupg/secring.gpg' created 04:36:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:36:39 gpg: CAST5 encrypted data 04:36:39 gpg: encrypted with 1 passphrase 04:36:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:36:39 + mkdir /home/jenkins 04:36:39 + mkdir /home/jenkins/sigul [Pipeline] sh 04:36:39 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 04:36:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:36:40 ---> sigul-install.sh 04:36:40 Sigul already installed; skipping installation. [Pipeline] sh 04:36:40 + git tag --list 04:36:40 v0.0.0 04:36:40 v2.2.0 04:36:40 v2.3.0 04:36:40 v2.3.1 04:36:40 v3.0 04:36:40 v3.0.0 04:36:40 v3.1.0-dev.1 04:36:40 v3.1.0-dev.10 04:36:40 v3.1.0-dev.11 04:36:40 v3.1.0-dev.12 04:36:40 v3.1.0-dev.13 04:36:40 v3.1.0-dev.14 04:36:40 v3.1.0-dev.15 04:36:40 v3.1.0-dev.16 04:36:40 v3.1.0-dev.17 04:36:40 v3.1.0-dev.2 04:36:40 v3.1.0-dev.3 04:36:40 v3.1.0-dev.4 04:36:40 v3.1.0-dev.5 04:36:40 v3.1.0-dev.6 04:36:40 v3.1.0-dev.7 04:36:40 v3.1.0-dev.8 04:36:40 v3.1.0-dev.9 [Pipeline] sh 04:36:40 + lftools sign git-tag v3.1.0-dev.17 04:36:41 Signing Git tag with Sigul... 04:36:41 Signing v3.1.0-dev.17 [Pipeline] echo 04:36:41 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:36:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:36:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:36:41 $ docker stop --time=1 70a2f9c9b26687307e2f6662c3f3188e687baf2472a7b061ed012eb9fe9ccecf 04:36:43 $ docker rm -f --volumes 70a2f9c9b26687307e2f6662c3f3188e687baf2472a7b061ed012eb9fe9ccecf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:36:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:36:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:36:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:36:43 prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container 04:36:43 $ 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 04:36:44 $ docker top dafe5074dddefabed5b04a54ccd015105a3fc066a3a11470724d04b20aade138 -eo pid,comm 04:36:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:36:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:36:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:36:44 [ssh-agent] Looking for ssh-agent implementation... 04:36:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:36:44 $ docker exec dafe5074dddefabed5b04a54ccd015105a3fc066a3a11470724d04b20aade138 ssh-agent 04:36:44 SSH_AUTH_SOCK=/tmp/ssh-SGmvvrwLGSyv/agent.31 04:36:44 SSH_AGENT_PID=37 04:36:44 Running ssh-add (command line suppressed) 04:36:44 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15844376996974738103.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15844376996974738103.key) 04:36:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:36:45 + git semver bump pre 04:36:45 2023-10-13 04:36:45,176 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:36:45 2023-10-13 04:36:45,176 [bump_version] DEBUG bumping version:3.1.0-dev.17 on axis:pre with prefix:dev 04:36:45 2023-10-13 04:36:45,177 [bump_version] DEBUG bumped version:3.1.0-dev.18 04:36:45 2023-10-13 04:36:45,177 [write_version] DEBUG write version:3.1.0-dev.18 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 04:36:45 2023-10-13 04:36:45,177 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:36:45 2023-10-13 04:36:45,177 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 04:36:45 2023-10-13 04:36:45,179 [execute] INFO git cat-file --batch-check 04:36:45 2023-10-13 04:36:45,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:36:45 2023-10-13 04:36:45,184 [execute] INFO git cat-file --batch 04:36:45 2023-10-13 04:36:45,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:36:45 2023-10-13 04:36:45,189 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:36:45 3.1.0-dev.18 [Pipeline] } 04:36:45 $ docker exec --env ******** --env ******** dafe5074dddefabed5b04a54ccd015105a3fc066a3a11470724d04b20aade138 ssh-agent -k 04:36:45 unset SSH_AUTH_SOCK; 04:36:45 unset SSH_AGENT_PID; 04:36:45 echo Agent pid 37 killed; 04:36:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:36:45 + git semver [Pipeline] } 04:36:45 $ docker stop --time=1 dafe5074dddefabed5b04a54ccd015105a3fc066a3a11470724d04b20aade138 04:36:47 $ docker rm -f --volumes dafe5074dddefabed5b04a54ccd015105a3fc066a3a11470724d04b20aade138 [Pipeline] // withDockerContainer [Pipeline] sh 04:36:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:36:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:36:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:36:47 prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container 04:36:47 $ 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 04:36:48 $ docker top 5bc02cd367f95fa77690150519c040a58a02522ffda8e29922fca50d82c2abec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:36:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:36:48 [ssh-agent] Looking for ssh-agent implementation... 04:36:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:36:48 $ docker exec 5bc02cd367f95fa77690150519c040a58a02522ffda8e29922fca50d82c2abec ssh-agent 04:36:48 SSH_AUTH_SOCK=/tmp/ssh-61Mdf6wxKVTX/agent.33 04:36:48 SSH_AGENT_PID=39 04:36:48 Running ssh-add (command line suppressed) 04:36:48 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_657147812249819218.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_657147812249819218.key) 04:36:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:36:49 + git semver push 04:36:49 2023-10-13 04:36:49,214 [run_push] DEBUG push 04:36:49 2023-10-13 04:36:49,214 [execute] INFO git cat-file --batch-check 04:36:49 2023-10-13 04:36:49,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 04:36:49 2023-10-13 04:36:49,219 [execute] INFO git rev-list 85704eadd361449d7b067a0152a241e5f33acafc -- 04:36:49 2023-10-13 04:36:49,219 [execute] DEBUG Popen(['git', 'rev-list', '85704eadd361449d7b067a0152a241e5f33acafc', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:36:49 2023-10-13 04:36:49,227 [execute] INFO git fetch -v origin 04:36:49 2023-10-13 04:36:49,227 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 04:36:49 2023-10-13 04:36:49,752 [run_push] DEBUG no remote changes detected 04:36:49 2023-10-13 04:36:49,753 [execute] INFO git push origin semver 04:36:49 2023-10-13 04:36:49,753 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 04:36:50 2023-10-13 04:36:50,536 [run_push] DEBUG push all version tags 04:36:50 2023-10-13 04:36:50,537 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:36:50 2023-10-13 04:36:50,537 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 04:36:51 2023-10-13 04:36:51,428 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 04:36:51 3.1.0-dev.18 [Pipeline] } 04:36:51 $ docker exec --env ******** --env ******** 5bc02cd367f95fa77690150519c040a58a02522ffda8e29922fca50d82c2abec ssh-agent -k 04:36:51 unset SSH_AUTH_SOCK; 04:36:51 unset SSH_AGENT_PID; 04:36:51 echo Agent pid 39 killed; 04:36:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:36:52 + git semver [Pipeline] } 04:36:52 $ docker stop --time=1 5bc02cd367f95fa77690150519c040a58a02522ffda8e29922fca50d82c2abec 04:36:53 $ docker rm -f --volumes 5bc02cd367f95fa77690150519c040a58a02522ffda8e29922fca50d82c2abec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:36:54 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 04:36:54 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:36:54 total 16 04:36:54 drwxr-xr-x 3 root root 4096 Oct 13 04:28 . 04:36:54 drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 04:36 .. 04:36:54 drwxr-xr-x 2 root root 4096 Oct 13 04:28 cost 04:36:54 -rw-r--r-- 1 root root 91 Oct 13 04:28 cost.csv 04:36:54 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 04:36:54 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 04:36:54 total 16 04:36:54 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 04:28 . 04:36:54 drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 04:36 .. 04:36:54 drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 04:28 cost 04:36:54 -rw-r--r-- 1 jenkins jenkins 91 Oct 13 04:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:36:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:36:55 ---> package-listing.sh 04:36:55 ++ facter osfamily 04:36:55 ++ tr '[:upper:]' '[:lower:]' 04:36:55 + OS_FAMILY=debian 04:36:55 + workspace=/w/workspace/foundry_device-onvif-camera_main 04:36:55 + START_PACKAGES=/tmp/packages_start.txt 04:36:55 + END_PACKAGES=/tmp/packages_end.txt 04:36:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:36:55 + PACKAGES=/tmp/packages_start.txt 04:36:55 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:36:55 + PACKAGES=/tmp/packages_end.txt 04:36:55 + case "${OS_FAMILY}" in 04:36:55 + dpkg -l 04:36:55 + grep '^ii' 04:36:55 + '[' -f /tmp/packages_start.txt ']' 04:36:55 + '[' -f /tmp/packages_end.txt ']' 04:36:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:36:55 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 04:36:55 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 04:36:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 04:36:55 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:36:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:36:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:36:56 prd-ubuntu20.04-docker-8c-8g-9193 does not seem to be running inside a container 04:36:56 $ 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 04:36:56 $ docker top d4d056490d5664bcfc525c67ce075f59aa56ec74effbf7cab72ae956a01fea62 -eo pid,comm [Pipeline] { [Pipeline] sh 04:36:57 + touch /tmp/pre-build-complete [Pipeline] sh 04:36:57 + mkdir -p /var/log/sysstat [Pipeline] sh 04:36:57 + ls /var/log/sa-host 04:36:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:36:57 provisioning config files... 04:36:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8077044251377587852tmp [Pipeline] { [Pipeline] echo 04:36:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:36:58 ---> create-netrc.sh [Pipeline] } 04:36:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:36:58 ---> python-tools-install.sh [Pipeline] echo 04:36:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:36:58 ---> sudo-logs.sh 04:36:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:36:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:36:59 ---> job-cost.sh 04:36:59 lf-activate-venv: SKIPPING 04:36:59 DEBUG: total: 0.2199999988079071 04:36:59 INFO: Retrieving Stack Cost... 04:36:59 INFO: Retrieving Pricing Info for: v3-standard-8 04:37:00 INFO: Archiving Costs [Pipeline] echo 04:37:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:37:00 ---> logs-deploy.sh 04:37:00 lf-activate-venv: SKIPPING 04:37:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/174 04:37:00 INFO: archiving workspace using pattern(s): 04:37:01 Archives upload complete. 04:37:01 INFO: archiving logs to Nexus